Kamil Ogórek
c3a352331a
ref: Fix all API types after Zod migration ( #34903 )
2025-04-11 10:28:08 +08:00
Jordi Enric and Joshen Lim
7283c3103e
Update project usage chart date picker ( #34734 )
...
* update project usage chart date picker
* Refactor ProjectUsage component: comment out unused chart intervals and update default interval state
* rm commented out options
* Fix TS issues
* Small fix
* Smol fix
---------
Co-authored-by: Joshen Lim <joshenlimek@gmail.com >
2025-04-09 15:11:24 +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
Kevin Grüneberg
8d48d5bfae
refactor: use database status from general health check endpoint ( #34629 )
2025-04-02 13:27:04 +08:00
Kevin Grüneberg
ab73c916c1
chore: only load data if needed ( #34624 )
...
Builds on top of #34617 (can be merged independently)
2025-04-02 09:23:58 +08:00
Long Hoang
69726689c9
chore: remove event enums ( #33730 )
...
* chore: remove event enums
* chore: remove more event enums
* chore: remove unused HomepageHeroRequestDemoClickedEvent
* chore: remove unused HomepageHeroRequestDemoClickedEvent
* chore: rename custom_report events to use underscores
* chore: remove telemetry enum
* chore: remove unused imports
* chore: remove enums from merged events
* chore: remove unused imports
* chore: add typedocs for module and hide exported types that are not events
2025-02-25 13:08:31 +08:00
Jordi Enric
216df9b1eb
fix: rename "No issues" to Healthy ( #33311 )
...
rename no issues to healthy
2025-02-04 13:03:47 +01:00
Pamela Chia and Joshen Lim
b6cefe5c25
Feat/add studio events ( #33148 )
...
* add tracking for help, feedback, import data, and example clicked
* clarify www pricing plan and add run sql query event
* add pricing plan cta tracking
* Add one more event to Import data from CSV
* Consistent copy
* Clean up and refactors
* Some fixes
---------
Co-authored-by: Joshen Lim <joshenlimek@gmail.com >
2025-02-03 20:08:30 +08:00
Jordi Enric
e59f2794f2
Service Status: fix status checks ( #33125 )
2025-01-28 18:15:15 +01:00
Joshen Lim
aca05551d1
Update GetStartedHero ( #33123 )
2025-01-28 00:24:46 +08:00
Jordi Enric
ee9931afd3
service status: hide info footer if all services OK ( #32966 )
...
hide if all services are operational
2025-01-21 18:01:16 +01:00
Ivan Vasilov
52735e38bf
chore: Rename all uses of Tooltip_Shadcn_ to just Tooltip ( #32860 )
...
* Rename all uses of Tooltip_Shadcn_ to just Tooltip.
* Fix a leftover change.
2025-01-20 22:23:45 +01:00
Jordi Enric
0a3df2296e
keep polling til all services are healthy ( #32794 )
...
* keep polling til all services are healthy
* fix type errs
* use loader in coming up icon
* consistent icons
2025-01-20 16:26:22 +08:00
9d534c9f5a
fix: response error codes ( #30581 )
...
* fix: response error codes
* upgrade docs
* remove request url modification middleware
* move api routes for self-hosted to platform folder
* remove some lib/common/fetch usage
* docs: use middleware for openapi-fetch (#30600 )
Get rid of the unauthedAllowedPost function (I don't think there's any harm in letting any requests that require authentication to just 403, they should be disabled at the React Query level and if not they will fail gracefully enough...)
* fix local count query
* add default values for clone mutation
* fix ts and codegen
* add missing lodash dep to playwright tests
* Fix the playwright tests to match the new folder structure for selfhosted variant.
* remove unused import
* Remove unused state
* remove unused sql debug mutation
* remove unused export
* fix notifications query
* fix jwt updating status
* fix typescript
* save sql snippet after renaming
* update codegen & fix ts error
* override array querySerializer
---------
Co-authored-by: Charis <26616127+charislam@users.noreply.github.com >
Co-authored-by: Joshen Lim <joshenlimek@gmail.com >
Co-authored-by: Ivan Vasilov <vasilov.ivan@gmail.com >
2025-01-20 11:27:38 +08:00
Francesco Sansalvadore
ecd181bcd9
studio mobile v2 ( #32630 )
...
* improve some studio mobile layouts
* improve some studio mobile layouts
* improve settings
* assistant mobile
* assistant mobile
* assistant mobile
* responsive formlayout and new project layout
* improve dashboard pages headers
* improve dashboard auth pages
* mobile org settings
* mobile billing fixes
* adjust paused project container height
* remove comments
* triggers
* leftovers
* ai assistant
* fix errors
* remove 16px input size
* fix test
* merge access tokens settings page conflicsts
* smol integrations here and there
2025-01-17 19:07:35 +01:00
Jordi Enric
462c3c8cfc
status check ( #30204 )
2025-01-15 11:42:06 +01:00
Jordi Enric
b447ef62d1
fillTimeseries: Skip filling if theres a minimum of datapoints ( #31311 )
...
* allow fillTimeseries to skip filling if theres a minimum of datapoints
* rm empty string
* allow strings in fillTimeseries defaultValue
* fix header, reduce min data points to do fill
* rm comment
2025-01-04 12:21:19 +01:00
f650b5ae67
Feat/connection string revamp ( #30572 )
...
* add new page
* moar
* moar
* added icons
* improve icons
* moved connect dialog to main header
* update text
* smaller screen support
* moar
* add python and sqlalchemyString
* moar
* add IPv4 warning
* moar
* Delete pooler-icons-v2.tsx
* tidy
* Delete DatabaseSettings.tsx
* tidy
* tidy
* moar. Session pooler is de-prioritized
* Update DatabaseConnectionString.tsx
* type issue
* moar
* Update DatabaseConnectionString.tsx
* Spelling
* Clean up LayoutHeader
* Clean up ConnectionPanel
* Clean up ConnectionParameters
* Last batch of clean up
* Fix loading state padding
* Shift old Connect files to new Connect folder outside of Home
* Final clean up
* Smol fix
* FIX
* Fix button link
* Fixes
* Lint
---------
Co-authored-by: Terry Sutton <saltcod@gmail.com >
Co-authored-by: Joshen Lim <joshenlimek@gmail.com >
2024-12-05 17:23:14 +08:00
Jordi Enric
bf3b251934
capitalize editor ( #30549 )
...
fix
2024-11-19 11:33:10 +00:00
Alaister Young
c59be649a3
chore: prefetch project homepage ( #30317 )
2024-11-07 16:29:07 +08:00
Ivan Vasilov and Joshen Lim
f29003e0e7
fix: Use protocol property when building API url ( #30332 )
...
* Fix the types for API settings to include protocol.
* Use the protocol property in all usages of endpoints.
* Update
* Lint
* Revert changes to retrieving protocol
* Remove console.logs
---------
Co-authored-by: Joshen Lim <joshenlimek@gmail.com >
2024-11-06 22:22:24 +01:00
Jonathan Summers-Muir and Jordi Enric
637167a27b
Feat/non centered dialog option ( #29776 )
...
* init
* Update dialog.tsx
* add example
* update docs
* Update packages/ui/src/components/shadcn/ui/dialog.tsx
Co-authored-by: Jonathan Summers-Muir <MildTomato@users.noreply.github.com >
---------
Co-authored-by: Jordi Enric <37541088+jordienr@users.noreply.github.com >
2024-11-05 13:03:11 +08:00
Terry Sutton and Charis Lam
bb0306061d
Chore/update to next 15 ( #30075 )
...
* Update Next.js docs for v15
* More awaiting
* remove async for pages router
* fix for dashboard connection guide
---------
Co-authored-by: Charis Lam <26616127+charislam@users.noreply.github.com >
2024-10-24 12:56:20 -02:30
Alaister Young and Joshen Lim
5781937739
chore: aggressive prefetching ( #29987 )
...
* chore: aggressive prefetching
* use abort signals in prefetchers
* move encrypted columns to react-query
* prefetching for filter and sort applied
* prefetch remaining entity types
* prefetch tables in more places
* prefetch editor page on project panel
* add feature flag
* fix typescript
* nit
* Nit
* fix imports
* remove views check on encrypted schemas
* use fetchQuery instead of prefetchQuery
* fix useEncryptedColumnsQuery ts error
* filter by schema on encrypted columns
* don't use pg_get_tabledef for foreign tables
* Remove unnecesary import
---------
Co-authored-by: Joshen Lim <joshenlimek@gmail.com >
2024-10-24 20:59:35 +08:00
Joshen Lim
361d429c9f
Shift all uses of project-settings-query to project-settings-v2-query and deprecate project-settings-query ( #30031 )
...
* Add perms check in projects API query
* Start deprecating use of projects-api-query, move to projects-settings-v2-query
* PRETTY
* Shift all uses of project api query to project settings v2 query, and deprecate project api query
* Shift all uses of project-settings-query to project-settings-v2-query and deprecate project-settings-query
* Fix
2024-10-23 21:09:34 +08:00
Joshen Lim and Alaister Young
e6c249d9b5
Shift all uses of project api query to project settings v2 query, and deprecate project api query ( #30029 )
...
* Add perms check in projects API query
* Start deprecating use of projects-api-query, move to projects-settings-v2-query
* PRETTY
* Shift all uses of project api query to project settings v2 query, and deprecate project api query
* Fix
* Fix
* Small unrelated styling fix on join page
* Fix
* Update apps/studio/components/interfaces/Auth/Users/UserOverview.tsx
Co-authored-by: Alaister Young <alaister@users.noreply.github.com >
---------
Co-authored-by: Alaister Young <alaister@users.noreply.github.com >
2024-10-23 20:02:20 +08:00
Joshen Lim
cb5ae761f3
Chore/add perms check in projects api query ( #30025 )
...
* Add perms check in projects API query
* Start deprecating use of projects-api-query, move to projects-settings-v2-query
* PRETTY
* Address feedback
* Address feedback
2024-10-23 16:36:09 +08:00
Joshen Lim
d586346e27
Chore/sentry fixes 211024 ( #30003 )
...
* Resolve https://supabase.sentry.io/issues/5808689343
* Fix SecurityStatus map key prop issue
* Fix FileExplorerHeader to use ButtonTooltip
* Fix https://supabase.sentry.io/issues/5998687405
* Fix https://supabase.sentry.io/issues/5414129652
* Fix https://supabase.sentry.io/issues/5414129652
* Fix map key issue in QueryPerformanceGrid
* Add whitelist error for sign up mutation
* Fix map key in DiskUsage
* Fix prop name in info-tooltip
2024-10-22 15:21:06 +08:00
James Glenn and Ivan Vasilov
7ca8d1c873
docs: Sveltekit connect guide update ( #28964 )
...
docs: sveltekit connect guide update
Co-authored-by: Ivan Vasilov <vasilov.ivan@gmail.com >
2024-10-17 14:47:58 +02:00
divit and Joshen Lim
99c147a56c
feat: support for restarting and resizing statuses ( #29881 )
...
* start using restarting and resizing statuses
* pretty 1
* Minor updates
* Small revert, to prevent conflicts
* PRETTY
---------
Co-authored-by: Joshen Lim <joshenlimek@gmail.com >
2024-10-17 11:52:22 +08:00
Joshen Lim
b5daa7e0e6
chore: prevent deploying new replicas with outstanding invoices ( #29682 )
2024-10-09 16:48:42 +08:00
Jordi Enric
e92cb573db
Check if the project is coming up ( #29721 )
...
* check if the project is coming up
* add info msg
2024-10-08 10:51:00 +08:00
Jonathan Summers-Muir and Wen Bo Xie
0dee525177
chore/ add API keys upcoming change notice ( #29664 )
...
* init
* Update Panel.tsx
* Update DisplayApiSettings.tsx
* Update Panel.tsx
* update links
* update to use forwardRef and spread all props
* update copy
* Apply suggestions from code review
Co-authored-by: Wen Bo Xie <5532241+w3b6x9@users.noreply.github.com >
---------
Co-authored-by: Wen Bo Xie <5532241+w3b6x9@users.noreply.github.com >
2024-10-07 18:36:25 +08:00
Jordi Enric and Joshen Lim
6e1e5db7f7
Project Status improvements ( #29669 )
...
* add logs links, set status as coming up when project is less than 10 minutes old
* make whole dorpdown item clickable
* Small tweak to UI
* Switch to 5 mins
* Small tweak
* Add useeffect to automatically refresh service status
* Add useeffect to automatically refresh service status
* Address feedback
---------
Co-authored-by: Joshen Lim <joshenlimek@gmail.com >
2024-10-07 16:41:51 +08:00
Terry Sutton and Joshen Lim
12b7eab229
Chore/restrict banner to select routes ( #29649 )
...
* Selectively show resource exhaustion banner
* Remove the auth email warning from project cards
* Remove test code
* Just some refactoring
* update restrictToRoutes to settings/auth for auth email sending
---------
Co-authored-by: Joshen Lim <joshenlimek@gmail.com >
2024-10-04 16:45:35 +08:00
Joshen Lim
87667de81f
Small UI tweak to security issues dropdown ( #29605 )
2024-10-02 19:36:16 +08:00
Terry Sutton and Jordi Enric
b5991468ae
Chore/security issues dropdown v2 ( #29598 )
...
* Nudges
* Use popoverseparator instead
* use variants pattern (#29599 )
Update SecurityStatus.tsx
* Nudge padding
---------
Co-authored-by: Jordi Enric <37541088+jordienr@users.noreply.github.com >
2024-09-30 19:26:57 +00:00
Terry Sutton
62727e511d
Chore/move simple codeblock ( #29547 )
...
* Move SimpleCodeBlock to shared packages
* Add new files
* Add use client
* Revert sitemap changes
2024-09-27 15:05:24 -02:30
Joshen Lim
548e32cb3c
Project filter status, active will only show active projects, not all ( #29223 )
2024-09-11 20:43:05 +08:00
Joshen Lim
942a2589f7
Allow access to the database backups page irregardless of project status ( #29170 )
...
* Allow access to the database backups page irregardless of project status
* Remove access to backups page for pause, pause failed and pausing states
* Remove access to backups page for pause, pause failed and pausing states
* Restoring state show PITR
* Add state to handle project offline for PITR page
2024-09-11 00:12:29 +08: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
Kevin Grüneberg
ae106cdccb
fix: do not show compute badge on paused projects ( #28935 )
2024-08-28 12:44:43 +02:00
Jonathan Summers-Muir
4b6c2cbec0
feat: add compute badge ( #23234 )
2024-08-27 18:23:21 +02:00
Jonathan Summers-Muir and Alaister Young
03016dbb77
chore/ spelling issues ( #28871 )
...
Co-authored-by: Alaister Young <alaister@users.noreply.github.com >
2024-08-26 11:35:06 +02:00
790c7ce369
Vercel marketplace ( #28786 )
...
* Add Vercel Marketplace login flow page
* Add alternative Vercel Marketplace flow with for popup windows
* Automatically redirect user to project after Vercel Marketplace login
* added PartnerIcon
* Update partner-icon.tsx
* refactor partner icon
* hide invoices when on vercel marketplace
* vercel marketplace – payment method / billing address / tax numbers | empty states
* add tooltip to memebers
* always show invoices tab
* Update InvoicesSettings.tsx
* add partner id
* update cta urls
* add vercel managed org banner
* add billing coming soon warning
* remove sign-in-vercel-marketplace routes
* re-enable plan upgrades
* Update api.d.ts
* Fix type checking
* fix vercel links
* improve ts
---------
Co-authored-by: Kamil Ogórek <kamil.ogorek@gmail.com >
Co-authored-by: Alaister Young <a@alaisteryoung.com >
Co-authored-by: Kevin Grüneberg <k.grueneberg1994@gmail.com >
Co-authored-by: Joshen Lim <joshenlimek@gmail.com >
2024-08-23 08:06:15 +00:00
0568186816
Added Nuxt guide to project homepage. ( #20336 )
...
* Add NuxtJS todo list app to EXAMPLE_PROJECTS
* run prettier
* Prettier
---------
Co-authored-by: Siddharth Balyan <Siddharth Balyan>
Co-authored-by: Jordi Enric <37541088+jordienr@users.noreply.github.com >
Co-authored-by: Joshen Lim <joshenlimek@gmail.com >
2024-08-15 16:32:15 +08:00
hallidayo
6e35f2fade
feat: ionic angular connect example ( #27806 )
...
* ionic angular connect guide
* connect icon constants
2024-08-15 15:28:47 +08:00
Omar and Terry Sutton
17384f19f3
Add code snippet to Prisma docs example ( #26269 )
...
Add code to create a client
Adding code snippet for client generation.
Co-authored-by: Terry Sutton <saltcod@gmail.com >
2024-08-08 12:01:34 -02:30
Terry Sutton
1be7cc4820
Refine lint warning on homepage ( #28424 )
...
* Refine lint warning on homepage
* Remove unused
2024-08-06 16:33:20 -02:30
Terry Sutton
eb2679110a
Chore/connect alignment ( #28422 )
...
Fix alignment
2024-08-06 13:25:38 -02:30