Saxon Fletcher and Joshen Lim
593625c574
Edge functions empty state ( #33802 )
...
* page components
* page component changes
* settings but broken saving
* rvert
* use sheet for provider
* styling
* remove things
* Some refactoring and fixing, added JSDocs to layouts
* Smol refactor
* Fix
* Update JSDocs
* updated scaffolding
* update edge functions layout
* remove params
* Clean up
* Spelling
* Clean up FormFieldWrappers
* One last clean up
* create edge functon
* use component
* flag
* fix merge errors
* fix imports
* fix merge issues
* fix import
* fix flag
* remove unused
* simple empty
* empty state improvements
* move templates
* re-add flag
* use templates
* flag
* copy functions
* feature flag it
* Fix issues and clean up
* Smol fix
* Add comment
---------
Co-authored-by: Joshen Lim <joshenlimek@gmail.com >
2025-02-28 01:15:59 +08:00
Terry Sutton
a3fee4e76a
Chore/update lints ( #33749 )
...
Update lints
2025-02-27 13:28:06 +00:00
Saxon Fletcher and Joshen Lim
1cefb95a73
Create edge function ( #33726 )
...
* page components
* page component changes
* settings but broken saving
* rvert
* use sheet for provider
* styling
* remove things
* Some refactoring and fixing, added JSDocs to layouts
* Smol refactor
* Fix
* Update JSDocs
* updated scaffolding
* update edge functions layout
* remove params
* Clean up
* Spelling
* Clean up FormFieldWrappers
* One last clean up
* create edge functon
* use component
* flag
* fix merge errors
* fix imports
* fix merge issues
* fix import
* fix flag
* remove unused
* move templates
* re-add flag
* Small refactors
* Smol refactors
* Refactor
* add rename and delete via context
* create function fixes
* moved function name
* Smol update
* Small fix for selected state in edge functions side menu when on /new
---------
Co-authored-by: Joshen Lim <joshenlimek@gmail.com >
2025-02-27 20:04:46 +08:00
Kamil Ogórek
bcaf5d4f19
feat: Show updated_at time for edge secrets ( #33716 )
2025-02-27 19:55:21 +08:00
Saxon Fletcher and Joshen Lim
904d8e4482
Improve single edge function layout ( #33725 )
...
* page components
* page component changes
* settings but broken saving
* rvert
* use sheet for provider
* styling
* remove things
* Some refactoring and fixing, added JSDocs to layouts
* Smol refactor
* Fix
* Update JSDocs
* updated scaffolding
* update edge functions layout
* remove params
* single function layout
* invocation cleanup
* remove vars
* Clean up
* Spelling
* Clean up FormFieldWrappers
* One last clean up
* fix merge errors
* fix merge errors
* rmeove import
* Address comments
* Remove unnecessary prop
* Remove settings/functions and add redirects in next config
* fix empty
* Fix key prop issue and fix selected state in layout for single edge function
* Clean up edge function details
* Use zodResolver
* Refactor file name
* Remove unnecessary fragment
* Small refactors
* Refactor deleting edge function to use ConfirmationModal
* edge details fixes
* Small adjustment to paddings
---------
Co-authored-by: Joshen Lim <joshenlimek@gmail.com >
2025-02-27 17:02:05 +08:00
Stephen Morgan
71a108ef92
Second phase of HSTS header settings ( #33857 )
...
apply second phase of hsts header settings
2025-02-27 19:27:40 +13:00
Terry Sutton
1a8cbacfc6
Chore/theme change ( #33879 )
...
Update AIEditor theme to Supabase theme
2025-02-27 11:32:38 +08:00
Saxon Fletcher and Kevin Grüneberg
7c04aadfa9
Feat/plan upgrade improvements ( #33804 )
...
* upgrade dialog changes
* plan upgrade modal
* update dialog improvements
* factor in customer balance
* copy
* add PH a/b test
* fix ts
* smol stuff
* fixes
* group compute fees
* smol edits
* Update SubscriptionPlanUpdateDialog.tsx
* Update SubscriptionPlanUpdateDialog.tsx
* partner billing
* downgrade
* margin
* show pricing info + filter out long tweets
* fix tooltip
---------
Co-authored-by: Kevin Grüneberg <k.grueneberg1994@gmail.com >
2025-02-27 13:31:27 +10:00
Terry Sutton
20f5474457
Chore/move dot ( #33882 )
...
Nudge lint dot
2025-02-27 09:48:01 +08:00
Jonathan Summers-Muir
b3df5c6130
fix sidebar states ( #33872 )
2025-02-26 22:33:45 +08:00
angelico and Alaister Young
9b34521bed
chore: add AWS_NEW provider ( #33697 )
...
* feat: add AWS_NEW provider
* fix selecting aws region
* chore: add valid instance sizes
---------
Co-authored-by: Alaister Young <a@alaisteryoung.com >
2025-02-26 17:48:36 +08:00
Saxon Fletcher and Joshen Lim
27e730380c
Improve edge functions layout ( #33723 )
...
* page components
* page component changes
* settings but broken saving
* rvert
* use sheet for provider
* styling
* remove things
* Some refactoring and fixing, added JSDocs to layouts
* Smol refactor
* Fix
* Update JSDocs
* updated scaffolding
* update edge functions layout
* remove params
* Clean up
* Spelling
* Clean up FormFieldWrappers
* One last clean up
* fix merge errors
* Address comments
* Remove unnecessary prop
* Remove settings/functions and add redirects in next config
* fix empty
---------
Co-authored-by: Joshen Lim <joshenlimek@gmail.com >
2025-02-26 14:17:53 +08:00
Terry Sutton
c02d13bd6c
Chore/efs pasting again ( #33847 )
...
fix pasting multiple times
2025-02-25 23:14:25 +01:00
e19b0a155e
promote grafana in reports ( #33657 )
...
* promote grafana in reports
* add docs link
* lighter svg
* fix telemetry event
* next/image
* unused import
* BASE_PATH
* img
* Apply suggestions from code review to remove STUDIO bit
* add bg to button
* fix telemetry action
---------
Co-authored-by: Jordi Enric <37541088+jordienr@users.noreply.github.com >
Co-authored-by: Pamela Chia <pamelachiamayyee@gmail.com >
2025-02-25 18:15:22 +01:00
Terry Sutton and Ivan Vasilov
d1a17b9c61
Chore/ef secret reset ( #33842 )
...
* Reset secrets form after submission
* Try a different fix.
* Align the delete button.
---------
Co-authored-by: Ivan Vasilov <vasilov.ivan@gmail.com >
2025-02-25 12:42:05 -03:30
Terry Sutton and Ivan Vasilov
dc137679be
Edge functions secrets updates ( #31329 )
...
* Rename secrets to env vars, add inline form
* Add multiple
* Fix adding multiple
* Change name back
* Sm update
* Add docs for secrets management
* Fix file paths
* Prettier
* Fix image paths
* Images
* clean up
* Fix form submit
* Minor fixes.
* Remove console logs.
---------
Co-authored-by: Ivan Vasilov <vasilov.ivan@gmail.com >
2025-02-25 10:47:59 -03:30
Joshen Lim
684a35cbd5
Fix check before constructing new URL in TerminalInstructions ( #33836 )
2025-02-25 21:34:58 +08:00
Jonathan Summers-Muir and Joshen Lim
5816d6fd0a
Feat/sidebar studio ( #33612 )
...
* add sidebar
* sidebar docs added
* add sidebar
* fixed issues
* fix mobile
* 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
* move dropdown and fix
* Update LayoutHeader.tsx
* update const
---------
Co-authored-by: Joshen Lim <joshenlimek@gmail.com >
2025-02-25 07:28:03 +00: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
Alaister Young
bd56cc67bc
fix: destructive query warning on run button ( #33801 )
2025-02-24 09:28:20 -03:30
Kevin Grüneberg
6b1e143f9c
chore: hint user on how to reduce disk ( #33792 )
2025-02-24 16:46:18 +08:00
Jordi Enric and Joshen Lim
d10db0f735
add pgbouncer config and status queries ( #33772 )
...
* add queries
* use different keys
* move folder
* rm old files
* Small refactoir
---------
Co-authored-by: Joshen Lim <joshenlimek@gmail.com >
2025-02-24 11:41:35 +08:00
Pamela Chia and Alaister Young
fc6c8b5213
chore: add signin method to tracking ( #33757 )
...
* chore: add signin method to tracking
* include unknown when signinmethod unknown
* use useParams
---------
Co-authored-by: Alaister Young <a@alaisteryoung.com >
2025-02-24 11:32:15 +08:00
Terry Sutton
41715714f4
Chore/column dropdown bug ( #33776 )
...
Fix the blasted column dropdown bug
2025-02-23 22:07:05 -03:30
Saxon Fletcher
a149e38d54
move templates in inline editor ( #33759 )
2025-02-24 07:13:43 +10:00
Jordi Enric
7eeab4ebb3
allow nested routes for last visited route in logs ( #33775 )
...
allow nested routes
2025-02-21 20:39:15 +01:00
Terry Sutton
9a59de73ed
Chore/api keys perms ( #33684 )
...
* Dont try and load keys if user doesnt have permission
* Async check perms
2025-02-21 14:22:37 -03:30
Terry Sutton
7ffd525da1
Chore/delay disk size report ( #33686 )
...
Dont show warning if project coming_up
2025-02-21 12:04:55 -03:30
Kevin Grüneberg
a283da6ddb
chore: only include platform/v1 routes in api types ( #33753 )
2025-02-21 20:04:57 +08:00
Kevin Grüneberg
be2271b9c2
feat: break down log drain egress ( #33763 )
2025-02-21 10:23:03 +00:00
Joshen Lim
469dbd08c7
Tiny nit advanced auth form ( #33740 )
2025-02-21 17:56:05 +08:00
Joshen Lim and Saxon Fletcher
32a042379e
Auth Settings IA Update - Sign In / Up ( #33579 )
...
* page components
* page component changes
* settings but broken saving
* rvert
* use sheet for provider
* styling
* remove things
* Some refactoring and fixing, added JSDocs to layouts
* Smol refactor
* Fix
* Update JSDocs
* updated scaffolding
* Clean up
* Spelling
* Clean up FormFieldWrappers
* One last clean up
* Smol CSS tweak
---------
Co-authored-by: Saxon Fletcher <saxonafletcher@gmail.com >
2025-02-21 16:09:50 +08:00
Stojan Dimitrovski
127dd8afc9
feat: add clerk as third-party auth provider / TP-MAU pricing ( #33327 )
...
- Adds Clerk as third-party auth provider, behind feature flags for future release
- Adjust pricing according to new pricing RFC
- Remove paid plan feature gatekeeping
2025-02-21 14:59:38 +08:00
Stephen Morgan and Alaister Young
c8824e445b
Added hsts header via vercel.json ( #33571 )
...
* Added hsts header via vercel.json
* Migrate headers to next.config.js
* only apply hsts headers when running on vercel
* remove is platform check from docs
* Moved hsts header to root path
* Removed debugging header
* revert environment check on www header
---------
Co-authored-by: Alaister Young <a@alaisteryoung.com >
2025-02-21 07:31:57 +13:00
Joshen Lim and Alaister Young
38c5a38fa7
Chore/shift max auth db conns to auth advanced ( #33729 )
...
* Shift max auth db connections to auth advanced page
* Update URL for max auth db conns in empty state for auth settings
* Update check
* Fix
* fix form
* more fixes
* JESUS
* Add units
---------
Co-authored-by: Alaister Young <a@alaisteryoung.com >
2025-02-20 20:08:49 +08:00
Joshen Lim and Alaister Young
681cf5098c
Disable selection of io2 volume type if project region is not supported ( #33733 )
...
* disable selection of io2 volume type if project region is not supported
* Update apps/studio/components/interfaces/DiskManagement/fields/StorageTypeField.tsx
Co-authored-by: Alaister Young <alaister@users.noreply.github.com >
* Fix import
---------
Co-authored-by: Alaister Young <alaister@users.noreply.github.com >
2025-02-20 19:58:04 +08:00
Joshen Lim and Alaister Young
ae2203b5e7
Reinstate SQL editor results events ( #33736 )
...
* Reinstate SQL editor results events
* remove random console.log
* fix event name
---------
Co-authored-by: Alaister Young <a@alaisteryoung.com >
2025-02-20 18:46:23 +07:00
Jordi Enric
64bfd6dc72
remove consolelog ( #33738 )
...
rm clog
2025-02-20 11:12:39 +00:00
Kamil Ogórek
0136e7bf52
fix: mfa_max_enrolled_factors value of 0 is valid ( #33713 )
2025-02-20 09:46:06 +01:00
Kamil Ogórek
1a7c01770b
feat: Add supavisor connections to infra report ( #33682 )
2025-02-20 15:57:41 +08:00
Jordi Enric and Joshen Lim
b6e126c331
Feat: remember last visited route in logs FE-1418 ( #33486 )
...
* add logic to remember last route
* add default redirect
* move logic to index page
* Simplify logs page redirect logic
* missing }
* fix wrong }
* wait 2s for page to redirect
* use latest version in local studio cli test
* rm timeouts looks like it takes longer in ci
* Clean up
* Fix broken commands
---------
Co-authored-by: Joshen Lim <joshenlimek@gmail.com >
2025-02-20 14:42:01 +08:00
Joshen Lim
e1d957b528
Decouple updating disk size from retrieving disk util ( #33710 )
...
* Decouple updating disk size from retrieving disk util
* Clean up
* remove unused param
2025-02-20 11:38:16 +08:00
Jordi Enric
ee7f7e4b42
Update Log Detail ( #33536 )
...
* state refactor & new log detail
* fix type in tests
* use new hook in auth page logs
2025-02-19 16:44:44 +01:00
Joshen Lim
0b9a59325c
Update org roles confirmation to fire requests sequentially ( #33695 )
...
* Update org roles confirmation to fire requests sequentially
* Add missing await
* Add skip invalidation flags
2025-02-19 10:22:08 -03:30
Kamil Ogórek and Joshen Lim
f553065a2e
feat: Add Login event to account audit logs ( #33660 )
...
* feat: Add Login event to account audit logs
* refactor
* Remove unrelated files
* Remove audit login events for sign in with GH and SSO
---------
Co-authored-by: Joshen Lim <joshenlimek@gmail.com >
2025-02-19 18:02:53 +08:00
Saxon Fletcher and Joshen Lim
28fe5811de
Inline editor feature preview ( #33541 )
...
* add edge function knowledge
* deploy edge function mutaton
* add edge function block with deploy
* update function url
* update tools
* editor sql
* add templates
* use monaco editor
* hook up templates
* fixes
* add behind feature flag
* preview docs
* move editor
* initialPrompt
* consolidate widgets
* remove generic editor
* move logic
* fix ts
* include schema metadata
* Fix width of save snippet button
* Set tooltip position
* Use inlineLink component
* Remove unnecessary z index
* Lint
* Lint import statements in EditorPanel
* fixes
* fix keyboard shortcut
* show/hide results and invalidation
* fix focus issues in widget
* fixes
* fix ts
* Support cmd enter shortcut to run query in InlineEditor
* Update InlineEditorPreview to use admonition
* prompt updates
* add discussion url to preview
* schemas array
* One last clean up
---------
Co-authored-by: Joshen Lim <joshenlimek@gmail.com >
2025-02-19 14:58:58 +10:00
Beng Eu
710131456f
fix: run next build directly instead of build task to avoid uploading static assets when building image ( #33693 )
...
Was broken by #33344 , which changed `build` task from `next build` to
`next build && ./../../scripts/upload-static-assets.sh`.
2025-02-19 03:30:45 +00:00
Francesco Sansalvadore
1cdcf8f074
fix: disk config layout gap ( #33683 )
...
* restore gap
* fix compute size layout
2025-02-18 17:54:50 +01:00
Jonathan Summers-Muir
0795ca97c1
fix: header logo in org pages ( #33681 )
...
Update LayoutHeader.tsx
2025-02-18 19:23:53 +08:00
Alaister Young and Joshen Lim
e1eaa9844c
fix: indexes in use ( #33672 )
...
* fix: indexes in use
* add error state for indexes in use
---------
Co-authored-by: Joshen Lim <joshenlimek@gmail.com >
2025-02-18 18:06:06 +08:00