Commit Graph
32389 Commits
Author SHA1 Message Date
Saxon Fletcher ca8ad52188 AI Assistant Performance (#32792) 2025-01-17 19:50:16 +10:00
4278bd4ec1 fix: bump auth-js version to v2.67.3 (#31217)
* fix: bump auth-js version to v2.67.3

* chore: add supabase/auth and supabase/dashboard as codeowners

* Revert "chore: add supabase/auth and supabase/dashboard as codeowners"

This reverts commit 57fc5776ba.

* bump supabase-js version

* import user type from single gotrue

* fix auth-js version in studio

* remove auth-js dep in studio

* fix ts

* use catalog versions

* fix ts

* Bump realtime-js version to avoid having 2 versions.

* Add @supabase/realtime-js to the pnpm catalog.

* upgrade realtime-js

---------

Co-authored-by: Alaister Young <a@alaisteryoung.com>
Co-authored-by: Ivan Vasilov <vasilov.ivan@gmail.com>
2025-01-17 14:54:21 +08:00
7ce0038156 chore(docs): add dotenvx example (#31213)
* wip

* wip

* wip

* remove seeds

* wip

* add branching memento

* remove triple dots

* proofread

* chore: mention direct secret usage

* chore: update README.md

* chore: update docs

* fix: .env.local to .env.developemnt

* chore: fix typo

* chore: fix commands

* chore: update README.md

* chore: apply PR comments

* chore: rename .env.local to .env

* chore: simplify dotenvx setup (#32824)

* chore: bump cli

* chore: disable unused seed

---------

Co-authored-by: Han Qiao <sweatybridge@gmail.com>
Co-authored-by: Qiao Han <qiao@supabase.io>
2025-01-17 14:33:15 +08:00
Han Qiao 30a86fe0e8 docs: clarify the implications of branches auto pausing (#32854)
* Remote notice about pausing branches after inactivity

* Update branching.mdx

* Update branching.mdx

* Update branching.mdx

* Update branching.mdx
2025-01-17 13:37:56 +08:00
github-actions[bot]andgithub-docs-sync-bot 8c3fd055fa [bot] sync troubleshooting guides to db (#32847)
Co-authored-by: github-docs-sync-bot <github-docs-sync-bot@supabase.com>
2025-01-17 00:28:57 +00:00
Charis a0e144b1a2 migrate(docs): troubleshooting 25 (#30948)
supavisor, db clients
2025-01-16 19:19:11 -05:00
github-actions[bot]andgithub-docs-sync-bot 05dfc56211 [bot] sync troubleshooting guides to db (#32845)
Co-authored-by: github-docs-sync-bot <github-docs-sync-bot@supabase.com>
2025-01-16 19:17:17 -05:00
Charis 42efba186b migrate(docs): troubleshooting 24 (#30947)
* migrate(docs): troubleshooting 24

nextjs, edge functions

* Apply suggestions from code review
2025-01-16 19:10:00 -05:00
d633ced97d Feat/new project creation experiment (#31237)
* some early ideas

* better approach

* fix globe stuff

* add initial step

* reset and submit button for chat

* cleanup

* remove www

* more clean up

* mobile and more cleanup

* fixes

* update advanced and security

* fix project checks

* connect form

* fix reset and tidied up other things

* add layout options

* a/b test

* add offset

* add ab test

* remove www packages

* remove www

* package

* update coordinates

* feat: create ProjectCreationInitialStepSubmittedEvent

* feat: add event for capturing intention of prompting

* fix: bring pnpm-lock up to date

* fix ts errors

* fix globe

* fix globe animation

* fix ts

* remove imports and tools

* update module resolution

* global redirect

* delay rendering

* Update apps/studio/pages/new/[slug].tsx

Co-authored-by: Alaister Young <alaister@users.noreply.github.com>

* take directly to v2 via project create dropdown

* move redirect to useEffect

* feat: distinguish events between initial and second step

* feat: emit an event when create project is clicked on new/v2

* fix: correct event type defs

* remove unused imports

* Various clean ups

* improvements

* Minor refactors

* clean up

* ts fixes

---------

Co-authored-by: Long Hoang <1732217+loong@users.noreply.github.com>
Co-authored-by: Alaister Young <alaister@users.noreply.github.com>
Co-authored-by: Joshen Lim <joshenlimek@gmail.com>
2025-01-17 09:59:21 +10:00
a0e3ab86b0 [bot] fix lint errors (#32843)
* [bot] fix lint errors

* add exception

* Apply suggestions from code review

---------

Co-authored-by: github-docs-bot <github-docs-bot@supabase.com>
Co-authored-by: Charis <26616127+charislam@users.noreply.github.com>
2025-01-16 18:55:26 -05:00
github-actions[bot]andgithub-docs-bot 7587d5048e [bot] fix lint errors (#32784)
Co-authored-by: github-docs-bot <github-docs-bot@supabase.com>
2025-01-16 18:20:49 -05:00
github-actions[bot]andgithub-docs-sync-bot 840805672e [bot] sync troubleshooting guides to db (#32785)
Co-authored-by: github-docs-sync-bot <github-docs-sync-bot@supabase.com>
2025-01-16 18:11:52 -05:00
Charis 31e21d5518 fix: troubleshooting sync script (#32806)
Fix some issues with the script:

- GraphQL query strings were built from template literals without escaping, leading to errors when sending to GitHub API, now added escaping
- Lack of visibility when GitHub API errors because the actual errors array is buried below the expanded portion of the object output, now drilling down to the usable portion of the returned error
- When the sync bot auto-adds the database ID, it also reformats the TOML frontmatter, which leads to a spurious "content changed" update when the checksums don't match in the next check run. Resolve this by normalizing the frontmatter before calculating the checksum.
2025-01-16 14:00:17 -05:00
Ivan Vasilov bf49d8ab7d chore: Fix the local studio tests (#32836)
* Set a fixed version of ubuntu for running the local studio tests.

* Fix a possible yaml issue.

* Revert to ubuntu-latest. Try bumping the playwright package.

* Add init script to force the navigation menu to not expand.

* Another try.

* Extend the timeout.

* Another try.

* Try.

* T.

* T.

* Revert some of the unneeded changes.
2025-01-16 18:54:06 +01:00
Han Qiao 16f950d615 Update import-maps.mdx to document deno.json (#32830)
* Update import-maps.mdx to document deno.json

* Update import-maps.mdx

* Update import-maps.mdx

* Update import-maps.mdx

* Run prettier
2025-01-17 00:27:26 +08:00
Etienne Stalmans 80f4c61f2d fix: additional ingest hosts for sentry (#32825)
Sentry has US and Europe ingest hosts (us, de). Allow these in CSP
2025-01-16 19:28:33 +08:00
Joshen Lim 9ed9938fe0 Add log out route (#32820) 2025-01-16 11:26:46 +01:00
Stojan Dimitrovski cfb18eb272 docs: add minimal jwt example with custom access token hook (#32770) 2025-01-16 10:53:02 +01:00
Kevin Grüneberg 77b76e399a chore: remove react fiber (#32821)
Unused, Alaister just added it after I removed it because his subconscious likes to see me suffer
2025-01-16 06:32:18 +00:00
Kevin Grüneberg 6b7f3c84a5 chore: bump stripe deps (#32819)
Tested locally
2025-01-16 14:15:40 +08:00
Han Qiao c5fd032a78 chore: clarify supported file paths for static files (#32818) 2025-01-16 13:12:23 +08:00
Lakshan Perera e63a082dda chore(docs): Added a guide on using wasm modules in Edge Functions (#32811)
* chore(docs): Added a guide on using wasm modules in Edge Functions

* update example

* WASM -> Wasm

* fix page title
2025-01-16 09:55:31 +11:00
Lakshan PereraandRodrigo Mansueli cdb95a6036 chore: add an example for using wasm modules in Edge Functions (#32810)
Co-authored-by: Rodrigo Mansueli <rodrigo@mansueli.com>
2025-01-15 19:37:21 +00:00
Lakshan Perera 9349d22360 chore(docs): Added static_files to CLI config (#32801) 2025-01-15 16:30:32 -03:00
Rodrigo Mansueli f233c78794 Chore: update also last example on the page (#32809) 2025-01-16 06:28:41 +11:00
Rodrigo Mansueli 3e94bc483c Chore: update edge function example (#32808)
Update auth.mdx
2025-01-15 15:20:43 -03:00
Francesco Sansalvadore 592af2ffa2 feat: careers jobsCount in nav (#32771)
* add jobsCount to careers nav

* badge styling

* mobile career counter

* refactor static content generation

* refactor

* fix gh number formatting

* remove comment

* remove component

* fix fresh local dev & update spacing
2025-01-15 18:03:22 +01:00
Ivan Vasilov 8a648073de chore: Remove unused published_at field from older blog posts (#32802)
Remove unused published_at field from older blog posts.
2025-01-15 17:16:32 +01:00
Stojan Dimitrovski 8e06301d36 docs: remove private alpha docs from firebase tpa (#32797) 2025-01-15 14:43:18 +01:00
Jordi Enric 462c3c8cfc status check (#30204) 2025-01-15 11:42:06 +01:00
Jordi EnricandJoshen Lim 265b4cddd7 SQL Chart fixes (#32769)
* add labels

* fix labels, hope to fix Y axis issue

* Tiny fix

* Make ChartConfig y scrollable

* Only show flip CTA if values are all numerical

* revert hiding flip button

---------

Co-authored-by: Joshen Lim <joshenlimek@gmail.com>
2025-01-15 10:22:57 +01:00
Jordi Enric a2aa5bc83d feature: Adds logs chart with stacked charts with total errors (#32742)
* add logschart with stacked bars

* use ui charts pkg

* fix contrast

* move to ui-patterns

* undo areachart

* add recharts peerDep

* update pckgjson and lock w recharts

* feat: enable client-side rendering for LogsBarChart component

* fix registry
2025-01-15 10:22:13 +01:00
Alaister Young c7ebd91740 Revert "Temp disable count query" (#32788)
* Revert "Temp disable count query (#31256)"

This reverts commit 05e06673b4.

* update to use new api

* only include params if they're not undefined
2025-01-15 16:42:50 +08:00
Joshen LimandSaxon Fletcher 0710d62665 ReportsV2 P1: Add Query block component (#32738)
* Create QueryBlock component which will be a shared component used in AI Assistant and Reports

* Deprecate AIAssistantPanel/SqlSnippet.ts

* Fix user messages not getting persisted, only assistant messages

* Add loading state to for query results in QueryBlock + hide block view configuration if query block is not chart

* Address feedback

* Fix TS

* fix double border

---------

Co-authored-by: Saxon Fletcher <saxonafletcher@gmail.com>
2025-01-15 13:08:26 +08:00
Joshen Lim e420a48826 Check for profile in projects, organizations and permissions query (#32759)
* Check for profile in projects, organizations and permissions query

* Remove unused telemetry function
2025-01-15 12:21:13 +08:00
Joshen Lim 15dfe1df8c Fix vault missing exts alert (#32768)
* Fix vault missing exts alert

* Add minimum version prop
2025-01-15 11:56:58 +08:00
Charis 935c33621d migrate(docs): troubleshooting 27 (#30949)
* migrate(docs): troubleshooting 27

misc database

* Apply suggestions from code review
2025-01-14 20:46:17 -05:00
github-actions[bot]andgithub-docs-sync-bot 7924b32137 [bot] sync troubleshooting guides to db (#32781)
Co-authored-by: github-docs-sync-bot <github-docs-sync-bot@supabase.com>
2025-01-15 00:04:06 +00:00
github-actions[bot]andgithub-docs-bot 65815efb64 [bot] fix lint errors (#32780)
Co-authored-by: github-docs-bot <github-docs-bot@supabase.com>
2025-01-15 00:01:38 +00:00
Charis 000cabd1dd migrate(docs): troubleshooting 29 (#30950)
* migrate(docs): troubleshooting 29

misc database

* Apply suggestions from code review

* Update apps/docs/content/troubleshooting/resolving-database-hostname-and-managing-your-ip-address-pVlwE0.mdx
2025-01-14 18:55:02 -05:00
github-actions[bot]andgithub-docs-sync-bot b21094cac0 [bot] sync troubleshooting guides to db (#32779)
Co-authored-by: github-docs-sync-bot <github-docs-sync-bot@supabase.com>
2025-01-14 23:49:18 +00:00
Charis f4818474ec migrate(docs): troubleshooting 31 (#30952)
* migrate(docs): troubleshooting 31

auth, service role

* Apply suggestions from code review
2025-01-14 18:42:31 -05:00
Charis 699f708b0c fix: make examples available for isr (#32610)
The examples folder needs to be explicitly included in the Vercel Serverless bundle. Because it's at the root of the monorepo rather than being within the `app/docs` folder, we copy it over pre-build (and pre-dev).

Test the examples/prompts fix by re-enabling revalidations on graphql pages. Added a temp version of the fetch function so we can gradually reenable and monitor Vercel error rates over time.
2025-01-14 18:38:21 -05:00
Charis a5daf7cee4 fix: troubleshooting sync workflow (#32778)
Workflow was missed when updating to pnpm
2025-01-14 18:21:17 -05:00
af42c0eec4 [bot] fix lint errors (#32776)
* [bot] fix lint errors

* Update apps/docs/content/troubleshooting/are-all-features-available-in-self-hosted-supabase-THPcqw.mdx

---------

Co-authored-by: github-docs-bot <github-docs-bot@supabase.com>
Co-authored-by: Charis <26616127+charislam@users.noreply.github.com>
2025-01-14 22:42:37 +00:00
CharisandKevin Brolly 5690a61bfd migrate(docs): troubleshooting 4 (#30954)
* migrate(docs): troubleshooting 4

self-hosting, local dev

* Delete apps/docs/content/troubleshooting/local-development-workflow-is-painfully-slow-eIaTBw.mdx

Shouldnt be included

* Update apps/docs/content/troubleshooting/are-all-features-available-in-self-hosted-supabase-THPcqw.mdx

---------

Co-authored-by: Kevin Brolly <kevin.brolly@supabase.io>
2025-01-14 17:13:35 -05:00
Joshen Lim a143d89050 Add set null cta in ForeignRowSelector (#32762)
* Add set null cta in ForeignRowSelector

* Update UI for foreign key input field in RowEditor
2025-01-14 23:21:11 +08:00
Terry SuttonandJoshen Lim 44d3204b2f Chore/fix set to now (#32749)
* Reuse set to now logic

* Ensure set to now cta is visible if column is not nullable

* Minor refactor

---------

Co-authored-by: Joshen Lim <joshenlimek@gmail.com>
2025-01-14 11:21:35 -03:30
Jordi EnricandIvan Vasilov 692244cc10 rm monitoring tunnel (#32763)
* rm monitoring tunnel

* undo formatting

* format w prettier i guess

* rm route

* Add CSP rule for sentry events.

---------

Co-authored-by: Ivan Vasilov <vasilov.ivan@gmail.com>
2025-01-14 15:45:04 +01:00
Joshen Lim 53eaab0f71 Show all cron jobs even those with no names (#32765) 2025-01-14 22:09:03 +08:00