Move useClients to the actual file instead of index files, so that (a) we don't
ship unnecessary client-side code and (b) we don't get the "can't dot into
client component from server" error when trying to use MDX in RSCs.
Code blocks are also used for inline code in docs, and are broken with
the wrapping div because they become block elements.
The div was added in PR ##22641 (the index advisor PR), so I checked for
regressions on Query Performance page and none found.
* Update
* Clean up + fix UI
* Add data values to tab
* Add comment
* Format sql query in query details
* Clean uo
* Deprecate old files
* Address comments
* chore: update styles (#22591)
* Midway integrating index advisor
* Add feature flag, reinstate old UI for feature flag
* First iteration of integrating index advisor
* Add more details in index advisor and add feature flag
* Shift explain_query function into pg_temp
* Clean uo
* fix padding
* Update apps/studio/components/interfaces/QueryPerformanceV2/QueryPanel.tsx
Co-authored-by: Alaister Young <alaister@users.noreply.github.com>
* Update UI
* Address some feedback
* Moar addressing feedback
* Update docs url
---------
Co-authored-by: Jonathan Summers-Muir <MildTomato@users.noreply.github.com>
Co-authored-by: Alaister Young <alaister@users.noreply.github.com>
* Add templates to RLS assistant
* Update button
* lint
* Chore/rls assistant iteration templates styling (#21459)
* Update index.tsx
* update icon pack
* add new classes
* expose hover card
* add slight shadow to scroll area
* monaco editor updated
* tabs border-b updated
* message styling updated to use circle AI icon
* templates side panel updated to use new tailwind classes and ScrollArea
* Updated tab label to "Assistant" and adjusted background colors
* header updated to use simpler open/close button
* divide-y styling added to chat
* fix tabs bg state
* shadcn tooltip updated to use correct bg color and added default delay duration
* updated styling of codeblocks in chat
* updated open / close button. also added a tooltip
* divide border styling
* add 'slide in' animation option for Hover Card
* update code block
* switch to Card Button
* Update CardButton to expose props and allow any props to be applied
* init
* Apply suggestions from code review
* Add entry step when clicking on create new policy for rls ai
* templates code replacement state highlight selected template
* Ai message code replacement state highlight selected message
* Opt to leave templates panel open
* Fix templates to use template name in policy sql
* Fixes
* fix
* Remove unused imports
---------
Co-authored-by: Jonathan Summers-Muir <MildTomato@users.noreply.github.com>
* feat(sql-editor): cli commands to import snippet as migration/seed
* fix(sql-editor): reword to download snippet
* chore(sql-editor): update wording
* Move to tabed ui, move download button to context menu
* Inline
* feat: add react native auth blog and quickstart. (#19006)
* feat: add react native auth blog and quickstart.
* Grammarly check
* Minor edits.
* Added og image.
* chore: add password sign in and gif.
---------
Co-authored-by: Ramiro Nuñez Dosio <ramiro@supabase.io>
* fix: duplicate eslint dependency (#19028)
* Update sveltekit.mdx (#18998)
Extended authorization section of docs to mention use of Sveltekit sequence helper function for protecting routes alongside defining Supabase session. Also provided new code.
Co-authored-by: Charis <26616127+charislam@users.noreply.github.com>
* fix: add hello world example to edge functions quickstart (#19030)
* Fix project card status not showing (#19034)
* Fix project card status not showing
* Fix tooltip project card styling
* chore: update cli reference doc (#18934)
* Add docs for updating the image versions (#18160)
see #17930
* chore: fix casing of "encryption at rest" (#19032)
* chore: update self-hosted image versions (#18935)
chore: update image versions for docker/docker-compose.yml
* (docs) Update arg name that resulted from adapters release (#19024)
update arg name that resulted from adapters release
* docs: Fix an example (@supabase/ssr package) for Next.js API Route (#19009)
Update creating-a-client.mdx
replace `appendHeader` with `setHeader` for the Next.js API route example.
* chore: cleanup studio dependencies (#19040)
* Fix code text color (#19042)
* make dark: selector work again
* fix reference docs code color
* feat: remove note about tus rollout (#19007)
it has been rolled out to all projects
* docs: update language in database-size.mdx code block (#19033)
Co-authored-by: Kevin Grüneberg <k.grueneberg1994@gmail.com>
Co-authored-by: Copple <10214025+kiwicopple@users.noreply.github.com>
* Docs: Adds a page for enums (#18590)
* Adds a page for enums
* Adds some details on deleting values
* Update apps/docs/pages/guides/database/postgres/enums.mdx
Co-authored-by: Kevin Grüneberg <k.grueneberg1994@gmail.com>
* Update apps/docs/pages/guides/database/postgres/enums.mdx
Co-authored-by: Kevin Grüneberg <k.grueneberg1994@gmail.com>
* Update apps/docs/pages/guides/database/postgres/enums.mdx
Co-authored-by: Kevin Grüneberg <k.grueneberg1994@gmail.com>
* Update apps/docs/pages/guides/database/postgres/enums.mdx
Co-authored-by: Charis <26616127+charislam@users.noreply.github.com>
* removes dangerous operation
---------
Co-authored-by: Kevin Grüneberg <k.grueneberg1994@gmail.com>
Co-authored-by: Charis <26616127+charislam@users.noreply.github.com>
* Update hugging-face.mdx: fix example curl request (#17667)
The example request did not match the example edge function because there is used prompt and in the curl script was used query
* docs: fix syntax error in create role command (#17755)
* Update auth-sso-saml.mdx (#17856)
* docs: Update auth-google.mdx (#18119)
* fix: Bump up Realtime to 2.25.35 (#19048)
* Update llamaindex.ipynb doc_hash to hash (#18838)
* Update llamaindex.ipynb doc_hash to hash
Update `doc_hash` to `hash` since running this as-is provided an `AttributeError`.
Here's what the Python build-in `vars` gives me (truncated):
```python
{'id_': 'd94b1287-b3ef-4aba-ac6b-7a4e353b0327',
'embedding': None,
'metadata': {},
'excluded_embed_metadata_keys': [],
'excluded_llm_metadata_keys': [],
'relationships': {},
'hash': '4c702b4df575421e1d1af4b1fd50511b226e0c9863dbfffeccb8b689b8448f35',...}
```
* fix: SimpleWebPageReader & StorageContext imports
* chore: revert python version change
---------
Co-authored-by: Greg Richardson <greg.nmr@gmail.com>
* fix: add reference docs back to search index (#19054)
Reference docs weren't being indexed properly because the specs weren't
getting checked out at build time.
* docs: add RN videos and discoverability improvements. (#18633)
* docs: add RN videos and discoverability improvements.
* Apply suggestions from code review
Co-authored-by: Copple <10214025+kiwicopple@users.noreply.github.com>
* chore: run prettier.
---------
Co-authored-by: Copple <10214025+kiwicopple@users.noreply.github.com>
* docs: add getting started guide for Swift (#19044)
* docs: getting started guide for Swift
* Apply suggestions from code review
Co-authored-by: Charis <26616127+charislam@users.noreply.github.com>
* Add new tutorial to menu
* Add correct image for tutorial
* style: format with-swift tutorial
* docs: add example to the repository
---------
Co-authored-by: Charis <26616127+charislam@users.noreply.github.com>
Co-authored-by: Thor 雷神 Schaeff <5748289+thorwebdev@users.noreply.github.com>
* docs: Update mentions of `foreign table` to `referenced table` (#18656)
* replace foreignTable parameter with referencedTable parameter
* remove redirects
* rename any mentions of foreign table to referenced table
* fix one mention of foreign table
* update some links
* guide: add pgroonga videos to pgroonga guide (#19073)
add pgroonga videos to pgroonga guide
* docs(swift): rename `authStateChanges` and remove `File` from upload method (#19067)
docs: fix authStateChanges and upload documentation
* Small style fixes
* Style
* Update
* Update
* Update UI components positioning for DownloadSnippetModal
---------
Co-authored-by: Terry Sutton <saltcod@gmail.com>
Co-authored-by: Thor 雷神 Schaeff <5748289+thorwebdev@users.noreply.github.com>
Co-authored-by: Ramiro Nuñez Dosio <ramiro@supabase.io>
Co-authored-by: Kevin Grüneberg <k.grueneberg1994@gmail.com>
Co-authored-by: uncapped1599 <126204291+uncapped1599@users.noreply.github.com>
Co-authored-by: Charis <26616127+charislam@users.noreply.github.com>
Co-authored-by: Lakshan Perera <lakshan@supabase.io>
Co-authored-by: Joshen Lim <joshenlimek@gmail.com>
Co-authored-by: Copple <10214025+kiwicopple@users.noreply.github.com>
Co-authored-by: Div Arora <darora@users.noreply.github.com>
Co-authored-by: Oliver Rice <github@oliverrice.com>
Co-authored-by: Taishi <taishi.k0903@gmail.com>
Co-authored-by: Francesco Sansalvadore <f.sansalvadore@gmail.com>
Co-authored-by: Inian <inian1234@gmail.com>
Co-authored-by: Joseph Yu <39754176+joseph082@users.noreply.github.com>
Co-authored-by: Maidi <mareike.haug@web.de>
Co-authored-by: Shinya Fujino <shf0811@gmail.com>
Co-authored-by: Andrei Soroker <soroker@gmail.com>
Co-authored-by: Isaac Abotsi <abotsi@users.noreply.github.com>
Co-authored-by: Filipe Cabaço <filipe@supabase.io>
Co-authored-by: Jason R. Stevens, CFA <jason@thinkjrs.dev>
Co-authored-by: Guilherme Souza <grsouza@pm.me>
Co-authored-by: Tyler <18113850+dshukertjr@users.noreply.github.com>
* set up multiple themes in studio
* set up multiple themes in studio
* set up multiple themes in docs and www
* update all resolvedTheme to also include deep-dark
* update all resolvedTheme checks to also include deep-dark
* update tailwind.config.js tokens
* update tailwind.config.js tokens
* update leftover scale12 token
* update if resolvedTheme _doesn't_ include 'dark'
* update more styling tokens
* add dynamic themes to CmdK
* fix nav and footer for multi theme
* add data-theme selector output to transformTokens.js
* update code-hike.css to target data-theme css
* update tailwindcss to ^3.3.5
* ThemeImage with light and dark src for www and docs
* add brand-button styling token
* update old dark theme boolean
* update old dark theme boolean
* make homepage product visuals themeable
* update product page themed images
* update badge green with brand
* fix roles list appearance
* fix auth widget in auth page
* update more dark logic
* update more dark logic
* add button default bg and border
* update pricing page theme styling
* clean up Themeimage
* remove forceDark in homepage
* update dark:border-dark occurrences
* update dark:border-dark occurrences
* fix dark mode base colors
* remove foreground-strong
* fix notification badge bg
* remove some dark: selectors
* update dark: selectors
* update code-hike deep dark bg color
* fix comment typo
* update border-button-hover token
* fix customer story logo
* remove some more dark: selectors
* restore forceDark in www homepage
* fix auth react icon
* fix homepage product visuals
* remove theme
* add brand-link token
* fix checkbox bg
* npm install
* more visible EntityListItem active bg
* fix --background-alternative-default css vars
---------
Co-authored-by: Jonathan Summers-Muir <MildTomato@users.noreply.github.com>
* migrate some www components to tokens
* consolidate InteractiveShimmerCard to Panel component
* update tokens in blog
* update tokens in careers page
* update tokens in customers section
* update tokens in open-source section
* update tokens in Realtime page
* update tokens in Storage and Vector
* update tokens in SplitCodeBlockCarousel
* update tokens in PGCharts
* remove unused css files
* update tokens in Card
* update tokens in Pricing page
* clean up priving page imports
* remove hardcoded theme vars
* migrate first half of defaultTheme.ts to tokens
* migrate second half of defaultTheme.ts to tokens
* improve inputs
* add foreground to text-light and text-lighter
* add foreground to text-light and text-lighter
* migrate docs components with styling tokens
* migrate docs components with styling tokens
* fix broken Repos component
* fix broken classes in blog
* update tokens on Button and other components
* update tokens on IconPanel
* update studio main layout base styling tokens
* update tokens across studio, docs and www
* update tokens across studio, docs and www
* update ui/Panel to styling tokens
* update ExampleProject and TableEditorMenu tokens
* www vector page tokens
* update studio UI tokens
* update other studio UI tokens
* update more studio UI tokens
* change tokens here, change tokens there
* finish updating colors with tokens variables
* add gui sandbox for theme experimentation
* use common package for www, docs and studio and fix Command K tokens
* provide light mode default tokens options
* fix conflict leftover
* update loading line
* fix className typo
* fix prettier
* update themeSandbox preset default values
* fix text-background0
* prettier
* update warningBanner with warning color
* switch all border-border with border-default
* improve border-secondary and foreground-muted in light mode
* force ring color on toggle
* fix button bg color and border-muted light token
* fix input bg color
* fix dark button hover
* fix homepage product card
* fix code-hike table header colors
* button dark border
* remove tabIndex leftover from homepage main ctas
---------
Co-authored-by: Kevin Grüneberg <k.grueneberg1994@gmail.com>
Co-authored-by: Jonathan Summers-Muir <MildTomato@users.noreply.github.com>