Saxon Fletcher
531b98ff4a
Merge branch 'master' into chore/data-api-integration
2026-02-03 16:12:09 +10:00
Joshen Lim
164dcf3e92
Adjust disabled state while project is paused ( #42096 )
...
* Adjust disabled state while project is INACTIVE
* merge master, unlock add ons page if paused
2026-01-27 15:28:23 +08:00
Joshen Lim
a4c10ae87c
Chore/allow users to access edge functions while project is paused ( #42097 )
...
* Allow edge functions pages to be accessible while project is paused or restoring
* nit
2026-01-26 11:51:36 +08:00
Pamela Chia
faa2588392
chore(studio): remove homeNew feature flag helper ( #41984 )
...
PostHog migration from boolean to string variants is complete.
The helper was only useful during migration - now it's just
`value === 'new-home'` which is trivial to inline.
- Delete apps/studio/lib/featureFlags/ folder
- Inline flag check at 3 call sites
2026-01-21 12:32:02 +07:00
Andrey A.
19c712ffac
fix: add help popover for self-hosted and cli ( #42015 )
...
fix: add help icon for self-hosted and cli
2026-01-20 10:08:28 -07:00
Sean Oliver
57a9c0e719
feat: add homeNew flag helper for boolean to string migration ( #41724 )
2026-01-05 15:44:24 -08:00
Pamela Chia
3336b22451
chore(flags): migrate homeNew flag from configcat to posthog ( #41101 )
...
Switch homeNew flag to usePHFlag.
2026-01-05 15:22:06 +07:00
Saxon Fletcher
610d6b1bac
More clean up
2026-01-02 15:01:06 +10:00
Francesco Sansalvadore
5213e681b4
feat(studio): add "create" command menu commands ( #41473 )
2025-12-29 09:18:06 +01:00
Ivan Vasilov
f3af2c3d3c
feat: SQL Snippets ( #41112 )
...
* Use the .sql suffix when generating ids.
* Fix a bug where a new snippet would not show up in the snippet list until refresh.
* Add API routes which serve file snippets.
* Refactor the renameSnippet and moveSnippet to work with file snippets.
* Change the link to the SQL Editor.
* Minor fixes from CodeRabbit.
* Check the file/folder name for invalid chars.
* More fixes from CodeRabbit review.
* Fix minor issues.
* Use zod to parse the snippet ids when deleting.
* Try to fix snyk issue.
* Add validation to the GET content index route.
* Minor fixes.
* Show create a new folder, it was hidden by mistake.
* Add SNIPPETS_MANAGEMENT_FOLDER env var.
* Add snippets folder in the docker-compose.
* Add error toasts if the env var is not set.
* Add snippets management folder to the generateLocalEnv script.
* Revert the docker-compose changes, will be done in a followup PR.
* Revert also the snippets volume folder.
* Remove unneeded line.
2025-12-23 12:09:37 +01:00
Joshen Lim and Danny White
cbeb0912a2
Joshen/fe 2195 rework project api overview section with connect button ( #41485 )
...
* Update API keys panel
* Dnywh/chore/fe 2195 design pass (#41484 )
* first pass
* fancy
* fixes
* text
* lang
* lang
---------
Co-authored-by: Danny White <3104761+dnywh@users.noreply.github.com >
* Clean up
* Clean
* Nit
* Update enabled features
---------
Co-authored-by: Danny White <3104761+dnywh@users.noreply.github.com >
2025-12-19 16:51:58 +08:00
Ivan Vasilov
d247cc0c9d
fix: Clear the feedback text area after sending ( #41466 )
...
* Remove the stored feedback from local storage when it's sent.
* Minor CSS fixes for the success component in the feedback widget.
2025-12-18 17:00:10 +01:00
Ivan Vasilov
cc47bcfa6d
chore: Migrate studio to use ui-patterns/shimmeringLoader ( #41405 )
...
* Add shimmering-loader CSS to ui-patterns.
* Import the shimmering-loader classes from the ui-patterns component.
* Remove ShimmeringLoader from studio.
* Migrate studio to use ui-patterns/ShimmeringLoader.
* Migrate away from using default import for ShimmeringLoader.
* Fix the css imports in docs and studio.
2025-12-17 14:54:07 +01:00
Joshen Lim
84e5df97ea
Fix log drains error handling ( #41343 )
2025-12-15 21:13:36 +08:00
Danny White and Joshen Lim
ad2ac05d7d
fix(studio): project resume dialog ( #41300 )
...
* move desc to body
* better copy
* loading label
* smol gap change
* nit
* Nit
* NIt
* Attemt
* fix
---------
Co-authored-by: Joshen Lim <joshenlimek@gmail.com >
2025-12-15 11:15:24 +11:00
Charis
c0c824809e
feat(studio): add infinite pagination for buckets policies ( #41277 )
...
## Summary of changes
Buckets policies page at /project/_/storage/files/policies now uses the
paginated buckets endpoint to fetch buckets.
## Before
Used a non-paginated query.
## After
To support a paginated query, we now have:
- Infinite scroll loading behavior
- Fixed some of the buckets utilities to account for policy references
to buckets that haven't loaded yet
2025-12-11 15:45:16 -05:00
Joshen Lim
3d6be390a6
Save opened side bar in local storage, and init on new session ( #41224 )
...
* Save opened side bar in local storage, and init on new session
* Fix test
* Fix
* Nit
2025-12-11 12:18:18 +08:00
Ivan Vasilov
0d5be306ef
chore: Bump React Query to v5 ( #40174 )
...
* Bump the deps, refactor deprecated code.
* Migrate keepPreviousData usage.
* Migrate all uses of InfiniteQuery.
* Fix refetchInterval in queries.
* Migrate all use of isLoading to isPending in mutations.
* Fix accessing location in claim-project.
* Fix a bug in duplicate query keys.
* Migrate all queries to use isPending.
* Revert "Fix accessing location in claim-project."
This reverts commit 2a07df64b5 .
* Revert the rss.xml file to master.
2025-12-10 10:10:29 +01:00
Danny White and Joshen Lim
11dc1324aa
chore(studio): improve alert composition and usage ( #41147 )
...
* finesse optical alignment
* improvements
* actions styling
* improvements
* margins
* improvements
* fix docs
* fix
* improve schema warning admonition
* misc fixes
* tweaks
* docs and improvements
* alphabetical sidebar navigation
* remove alert-error
* fix build error
* Tiny fixes
* tiny docs update
* semantic description
* handle intro pages
* note NoPermission component
* docs sidebar ordering
---------
Co-authored-by: Joshen Lim <joshenlimek@gmail.com >
2025-12-10 08:05:30 +00:00
Danny White
0399beba0e
chore(studio): use Admonition and deprecate AlertError ( #41095 )
...
* use admonition and deprecate
* spot fix
* remove mb on admonition itself
* smart layout handling based on actions count
* fixes
* remove class
* fixes
* remove mb-0 instances
* remove redundant m-0
* remove single-use component
* use props
* reset leading
* remove redundant clause
2025-12-08 12:15:18 +11:00
Saxon Fletcher
2fa575113f
Fix sidebar param ( #40973 )
...
fix sidebar param
2025-12-04 23:00:48 +00:00
Danny White and Joshen Lim
da686b2cd9
feat(studio): Discord community on support ticket creation ( #40972 )
...
* clean up AI assistant aside
* add Discord aside
* misc tweaks to AI cta
* improve Discord CTA
* markup
* fix test file
* Minor clean up and fixes
* Small improvement
---------
Co-authored-by: Joshen Lim <joshenlimek@gmail.com >
2025-12-04 09:20:29 -03:30
Danny White and Joshen Lim
bf39cdbaf3
chore(studio): simplify feedback form ( #40937 )
...
* UI improvements
* client-side validation for quicker support admonition
* minor clean up
* Nit
---------
Co-authored-by: Joshen Lim <joshenlimek@gmail.com >
2025-12-03 10:51:09 +11:00
Danny White and Joshen Lim
031b227165
studio(chore): badge component defrag ( #40118 )
...
* component clean up
* optically center
* docs and type size
* code badge variant
* sensible defaults
* fix product menu flex
* badge sweep
* new project badges
* logs
* compute badge
* studio badge sweep
* www sweep
* docs sweep
* clean up
* fixes
* cleanup
* fixes
* better docs
* fixes
* misc fixes
* consistency
* Minor fixes for issues i found
* simplify mt-0
* mt simplification
* remaining optical alignment
---------
Co-authored-by: Joshen Lim <joshenlimek@gmail.com >
2025-12-02 11:15:50 +11:00
Joshen Lim
621eada5d6
Fix resizeable panels ( #40950 )
...
* Fix resizeable panels
* Clean up
2025-12-01 22:12:56 +08:00
Joshen Lim
2c91a79b58
Joshen/fe 2180 right side sidebars too wide on laptop displays ( #40940 )
...
* Fix default size for resizeable panel in table editor
* Fix default size for resizeable panel for global
* Clean up
* nit
* Tweak
* Adjust
2025-12-01 17:32:07 +08:00
Joshen Lim
713e2949d9
Remove GOING DOWN to determine if project is pausing ( #40941 )
2025-12-01 17:24:13 +08:00
Ivan Vasilov
43cc61818c
chore: Migrate all isPending uses in react-query ( #40642 )
...
* Bump react-query. Minor type and logic fixes.
* Migrate all use of isLoading to isPending in mutations.
* Fix type errors.
2025-11-20 16:44:53 +01:00
Ivan Vasilov
a40ccc4b45
chore: Clean onSuccess and onError props on useQuery ( #40641 )
...
* Remove all onSuccess and onErrors from useQuery.
* Minor fixes to all refetchInterval.
* Fix smaller type issues.
2025-11-20 14:08:56 +01:00
4a9def58c1
feat(studio): rename reports to observability ( #40317 )
...
* feat: rename reports to observability on nav sidebar
* fix: observability route
* feat: observability navigation and redirects
* fix: first time load redirects
* feat: change auth overview reports link
* feat: clean up of other links to observability sections
* fix: query perf redirects
* chore: find exhaustive deps and disable for time being
* fix: charis suggested fixes
* fix: forgotten suggested fix
* chore: delete old reports views files
* fix: paths in reports tests
* fix: url sync useEffect should trigger only once
* feat: reorganise observability sidebar
* fix: data api not being selected
* fix: wrong layout for realitime
* fix: custom reports reloading
---------
Co-authored-by: Charis Lam <26616127+charislam@users.noreply.github.com >
Co-authored-by: Ali Waseem <waseema393@gmail.com >
2025-11-18 17:54:05 +00:00
Joshen Lim
b6c57fb2ed
Hide cmd k keyboard shortcut if disabled in account pref ( #40332 )
2025-11-12 19:58:54 +08:00
Francesco Sansalvadore
ddd1dbc09f
Studio: add CommandMenu trigger in top nav ( #40011 )
...
* add CommandMenuTriggerInput in top nav in studio
* uniform command trigger in top nav
2025-11-10 11:43:50 +01:00
c63d2a92a0
Unify Inbox and Advisor ( #40026 )
...
* sidebar-manager
* storage keys
* tests
* more ai spots
* test fix
* revert to default
* remove ref
* Update apps/studio/state/sidebar-manager-state.tsx
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com >
* Update apps/studio/components/ui/AIAssistantPanel/AIAssistant.tsx
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com >
* fix ts
* fix
* fux
* fux query param
* clean
* fix
* more
* mock local storage
* simplify
* remove provider test
* remve useopensidebar
* fix(new homepage): open ai assistant on advisor card button clicks
* Update apps/studio/components/layouts/ProjectLayout/LayoutSidebar/index.tsx
Co-authored-by: Charis <26616127+charislam@users.noreply.github.com >
* Update apps/studio/state/sidebar-manager-state.tsx
Co-authored-by: Charis <26616127+charislam@users.noreply.github.com >
* refine
* editor sidebar manager
* reset results
* advisor sidebar manager
* empty state and notice
* event tracking
* remove variable
* remove use effect
* open in sidebar
* use sidebar old home
* Update apps/studio/components/ui/EditorPanel/EditorPanel.tsx
Co-authored-by: Charis <26616127+charislam@users.noreply.github.com >
* connect hotkey
* Update apps/studio/components/layouts/AppLayout/AssistantButton.tsx
Co-authored-by: Charis <26616127+charislam@users.noreply.github.com >
* Update apps/studio/state/advisor-state.ts
Co-authored-by: Charis <26616127+charislam@users.noreply.github.com >
* Update apps/studio/state/advisor-state.ts
Co-authored-by: Charis <26616127+charislam@users.noreply.github.com >
* fix
* initial prompt
* fix(inline editor button): only show keyboard shortcut if hotkey active
* cleanup(advisor panel): minor code cleanup
* fix(advisor panel): misplaced key on list
* fix(advisor panel): add error state
* fix(advisor panel): improve a11y
* fix(advisor panel): cannot find selected item
* fix
* fix
* tooltip
* link
* sidebar move up
* merge inbox
* project/org sidebars
* panels
* clean
* fix use effect
* layoutheader export
* fix
* ts
* prettier
* tests
* remove markdown
* remove org and project filters from state
* text link
* Update apps/studio/state/sidebar-manager-state.tsx
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com >
* fix
* prettier
* remove files
* bump limit
* noop
* format
* remove notifications on self hosted
---------
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com >
Co-authored-by: Charis Lam <26616127+charislam@users.noreply.github.com >
Co-authored-by: Alaister Young <alaister@users.noreply.github.com >
2025-11-07 15:01:53 +10:00
Danny White and Joshen Lim
abd35216f7
chore(studio): clean up storage UI ( #40164 )
...
* copywriting updates
* remove unused file and comment
* copy tweaks
* remove stickySidebarBottom
* extraneous comment
* remove unused components
* unused image
* files policies redirect
* Update redirects for storage settings
* Fix loader for storage policies
---------
Co-authored-by: Joshen Lim <joshenlimek@gmail.com >
2025-11-05 14:57:19 +11:00
Joshen Lim and Danny White
1f9906aab3
Use new Storage UI layout ( #40076 )
...
* First pass of deprecating old storage UI components
* Clean up local-storage flag for new storage UI
* Add coming soon UI for analytics and vector buckets pages
* Set up warning states for analytics buckets
* fix spelling and margin
* Smol fix
* nit
* Surface wrappers upgrade check in UI instead of toast
* Nit clean up
* update tests
---------
Co-authored-by: Danny White <3104761+dnywh@users.noreply.github.com >
2025-11-04 15:37:30 +08:00
Charis
04c2fd3103
fix(support link): auto-fill organization when on org page ( #40108 )
...
* fix(support link): auto-fill organization when on org page
If user clicks the Support Link from an org page (not a project page),
pass along the organization slug in the query params to auto-fill the
Support Form.
* fix(date picker test)
The new UI for range picking is a little different, and requires
double-clicking to start a new range.
2025-11-03 16:41:50 -05:00
Joshen Lim
b4d38fabd0
Chore/barrel files bye part 05 ( #40016 )
...
* Clean up barrel files part 4
* nit
* Part 5 of cleaning up barrel files
* Revert changes for types
* Nit
2025-10-31 13:15:31 +08:00
Charis
cfa59dabc8
refactor: use @tanstack/react-virtual for virtualization ( #39992 )
...
* refactor(infinite list): use @tanstack/react-virtual for virtualization
Swapping virtualization libraries from `react-window` to
`@tanstack/react-virtual`.
Motivation: we need a completely headless library for maximum
flexibility. `react-window` injects extra DOM elements which makes it
hard to customize styling and placement on elements that are very picky
about their DOM structure, like tables.
* refactor(table editor menu): use new infinite list
* refactor(notifications): use new infinite list
* cleanup(infinite list): remove old infinite list
* refactor(storage menu): use new infinite list & remove react-window deps
2025-10-30 14:27:53 -04:00
Joshen Lim
cac225b24a
Clean up barrel files part 4 ( #40015 )
...
* Clean up barrel files part 4
* nit
2025-10-31 00:30:42 +08:00
Joshen Lim
75e1717a02
Remove barrel files part 02 ( #39956 )
...
* Remove barrel files part 02
* Clean up
2025-10-30 23:50:14 +08:00
Ziinc and Jordi Enric
5cfd10aae6
feat: self-hosted log drains ( #28297 )
...
* feat: initial log drain creation, sans rules creation.
* feat: add rules posting
* add project settings to self hosted and adapt log drains
* feat: log drains crud implementation, env var update
* feat: local log drains is working! rules provisioning refined
* fix: add filtering
* feat: finish implementing CRUD of local log drains.
* chore: formatting
* only allow navigation to log drains
* rm unnecessary checks
* rm log
* rm logs
* rm log
* fix type err
* turbofix for turboissue
---------
Co-authored-by: Jordi Enric <jordi.err@gmail.com >
2025-10-30 10:37:32 +00:00
d10001b7a7
Advisor sidebar manager ( #39889 )
...
* sidebar-manager
* storage keys
* tests
* more ai spots
* test fix
* revert to default
* remove ref
* Update apps/studio/state/sidebar-manager-state.tsx
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com >
* Update apps/studio/components/ui/AIAssistantPanel/AIAssistant.tsx
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com >
* fix ts
* fix
* fux
* fux query param
* clean
* fix
* more
* mock local storage
* simplify
* remove provider test
* remve useopensidebar
* fix(new homepage): open ai assistant on advisor card button clicks
* Update apps/studio/components/layouts/ProjectLayout/LayoutSidebar/index.tsx
Co-authored-by: Charis <26616127+charislam@users.noreply.github.com >
* Update apps/studio/state/sidebar-manager-state.tsx
Co-authored-by: Charis <26616127+charislam@users.noreply.github.com >
* refine
* editor sidebar manager
* reset results
* advisor sidebar manager
* empty state and notice
* event tracking
* remove variable
* remove use effect
* open in sidebar
* use sidebar old home
* Update apps/studio/components/ui/EditorPanel/EditorPanel.tsx
Co-authored-by: Charis <26616127+charislam@users.noreply.github.com >
* connect hotkey
* Update apps/studio/components/layouts/AppLayout/AssistantButton.tsx
Co-authored-by: Charis <26616127+charislam@users.noreply.github.com >
* Update apps/studio/state/advisor-state.ts
Co-authored-by: Charis <26616127+charislam@users.noreply.github.com >
* Update apps/studio/state/advisor-state.ts
Co-authored-by: Charis <26616127+charislam@users.noreply.github.com >
* fix
* initial prompt
* fix(inline editor button): only show keyboard shortcut if hotkey active
* cleanup(advisor panel): minor code cleanup
* fix(advisor panel): misplaced key on list
* fix(advisor panel): add error state
* fix(advisor panel): improve a11y
* fix(advisor panel): cannot find selected item
* fix
* fix
* tooltip
* link
* sidebar move up
* LayoutSidebarProvider to only sendEvent if in a project
---------
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com >
Co-authored-by: Charis Lam <26616127+charislam@users.noreply.github.com >
Co-authored-by: Joshen Lim <joshenlimek@gmail.com >
2025-10-30 17:43:02 +10:00
Danny White
afff7f703c
chore(studio): put focus on Discord in help menu ( #39893 )
...
* basics
* reorder
* layout
* assistant
* cleanup
* remove testing const
* text color
* restore sidebar manager
* remove open prop
* copy refinement
2025-10-30 14:11:54 +11:00
Saxon Fletcher and Joshen Lim
4608b9af8c
Simplify paused state ( #39922 )
...
* simplify paused state
* copy
* dialog
* Update UI
* More nudges
* nit
* Nudge
---------
Co-authored-by: Joshen Lim <joshenlimek@gmail.com >
2025-10-29 23:56:22 +08:00
Joshen Lim
ec27332099
Last part of removing barrel files ( #39957 )
2025-10-29 19:22:35 +08:00
Joshen Lim
72d50d8ac4
Remove barrel files part 1 ( #39955 )
2025-10-29 18:07:20 +08:00
Danny White
7c189976ee
fix(studio): troubleshooting links ( #39916 )
...
* clean slate fixes
* remove testing ternary
2025-10-29 12:48:27 +11:00
e27602f629
Editor sidebar manager ( #39834 )
...
* sidebar-manager
* storage keys
* tests
* more ai spots
* test fix
* revert to default
* remove ref
* Update apps/studio/state/sidebar-manager-state.tsx
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com >
* Update apps/studio/components/ui/AIAssistantPanel/AIAssistant.tsx
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com >
* fix ts
* fix
* fux
* fux query param
* clean
* fix
* more
* mock local storage
* simplify
* remove provider test
* remve useopensidebar
* fix(new homepage): open ai assistant on advisor card button clicks
* Update apps/studio/components/layouts/ProjectLayout/LayoutSidebar/index.tsx
Co-authored-by: Charis <26616127+charislam@users.noreply.github.com >
* Update apps/studio/state/sidebar-manager-state.tsx
Co-authored-by: Charis <26616127+charislam@users.noreply.github.com >
* refine
* editor sidebar manager
* reset results
* Update apps/studio/components/ui/EditorPanel/EditorPanel.tsx
Co-authored-by: Charis <26616127+charislam@users.noreply.github.com >
* connect hotkey
* initial prompt
* fix(editor sidebar): disable hotkey based on user preference
* cleanup(inline editor): add migration for hotkey local storage key
---------
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com >
Co-authored-by: Charis Lam <26616127+charislam@users.noreply.github.com >
2025-10-29 08:45:07 +10:00
Joshen Lim
f6473165bd
Hide mobile nav menu on organizations page ( #39908 )
...
* Hide mobile nav menu on organizations page
* Fix
2025-10-28 10:08:46 +08:00
738c568e6b
Sidebar manager ( #39795 )
...
* sidebar-manager
* storage keys
* tests
* more ai spots
* test fix
* revert to default
* remove ref
* Update apps/studio/state/sidebar-manager-state.tsx
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com >
* Update apps/studio/components/ui/AIAssistantPanel/AIAssistant.tsx
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com >
* fix ts
* fix
* fux
* fux query param
* clean
* fix
* more
* mock local storage
* simplify
* remove provider test
* remve useopensidebar
* fix(new homepage): open ai assistant on advisor card button clicks
* Update apps/studio/components/layouts/ProjectLayout/LayoutSidebar/index.tsx
Co-authored-by: Charis <26616127+charislam@users.noreply.github.com >
* Update apps/studio/state/sidebar-manager-state.tsx
Co-authored-by: Charis <26616127+charislam@users.noreply.github.com >
* refine
* FIX
---------
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com >
Co-authored-by: Charis Lam <26616127+charislam@users.noreply.github.com >
2025-10-28 10:07:21 +10:00