Commit Graph
29995 Commits
Author SHA1 Message Date
Filipe Cabaço c198dd8b45 realtime: Fix image broken link (#31248) 2024-12-19 15:15:20 +00:00
Filipe Cabaço 0affb7c31e realtime: Broadcast Changes documentation (#31222) 2024-12-19 13:50:44 +00:00
Jordi Enric bbf806de30 R2NP: add 403 permissions or physical backups disabled handler (#31197)
* add 403 err handler

* validate error

* rm retry logic in fvor of enabling the query only if pitr or pb are enabled

* disable queries instead of checking error code
2024-12-19 13:35:21 +01:00
Ivan Vasilov 02ad2661f7 chore: Downgrade prettier to v3 (#31099)
* Bump all versions of prettier to 3.2.4

* Remove obsolete config in prettier.
2024-12-19 11:02:23 +01:00
Joshen LimandIvan Vasilov e648966131 Add URL param support to toggle connect UI (#31241)
* Add URL param support to toggle connect UI

* Fix leaving team redirects to landing page

* Fix leaving team redirects to landing page

* Fix grammar

* Add autocomplete off to team settings search + delete project input modal

* Shift logic to Connect, and clean up param when close

* Use nuqs to manage Connect state instead of valtio

* Fix a failing test.

---------

Co-authored-by: Ivan Vasilov <vasilov.ivan@gmail.com>
2024-12-19 09:34:28 +00:00
Alaister YoungandJoshen Lim f6d9617413 chore: paginate user content (#30675)
* chore: paginate user content

* progress

* loading states

* add load more buttons to private snippets

* working pagination

* fix some types

* always show snippet counts

* support new api parameters

* favorite snippets

* progress

* searching

* paginate root folder

* fix renaming snippets

* fix ts

* removed unused prop

* Shift sharing/unsharing query logic outside of valtio to leverage on RQ only

* Fix invalidation on an unsaved snippet

* Clean up

* Fix

* Clean up

* Update API type

* Update API

* fix duplicate snippets error after moving a snippet

* add currently selected snippet

* Fix unsharing a snippet that has yet to be opened

* i'm dumb

* fix sharing a snippet

* fix sharing and unsharing

* show favorite or shared snippet in list even if it's in another page

* Fix wrong import for debounce

* Fix false positive toast error when creating custom report

* Update API type

* Change create new snippet CTA to link back to /new with skip flag

* Fix saving logs explorer query

* Bump page number

---------

Co-authored-by: Joshen Lim <joshenlimek@gmail.com>
2024-12-19 16:08:14 +08:00
0xflotus f25ef1e4d5 fix: small blog post error (#31066) 2024-12-19 05:08:59 +00:00
Long Hoang 551d172523 fix: add missing feature preview enabled event def (#31234) 2024-12-19 12:59:59 +08:00
TheOtherBrian1andBrian Brennglass 1a4e0243be modified quotes in postgres_fdw docs (#31211)
modified quotes

Co-authored-by: Brian Brennglass <brian@Brians-MacBook-Pro.local>
2024-12-18 16:30:13 -05:00
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