Commit Graph
29360 Commits
Author SHA1 Message Date
Terry Sutton 92d5437e9f Move to component 2024-10-10 10:09:03 -02:30
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
Beng Eu 57d8f92176 fix: update api-types codegen URL to match internal changes, /api.json no longer exists (#29722) 2024-10-08 20:16:50 +08: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
Alaister Young 90072a2608 chore: improve table grid loading skeleton (#29734)
* chore: improve table grid loading skeleton

* nudge by 1px

* attempt syncing shimmers
2024-10-08 16:00:15 +08:00
Joshen Lim 4e36d1f0bb Allow auth warning banner to be dismissible (#29733)
* Allow auth warning banner to be dismissible

* Add close text sr
2024-10-08 15:17:57 +08:00
Ivan Vasilov cdda93d3bd fix: Add special handling for array of enums when fetching table rows (#29723)
Add special handling for array of enums when fetching table rows.
2024-10-08 11:12:11 +08:00
Jordi Enric e92cb573db Check if the project is coming up (#29721)
* check if the project is coming up

* add info msg
2024-10-08 10:51:00 +08:00
Andrew Valleteauandjingsam c86a837283 fix(studio): views filtering on local studio experience (#29646)
* fix: only list views, foreign tables, material views in selected schema

* fix(studio): views filterings on local studio experience

---------

Co-authored-by: jingsam <jing-sam@qq.com>
2024-10-07 19:11:33 +02:00
Kevin Grüneberg a77a4c5b35 chore: kaizen changes for disk size billing (#29720) 2024-10-07 21:02:24 +08:00
Andrew ValleteauandHan Qiao 1c9af2eeed chore(docs): add custom seed paths documentation (#29512)
* chore: document new seeding behaviour

* chore: fix prettier in code examples

* chore: apply suggestions from code review

Co-authored-by: Han Qiao <sweatybridge@gmail.com>

---------

Co-authored-by: Han Qiao <sweatybridge@gmail.com>
2024-10-07 14:52:32 +02:00
Raminder Singh 597fb72ff0 fix audit logs title (#29718)
fix audit logs title and label
2024-10-07 17:02:35 +05:30
Jonathan Summers-MuirandWen Bo Xie 0dee525177 chore/ add API keys upcoming change notice (#29664)
* init

* Update Panel.tsx

* Update DisplayApiSettings.tsx

* Update Panel.tsx

* update links

* update to use forwardRef and spread all props

* update copy

* Apply suggestions from code review

Co-authored-by: Wen Bo Xie <5532241+w3b6x9@users.noreply.github.com>

---------

Co-authored-by: Wen Bo Xie <5532241+w3b6x9@users.noreply.github.com>
2024-10-07 18:36:25 +08:00
Jordi EnricandJoshen Lim 6e1e5db7f7 Project Status improvements (#29669)
* add logs links, set status as coming up when project is less than 10 minutes old

* make whole dorpdown item clickable

* Small tweak to UI

* Switch to 5 mins

* Small tweak

* Add useeffect to automatically refresh service status

* Add useeffect to automatically refresh service status

* Address feedback

---------

Co-authored-by: Joshen Lim <joshenlimek@gmail.com>
2024-10-07 16:41:51 +08:00
Jordi Enric 0d5715c00d add edge logs page (#29665)
* add edge logs page

* add edge logs sidebar link
2024-10-07 16:34:03 +08:00