Commit Graph
26439 Commits
Author SHA1 Message Date
Kamil Ogórek 8ea3801f72 docs: Fix markdown link in branching docs (#19514) 2023-12-07 15:49:52 +00:00
Kevin Grüneberg ae8ce04f16 chore: .env file pull for www (#19511) v0.23.11 2023-12-07 14:58:34 +01:00
Jonathan Summers-MuirandIvan Vasilov 05c674e2a7 Realtime inspector icons colors (#19402)
* colors

* Fix leftover issues from merging from master.

* Fix the schema/table selectors loading states to eliminate layout shifts.

---------

Co-authored-by: Ivan Vasilov <vasilov.ivan@gmail.com>
2023-12-07 13:51:16 +00:00
Stojan Dimitrovski 44694ef6de feat: add beta auth hooks UI (#19312)
feat: add beta hooks UI
2023-12-07 14:30:30 +01:00
Jonathan Summers-MuirandCopple 856ecd6d71 Clarify current region issues for Branching (#19504)
* Update branching.mdx

* Apply suggestions from code review

Co-authored-by: Copple <10214025+kiwicopple@users.noreply.github.com>

---------

Co-authored-by: Copple <10214025+kiwicopple@users.noreply.github.com>
2023-12-07 09:03:19 -03:30
Joshen Lim 40ca7e09bd Branching remove incorrect modal warning (#19496)
* Branching remove incorrect modal warning

* Update warning wording
2023-12-07 09:58:54 +00:00
Ivan Vasilov 7da3151829 fix: Feedback fixes for the RLS Editor (#19469)
* Update the wording on few places.

* Update instructions for AI when generating policies.

* Format the SQL in the suggestion blocks to have uppercased keywords.

* Add padding before each code block.

* Word wrap the code in the diff editor.

* Remove unused component.

* Remove the added instruction.

* Add tab instructions.
2023-12-07 10:44:55 +01:00
Alaister Young 1b0b606616 fix: add missing supabase database roles (#19461)
* fix: add missing supabase database roles

* Update apps/studio/components/interfaces/Database/Roles/Roles.constants.ts
2023-12-07 13:41:50 +08:00
TylerandCharis c0cf4b114c docs: remove dart v0 and add dart v2 (#19269)
* remove dart v0 and add dart v2

* consolidate google and apple login docs to id token login

* add realtime ref docs

* adds auth update guide

* wrap up upgrade guide

* run prettier

* run prettier

* update presence methods

* udpate presence upgrade guide

* Apply suggestions from code review

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

* update is and in filter

* additional update after receving the review comments

* fix code formatting

* fix indents

* formatted the code

* update indentation

---------

Co-authored-by: Charis <26616127+charislam@users.noreply.github.com>
2023-12-07 14:16:33 +09:00
TylerandCharis 2db826bdfc docs: Update sign in with Apple instruction to align with v2 of Flutter SDK (#19326)
* update Flutter apple sign in instruction to align with v2

* Update apps/docs/pages/guides/auth/social-login/auth-apple.mdx

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

---------

Co-authored-by: Charis <26616127+charislam@users.noreply.github.com>
2023-12-07 12:36:24 +09:00
Tyler 07c7936660 guide: adds Dart code sample to realtime giudes (#19323)
* adds Dart code sample to broadcast docs

* adds Dart code sample to presence guide

* add Dart code sample to realtime postgres change guide

* run prettier

* add Dart code sample on client side throttling

* add dart code sample to realtime overview

* run prettier

* update presence methods
2023-12-07 12:36:17 +09:00
Charis b9b7595290 fix: fix labelling for management api search items (#19488) 2023-12-06 22:30:41 -05:00
Greg Richardson c8fd58fb77 Docs: Update deprecated text-davinci-003 models to gpt-3.5-turbo-inst… (#19491)
docs: update deprecated text-davinci-003 models to gpt-3.5-turbo-instruct
2023-12-06 15:08:34 -07:00
Terry Sutton 83a748021a Fix trigger toggle (#19485) 2023-12-06 14:49:20 -03:30
Ramiro Nuñez DosioandFrancesco Sansalvadore f491721027 Supabase Beta November 2023 (#19473)
* Supabase Beta November 2023

* Add og image and more content.

* Last touches.

* prettify

---------

Co-authored-by: Francesco Sansalvadore <f.sansalvadore@gmail.com>
2023-12-06 17:46:52 +00:00
Charis 6c4311f723 fix: improve docs search ux and result rankings (#19450)
Improve the way docs are indexed and FTS results are ranked, so results are more relevant.

Also improve debouncing and searching UX so it feels a bit faster and you can scan the results more easily.
2023-12-06 12:27:33 -05:00
S96EAandCharis 6a14570836 fix(docs): change getting started ai example link (#19451)
Co-authored-by: Charis <26616127+charislam@users.noreply.github.com>
2023-12-06 17:01:30 +00:00
Steve Chavez 1e5da28fad fix: pgaudit for postgREST (#19467) 2023-12-06 11:54:41 -05:00
GaryAustin1 22a7f7e4f4 Update using-custom-schemas.mdx to show both headers involved (#19470)
PostgREST uses different headers for alternate schemas add note to CURL comments to mention this.
2023-12-06 11:53:02 -05:00
Charis b606a37e95 fix: implement force mounting for cmdk menu items (#19421)
* fix: implement force mounting for cmdk menu items

We want some command menu items to be force-mounted (that is, they
should be mounted regardless of what the current search value is.
Examples include all search results from docs, and docs search and
AI responses when within the docs site.

Force mounting isn't implemented in a published release of `cmdk`
(https://github.com/pacocoursey/cmdk/issues/164), but we can hack it in
the interim by manipulating the item value under the hood.

* remove experimental badge on AI answers
2023-12-06 11:33:54 -05:00
Alaister Young c5d79f458f fix: install vercel integration button incorrect asChild (#19471) 2023-12-06 16:47:58 +01:00
Ivan Vasilov efa055f068 fix: RLS Editor with Streaming AI - second attempt (#19462)
* Reapply all changes from the reverted PR.

* Move the API route to pages folder.

* Turn off outputFileTracing.
2023-12-06 15:54:22 +01:00
Terry SuttonandAlaister Young 64e563000b Chore/new org button (#19437)
* Add new org button

* Check project count before rendering

* Update

* Update apps/studio/components/to-be-cleaned/Dropdown/OrganizationDropdown.tsx

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

---------

Co-authored-by: Alaister Young <alaister@users.noreply.github.com>
2023-12-06 10:16:25 -03:30
Francesco Sansalvadore b66d93cddc Improve Lwx colors (#19460)
* gst

* remove class
2023-12-06 11:40:44 +01:00
Alaister Young 42164183f2 fix: add missing asChild props (#19456)
* fix: add missing asChild props

* move csvlink outside of dropdown trigger

* fix incorrect merge
2023-12-06 21:11:32 +11:00
Francesco Sansalvadore 23c4d1091e Fix Shotgun og (#19459)
fix shotgun og
2023-12-06 09:47:06 +00:00
Kevin Grüneberg 6468437375 chore: adjust logic for new project screen (#19449) 2023-12-06 10:10:04 +01:00
Alaister Young 49ac7d8975 chore: improve loading on table editor index page (#19454)
* chore: improve loading on table editor index page

* fix margin on no results

* make TableEditorLayout non-blocking by default

* change no search results text
2023-12-06 07:17:46 +00:00
Joshen Lim 76a9be105b Minor color fix for feature preview panel (#19455) 2023-12-06 07:00:21 +00:00
Gabriel aee6dfb302 Update examples.mdx (#19422)
Removed Build a FullStack App with Next.js, Supabase & Prisma, as the website is not working anymore
2023-12-05 21:31:10 +00:00
Greg WolanskiandCharis 146b6321a9 docs: improve the example of using triggers in user data management (#19288)
Co-authored-by: Charis <26616127+charislam@users.noreply.github.com>
2023-12-05 21:08:05 +00:00
Inian 368890b0b1 docs: clarify pitr requires small compute in hipaa (#19408) 2023-12-05 16:01:43 -05:00
Ramiro Nuñez DosioandFrancesco Sansalvadore 56e140423f Community Meetups post. (#19440)
* Community Meetups post.

* OG image, author, last touch.

* X meetups (#19432)

* lwx community meetups

* transition-colors

* font size

* scroll-mt-[66px]

* sort meetups

* update styling

* update

* fix spacing

* meetups blog link

* add event link and move flags

---------

Co-authored-by: Francesco Sansalvadore <f.sansalvadore@gmail.com>
2023-12-05 19:40:32 +00:00
Francesco Sansalvadore 386e850537 Fix share url params (#19442)
fix share url params
2023-12-05 18:37:26 +00:00
Kevin Grüneberg d6b7c1b7ba Revert "feat: Add streaming responses to the new RLS Editor (#19304)" (#19439)
This reverts commit a2b01e0bc5.
2023-12-05 16:50:26 +00:00
Francesco Sansalvadore d00b3d199f X stuff (#19433)
* lwx word

* add secret ticket

* add secret ticket assets

* cleanup

* secret ticket copy

* update mobile ticket

* add loading state after claiming ticket

* update matched letter styling

* improve game logic and github signin

* update og functions

* rebuild

* properly remove game event listenere

* bigger compliment

* remove weird file
2023-12-05 17:49:09 +01:00
Kevin Grüneberg fc5d389a9f feat: rework usage overview (#19434)
- Added a quick indicator about over-usage on non-usage-based plans (free or pro with spend cap) at the top of the subscription page
- Removed the usage summary from upcoming invoice (replacement on the usage page)
- Added a new usage summary on the organization usage page
- Per-project breakdown for usage
- Displays costs for over-usage on usage-based plans
- Improved scrolling behaviour for anchors on usage page
- Metrics with higher usage/costs will be sorted to the top
- Insights into compute usage in summary
- Removed duplicate typing and rely on API types for usage DTO
- Usage can now be retrieved for a custom period and not just the current billing cycle
- Usage can be filtered by project
2023-12-05 16:50:02 +01:00
Stojan Dimitrovski b9c305d49d feat: add hibp leaked password protection (#19416) 2023-12-05 16:22:25 +01:00
Ivan Vasilov a2b01e0bc5 feat: Add streaming responses to the new RLS Editor (#19304)
* Add vercel/ai. Commit additional next types.

* Add a API route in /app for streaming responses.

* Make the components work with streaming response.

* Add a dummy page to /app folder to fix a linking bug.

* Fix the dummy page.

* Fix the dummy page again.

* Add an empty layout to the app folder.

* Make the code snippets in the chat read-only.

* Remove queries and mutations for suggest.

* Reset the chat when closing the panel.

* Make the AI instructions a bit better.

* Don't render empty code blocks.

* Try to use remark for rendering the code. Style fixes for CodeBlock in AI assistant panel.

* Fix the styling of the definitions when sending them to OpenAI.

* Fix the css styling of the messages and code blocks.

* Move the suggest API route from app to pages folder.

* Revert the change for app API routes.

* Make the API route look like the rest of the API routes.

* Use Pre instead of Code because the <code> tags aren't working if between spans.

* Minor leftovers.

* Revert to using app route handlers.

* Change the wording on the diff header.

* Add nextjs types.

* Fix a missing import.

* Move AssistantChatForm back to db-new.

* Fix a build error.

* Rename the suggest route to assistant.

* Fix Joshen's comments.
2023-12-05 16:05:02 +01:00
Ramiro Nuñez Dosio 141fefead3 Update text. (#19435)
* Update text.

* Update
2023-12-05 14:52:06 +00:00
2bab38a3c8 docs: add single session per user docs (#19411)
* docs: add single session per user docs

* apply suggestion from @kangmingtay

Co-authored-by: Kang Ming <kang.ming1996@gmail.com>

* apply suggestion from @charislam

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

* apply suggestion from @charislam

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

* apply suggestion from @charislam

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

---------

Co-authored-by: Kang Ming <kang.ming1996@gmail.com>
Co-authored-by: Charis <26616127+charislam@users.noreply.github.com>
2023-12-05 14:31:15 +01:00
Joshen LimandIvan Vasilov 7473a65361 Chore/realtime inspector fixes 051223 (#19430)
* Fix broken URLs

* Limit realtime inspector to only the public schema as any other schema won’t work out of the box due to missing permissions

* Hide copy to clipboard for realtime message panel timestamp

* Add placeholder value for sending test message and fix sending test message to be sent as JSON

* Change channel name input to form

* Add join channel empty state

* Update copy writing

* Shift broadcast, presence, db changes toggle to filter message popover

* Add cursor-default

* Small style fix

* Fix toggles

* Address some feedback

* Fix the impersonation UI.

---------

Co-authored-by: Ivan Vasilov <vasilov.ivan@gmail.com>
2023-12-05 13:50:59 +01:00
Kevin Grüneberg 771948c1a6 feat: daily stats for compute (#19414) 2023-12-05 13:13:14 +01:00
Copple d16aa21a05 minor readability improvement (#19431)
* minor readability improvement

* fixed
2023-12-05 12:40:29 +01:00
Kevin Grüneberg c1dda1b66a feat: project breakdown for subscription preview (#19410) 2023-12-05 11:39:53 +01:00
Kevin Grüneberg 8a70f199de feat: better insights for upcoming invoice (#19409) 2023-12-05 11:10:53 +01:00
Alaister Young ff2e283430 chore: move realtime inspector role impersonation popover (#19403) 2023-12-05 19:57:04 +10:00
Joshen Lim 9d48e8c770 Chore/rls ai assistant updates 041223 (#19404)
* Send policy definition to AI when editing a policy

* Only send entity definitions if opted into AI for RLS ai assistant

* Scaffold collapsible policy details

* Update comment

* Update

* Update height

* fix messages sorting
2023-12-05 15:42:07 +08:00
Ant WilsonandCopple f903546b7b feat: lwx hackathon blog (#19389)
* feat: lwx hackathon blog

* Update apps/www/_blog/2023-12-05-supabase-hackathon-lwx.mdx

Co-authored-by: Copple <10214025+kiwicopple@users.noreply.github.com>

* feat: lwx hackathon imgs

---------

Co-authored-by: Copple <10214025+kiwicopple@users.noreply.github.com>
2023-12-05 13:15:18 +08:00
Gulshan db747fb4fa fix: drag and drop causing page crash (#19340) 2023-12-05 14:15:33 +10:00