Commit Graph
29986 Commits
Author SHA1 Message Date
TheOtherBrian1andBrian Brennglass de7d344fb3 update prisma docs (#31216)
Co-authored-by: Brian Brennglass <brian@Brians-MacBook-Pro.local>
2024-12-18 16:29:56 -05:00
Andrew Valleteau 2bb3a4b677 fix(docs): queues example code (#31212) 2024-12-18 15:34:01 -05:00
TheOtherBrian1andBrian Brennglass 0ad1510d29 adding metabase instructions (#31223)
Co-authored-by: Brian Brennglass <brian@Brians-MacBook-Pro.local>
2024-12-18 15:24:56 -05:00
Charis 9c4f24d16d fix(docs): local dev for troubleshooting sections (#31228)
Local dev for troubleshooting sections doesn't work because getting the last-updated dates requires database access.

This fix shortcuts the last-updated dates check, so all "last-updated" dates will now show up as today's date for external contributors on local, but at least dev will work.
2024-12-18 14:14:19 -05:00
Filipe Cabaço 4f1c37ad8c realtime: Bump up realtime version (#30681)
Bumps up Realtime version and also enables Janitor as it is required to keep tables organized
2024-12-18 15:51:23 +00:00
Joshen Lim 604fe8af07 Ensure diff editor and sql editor do not show up together (#31218)
* Ensure diff editor and sql editor do not show up together

* Remove console log
2024-12-18 22:19:48 +08:00
Long Hoang e31ce6d326 feat: add feature preview events (#31215) 2024-12-18 21:33:02 +08:00
Chris Gwilliams 2f63366b44 remove swap usage from DB report (#30877) 2024-12-18 15:00:35 +02:00
Terry SuttonandIvan Vasilov de28174c1d Chore/www session consent (#31082)
* Store referrer in session storage until opted-in

* Fix

* Move to common file

* Refactor the useTelemetryCookie hook. Use the hook in www, docs and studio.

* Small fixes.

* Fix all usages of HandlePageTelemetry function.

* Fix type errors.

---------

Co-authored-by: Ivan Vasilov <vasilov.ivan@gmail.com>
2024-12-18 12:02:20 +01:00
Joshen LimandIvan Vasilov 97d83e7aa9 Update grid cell editor for date and timestamp type fields (#31121)
* Update grid cell editor for date and timestamp type fields

* Forgot to commit this

* Add basic validation

* Remove console log

* Add placeholder

* Add Set to NOW action

* Pass isNullable to the DatetimeEditor.

* Fix the TooltipTrigger to deduplicate classes. Fix the TimestampInfo to use TooltipTrigger as child.

* Fix the height of the spans to match.

* Fix

---------

Co-authored-by: Ivan Vasilov <vasilov.ivan@gmail.com>
2024-12-18 12:55:53 +08:00
Andrew Valleteau e212aa1de9 fix(studio): custom schema enum column creation (#31150) 2024-12-18 13:12:52 +09:00
Jordi EnricandJoshen Lim ed69371b76 Update TimestampInfo to accept a UTC timestamp by default (#31167)
* add isUTC support in TimestampInfo

* rm isutc

* rename value prop to utcTimestamp

* Fixy

---------

Co-authored-by: Joshen Lim <joshenlimek@gmail.com>
2024-12-18 12:10:56 +08:00
Joshen Lim 0451075d95 Fix iops check (#30917)
* Fix iops check

* Fix

* wot

* Remove ts ignore
2024-12-18 11:49:25 +08:00
Joshen LimandPamela Chia 3a89c81b63 Add feature flagging support via PH (#31101)
* wip: use endpoints

* Set up PH feature flag system

* Clean up

* Clean uop

* Check

* Fix tests

---------

Co-authored-by: Pamela Chia <pamelachiamayyee@gmail.com>
2024-12-18 10:27:15 +08:00
Terry SuttonandIvan Vasilov 94edd00d0e Remove inviteEnabled check (#31202)
* Remove inviteEnabled check

* Remove some extra brackets.

---------

Co-authored-by: Ivan Vasilov <vasilov.ivan@gmail.com>
2024-12-17 21:23:51 -03:30
Copple d497a9d5c2 chore: update cli reference doc (#31185) 2024-12-17 18:33:06 -05:00
Sadman Yasar Sayem c1322fd9de Update semantic-search.mdx - Fix Typo (#31203) 2024-12-17 23:26:19 +00:00
Etienne Stalmans aa66849533 chore: update shared responsibility model (#31157)
Branching can now be used with HIPAA projects.
Projects can now be marked as HIPAA projects - rather than setting this
only at the Org level.
2024-12-17 13:49:20 +01:00
Ivan Vasilov 1702f62516 fix: Allow ai/docs endpoint in studio (#31196)
Fix the studio middleware.
2024-12-17 08:56:16 -03:30
Etienne Stalmans d13e1c6bcb chore: add linter information for compliance checks (#30551)
High compliance environments receive additional linter checks. Add these
checks
2024-12-17 13:18:55 +01:00
Jordi Enric fc3d22cf6f Allow multiple r2np (#31063)
* add previous restores section

* add target project name

* fix link to og project

* typecast to fix type err until api types are fixed

* cleanup

* improve IN PROGRESS state, shows restores list and disables buttons

* fix typerr with isUTC

* disable PITR form if theres a restoration happening

* rm commented out code
2024-12-17 11:33:07 +01:00
Long Hoang 5247a6f7e5 chore: add code owners for event documentation (#31191) 2024-12-17 09:36:09 +01:00
Long Hoang 2cc518d86c feat: capture more info from connection string copy (#31189) 2024-12-17 16:35:21 +08:00
Long Hoang c6d0f487e4 chore: remove old event definitions (#31193) 2024-12-17 16:34:58 +08:00
8b90d416ec Add inline completions to SQL Editor (#30706)
* monaco complete

* progress

* just add panel to sqleditor

* update panel and prompt

* adjust prompt

* clean up

* clean up and improve prompt

* update prompt

* refine prompt

* remove package

* use constants file

* revert v3 prompt

* combine diff action bars

* use widget

* refactor

* Some updates

* fix: useCompletion base path

* fix: typo on monaco action label

* feat: use entire selected line(s) for inline completions

* fix widget consistency

* widget styling

* Fix TS

* feat: lock llm model version

* fix enter key issue

* move complete endpoint

* update complete prompt

* remove file

* placeholder text

---------

Co-authored-by: Joshen Lim <joshenlimek@gmail.com>
Co-authored-by: Greg Richardson <greg.nmr@gmail.com>
2024-12-17 15:02:06 +10:00
Pamela Chia 1668c1addd Chore/remove waitlist and fix image (#31130) 2024-12-17 10:13:47 +08:00
Long HoangandIvan Vasilov df68b2ef22 feat: show potential way to document event (#31119)
* feat: show potential way to document event

* chore: add cron event docs

* chore: rename cron job history event

* chore: remove as typecasting and add event definitions to type union

* fix: resolve type error from potentially missing properties field in events

* fix: remove typecast

* Update imports.

* Update package-lock.json (leftover changes from previous PR).

---------

Co-authored-by: Ivan Vasilov <vasilov.ivan@gmail.com>
2024-12-17 09:17:47 +08:00
Charis e76eba30a9 fix(docs): troubleshooting sync script (#31181)
Forgot to change function argument when I changed the `getArticleSlug` signature.

Added `ts-check` annotations so TypeScript will catch these errors in the future.
2024-12-16 18:25:08 -05:00
bfc691268e [bot] fix lint errors (#31180)
* [bot] fix lint errors

* 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>
2024-12-16 22:54:08 +00:00
Charis 931d01090b ci: lint docs on push to master (#31176)
Docs lint errors can make it into master through a race condition:

- PR with lint configuration changes is made
- Separately, a PR that is incompatible with the new configuration (but _is_ compatible with the old one) is merged

This can be annoying for downstream PRs, so lint post-merge, and create a PR with auto-fixes if possible.
2024-12-16 17:35:07 -05:00
Oliver Rice a208912e2f Add docs for pgmq (#30144)
* Revert "Revert "Add docs for pgmq" (#30108)"

This reverts commit a2653740f5.

* remove create_partitioned since its not yet supported

* re-arange pgmq extension docs

* update queue docs to match cron structure

* consistent header level for api functions
2024-12-16 16:27:21 -06:00
Hyungji 2d12fb646f fix: (Setting up Server-Side Auth for Next.js) update examples (#31139)
chore: update examples
2024-12-16 21:40:11 +00:00
Charis ba269fe7d7 chore: add docs linter v2 (#31175)
Adds the npm package and package.json script to run docs linter v2 locally.
2024-12-16 15:04:35 -05:00
Charis d69902da94 chore(docs): lint all sections with linter v2 (#31110)
lint(docs): heading capitalization
2024-12-16 14:33:25 -05:00
Ant Wilson e95ce9b5bb fix-deprecation notice auth helpers (#31152) 2024-12-16 13:44:08 -05:00
egor bb0542749f docs: add realtime benchmarks docs (#31032)
* docs: add realtime benchmarks docs
2024-12-16 16:36:11 +00:00
Francesco Sansalvadore 0035920bf1 feat: studio mobile nav (#31080)
* SheetProvider in studio

* mobile global nav

* view sub navigation

* fix ProjectLayout conditional

* Account mobile layout

* width

* hide

* layout

* overflow

* responsive button

* overflow

* fix mobile nav if IS_PLATFORM

* refactor

* hide if no content

* show command menu item on mobile

* ui-patterns sheet provider

* use client

* show if productMenu

* show if productMenu

* drag to close

* drag to close

* 16px input fontsize on inputs to avoid zoom on mobile

* offscreen test element

* offscreen test element

* offscreen test element

* update test

* update test

* update test

* pb

* test?

* test

* test

* test

* spec-click-target

* remove console

* remove unused import

* add dependency to sheet content

* close sheet on router.asPath change

* remove provider and use simple Sheet

* update sidebar mobile

* align labels

* avoid input zoom on mobile

* remove yo
2024-12-16 10:49:17 -04:00
Kamil Ogórek 70460772f1 fix: Correct wrench size in transfer panel (#31160) 2024-12-16 11:54:38 +01:00
Ivan Vasilov 7c5912ebe4 chore: Remove storybook (#31096)
* Remove all stories files.

* Remove some extra files which were used by storybook or werent used at all.

* Remove all references to storybook in documentation and code.

* Remove all storybook packages.

* Fix prettier error.

* Remove two css configs which were used for storybook.
2024-12-16 11:50:20 +01:00
Joshen Lim 4d889e7330 Fix complaince config (#31156) 2024-12-16 17:35:00 +08:00
Monica Khoury aa15b5f3f8 Docs: add explicit reference to the gis. schema (#31141) 2024-12-16 10:34:18 +02:00
Pamela Chia 4ef1c428e3 chore: update compute panel links (#31131) 2024-12-16 13:06:23 +08:00
Joel Lee 2038e28cef fix: drop LinkedIn (OIDC) warning (#30643) 2024-12-14 13:10:58 +08:00
Joshen Lim f7e4726664 Fix keyboard shortcut assistant (#31115) 2024-12-14 11:22:19 +08:00
Francesco Sansalvadore 5b142b8f30 add customers filters (#31109)
* add customers filters

* fix customer name

* labels

* fix active label

* add supabase products filter

* cleanup
2024-12-13 18:30:29 -04:00
Ivan Vasilov d08719e2bb fix: Lowercase the search term before searching users table (#31070)
* Lowercase the search string when searching for users.

* Switch the lowercasing to be done to the query hook param.
2024-12-13 15:01:36 +01:00
Joshen Lim 464f9aa5dd Chore/update rules in generate v3 (#31113)
* Add rules for RLS policies when using functions from auth schema

* Add rules to never expose auth.users through a public view

* Add rule for ensuring all tables have a PK

* Add rule to create a DB index when a foreign key is created

* Add rule to enable RLS on tables by default

* Add rule to use security invoker for views

* Add rules for materialized view, foreign table, and extensions
2024-12-13 17:15:11 +08:00
Joshen Lim 50fe9ca692 Fix connect UI user param for pooler (#31086) 2024-12-13 13:30:33 +08:00
Kamil Ogórek 643926d5b4 ref: Use non-deprecated delete user endpoint (#31095) 2024-12-13 13:11:04 +08:00
TheOtherBrian1 590294c4bf Update structured-unstructured.mdx (#31083) 2024-12-12 18:03:46 -05:00