Commit Graph
16330 Commits
Author SHA1 Message Date
Charis 99e3ec5c29 feature: docs troubleshooting section (#29119)
Start implementing the new troubleshooting entries organization.

Adds:
- A template for structured troubleshooting entries
- Validation for the template
2024-09-06 08:49:00 -04:00
Charis 90ee3a7ec1 fix(docs): remove typing from javascript example (#29112) 2024-09-05 11:10:50 -04:00
Charis 534a248485 fix: restrict ai edge function regions (#29085)
AI edge functions error if Vercel runs them in a region that is not
supported by OpenAI. To prevent this, restrict the Edge Function regions
to the OpenAI-supported regions.
2024-09-05 10:47:09 -04:00
Dmytro Dobrovolskyi 9b91ed175e Fix typo in docs (#29097)
Fix typo in middleware.ts filenaming
2024-09-05 14:12:36 +00:00
Ivan Vasilov abb7dd8203 fix: Add a redirect for custom config (#29106)
Add a redirect for custom config.
2024-09-05 10:00:02 -04:00
Tyler 30587a4658 blog: Add Flutter Uber clone article (#29111)
* blog: Add Flutter Uber clone article

* run formatter
2024-09-05 22:55:12 +09:00
Francesco Sansalvadore 02cbf3ddf9 chore: remove announcements (#29104)
remove lw12 announcements
2024-09-05 11:12:05 +02:00
Charis 33be4b8061 fix(docs): email template instructions for pkce (#29089) 2024-09-04 14:21:21 -04:00
0xflotus 49e2181280 fix: small error in blogpost (#28990) 2024-09-04 16:38:00 +00:00
Ivan Vasilov f0505b2454 fix: Fix various bugs in Text Editor and JSON editor (#28766)
* Pass the edited row instead of the original row to JSON and Text editor.

* Reset the mutation when you close the json/text panel.

* Simplify the JSON editor to use the edited row value.

* Add some types to the input field component.

* Fix the behavior when opening the JSON editor from a JSON field cell.

* Another fix for the inline cell editor.
2024-09-04 23:45:16 +08:00
Chris GwilliamsandCharis Lam 1bdf45bf4f Set noindex for preview builds of docs site (#28761)
Co-authored-by: Charis Lam <26616127+charislam@users.noreply.github.com>
2024-09-04 11:40:25 -04:00
Charis c757fcab20 fix,feat(sitemap): add all pages + priority (#29083)
Pages were missing from the sitemap after the reorganization. Added them
back in.

Also added an optional priority that can be specified by including
`sitemapPriority` in content metadata. Used on the deprecated Auth
Helpers pages to see if we can tweak the relative SEO ranking for them.
2024-09-04 11:16:51 -04:00
Joel Lee 99a40cb02a fix: add email not authorized error code to table (#29044)
* fix: update error codes table

* fix: remove accidentally added file
2024-09-04 22:53:02 +08:00
Francesco Sansalvadore d2f7e4e8e0 fix timezones on events (#29061)
* fix timezones on events

* fix bucharest tz

* events og image on the edge

* fix merge conflict

* fix meta_title
2024-09-04 15:27:56 +02:00
Ivan VasilovandJoshen 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
Steve Xu a164247bc8 fix(docs): Update angular tutorial (#28587) 2024-09-04 11:30:06 +00:00
Kevin Grüneberg a27cae5c88 chore(vercel-marketplace): allow team plan (#29059)
Team plan is fully self-serve on Vercel marketplace now.
2024-09-04 10:43:01 +02:00
Joshen LimandTerry Sutton 454fda86bf Refactor SupportForm to use react hook form + new form components (#28836)
* Dont hide org field when project is selected

* Refactor SupportForm to use new form components and fix UX oddities identified

* Add scroll area to docs search results

* Address feedback

* Small padding nudge

* Add check

---------

Co-authored-by: Terry Sutton <saltcod@gmail.com>
2024-09-04 16:35:54 +08:00
Div Arora 553af18172 chore: update docs to reflect newer threshold for physical backups (#28779) 2024-09-04 16:00:49 +08:00
a8fc87f6f5 mixpeek multimodal embed integration (#29014)
* mixpeek embed PR

* fix: undo remove and nav.

* Apply suggestions from code review

* chore: format.

---------

Co-authored-by: thorwebdev <thor@supabase.io>
Co-authored-by: Thor 雷神 Schaeff <5748289+thorwebdev@users.noreply.github.com>
2024-09-04 07:57:03 +00:00
Tyler 45246ab67e docs: fix Flutter reference docs auth.resend code example (#28892)
docs: fix resend docs for Flutter
2024-09-04 16:13:35 +09:00
Thomas Vollstädt da883f7e6a doc: Fix reference to non-existant schema in SQL snippet of "Custom Claims & RBAC" (#28716)
Fix reference to non-existant schema in SQL snippet

The original example snipped references a schema `public.users` that does not exist by default. We could either add it here as well, or simply reference the `auth` schema for simplicity.
2024-09-03 19:35:38 +00:00
359699ac0c updated custom postgres configs docs (#28932)
* updated custom postgres configs docs

* moved custom configs to database docs. Added back all system level variables

* Apply suggestions from code review

Co-authored-by: Copple <10214025+kiwicopple@users.noreply.github.com>

* Update apps/docs/content/guides/database/custom-postgres-config.mdx

Co-authored-by: Copple <10214025+kiwicopple@users.noreply.github.com>

* updated language around user contexts

---------

Co-authored-by: Brian Brennglass <brian@Brians-MacBook-Pro.local>
Co-authored-by: Copple <10214025+kiwicopple@users.noreply.github.com>
2024-09-03 15:18:27 -04:00
Rodrigo Mansueli 73aae6172c chore: improve edge function example in pg_cron (#29067)
* chore: improve edge function example in pg_cron

* Update pg_cron.mdx
2024-09-03 18:41:42 +00:00
github-actions[bot]andphamhieu a08c79eda1 feat: update mgmt api docs (#28867)
Co-authored-by: phamhieu <689843+phamhieu@users.noreply.github.com>
2024-09-03 18:11:54 +00:00
hallidayo cbed796913 docs: codeblock overflow (#29019)
change codeblock markdown
2024-09-03 18:08:57 +00:00
Jan Tennert 4bb878cfd2 docs: Improve Kotlin documentation (#28714) 2024-09-03 17:55:48 +00:00
TheOtherBrian1andBrian Brennglass 7524b47f16 Add grafana installation docs (#28799)
* added Supabase Grafana to the platform docs

* added instructions to use Grafana Cloud

---------

Co-authored-by: Brian Brennglass <brian@Brians-MacBook-Pro.local>
2024-09-03 13:39:29 -04:00
Terry SuttonandIvan Vasilov f8228f1f48 Chore/update opt in message (#28846)
* Working

* Allow for opting-in in place on the SQL Editor page

* Show a warning after the first message

* Fix width

* Remove import

* Add context to schema dropdown

* Cleanup

* no message

* Revert the package-lock.json.

* Remove the extra div.

* Move the confirmation modal outside so that it can be triggered by the first message alert.

* Add another alert to guide the user to selecting a schema.

* Fix imports

---------

Co-authored-by: Ivan Vasilov <vasilov.ivan@gmail.com>
2024-09-03 15:04:01 -02:30
Terry Sutton fee28293e2 Chore/empty table errors (#29062)
* Fix errors on empty tables

* Unnecessary check
2024-09-03 14:44:39 -02:30
Rodrigo Mansueli 89ede3b820 chore: improve examples on docs (#29042) 2024-09-03 14:03:55 -03:00
Sonu Kumar 5017342b5b docs: using safeGetSession instead session. (#29007)
fix(docs): using safeGetSession instead session.
2024-09-03 16:59:14 +00:00
Andrew Valleteau 878b8f4493 chore: Add Andrew Valleteau to humans.txt (#29050) 2024-09-03 16:33:07 +00:00
Jonathan Summers-MuirandIvan Vasilov 3bbdfe4fc1 Fix/build issue design system (#28989)
* Update index.tsx

* Update chart-bar-interactive.tsx

---------

Co-authored-by: Ivan Vasilov <vasilov.ivan@gmail.com>
2024-09-03 15:08:29 +00:00
Etienne Stalmans ff07c7aa91 chore: update security.txt (#29033)
Link to the public VDP page on Hackerone
2024-09-03 16:51:51 +02:00
Ivan Vasilov 07722e4cbd fix: Include the schema in the table link in the sidebar (#29058)
Include the schema in the table link in the sidebar.
2024-09-03 15:27:24 +02:00
Joshen Lim 25bf3eae89 Silence config cat warnings (#29034)
* Silence config cat warnings

* Refactor
2024-09-03 11:09:13 +07:00
Francesco Sansalvadore 0c3477ab15 polish events page (#29039)
* polish events page

* replaceAll
2024-09-02 16:41:55 +00:00
Andrew Smith d523fe344b docs(python): document more auth methods (#29005)
* docs(python): document more auth methods

* chore: add overview and missing auth.admin methods
2024-09-02 12:47:18 -03:00
Jordi EnricandJoshen Lim 3fa447d57d fix layouts and make sure buttons are visible in smol screens (#28939)
* improve table editor headers

* sql editor horizontal scroll auto in headers

* fix headers in tablelist

* fix headers in db roles

* fix database functions in smol screens

* fix table list headers

* fix trigger lists table

* fix enum types headers

* Update Extensions component styling with flex-wrap

* Update Indexes component UI layout and styling

* fix publications table

* move sql editor pagination tobottom

* rm unused imports, add correct label to db selector

* fix layout shift in run button

* add tooltip to results limitter

* make header in sql editor results scrollable

* Fix Button tooltip and table header formatting for database/tables/[id] ColumnList

* Fix SQL editor footer disappearing with resizable panel

---------

Co-authored-by: Joshen Lim <joshenlimek@gmail.com>
2024-09-02 16:46:19 +07:00
Ivan Vasilov 81581f50e8 fix: Change all apps to use the same version of lucide-react package (#29000)
* Delete all versions of lucide from the apps so that it resolves only the version specified in ui package.

* Remove unneeded lines from package-lock.json.
2024-09-02 09:38:22 +00:00
Ivan Vasilov 5acbd4ab9f chore: Remove database-design app (#29003)
Remove all files related to database-design app.
2024-09-02 09:22:42 +00:00
Ivan VasilovandJoshen Lim 24f590e893 fix: Fix the caching of the selected schema (#28999)
* Cache the original schema and ignore the schema changes in the local storage. This is to avoid unwanted changes in the UI.

* Nit refactor to ensure immutability

---------

Co-authored-by: Joshen Lim <joshenlimek@gmail.com>
2024-09-02 14:15:37 +07:00
df52ea7ee0 feat: Replace all toasts with sonner (#28250)
* Update the design of the sonner toasts. Add the close button by default.

* Migrate studio and www apps to use the SonnerToaster.

* Migrate all toasts from studio.

* Migrate all leftover toasts in studio.

* Add a new toast component with progress. Use it in studio.

* Migrate the design-system app.

* Refactor the consent toast to use sonner.

* Switch docs to use the new sonner toasts.

* Remove toast examples from the design-system app.

* Remove all toast-related components and old code.

* Fix the progress bar in the toast progress component. Also make the bottom components vertically centered.

* Fix the width of the toast progress.

* Use text-foreground-lighter instead of muted for ToastProgress text

* Rename ToastProgress to SonnerProgress.

* Shorten the text in sonner progress.

* Use the correct classes for the close button. Add a const var for the default toast duration. Remove the custom width class from sonner.

* Set the position for all progress toasts to bottom right. Set the duration for all toasts to the default (when reusing a toast id from loading/progress toast, the duration is set to infinity).

* Fix the playwright tests.

* Refactor imports to use ui instead of @ui.

* Change all imports of react-hot-toast with sonner. These components were merged since the last commit to this branch.

* Remove react-hot-toast lib.

---------

Co-authored-by: Joshen Lim <joshenlimek@gmail.com>
Co-authored-by: Jonathan Summers-Muir <MildTomato@users.noreply.github.com>
2024-08-31 07:50:51 +08:00
Jonathan Summers-Muir 40770afd43 [Design System] feat: Added Chart component (#27839)
* init

* Update chart.mdx

* Update BarChart.tsx

* Update chart.mdx
2024-08-30 16:51:05 +08:00
Joshen Lim 2378192692 Chore/table editor fixes (#28835)
* Update default sort order to use all primary keys in the case of composite primary keys to prevent row resorting after updating a row (still within threshold of applying only when max 50k rows or less)

* Fix updating column fk value when there are multiple columns whose target schema, table and column are the same

* Fix updating composite foreign key from withn the grid editor itself
2024-08-30 14:54:18 +07:00
Francesco Sansalvadore cf4aa83d2a event title + nav (#28984) 2024-08-30 15:48:33 +08:00
Jonathan Summers-Muir 042160bae2 Chore/ Vercel testing URLs in dashboard (#28961)
Update VercelSection.tsx
2024-08-30 13:41:17 +08:00
Etienne Stalmans bc23ac4503 chore: MFA wording update (#28973) 2024-08-30 11:57:23 +08:00
Francesco Sansalvadore 51976820bb fix link (#28982) 2024-08-29 22:59:53 +00:00