95ec79b98f
feat: Infinite query hook block ( #34650 )
...
* infinite list
* infinite list block
* registration
* add missing supportedFrameworks
* Add tables to the supabase project. Generate the types for it.
* Refactor the infinite list query to be just a hook.
* Clean up the block. Add comments.
* Regenerate the registry.
* Fix the docs, the block is not framework-dependent.
* Set the package versions to * to be defined by other packages.
* Minor fixes to the block.
* Fix the examples.
* Fix the docs for the new hook.
* Fix the demo.
* Add more migrations to the db.
* Fix various issues with the query. Rewrote it to useSyncExternalStore.
* Fix the SSR for the hook.
* More fixes.
* Try initializing the store in a useEffect.
* Fix the pnpm-lock file.
* Minor fixes in the docs.
* Put the infinite list under a reusable components section.
* Update apps/ui-library/registry/default/blocks/infinite-query-hook/hooks/use-infinite-query.ts
* Change the example DB to use todos.
* Update the docs to be about Todos quickstart.
* List edits
* Fix link
* Regenerate the registry.
* Add query hook to the landing page.
---------
Co-authored-by: Ivan Vasilov <vasilov.ivan@gmail.com >
Co-authored-by: Terry Sutton <saltcod@gmail.com >
2025-04-17 15:18:33 +02:00
Ivan Vasilov and Terry Sutton
2ebf81c601
feat: Add social login to the UI Library ( #34803 )
...
* Add social login block.
* Regen the registry.
* Fix the nextjs social auth.
* Add social auth blocks for RR, Tanstack and React.
* Minor fixes.
* Add docs.
* Update the docs.
* Minor fixes to the blocks.
* Update the docs.
* Fix various doc issues.
* Fix the redirect in the password-based auth.
* Fix note about supabase clients in docs.
* Use with instead of assert in the registry imports.
* Update all auth blocks to use /protected.
* Update all docs for the password-based auth.
* Add new label to social auth.
* Fix docs issues.
* Light mode fix
* Smol fixes
* Fix the origin in the login route.
* Add social auth to the landing page.
* Regenerate the registry.
---------
Co-authored-by: Terry Sutton <saltcod@gmail.com >
2025-04-17 14:57:09 +02:00
Bobbie Soedirgo and Joshen Lim
b7e9b82a44
fix: handle new Wrappers in create server sql ( #35075 )
...
Co-authored-by: Joshen Lim <joshenlimek@gmail.com >
2025-04-17 19:02:46 +08:00
Jordi Enric
cbc3534dc2
improve postgres logs rows and detail ( #34152 )
2025-04-17 17:39:22 +08:00
Alaister Young
1085987eb3
feat: support postgres custom access token hooks ( #34893 )
...
* chore: refactor role impersonation
* fix: handle undefined claims in role impersonation SQL generation
* feat: support postgres custom access token hooks
* remove unused hook
* fix ts
2025-04-17 17:30:22 +08:00
bnlvn
68fde6cf84
docs(auth): clarify mapping of user metadata in updateUser example ( #35047 )
...
Adds a note explaining that the `data` field maps to `raw_user_meta_data` in the database,
and is returned as `user_metadata` when calling `getUser()`.
2025-04-17 00:16:35 +00:00
Jonathan Summers-Muir and Joshen Lim
08e5abc64a
Chore: Support form | support access true as default ( #35066 )
...
* Update SupportFormV2.tsx
* Fix TS
* Update SupportFormV2.tsx
* Update SupportFormV2.tsx
* Small refactor after checking preview
* Clean up
* remove div
* Fix after merging master
---------
Co-authored-by: Joshen Lim <joshenlimek@gmail.com >
2025-04-16 21:10:47 +08:00
Francesco Sansalvadore
be2c3ccaf8
restore mobile sub navigation ( #35058 )
2025-04-16 10:16:23 -02:30
Alaister Young
a7b4a3bc6b
feat: orb fdw ( #35061 )
...
* feat: slack fdw
* fix slack options
* feat: cloudflare d1 fdw
* feat: hubspot wrapper
* feat: orb fdw
* up minimum version
2025-04-16 11:47:15 +00: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
Kevin Grüneberg
679714fa75
feat: merged billing & invoices / billing tab in new org nav ( #35008 )
...
- Merge billing & invoices page
- Moved credits under payment method management to keep it closer to invoices
- Reduced invoice list to 5 by default
- Added "Billing" navigation item for new org nav
- Rewrote invoices links to use new billing invoices section
- Permanent redirect for organization invoices page
2025-04-16 19:19:39 +08:00
Joshen Lim
8f64345725
Table Editor: Shift loading, error and empty states outside of DataGrid ( #35031 )
2025-04-16 19:09:09 +08:00
Alaister Young
659e9130dd
feat: hubspot wrapper ( #35059 )
...
* feat: slack fdw
* fix slack options
* feat: cloudflare d1 fdw
* feat: hubspot wrapper
* up minimum version
* update description and add missing objects
* fix this one again
2025-04-16 11:04:26 +00:00
Alaister Young
40aceb7e68
feat: cloudflare d1 fdw ( #35055 )
...
* feat: slack fdw
* fix slack options
* feat: cloudflare d1 fdw
* up minimum version and feedback
* revert bigint change
* fix styling
2025-04-16 18:47:25 +08:00
Cemal Kılıç
fe87cf1f74
chore: add Cemal to humans.txt ( #35062 )
2025-04-16 10:32:59 +00:00
Alaister Young
ef4b8beac3
feat: slack fdw ( #35053 )
...
* feat: slack fdw
* fix slack options
* add overview
* up minimum version
2025-04-16 17:57:23 +08:00
Ivan Vasilov
326c7535f6
chore: Bump vulnerable deps. ( #34395 )
...
* Bump all testing libs to force babel to upgrade itself.
* Remove react-hooks package, it's included in @testing-library/react.
* Add await to all useEvent calls.
* Remove duplicate babel/helpers.
* Deduplicate babel/core.
* Bump vite to non-vuln version.
* Bump estree-util-value-to-estree.
2025-04-16 10:02:06 +02:00
Etienne Stalmans
912dce3c4b
chore: make security page discoverable ( #35004 )
...
* chore: make security page discoverable
* chore: add security icon
* chore: add security grayscale icon
* chore: add security icon
* chore: resize security IconSecurity
2025-04-16 09:27:26 +02:00
Tyler
6610621f67
fix: Update the function code template for OpenAI completion API to work with current packages ( #34890 )
...
fix: update the code sample for openai-completion to work with latest packages
2025-04-16 16:03:17 +09:00
Joshen Lim
3989395a75
Fix back to dashboard link on account page ( #35034 )
2025-04-16 14:07:42 +08:00
Joshen Lim
53764445ff
Add org plan and num projects to organization action card ( #35035 )
...
* Add org plan and num projects to organization action card
* Small fix to feature preview modal
2025-04-16 13:34:17 +08:00
Terry Sutton
5d1bec72be
Fix snippet modal search ( #35048 )
2025-04-16 10:41:09 +08:00
Jasper and Charis
0c4c874a6a
update: improve docker self hosting documentation ( #27974 )
...
* update: improve docker self hosting documentation
* fix: self hosting docs consistencies
* update: jwt generator according to official documentation
* Apply grammer improvements from code review
Co-authored-by: Charis <26616127+charislam@users.noreply.github.com >
* conform to prettier formatting
* Update apps/docs/content/guides/self-hosting/docker.mdx
* Update apps/docs/components/JwtGenerator/JwtGenerator.tsx
---------
Co-authored-by: Charis <26616127+charislam@users.noreply.github.com >
2025-04-15 23:51:14 +00:00
Terry Sutton
ed4709078c
Policy row spacing fixes ( #35045 )
2025-04-15 19:45:21 -02:30
Nils Reichardt
0457764b7a
docs: only use JSR for Edge Function testing example ( #34979 )
...
docs: replace Deno Standard Library with JSR for Edge Function testing example
2025-04-15 20:39:58 +00:00
Charis
9b4ca2c27d
docs: document details of raised messages in Postgres ( #34949 )
...
Received a user question about where to find statements that they
printed via Postgres raise statement, so added an explainer to the logs
section.
2025-04-15 14:08:44 -04:00
Charis
84914090f9
fix(docs): change code block theme ( #34940 )
...
Code block theme used Vitesse.
Code block theme uses the custom Supabase 2 theme, which matches the UI
library and design system sites.
2025-04-15 16:49:49 +00:00
Tyler
e3b03513e9
examples: Updates example rules to match the latest format of Cursor rules and add declarative schema example ( #34992 )
...
* remove glob from all examples
* Add declarative schema instructions
* run prettier
* update file extension for declarative-database-schema rule
* update the example prompts in the examples folder
2025-04-16 01:02:10 +09:00
Ivan Vasilov
eadff19571
chore: Bump React to 18.3+ ( #35029 )
...
* Bump react and react-dom to 18.3+.
* Add tailwind to ui package to silence a peer dep warning.
2025-04-15 17:07:53 +02:00
Joshen Lim
3bae4ccdd0
Fix editing policy via inline sql, placeholder sql is incorrect ( #35038 )
2025-04-15 22:28:43 +08:00
Terry Sutton
fd8d7739a4
Fix inline editor theme ( #35039 )
2025-04-15 14:20:53 +00:00
23973eb5c3
feat: cmdk sections preview ( #34633 )
...
* cmdk sections preview
* useRegisterCommands refactor
* Update apps/studio/components/interfaces/App/CommandMenu/CommandMenu.utils.ts
Co-authored-by: Charis <26616127+charislam@users.noreply.github.com >
* Update apps/studio/components/layouts/DatabaseLayout/Database.Commands.tsx
Co-authored-by: Charis <26616127+charislam@users.noreply.github.com >
* Update apps/studio/components/layouts/DatabaseLayout/Database.Commands.tsx
Co-authored-by: Charis <26616127+charislam@users.noreply.github.com >
---------
Co-authored-by: Terry Sutton <saltcod@gmail.com >
Co-authored-by: Charis <26616127+charislam@users.noreply.github.com >
2025-04-15 12:49:33 +00:00
Joshen Lim
a47c93c3d3
Fix joining an organization projects are not loaded initially ( #35033 )
2025-04-15 20:14:46 +08:00
Joshen Lim
a4d5af48c8
Downgrade and fix radix dialog version to 1.0.5, and remove unnecessary modal props from all usages of DropdownMenu ( #35027 )
...
* Downgrade and fix radix dialog version to 1.0.5, and remove unnecessary modal props from all usages of DropdownMenu
* Downgrade and fix radix dialog version to 1.0.5, and remove unnecessary modal props from all usages of DropdownMenu
* Fix PopoverPOrtal
* Fix
2025-04-15 17:29:32 +08:00
Kevin Grüneberg
c0e1e02999
chore: make additional compute costs more prominent ( #35010 )
2025-04-15 15:54:23 +08:00
Alaister Young and Kevin Grüneberg
62ed8e1e72
chore: SSO CTA wording ( #35023 )
...
* chore: SSO CTA wording
* be more rude
* docs
* Update gsuite.mdx
* a
---------
Co-authored-by: Kevin Grüneberg <k.grueneberg1994@gmail.com >
2025-04-15 15:05:51 +08:00
Bobbie Soedirgo
919b3e9225
fix: wrappers sql ( #35012 )
...
Make Wrappers queries handle old and new Vault/Wrappers. On new
Vault (0.3.0+) and Wrappers (0.4.6), pgsodium is not used, so queries
for mutations need to be adjusted.
2025-04-15 14:32:00 +08:00
Jonathan Summers-Muir
f79f1d0073
Fix/safari browser rendering Popover in grid header ( #35024 )
...
* fix: adds `portal` to force content popover into body
* update comments
* more
2025-04-15 10:53:40 +08:00
Jonathan Summers-Muir and Terry Sutton
4a31193809
chore: simplify feedback form ( #34878 )
...
* init
fix FE-1535
* update toasts
* Update FeedbackWidget.tsx
* Update FeedbackWidget.tsx
* Update feedback modal
* Change layout
---------
Co-authored-by: Terry Sutton <saltcod@gmail.com >
2025-04-14 12:14:18 -02:30
Kevin Grüneberg
d05bbb669f
perf: use subscription plan from org response ( #34993 )
2025-04-14 20:37:19 +08:00
Wen Bo Xie
82ee7403d8
fix: deprecate Fly Postgres ( #35002 )
2025-04-14 12:25:00 +00:00
Etienne Stalmans
c071a742d5
chore: docs for security testing ( #34905 )
...
* chore: docs for security testing
* chore: cleanup text
2025-04-14 14:10:03 +02:00
Kevin Grüneberg
6d809e5ee6
fix: ensure MFA SMS pricing is displayed when toggling ( #35000 )
2025-04-14 12:00:16 +00:00
Ivan Vasilov
802c790b14
fix: Minor fixes to the paths for the AI Editor rules ( #34989 )
...
* Rename all files to be mdc.
* Reference the new files in the registry item and fix the installation route.
* Regenerate the registry.
* Add additional note about using rules in monorepo.
2025-04-14 13:41:45 +02:00
Joshen Lim
ab2ac05f10
Fix re-rendering of Account AuditLogs ( #34994 )
...
* Temp
* Fix
* Remove conosle log
* Fix
* Fix
2025-04-14 18:05:20 +08:00
Kevin Grüneberg
def70f8011
feat: allow removing last payment method on free plan ( #34896 )
2025-04-14 17:36:38 +08:00
Joshen Lim
5a3d00a56e
Support drag drop SQL block from assistant to empty custom report ( #34930 )
2025-04-14 16:54:33 +08:00
Francesco Sansalvadore and TheOtherBrian1
939e5c855a
feat: reports infra o11y ( #33310 )
...
* test client connections charts
* add granularity to database dashboard
* add range selection
* add selection to area charts
* refactor ChartHeader
* fix default
* fix time preset selected label and add tooltip actions
* client connections stacked chart
* polish all new chartts
* change attribute
* fix
* add real queries
* memory stack
* cleanup
* precision 1
* update charts
* add endpoints
* tooltip
* format
* improve charts
* toggle max value
* show limit
* cleanup
* cleanup
* update api schema
* fix ram_usage_max_available
* remove pgbouncer and comments
* show total with percentage in chart header
* pretty
* hide
* update reports database
* remove client_connections
* revert
* fix connectionStrings error
* restore correct queries and conditions
* vertically zoom in to percentage data
* add feature flag logic on charts
* add feature flag logic to date picker
* chore: remove comment
* add tooltip to charts metrics
* chore: comment new pg endpoints
* feat: lazy load ComposedChartHandler queries
* feat: dim non-hovered chart values when hovering chart label item
* feat: improve dim styling
* chore: improve light mode stacked chart colors
* chore: remove 15s interval
* chore: sync types
* chore: remove type
* chore: restore type
* fix hook error
* show chart type toggle
* remove console log
* temp
* keep connections charts as before
* restore DateRangePicker
* show last aggregate value when not hovering
* clean up imports
* disk IOps read and write
* restore flag
* refactor queries
* clean up grafana promo banner
* Update database-charts.ts | updated language
* fix hook error
* fix hook error
* fix hook error
* attempt fix hook error
---------
Co-authored-by: TheOtherBrian1 <91111415+TheOtherBrian1@users.noreply.github.com >
2025-04-14 10:53:52 +02:00
Han Qiao and Joshen Lim
698e585a65
feat: fetch beta cli release version ( #34923 )
...
* feat: fetch beta cli release version
* Small refactors
* Fix
* Fix
---------
Co-authored-by: Joshen Lim <joshenlimek@gmail.com >
2025-04-14 16:20:03 +08:00
Joshen Lim
f7fbd6a4ca
Fix mobile nav menu for org nav layout ( #34990 )
2025-04-14 15:58:27 +08:00