Commit Graph
12045 Commits
Author SHA1 Message Date
Charis befd4e068a fix(docs): ref scroll (#29819)
Fix various scrolling bugs with reference pages:

- Take out smooth scrolling as it tends to lead to buggy scrolling position
- Add overscroll-behavior: contain to the nav, otherwise overscrolling on the nav scrolls the main page, which causes the nav to jump around unexpectedly
- Put aria-current calculation in useEffect as otherwise it doesn't trigger properly on first load
2024-10-16 12:54:48 +01:00
Francesco Sansalvadore 3227d83bd4 mongodb blog post (#29795)
* mongodb blog post

* learn how

* add form link
2024-10-16 12:54:48 +01:00
Charis 4f5efbb47e feat(db, docs): prep to sync troubleshooting entries to github (#29824)
Add JSON schema validation for troubleshooting entries, and add columns for storing GitHub discussion metadata.

Also some minor UI tweaks for troubleshooting display.
2024-10-16 12:54:48 +01:00
Paul Cioanca 283827b31e fix: button text when unpausing project (#29838) 2024-10-16 12:54:48 +01:00
Jordi Enric 1e39802276 add info box to let users know they can send an email to support (#29780)
* add info box to let users know they can send an email to support

* make better

* move projects to tooltip

* truncate longer proj names

* fix things properly

* rm always open

* bit more padding

* add mailto link

* Add font-mono to project reference span

* more padding, fix bg hover
2024-10-16 12:54:48 +01:00
Paul CioancaandJoshen Lim d255e15efd feat: support for multiple pg versions (#29473)
* feat: support multiple pg versions

---------

Co-authored-by: Joshen Lim <joshenlimek@gmail.com>
2024-10-16 12:54:48 +01:00
Greg Richardson 1ef75abc02 Rename Live Share blog post (#29827)
* feat: rename live share blog post

* feat: update casing on post title
2024-10-16 12:54:48 +01:00
Greg Richardson 9da3707d8d Blog: database.build live share (#29820)
* blog: database.build live share

* fix: canadian spelling

* feat: update post title/description

* fix: typos

* feat: add open source section to post

* feat: og and thumb images for post

* blog: title/wording tweaks

* blog: reverse proxy wording adjustments

* blog: wording adjustments

* fix: julien blog author
2024-10-16 12:54:48 +01:00
Andrew Valleteau 09c6b8a72b fix(studio): datetime formfield components field update (#29823)
* fix(studio): datetime formfield components field update
2024-10-16 12:54:48 +01:00
Charis d25dce92c7 fix(docs): redirects (#29816)
Fix some incorrect or obsolete redirects.

There may be problems for some people whose browsers are caching the old redirects, but we can cache-bust that separately if needed.
2024-10-16 12:54:48 +01:00
Tyler Fontaine e6e7b4c111 update GUC links to official postgres docs (#29801)
* update GUC links to official postgres docs

* fix copy/paste errors
2024-10-16 12:54:48 +01:00
Crispy1975 72b2a178ee docs: add info on new api lb routing modes 2024-10-16 12:38:58 +01:00
Joshen LimandAlaister Young f4024c90a1 Revert "Chore/add hover card back to snippets" (#29811)
* Revert "Chore/add hover card back to snippets (#29561)"

This reverts commit 3e279dac7e.

* Update apps/design-system/registry/default/example/tree-view-multi-select.tsx

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

---------

Co-authored-by: Alaister Young <alaister@users.noreply.github.com>
2024-10-10 18:08:47 +08:00
Joshen Lim f8acc37381 Fix support form again (#29809)
* Fix support form again

* Fix
2024-10-10 16:40:15 +08:00
Joshen Lim 6fd686b296 Chore/minor fix in events telemetry (#29810)
* minor fix in events telemetry

* Use API types

* Fix
2024-10-10 16:34:46 +08:00
Alaister YoungandJoshen Lim c6dc2c566e feat: workflow run logs (#29678)
* feat: workflow run logs

* progress

* adds logs modal

* remove menu item

* output raw text

* update parseAs

* accept text/plain

* cleanup ui

* feature flag new logs

* fix types

* fix condition

* cleanup spacing

* loading spacing

* cheeky console.log

* more log

* split logs properly

* add workflow logs to prod branches

* address some feedback

* Some UI tweaks

* More UI tweak

* More UI tweak

---------

Co-authored-by: Joshen Lim <joshenlimek@gmail.com>
2024-10-10 08:29:04 +00:00
Joshen Lim 85156a929c Update database reports to use pg_total_relation_size instead (#29807) 2024-10-10 15:24:20 +08:00
Tim Shedor 25a47a7d69 Fix indentation of Supabase/Brick blog (#29808) 2024-10-10 04:47:22 +00:00
Terry SuttonandIvan Vasilov 3e279dac7e Chore/add hover card back to snippets (#29561)
* temp

* Add copy

* Move hovercard back to parent

* Fix a type error.

* Make name optional

* remove duplicate hovercard

* remove name prop

* Cleanup

* Invalidate snippet list when upserting a snippet

---------

Co-authored-by: Ivan Vasilov <vasilov.ivan@gmail.com>
2024-10-09 15:36:26 -02:30
Charis d7db8412a5 chore(feedback): reroute notion feedback to teams (#29400)
With the new docs IA and some recent team restructuring, the docs
section-to-Notion team mapping needs to be updated.

Do not merge before the new IA is merged.
2024-10-09 12:47:40 -04:00
Charis 41d924b074 feat: new docs ia (#29364)
New Docs IA, mainly splitting up the miscellaneous bucket that is Platform into multiple sections
2024-10-09 12:38:34 -04:00
Francesco Sansalvadore 7f0a3de733 Feat: event webinar 2 (#29788)
* webnar 2 event

* n2

* webinar content update

* webinar content update

* webinar trim meta_title

* update webinar 2

* fix themed image

* hero banner
2024-10-09 17:18:23 +02:00
Joshen Lim 39b665c010 Update send identify RQ to send user gotrue id instead of user id (#29793) 2024-10-09 23:07:07 +08:00
Oliver RiceandCharis bfa1af247f Document how to restore a project backup locally (#29674)
* document how to restore a project backup locally

* fix spelling error

* Update apps/docs/content/guides/platform/migrating-and-upgrading-projects.mdx

Co-authored-by: Charis <26616127+charislam@users.noreply.github.com>

* Update apps/docs/content/guides/platform/migrating-and-upgrading-projects.mdx

Co-authored-by: Charis <26616127+charislam@users.noreply.github.com>

* Update apps/docs/content/guides/platform/migrating-and-upgrading-projects.mdx

Co-authored-by: Charis <26616127+charislam@users.noreply.github.com>

* Update apps/docs/content/guides/platform/migrating-and-upgrading-projects.mdx

Co-authored-by: Charis <26616127+charislam@users.noreply.github.com>

* Update apps/docs/content/guides/platform/migrating-and-upgrading-projects.mdx

Co-authored-by: Charis <26616127+charislam@users.noreply.github.com>

* Update apps/docs/content/guides/platform/migrating-and-upgrading-projects.mdx

Co-authored-by: Charis <26616127+charislam@users.noreply.github.com>

* show where to get image version

* prettier

* resolve feedback on back restore doc

* document purpose of local restore. note storage objects download

---------

Co-authored-by: Charis <26616127+charislam@users.noreply.github.com>
2024-10-09 13:32:12 +00:00
Joshen Lim d455cda085 Fix create profile not triggering (#29790) 2024-10-09 13:03:50 +00:00
Ivan Vasilov 5ffa9e3cfe feat: UI for pg_cron followup (#29687)
* Simplify the headers and parameters sections.

* Fix a useEffect in the edge function section.

* Cleanup empty headers and parameters when constructing the query.

* Fix comments.
2024-10-09 14:18:28 +02:00
Joshen Lim 1c74d1ed95 Add sendReset call when user opts out of telemetry (#29785)
* Add sendReset call when user opts out of telemetry

* Fix
2024-10-09 19:41:21 +08:00
Joshen Lim 3b3e4df893 Prevent deploying replicas if on pro plan with spend cap enabled (#29784)
* Prevent deploying replicas if on pro plan with spend cap disabled

* Fix naming
2024-10-09 19:33:46 +08:00
Ivan Vasilov 61ff33b40d fix: Fix Studio crashes when using Google Translate (#29773)
* Wrap all selects which use SelectValue with spans to avoid crashes when using google translate on studio.

* Add fix for google translate crashes in the Select component.

* Revert most of the changes.
2024-10-09 13:12:28 +02:00
Francesco Sansalvadore ced39c1a7e override y-combinator og image (#29774)
* override y-combinator og image

* YC
2024-10-09 19:57:49 +09:00
Pamela Chia c5d2590fc0 chore: update TIA doc and policy (#29783) 2024-10-09 18:24:08 +08:00
Artur Zakirov be6bf76ffa Fix a typo in utils/supabase/server.js (#29781)
It seems that `utils/supabase/server.js` is not a valid JS code.
Specifically it has non-null assertion operator. Remove the operator to
make the code valid.
2024-10-09 12:05:00 +02:00
Joshen Lim 9b3d87207f Chore/add new telemetry triggers for ph (#29769)
* Init new telemetry mutations and add telemetry reset for logging out

* Add sendPageLeave on unloadBefore event in PageTelemetry

* Add sendGroupsIdentify and sendGroupsReset in PageTelemetry

* Ensure new telemetry triggers only if feature flag is enabled

* Update call to sendGroupsReset

* some fixes and ensure that telemetry opt in is true before firing telemetry events

* Ensure that telemetry events get triggered when landing on project or org
2024-10-09 17:52:43 +08:00
Joshen Lim b5daa7e0e6 chore: prevent deploying new replicas with outstanding invoices (#29682) 2024-10-09 16:48:42 +08:00
Tyler 476bca0274 blog: Minor code sample corrections on the Flutter offline-first article (#29771)
* minor code correction

* additional corrections
2024-10-09 16:42:17 +08:00
Joshen Lim 336d623910 Chore/refactor telemetry calls for dashboard to support PH (#29747)
* Refactor telemetry event into RQ hook, and update to support PH

* Refactor telemetry identify into RQ hook, and update to support PH

* Refactor telemetry page into RQ hook, and update to support PH

* Clean up and deprecate lib/telemetry

* Pretty

* Add ts-ignore in docs for telemetry calls temporarily

* Add credentials include for send event, page and identify mutation hooks

* Add consent check for event and page telemetry, allow RQ mutations for those to fail silently without a toast
2024-10-09 14:32:30 +08:00
Jordi EnricandJoshen Lim 24fabf1975 update logs empty state (#29756)
* rename empty state

* add empty state component

* use empty state component

* update postgrest logs empty state description

* fix typerr

* Update copy

* Fix max height

* Remove console log

---------

Co-authored-by: Joshen Lim <joshenlimek@gmail.com>
2024-10-09 14:06:57 +08:00
Alaister Young b04dbf9876 fix: use-isomorphic-layout-effect (#29762)
* fix: use-isomorphic-layout-effect

* stop messing with kevin
2024-10-09 12:33:12 +08:00
TheOtherBrian1 d8717224f9 Update custom-postgres-config.mdx | fixed links (#29690) 2024-10-08 18:24:25 -04:00
Enzo 2ca63953d6 Include "to authenticated" in example rls policies (#29761)
"To Authenticated"

Update custom-claims-and-role-based-access-control-rbac.mdx and added "to authenticated" in the rls policy which only allows logged in users to query instead of non logged in users as per "Specify roles in your policies" found here supabase.com/docs/guides/database/postgres/row-level-security#specify-roles-in-your-policies
2024-10-08 22:22:10 +00:00
TheOtherBrian1 4da7d9563f Update prisma.mdx | rewrite links (#29699) 2024-10-08 18:17:13 -04:00
Wen Bo Xie a7a75416fd fix: update Developer project permissions (#29758) 2024-10-08 17:41:45 -04:00
Axole Maranjana 5becfc1b4c Update auth-google.mdx: update the userInfo object (#29705)
Update auth-google.mdx
2024-10-08 21:00:13 +00:00
github-actions[bot]andphamhieu 55bdda2401 feat: update mgmt api docs (#29708)
Co-authored-by: phamhieu <689843+phamhieu@users.noreply.github.com>
2024-10-08 20:58:24 +00:00
Terry SuttonandIvan Vasilov 692e363bc3 Chore/fix hooks sheet (#29746)
* Fix auth hooks scrolling

* Padding

* Use sheet section

* Use sheet section, again

* Fix minor details.

* The sheet section should have px-5 to match the header and footer.

* Remove all custom px on elements in the create hook sheet.

---------

Co-authored-by: Ivan Vasilov <vasilov.ivan@gmail.com>
2024-10-08 16:20:59 +00:00
Francesco Sansalvadore a3bb129279 Feat: events october (#29748)
* add event files

* add end date

* 2 days of hacking

* hackathon info

* full stop

* add judges

* yc hackathon

* update event content

* fix event image import
2024-10-08 17:20:10 +02:00
Tyler 09a1420af1 blog: Add offline-first Flutter app article (#29737)
* Add offline first Flutter app article

* run formatter

* update further reading section

* Add the authors for the offline-first article

* Add an og image
2024-10-08 22:19:24 +09:00
Joel Lee 6c42d303d0 feat: add section about multi-tenant sso (#29514)
* feat: add section about multi-tenant sso

* fix: expand AD to active directory
2024-10-08 15:02:09 +02:00
Andrew Valleteau 4bad8499ae feat: introduce _supabase database add supavisor to self-hosted (#29596)
* chore: move _analytics to a distinct database

Following: https://github.com/supabase/cli/pull/2707

BREAKING CHANGES:
When migrating from an older version you will need to manually create the new internal _supabase
database and analytics schema the same way the  and  do.
Via:

* feat: add supavisor to the self-hosted stack

* chore(docs): add docs about supavisor

* chore: fix reviewdog warning

* chore: fix typo

* chore: apply pr comments
2024-10-08 13:49:09 +02:00
Ivan Vasilov b77a1b48be feat: Use Vercel Toolbar for overriding feature flags (#29697)
* initial test.

* Add base path to the rewrites.

* Remove base path from the source rewrite.

* Another try.

* Another try.

* another try.

* Try another magic.

* Add try/catch to the flag processing code.

* Revert some of the unneeded changes.

* Fix the api route for flags.

* Remove vercel/toolbar for local dev.

* Try using a static file for toolbar config.

* Add a well known flags file in the www app.

* Add headers to interpret vercel/flags as json.

* Another try.

* Fix the json formatting.

* Add headers for the vercel/flags route in the www app.

* Change to force studio to deploy.
2024-10-08 11:21:03 +02:00