* 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>
* 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.
* Supabase Beta November 2023
* Add og image and more content.
* Last touches.
* prettify
---------
Co-authored-by: Francesco Sansalvadore <f.sansalvadore@gmail.com>
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.
* 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
* chore: improve loading on table editor index page
* fix margin on no results
* make TableEditorLayout non-blocking by default
* change no search results text
* 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>
- 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
* 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.
* 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>
* 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