Alaister Young
8e47d317fa
chore: pg-meta functions ( #26881 )
...
* start pg-meta functions
* pg meta create function
* pg meta database functions update and delete
* fix ts
* update execute sql error type
* update execute sql error type
* remove duplicate database functions query
2024-06-03 23:21:19 +08:00
Jonathan Summers-Muir
5e6a3438eb
[Design System] chore: add scroll example of Navigation Menu ( #26974 )
...
* init
* Update navigation-menu.mdx
* Update navigation-menu.tsx
2024-06-03 16:40:32 +02:00
Jordi Enric
aa84f7f60b
fix warehouse rows & update UI for event detail ( #26891 )
...
* ui fixes, rendering data in warehouse table fixed
* reduce padding in header
* rm test of copy button since it was moved elsewhere
2024-05-31 20:59:28 +02:00
Wen Bo Xie and Joshen Lim
cd930f5a2f
feat: add IPv4 add on direct conn notice ( #26903 )
...
* feat: add IPv4 add on direct conn notice
* feat: add session mode warning
* fix: remove statement from Supavisor-related types
* Revert change in api types file
* Revert change in api types file
* Update API types file via codegen
* Smol feex
* Temp lint fix
* Fix
* fix: include serverless mention
---------
Co-authored-by: Joshen Lim <joshenlimek@gmail.com >
2024-05-31 17:07:25 +00:00
Monica Khoury
322e46aed4
Fix: spacing issue in the AI command ( #26886 )
2024-05-30 13:01:34 -04:00
Terry Sutton
ce9c0a7711
Fix/stacking error ( #26885 )
...
Bump react-resizable-panels
2024-05-30 11:06:08 -02:30
angelico and Div Arora
f697169c7f
chore: updates to Read Replica documentation ( #26813 )
...
* chore: docs on selectively restarting a Read Replica
* chore: updates to read replica docs
* fix: failing GHAs
* chore: add read replica related fields to logConstants
* chore: add docs on read replica logging
* chore: prettier
* fix: spelling errors
* Update apps/docs/content/guides/platform/read-replicas.mdx
Co-authored-by: Div Arora <darora@users.noreply.github.com >
* Update apps/docs/content/guides/platform/read-replicas.mdx
Co-authored-by: Div Arora <darora@users.noreply.github.com >
* chore: elaborate on how `Init failed` can happen
* chore: elaborate on replication lag
* fix: the the
* chore: prettier
---------
Co-authored-by: Div Arora <darora@users.noreply.github.com >
2024-05-30 18:47:55 +08:00
Francesco Sansalvadore
7f42a81dce
Chore/custom html elements cleanup ( #26836 )
...
* clean up CustomHTMLElements duplication
* save file
* docs --passWithNoTests
* update CustomHTMLElements.utils.test file to tsx
2024-05-30 10:45:57 +02:00
Jonathan Summers-Muir
81b1dc2161
[Dashboard] Postgrest API settings renamed to "Data API" settings. now using react-hook-form ( #26793 )
...
* init layouts in project settings
* Update general.tsx
* update gap
* Update Scaffold.tsx
* Update PostgrestConfig.tsx
* Update PostgrestConfig.tsx
* spacing issues
* now added a enabled switch
* Revert "now added a enabled switch"
This reverts commit f22050302a .
* Update PostgrestConfig.tsx
* Update project-postgrest-config-update-mutation.ts
* add bottom padding
* Update PostgrestConfig.tsx
* Update PostgrestConfig.tsx
* Update multi-select.tsx
* Update multi-select.tsx
* Update PostgrestConfig.tsx
* Update PostgrestConfig.tsx
* Update PostgrestConfig.tsx
* Update PostgrestConfig.tsx
2024-05-29 17:01:56 +08:00
35645efc6f
feat: add UI For Auth HTTP Hooks ( #22495 )
...
* feat: add https auth hook support
* fix: commit changes
* fix: add enterprise hook config
* fix: add descriptionText
* Revert the changes to the ui components.
* Refactor the whole hooks page into a table with adding/editing hook in a side panel.
* Dele te unused file.
* Rename all web strings to HTTPS.
* Put all fields in the hook card in a copyable and revealable input.
* Start nudges
* Nudges
* Add validation for both types of hooks.
* Reorganize the layouts for the both types of hooks.
* Move the button for enabling a hook in the side panel.
* Move the button for deleting a hook in the side panel.
* Minor redesign of the hook card.
* Add a link to upgrade to enterprise.
* Fix type errors.
* Simplify function selector.
* Add checked prop to the toggle.
* Wait when deleting a hook.
* Use the new RadioGroup.
* Add a flag for https hooks.
* Minor CSS fixes.
* Change the page to use scaffold containers.
* Minor fixes.
* Convert the description to markdown. Fix. the generate secret onClick handler.
---------
Co-authored-by: Ivan Vasilov <vasilov.ivan@gmail.com >
Co-authored-by: Terry Sutton <saltcod@gmail.com >
2024-05-29 10:31:29 +02:00
Terry Sutton
0c7d5dc306
Fix value set for storage upload unit ( #26803 )
...
* Fix value set for storage upload unit
* Convert to RHF
* Update select
* Load config properly
* Cleanup
2024-05-28 12:13:36 -02:30
Jonathan Summers-Muir
d69b44bd4a
[packages/ui] chore: deprecate old components ( #26817 )
...
init deprecation
2024-05-28 19:14:17 +08:00
Jonathan Summers-Muir
73ff6c1085
[Design System] Chore: add tree-view documentation ( #26821 )
...
* chore: init docs
* remove old stories
* update source panels
2024-05-28 17:22:37 +08:00
Jordi Enric
33abcaa873
fix url query breaking active tab ( #25953 )
...
* fix
* rm unused arg
* forwardRef NavMenuItem
2024-05-28 11:03:22 +02:00
Jonathan Summers-Muir
2109d22c46
[Dashboard] init layouts in project settings ( #26790 )
...
* init layouts in project settings
* Update general.tsx
* update gap
* Update Scaffold.tsx
* spacing issues
* add bottom padding
* Update api.tsx
2024-05-28 05:28:23 +00:00
Jonathan Summers-Muir
3b99dad9a1
[Design System] Feat: BeforeLabel / AfterLabel props for <FormItemLayout/> and <InfoTooltip/> documented ( #26712 )
...
* init
* Update package.json
* Update index.tsx
2024-05-24 09:40:15 +00:00
Jonathan Summers-Muir
ec760d4e97
add Admonition to Design System ( #26710 )
...
* add Admonition to Design System
* added notices about FormLabel
* Update label.mdx
2024-05-24 09:21:41 +00:00
Joshen Lim and Jonathan Summers-Muir
73d77a2fd8
Fix text confirmation modal not resetting input field ( #26696 )
...
* Fix text confirmation modal not resetting input field
* Remove usage for undeclared variable folderName
* Update dependency array to reset form in text confirmation modal to be confirmString instead
---------
Co-authored-by: Jonathan Summers-Muir <MildTomato@users.noreply.github.com >
2024-05-24 17:18:31 +08:00
Jonathan Summers-Muir
6dff3a7369
[Design System] feat: Multi Select ( #26719 )
...
* chore: deprecate old files. add new one with first story
* init multi select
* docs
* Update multi-select.mdx
* deprecation notices
* Delete MultiSelect.stories.tsx
2024-05-24 15:54:51 +08:00
Jonathan Summers-Muir
0acd2afa80
add surface-75 for dark ( #26734 )
2024-05-24 14:33:25 +08:00
8643c2549e
Feat [atom component] stacked radio group / card radio group ( #26612 )
...
* init site
* add nav menu
* add props table component
* init all the examples
• also includes moving a bunch of ./ui files to ./ui-patterns
* update package
• might need to remove some of these
* Update rehype-component.ts
* move nav
* more changes
* add new source information to contentlayer
* fix copy buttons
* add text-confirm. start new concept of "fragments"
* move base path. add homepage. add theme selection
* added colors
* add form-item-layout
* temporary fix code blocks in light mode. they currently don't switch theme to theme
* start adding code themes
* Update dark.json
* update code block themes
* fix animations
* add cdmk search
* export registry of icons in ./icons package
* add comments
* add icon copy stuff
* Update icons.tsx
* more docs
* more docs. cleaned up colors and icons docs
* Update theming.mdx
* add more docs
* update
* add package
* Update tailwind.config.js
* update content
* Update drawer-demo.tsx
* Update aspect-ratio-demo.tsx
* add new blocks
* Update source-panel.tsx
* Update source-panel.tsx
* Update source-panel.tsx
* add new source block
* Update source-panel.tsx
* Update _app.tsx
* Update page.tsx
* Delete layout-old.tsx
* remove old themes
* remove old ui registry
* comment out nav items
* Update package-lock.json
* Update AssistantChatForm.tsx
* move back
* move again
* update
* Update index.tsx
* Update package-lock.json
* Update package-lock.json
* Update package-lock.json
* update package
* udpate prettier
* fix tag issues
* Update package-lock.json
* update to contentlayer2
* update package-lock.json
* fix type errors
* ignore spelling
* feat: add RadioGroupStacked
* feat: add `slot` behaviour to `<FormItem/>`
* sneaky add in better line highlighting
* add RadioGroupCard
* update colors
* Update package-lock.json
* Update avoid-typos.yml
* Update navigation-menu-demo.tsx
* Add a redirect from / to the base path.
---------
Co-authored-by: Alaister Young <a@alaisteryoung.com >
Co-authored-by: Ivan Vasilov <vasilov.ivan@gmail.com >
2024-05-23 17:44:45 +02:00
Kevin Grüneberg
f6fe8238d8
chore: switch to new slug based invoice endpoints ( #26693 )
2024-05-23 18:51:31 +08:00
Kamil Ogórek
22b651ab3e
feat: Show Logs button in branching table ( #26385 )
2024-05-23 12:21:34 +02:00
b8243e06d8
Feat/design system site ( #26586 )
...
* init site
* add nav menu
* add props table component
* init all the examples
• also includes moving a bunch of ./ui files to ./ui-patterns
* update package
• might need to remove some of these
* Update rehype-component.ts
* move nav
* more changes
* add new source information to contentlayer
* fix copy buttons
* add text-confirm. start new concept of "fragments"
* move base path. add homepage. add theme selection
* added colors
* add form-item-layout
* temporary fix code blocks in light mode. they currently don't switch theme to theme
* start adding code themes
* Update dark.json
* update code block themes
* fix animations
* add cdmk search
* export registry of icons in ./icons package
* add comments
* add icon copy stuff
* Update icons.tsx
* more docs
* more docs. cleaned up colors and icons docs
* Update theming.mdx
* add more docs
* update
* add package
* Update tailwind.config.js
* update content
* Update drawer-demo.tsx
* Update aspect-ratio-demo.tsx
* add new blocks
* Update source-panel.tsx
* Update source-panel.tsx
* Update source-panel.tsx
* add new source block
* Update source-panel.tsx
* Update _app.tsx
* Update page.tsx
* Delete layout-old.tsx
* remove old themes
* remove old ui registry
* comment out nav items
* Update package-lock.json
* Update AssistantChatForm.tsx
* move back
* move again
* update
* Update index.tsx
* Update package-lock.json
* Update package-lock.json
* Update package-lock.json
* update package
* udpate prettier
* fix tag issues
* Update package-lock.json
* update to contentlayer2
* update package-lock.json
* fix type errors
* ignore spelling
* Update avoid-typos.yml
* Update avoid-typos.yml
* Update package-lock.json
* Use ui type definitions.
* move tsconfig base stuff. fix content layer issue
* Update package-lock.json
* Update package-lock.json
---------
Co-authored-by: Alaister Young <a@alaisteryoung.com >
Co-authored-by: Ivan Vasilov <vasilov.ivan@gmail.com >
2024-05-23 17:39:56 +08:00
Greg Richardson and Charis
3f1df65bba
SQL to REST translator ( #25978 )
...
* feat: sql-to-rest poc
* feat: sql-to-supabase-js poc
* chore: upgrade to libpg-query@15
* feat: sql-to-rest docs tool
* docs(sql-to-rest): add introduction
* docs: wording improvements
* fix: theme
* chore: tailwind placeholder
* feat(sql-to-rest): limit, offset, and range
* feat(sql-to-rest): sort by
* fix(sql-to-rest): ui theme
* feat(sql-to-rest): casts
* feat(sql-to-rest): dynamic faqs in ui
* feat(sql-to-rest): improve ui responsiveness
* feat(sql-to-rest): more advanced faqs in ui
* feat(sql-to-rest): http and curl syntax highlighting
* feat(sql-to-rest): baseUrl in http/curl rendering
* docs(sql-to-rest): clarification on curl flags
* feat(sql-to-rest): more faqs
* refactor(sql-to-rest): split faqs into own file
* refactor(sql-to-rest): move formatters to sql-to-rest package
* docs(sql-to-rest): move page to new tools section
* feat(sql-to-rest): joins and resource embeddings
* chore(sql-to-rest): rename 'convert' to 'translate'
* feat(sql-to-rest): add faqs
* feat(sql-to-rest): ui improvements
* feat(sql-to-rest): faq title adjustment
* feat(sql-to-rest): link to client lib docs
* feat(sql-to-rest): assumptions
* feat(sql-to-rest): friendly 'not supported yet' errors
* feat(sql-to-rest): json columns
* feat(sql-to-rest): remove curl -G flag if unused
* feat(sql-to-rest): better error handling
* chore: revert accidental rls ai work
* fix: build errors
* fix(sql-to-rest): theme
* feat(sql-to-rest): change base url
* feat(sql-to-rest): basic aggregate poc
* feat(sql-to-rest): group by
* feat(sql-to-rest): more group by checks
* feat(sql-to-rest): count(*) special case
* fix(sql-to-rest): tests
* feat(sql-to-rest): faq on 'and' operator
* fix(sql-to-rest): error messages
* fix(sql-to-rest): multiple filters on same column
* refactor(sql-to-rest): error hints
* feat(sql-to-rest): match and imatch
* feat(sql-to-rest): in operator
* feat(sql-to-rest): parsing error hints
* feat(sql-to-rest): default language to curl
* feat(sql-to-rest): format on cmd+s
* feat(sql-to-rest): format initial value
* fix(sql-to-rest): turn off tab query group
* feat(sql-to-rest): improve wording in error messages
* feat(sql-to-rest): animated code blocks
* feat(sql-to-rest): more error hints
* fix(sql-to-rest): strip primary relation prefix from columns
* feat(sql-to-rest): json column in order by clause
* feat(sql-to-rest): validate all referenced relations exist in from clause
* refactor(sql-to-rest): split core sql-to-rest lib into separate repo
* feat(sql-to-rest): upgrade to v0.1.1
* feat(sql-to-rest): upgrade to v0.1.2
* feat(sql-to-rest): upgrade to v0.1.4
* chore: upgrade libpg-query
* feat: update 'create a pr' link
* fix: app builds
* fix: prettier
* fix: typecheck
* fix: studio tests
* chore: remove console.log
Co-authored-by: Charis <26616127+charislam@users.noreply.github.com >
* docs(sql-to-rest): remove broken link to client libraries
---------
Co-authored-by: Charis <26616127+charislam@users.noreply.github.com >
2024-05-22 12:37:01 -06:00
Greg Richardson
dce497c650
chore: upgrade libpg-query ( #26618 )
2024-05-21 13:30:06 -06:00
Terry Sutton
aa02bd2188
Chore/sentry fixes ( #26402 )
...
* Add a key
* Make full page crashes errors
* Add a span around form label
2024-05-17 08:28:14 -02:30
Joshen Lim
b4f5c0c16a
Chore/support more granular updates via events for spinning up replica ( #26378 )
...
* Support more granular updates via events for spinning up replica
* Add duration estimates as tooltips
* Show granular error message if error happens during replica set up
* Add support for hours in duration estimates
2024-05-17 14:09:58 +08:00
Joshen Lim
b638f53ce0
Chore/remove optimistic rendering for spinning up replicas ( #26331 )
...
* Remove optimistic rendering when spinning up read replicas
* Fix missing edge when load balancer renders
* Tiny style fix
2024-05-16 13:04:18 +08:00
Ivan Vasilov
6f5cabdc62
feat: Make the conversational AI in the SQL editor default ( #23142 )
...
* Remove feature preview for the conversational AI for SQL editor.
* Remove all code related to the previous implementation of editor ai.
* Update the snapshots for the ai commands.
* Remove unneeded code from the ai panel.
* Show the diff bar when debugging.
* Convert the updateEditor function into a callback.
* Simplify the debugging functionality by using react state instead of react context.
* Erase the AI disclaimer when formatting code as modification.
* Add a button to clear the chat history.
2024-05-14 15:40:42 +02:00
Joshen Lim
99635fbb5e
Support restarting replicas ( #26240 )
...
* Support restarting replicas
* Support restarting replica through map view
* Lint
* Lint
2024-05-14 15:47:27 +08:00
Joshen Lim
88bbe7042a
Chore/update filter sort table editor to new popover ( #25832 )
...
* Update table editor FilterPopover to new popover component
* Update table editor SortPopover to new popover component
* Don't close popovers
* Address feedback
2024-05-13 12:36:51 +08:00
Joshen Lim and TzeYiing
d025e0f739
chore/fix studio jest tests ( #25872 )
...
* Fix tests in tests/unit, tests/components and files under tests, looking into tests/pages
* Fix tests under pages/projects root
* Fix
* Comment out broken tests that im stuck with
* Fix api-report.test
* Fix storage-report-test
* chore: fix some tests
* chore: remove logging
* Fix LogsPreviewer.test.js
* Fix most of logs-query-test
* Skip broken tests instead of false positiving them
---------
Co-authored-by: TzeYiing <ty@tzeyiing.com >
2024-05-11 12:05:25 +02:00
Alaister Young
155570bfa7
fix: allow sql language functions ( #25986 )
2024-05-10 09:48:49 -02:30
Wen Bo Xie
db24eb2e90
fix: revert renaming vector to pgvector on the client ( #25911 )
...
* Revert "docs: rename vector to pgvector (#23308 )"
This reverts commit c30d5f0b1f .
* Revert "docs: update vector reference to pgvector (#23305 )"
This reverts commit b2bae1351c .
* Revert "Fix vector extension (#23386 )"
This reverts commit 7341b30c27 .
* Revert "Rename vector to pgvector on client side (#23286 )"
This reverts commit b48b6e201b .
* docs: add note to pgvector docs that ext name is vector
* fix: add link to vector ext card
2024-05-09 21:19:02 -07:00
Jonathan Summers-Muir and Jordi Enric
e19b3f53bf
Chore/tidy s3 creds ( #25871 )
...
* chore: use standard primitives for dialog
* chore: remove gap-4 from dialogs
* chore: missing DialogSection
* update stories
* Update S3Connection.tsx
* Update S3Connection.tsx
* Update S3Connection.tsx
* Update S3Connection.tsx
* add which credential youre deleting in the dialog
---------
Co-authored-by: Jordi Enric <jordi.err@gmail.com >
2024-05-08 17:08:04 +02:00
ec86bbc4fe
feat: new auth ia ( #22812 )
...
Co-authored-by: Kang Ming <kang.ming1996@gmail.com >
Co-authored-by: Joel Lee <lee.yi.jie.joel@gmail.com >
2024-05-07 20:15:06 +00:00
Charis
e8ae1a4dd7
chore: add app router favicon data ( #25789 )
...
Common package currently exports pages router favicons, but not app
router favicon data. Makes an app router version.
Usage:
```
// app/layout.tsx
const basePath = getBasePathForThisApp()
const metadata: Metadata = {
icons: genFaviconData(basePath),
...
}
```
2024-05-07 10:27:23 -04:00
Kamil Ogórek
b18be7e4d2
feat: Allow for configuring target envs for Vercel integration ( #25782 )
2024-05-07 21:19:07 +10:00
1afaae6447
Chore/reports read replicas filter ( #23711 )
...
* Scaffold for API reports
* Add support for filtering database reports by replicas
* midway adding read replica support for custom reports
* Refactor reports page to use react query and deprecate project content mobxstore
* Reports add chart labels if metric is read replica specific
* Give an easier way to remove charts from reports
* make reports layout non-blocking
* Update apps/studio/components/interfaces/Reports/Reports.tsx
Co-authored-by: Alaister Young <alaister@users.noreply.github.com >
---------
Co-authored-by: Alaister Young <a@alaisteryoung.com >
Co-authored-by: Alaister Young <alaister@users.noreply.github.com >
2024-05-07 16:44:23 +08:00
Terry Sutton and Joshen Lim
02c0d75dfb
Add comboboxes to the index side panel dropdowns ( #25821 )
...
* Add comboboxes to the index side panel dropdowns
* Add loading state for create index panel select a table field
* Add placehholder for columns field in create index side panel
---------
Co-authored-by: Joshen Lim <joshenlimek@gmail.com >
2024-05-07 15:15:06 +08:00
Charis
94c906b377
refactor: clean up useClient ( #23280 )
...
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.
2024-05-06 15:57:44 -04:00
Terry Sutton and Jonathan Summers-Muir
d7d90f81e8
Chore/connect font colours ( #23450 )
...
* Fix connect tab colours
* update tabs
* Update styles
---------
Co-authored-by: Jonathan Summers-Muir <MildTomato@users.noreply.github.com >
2024-05-03 16:38:27 -02:30
Charis
2f4f0adbd1
rework tabs query state to work better across both routers ( #23253 )
...
Refactor tabs so that:
- Behavior add-ons, such as query params, are HOCs in ui-patterns, to keep the basic Tabs minimal
- No dependency on next/router (this is to smooth out a separate App Router migration PR)
- No dependency on useSearchParams either (this is to preserve static generation of as much HTML content as
possible, for SEO purposes -- see comment about client-rendering bailout when using useSearchParams)
- Syncing behavior better localized in a hook
Minor enhancement to save tab preferences to local storage so they are remembered between sessions
2024-05-02 14:50:07 -04:00
pqoqubbw
b149fa975d
docs: fix CodeBlock width on initial render ( #23668 )
2024-05-02 16:25:04 +00:00
855a117f5c
feat: add advanced teams / enterprise auth settings ( #23418 )
...
* feat: add advanced teams / enterprise auth settings
* tweaks + upgrade prompt
* update codegen
* Fix newline at end of file in api.d.ts
---------
Co-authored-by: Alaister Young <alaister@users.noreply.github.com >
Co-authored-by: Alaister Young <a@alaisteryoung.com >
2024-05-02 09:23:15 +02:00
Joshen Lim
0d292c668d
Contextual error toasts for deleting referenced rows ( #23135 )
...
* Contextual error toasts for deleting referenced rows
* Update message
2024-05-02 13:58:52 +08:00
Kamil Ogórek
c74ba90576
ref: Use better error message for SSO provider mismatch for invites ( #23438 )
2024-04-30 21:17:09 +10:00
Joshen Lim
154632921f
update walg chekc on read replicas page ( #23283 )
2024-04-30 17:49:39 +08:00
Ziinc
dc9b484acc
docs: logs identifier field ( #23410 )
...
docs: add identifier field to reference
2024-04-30 08:35:42 +08:00