Andrew Valleteau and Ali Waseem
38176b82a3
feat(studio): setup soft-delete and easy branch restore ( #40353 )
...
* wip: branch deletion grace period
* fix: allow to force delete pending
* fix: update for staging
* fix: typo
* fix: revert soft-delete by default
* chore: revert branch-delete-mutation changes
* fix: revert platform.d.ts changes
* fix: use INVALID status as distinguisher
* fix: hide unusable options
* fix: apply review suggestion
Co-authored-by: Ali Waseem <waseema393@gmail.com >
* updated formatting
* fix: lint
* fix: react v5 update
---------
Co-authored-by: Ali Waseem <waseema393@gmail.com >
2025-12-18 12:14:52 +08: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
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
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
Raúl Barroso
29ee6a2992
style: use GitHub's right product name ( #38099 )
...
* style: use GitHub's right product name
* fix: use correct kotlin provider
2025-08-22 13:43:47 +02:00
Joshen Lim
cab0585533
Fe 1799/consolidate to useselectedprojectquery and ( #37684 )
...
* Replace all usage of useProjectContext with useSelectedProjectQuery
* Replace all usage of useSelectedProject with useSelectedProjectQuery
* Replace all usage of useProjectByRef with useProjectByRefQuery
* Replace all usage of useSelectedOrganization with useSelectedOrganizationQuery
* Deprecate useSelectedProject, useSelectedOrganization, and useProjectByRef hooks
* Deprecate ProjecContext
2025-08-06 10:53:10 +07:00
Saxon Fletcher and Alaister Young
625af107bd
Branch refinements ( #37192 )
...
* branch refinements
* branch price copy
* change alignment of badges
* remove console.log
---------
Co-authored-by: Alaister Young <a@alaisteryoung.com >
2025-07-16 16:06:54 +10:00
Saxon Fletcher and Joshen Lim
1cc7124213
Branches page ( #37080 )
...
* move branches to page layout
* changes
* more clean up
* use branch status
* clean up
* gitless flag
* tidy up
* revert generate
* Couple of fixes
* Refactor some stuff, standardize copy, add missing loading state
* Smol refactor
* Replace ephemeral with preview for more consistant language
* Few more fixes
* Refactor Overview.tsx to use DropdownMenuItemTooltip component
* Final round of refactors after code review
---------
Co-authored-by: Joshen Lim <joshenlimek@gmail.com >
2025-07-14 17:41:06 +10:00
b05457666f
Add review requested at ( #36877 )
...
* allow creating branching without git
* update branching modals
* add account connections
* edit branch
* copy
* update copy
* enable branch modal changes
* add gitless branching flag
* update account connections
* merge page
* merge experiment
* update merge
* update pull requests empty state
* use diff query
* branch diffing
* diff query
* Clean up
* refinements to gitless branching
* branching merge and status
* link
* branch function diffing
* update styling
* refactor
* remove hook
* error handling
* move
* remove enable branching modal
* re-add github linker
* abstract away enable and disable
* toggle fixes
* update logic to lean on connection status
* update form logic
* sheet layout
* gitless flag
* style and workflow updates
* fix side panel size
* fix duplicate onerror
* copy changes
* refetch
* merge mutation copy
* remove import
* add cost
* allow connection details on create
* initial queries
* push button
* merge cleanup
* Fix TS issues
* Fix TS issues
* Couple of clean ups
* Revert hardcode in useFlag
* Fix TS
* layout issues and github check
* refactor
* refactor to use new field
* cleanup
* style
* failed merge
* error positioning
* refactoring merge
* workflow refactor
* hook move
* clarification with github integration
* replace branch dropdown button
* update repo picker
* updates
* remove modal
* fix small nits
* change defaults
* clean up
* disable if not gitless and no connection
* clean up
* always show workflow run id
* optimistic
* fix branch query
* fix issues
* fetch edge diff
* confirm merge
* update edge functions key
* add review requested at
* gitless check
* request review
* use requestReview
* use new review boolean
* unnecessary comment
* ready for review route
* hide removed functions for now
* type fix
* codegen
* Fix the types.
---------
Co-authored-by: Joshen Lim <joshenlimek@gmail.com >
Co-authored-by: Kevin Grüneberg <k.grueneberg1994@gmail.com >
Co-authored-by: Alaister Young <a@alaisteryoung.com >
Co-authored-by: Ivan Vasilov <vasilov.ivan@gmail.com >
2025-07-09 20:45:28 +10:00
ea38c6d153
Review and merge branch ( #36795 )
...
* allow creating branching without git
* update branching modals
* add account connections
* edit branch
* copy
* update copy
* enable branch modal changes
* add gitless branching flag
* update account connections
* merge page
* merge experiment
* update merge
* update pull requests empty state
* use diff query
* branch diffing
* diff query
* Clean up
* refinements to gitless branching
* branching merge and status
* link
* branch function diffing
* update styling
* refactor
* remove hook
* error handling
* move
* remove enable branching modal
* re-add github linker
* abstract away enable and disable
* toggle fixes
* update logic to lean on connection status
* update form logic
* sheet layout
* gitless flag
* style and workflow updates
* fix side panel size
* fix duplicate onerror
* copy changes
* refetch
* merge mutation copy
* remove import
* add cost
* allow connection details on create
* initial queries
* push button
* merge cleanup
* Fix TS issues
* Fix TS issues
* Couple of clean ups
* Revert hardcode in useFlag
* Fix TS
* layout issues and github check
* refactor
* refactor to use new field
* cleanup
* style
* failed merge
* error positioning
* refactoring merge
* workflow refactor
* hook move
* clarification with github integration
* replace branch dropdown button
* update repo picker
* updates
* remove modal
* fix small nits
* change defaults
* clean up
* disable if not gitless and no connection
* clean up
* always show workflow run id
* optimistic
* fix branch query
* fix issues
* fetch edge diff
* confirm merge
* update edge functions key
---------
Co-authored-by: Joshen Lim <joshenlimek@gmail.com >
Co-authored-by: Kevin Grüneberg <k.grueneberg1994@gmail.com >
Co-authored-by: Alaister Young <a@alaisteryoung.com >
2025-07-04 14:57:59 +10:00
3f3ed433fc
Remove enable branching modal ( #36458 )
...
* remove enable branching modal
* re-add github linker
* abstract away enable and disable
* toggle fixes
* update logic to lean on connection status
* update form logic
* sheet layout
* gitless flag
* fix side panel size
* copy changes
* remove import
* add cost
* allow connection details on create
* Fix TS issues
* Fix TS issues
* Couple of clean ups
* Revert hardcode in useFlag
* Fix TS
* layout issues and github check
* refactor
* refactor to use new field
* cleanup
* style
* clarification with github integration
* replace branch dropdown button
* update repo picker
* remove modal
* change defaults
* disable if not gitless and no connection
* fixes
* prevent editing on child branch
---------
Co-authored-by: Joshen Lim <joshenlimek@gmail.com >
Co-authored-by: Kevin Grüneberg <k.grueneberg1994@gmail.com >
2025-07-02 21:58:45 +10:00
Joshen Lim
fd98a08a4f
Chore/default to new organization layout ( #35515 )
...
* Default to new organization layout + remove feature preview
* Remove feature preview
* Clean up LayoutUpdateBanner
* Clean up
* Fix
* Fixy fix
* Update comment
* Nit to fix layout shift
2025-05-13 11:25:35 +08:00
Joshen Lim
fd10704cc1
Make feature preview available + Fix up Connect UI for local self-host ( #35060 )
...
* Make feature preview available for local self-host
* Fix up Connect UI for local / self-host
* Fix
* Fix
* Fix
2025-04-16 19:35:09 +08:00
fb24d91305
Feat/ Org layout ( #33150 )
...
* update test
* move back button, fix width issues on sidebar
* update sidebar logic
* Update ProjectLayout.tsx
* lots of updates. layouts now streamlined. localstorage for tabs in use
* moar
* bunch of new tab logic
* fix empty tab issue
* Update tabs.ts
* layouts switched
* new pages now have fixed layouts
* fix tabs
* fix code bg
* add tabs support for multiple project refs
* intialization issue
* update ID handling
* fixed isOpened state for SQL snippets
* remove old assistant because its bugging up panels
* preview style works in sql editor
* fix border
* removes preview tab if there is one
* fix background of loading skeleton
* lots of issues with types/icons/redirect
* new tab cards
* snippets in empty state now work
* moar stuff
* tabs now in feature flags
* Update tabs.ts
* Update tabs.ts
* moar
* add feature previews
* remove code not needed
* Update next-env.d.ts
* Delete FeaturePreviewModal.tsx
* fix typescript errors. remove more explorer stuff
* remove explorer files
* fixed issues with templates and quickstarts tab
* fixed active state when tabs are not opted in
* logic error
* fix open/highlight issue when opted out of tabs
* templates/quickstarts now displayed with new cards
* Update recent-items.tsx
* Update new-tab.tsx
* add icon back in
* add old empty state back in
* recent items updated to respect project ref
* localstorage cleanup on deletion
* moar
* overflow tabs now working
* correct tab names used for new sql templates/quickstarts
* ongoing queries fix
* cleanup
* update images
* Update RouteValidationWrapper.tsx
* Update AppLayout.tsx
* Update NavigationBar.tsx
* add headers back into side panels
* improve writing
* tabs now drag and drop a billion times better
* Update tabs.tsx
* Update tabs.tsx
* init issues on stores, which caused a race condition.
* fix hydration error
* init
* init sidebars
* init
* Update app-default-navigation.tsx
* user dropdown updates
* moar layouts
* init
* moar
* moar
* updat
* reverse top bar
* some banners
* moar
* start adding account page
* change styling of dropdowns
* Update sidebar.tsx
* fix new tab issue in sql
* Update ProjectLayout.tsx
* Update pnpm-lock.yaml
* latest
* Update pnpm-lock.yaml
* moar layouts on account
* getLayout updates
* more fixes
* force a cache build
* moar
* Update app-default-navigation.tsx
* fix AI button animation
* moar layout
* account pages refactored
* Update user-dropdown.tsx
* Update new-tab.tsx
* move EditorMenuListSkeleton
* Fix type issues
* fixes: DESIGN-87
fixes: DESIGN-87
* refactor sort/filter components
* Update rules-set-button-text.tsx
* remove discussions for now
* small styling fixes
* Update FeaturePreviewModal.tsx
* Update FeaturePreviewModal.tsx
* Update RouteValidationWrapper.tsx
* revert
* revert
* revert
* revert
* revert
* more revert
* Update collapse-button.tsx
* Update SQLEditorTreeViewItem.tsx
* revert
* Update SchemaGraph.tsx
* Delete new-upcoming.tsx
* revert
* Update ProjectLayout.tsx
* fix home link
* Update table-editor.spec.ts
* test update
* Update projects.tsx
* remove
* Delete sidebar-open-top-banner.tsx
* add organizations page
* Update table-editor.spec.ts
* Fix the playwright tests.
* layout fixes
* layout fix
* revert sort/filter
* Update LastSignInWrapper.tsx
* revert
* revert
* remove
* update file names
* revert
* revert
* revert
* advisor lint page tabs revert
* revert
* revert
* revert
* revert
* revert
* revert tabs
* remove packages
* add sidebar
* sidebar docs added
* add sidebar
* fixed issues
* fix mobile
* fixes
* add org side bar in
* redirect updated
* fix more layouts
* move settings icon back down
* remove old stuff
* Delete SideBar.tsx
* use ProfileImage component
* spelling
* Update ThemeSettings.tsx
* Update ThemeSettings.tsx
* Update Sidebar.tsx
* layout udpate
* Update Sidebar.tsx
* fixes
* Minor lints
* Update Sidebar.tsx
* create a alt user dropdown for self hosting and local
* add fragment back in
* Adds Theme Selector for local/self hosting
* Update UserDropdown.tsx
* fix theme selector for local self host
* Update index.ts
* Update DefaultLayout.tsx
* now supports feature preview
* remove old files
* rename files
* revert
* Update LayoutHeader.tsx
* clean
* revert
* revert
* Update resource-banner.tsx
* remove redundant side bar stuff
* organizations action bar updated. removed hardcoded value
* fix type errors
* fix tests
* Undo test changes
* Fix account pages for when feature preview is off
* Bug fixes 1
* Missing key in map of EmailTemplates
* Fix missing border in StorageExplorer
* fix missing header in performance advisor
* Final clean up
* Fix DefaultLayout re-rendering issue on auth pages
* A couple of fixes
* Redirect to /organizations if land on /projects with feature preview on
* Route back to /projects if toggling preview off on /organizations
* Add HomePageActions to /org/slug
* make re-routing nicer
* Moar fixes
* Fix logging in redirect to /organizations irregardless of feature preview
* Fix missing withAuth in OrganizationLayout
* Minor clean upo
* Fix branch dropdown not aligned
* Add feature preview for update layout
* update dropdowns to only be chevron triggered in new layout
* Update content-query.ts
* Update entity-types-infinite-query.ts
* add IS_PLATFORM for org dropdown
* Add IS_PLATFORM check for EnableBranchingDropdown in LayoutHeader
* Midway fixing mobile nav
* Mobile nav fixes
* Address feedbacks
---------
Co-authored-by: Joshen Lim <joshenlimek@gmail.com >
Co-authored-by: Alaister Young <a@alaisteryoung.com >
Co-authored-by: Ivan Vasilov <vasilov.ivan@gmail.com >
Co-authored-by: Jordi Enric <jordi.err@gmail.com >
2025-04-08 11:32:29 +08:00
Jordi Enric
82bb29a16b
fix: branch dropdown sort & default branch shield ( #32650 )
...
sort and add shield
2025-01-08 12:11:59 +01:00
Ivan Vasilov and Joshen Lim
05a542ccea
chore: Migrate all feather icons to lucide icons ( #29038 )
...
* Add lucide-react to docs (to make the autocomplete work).
* Migrate the docs app icons.
* Migrate the ui-patterns.
* Remove the old icons from ui package.
* Migrate the www app from react-feather icons.
* Migrate all of studio icons.
* Migrate the only component in design-system.
* Fix an old import in ui package. Revert an import in docs app.
* Fix some pages in www.
* Remove unneeded files used in generation of icons.
* Fix a prettier error.
* Fix more issues in www.
* Fix an issue in Log Date picker.
* Replace all string sizes with number sizes because the icons grew in some cases.
* Fix more imports in security page.
* Fix an extra import.
* Remove the size prop from all icons if they're in a button and they match the button size.
* Minor fixes for docs and www.
---------
Co-authored-by: Joshen Lim <joshenlimek@gmail.com >
2024-09-04 19:46:21 +08:00
Jonathan Summers-Muir and Francesco Sansalvadore
6d760a1a99
Feat/deep dark ( #27026 )
...
* chore: move to deeper dark
* tidy up boxes on www
* update deep-dark colors
* fix homepage product cards
* toned down pricing page a little
* update
* lots of color changes
* Update grid.scss
* Update EntityListItem.tsx
* Update EntityListItem.tsx
* fix partners page icon
* fix partners page colors
* update theme
* Update global.css
* combined dark theme so classic-dark does not break on other sites
* Update package-lock.json
* updated color tokens pipeline to support combined dark theme
* smol updates
* Update FeaturedThumb.tsx
* Update BlogFilters.tsx
* Update BlogListItem.tsx
* Update BlogListItem.tsx
* Update UserSettingsDropdown.tsx
* Update NavigationBar.tsx
---------
Co-authored-by: Francesco Sansalvadore <f.sansalvadore@gmail.com >
2024-07-30 21:34:28 +08:00
Alaister Young and Kevin Grüneberg
70da0f1d1d
chore: cleanup packages ( #27770 )
...
* chore: cleanup packages
- Avoid circular imports
- Export API-types as types
- pg-format without depending on Node internal Buffer (not browser-compatible)
- Avoid importing from barrel files in ui dir
* chore: avoid barrel file imports in studio (#27771 )
* chore: avoid barrel file imports
- Removes some unused imports
- Avoids barrel file import for faster builds + less memory
* add eslint rule
* type fixes
* delete layouts barrel
* delete components/grid barrel file
* delete components/grid/utils barrel file
* delete components/grid/components/common barrel file
* delete components/grid/components/editor barrel file
* delete components/grid/components/formatter barrel file
* delete components/grid/components/grid barrel file
* delete components/grid/components/header/filter barrel file
* remote components/grid/store barrel file
* remove components/interfaces/Auth/Policies barrel file
* delete components/interfaces/Settings/Logs barrel file
* delete components/ui/CodeEditor barrel file
* delete components/ui/Forms barrel file
* delete components/ui/Shimmers barrel file
* delete data/analytics barrel file
* delete hooks barrel file
* cleanup lib/common/fetch barrel file
* final * barral files cleanup
* global react-data-grid styles
* remove console.log
---------
Co-authored-by: Kevin Grüneberg <k.grueneberg1994@gmail.com >
* fix build
---------
Co-authored-by: Kevin Grüneberg <k.grueneberg1994@gmail.com >
2024-07-04 14:48:10 +08:00
Jonathan Summers-Muir
a4a4a7e26d
Deprecate old Badge component ( #22037 )
...
* Update Badge.tsx
* refactor apps with new props
* Update APIKeys.tsx
* format
* remove old code
2024-03-19 10:33:12 +01:00
Charis
95e8375a22
fix: escape/remove double quotes in combobox items to prevent crashing ( #21162 )
2024-02-12 12:03:32 -05:00
Joshen Lim
351fa698ce
Update GET and PATCH pooling config to use supavisor endpoints ( #20944 )
...
* Update GET and PATCH pooling config to use supavisor endpoints
* Fix TS warning
* Small fix
* Remove unused import
2024-02-06 15:03:10 +08:00
Jonathan Summers-Muir
778a3b21bb
Chore/add feedback links branching ( #20926 )
...
* chore: update cmdk
* add link to branch dropdown
* chore: add button
* update
* Update BranchDropdown.tsx
2024-02-01 17:22:46 +08:00
Ivan Vasilov
436bdb10ae
chore: Move the studio app to apps/studio ( #18915 )
...
* Move all studio files from /studio to /apps/studio.
* Move studio specific prettier ignores.
* Fix the ui references from studio.
* Fix the css imports.
* Fix all package.json issues.
* Fix the prettier setup for the studio app.
* Add .turbo folder to prettierignore.
* Fix the github workflows.
2023-11-15 12:38:55 +01:00