Ivan Vasilov
68f9994f4d
Add a test for checking if the other schemas are can be listed.
2024-05-31 17:04:42 +02:00
Ivan Vasilov
2c14fa8d0c
Don't render hcaptcha in test mode.
2024-05-30 20:50:22 +02:00
Ivan Vasilov
36e4e66a94
Merge branch 'master' into fix/playwright-local-tests
2024-05-29 10:51:08 +02:00
9fd85e76fb
feature: warehouse ( #23714 )
...
* add event collection ui, queries, routing
* fix alignment issue
* renaming
* wip
* feat: initial data hooks and integration with feature flagging
* update with naming, correct mocks, etc
* feat: add source crud integration
* mock data, fix form, add motion to drawer
* feat: optimize warehouse fetch behaviour
* feat: add in valid query
* chore: ermove collection mocks
* feat: optimize tenant fetching
* cleanup + update openapi client + fix fetch calls
* cleanup imporst
* on delete success, redirect to main logs page
* fix dropdown event propagating to link and opening page
* Refactor code to use useParams and useRouter in CreateWarehouseCollection.tsx, WarehouseCollectionDetail.tsx, and LogsLayout.tsx
* clean warehouse query
* warehouse access tokens create, list
* add warehouse access token revokal
* fix access tokens table, fix access tokens revoke feature
* format date in access tokens table
* fix some state issues and warnings in access tokens forms
* warehouse/feat: introduction when creating event collections (#23244 )
feat: add introduction for event collections
* warehouse/feat: rename headers and nav items (#23243 )
* feat: rename headers
* feat: use feature flag for navigation bar
* move header name flag to component
* fix typeerror in create collection query
---------
Co-authored-by: Jordi Enric <jordi.err@gmail.com >
* ui fixes, rm deprecated icons
* render table with events
* fix typeerror results arr
* add pagination
* some ui fixes
* fix loading states, format dates, test connection dialog
* patch type errors
* Fix access token selection in TestCollectionDialog and update column name in WarehouseAccessTokens
* rm unused querytype
* rm unused querytype in logtable
* patch type errors in warhouse collection mutations
* rm unused component
* mr unused import
* show connection dialog in staging
* fix Run btn now showing up
* fix undef argument
* show pagination only when there are results
* fix issues in connection dialog, improve ux
* Update apps/studio/components/interfaces/DataWarehouse/CreateWarehouseAccessToken.tsx
Co-authored-by: Ziinc <Ziinc@users.noreply.github.com >
* Update apps/studio/components/interfaces/DataWarehouse/CreateWarehouseAccessToken.tsx
Co-authored-by: Ziinc <Ziinc@users.noreply.github.com >
* fix infinite render loop, adapt component to render log metadata on log selection
* rm unused import, prevent ui from breaking when some data may be missing from an event
* update WAT create mutation to use template
* follow mutation template in delete access token mutation
* refactor naming, improve code in some areas
* rm unused mocks for msw
* skip tests - this will get fixed on the vitest PR
* Update apps/studio/components/interfaces/Settings/Logs/LogsQueryPanel.tsx
Co-authored-by: Joshen Lim <joshenlimek@gmail.com >
* fix loading compo
* rm unused import
* use correct alert title
* rm unnecessary div
* fix layout in projectpaused alert
* fix type err, refactor to new method
* rm observer
* rm observer
* refactor warehouse collections update
* use correct get method, comment out so it doesnt err
* use correct method
* fix formatting issues
* ref imports
* ref imports
* clean up imports
* clean imports
* clean imports
* rename props
* destructure props
* cleanup imports
* Update apps/studio/components/interfaces/DataWarehouse/CreateWarehouseCollection.tsx
Co-authored-by: Ziinc <Ziinc@users.noreply.github.com >
* ref scale class
* cleanup divs
* Update apps/studio/components/interfaces/DataWarehouse/TestCollectionDialog.tsx
Co-authored-by: Ziinc <Ziinc@users.noreply.github.com >
* refactor to rhf
* reuse types, cleanup, refactor to react query hooks instead of el events
* refactor table component to handle empty state
* Update TestCollectionDialog to use unique keys for SelectItem components
* Update TestCollectionDialog to use unique keys for SelectItem components
* Update TestCollectionDialog to use unique keys for SelectItem components
* fix empty state ui
* use destructured queries
* rename query types
* Update apps/studio/components/interfaces/DataWarehouse/WarehouseAccessTokens.tsx
Co-authored-by: Ziinc <Ziinc@users.noreply.github.com >
* chore: Refactor WarehouseCollectionDetail component
* rm unused imports
* rename loadolder
* rm typcast
* rhf in create token
* improve err handling
* refactor to rhf, refactor queries, use cn utils, cleanup
* fix loading logselection
* add correct type to warehouse access tokens query
* use correct types in err & clean unused types
* toggle token in curl exampel
* use product empty state component in warehouse
* add client side validation of collection name, temp fix
* add New badge
* update testcolldialog
* cleanup unnecessary div and rm double border
* code style fixes
* handle err
* code style fix
* add correct type
* add correct err type
* fix type error
* fix type err
* fix missing type
---------
Co-authored-by: TzeYiing <ty@tzeyiing.com >
Co-authored-by: Ziinc <Ziinc@users.noreply.github.com >
Co-authored-by: Joshen Lim <joshenlimek@gmail.com >
2024-05-29 10:32:46 +02: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
Joshen Lim
578a0291f3
Chore/read replica fixes 290524 ( #26852 )
...
* Bring up warning for pg version not at least 15 for deploying replicas
* Add database selector for infra activity charts
2024-05-29 15:30:22 +08:00
dependabot[bot] and Alaister Young
1d633cdf0f
chore(deps-dev): bump ejs from 3.1.9 to 3.1.10 ( #23634 )
...
Bumps [ejs](https://github.com/mde/ejs ) from 3.1.9 to 3.1.10.
- [Release notes](https://github.com/mde/ejs/releases )
- [Commits](https://github.com/mde/ejs/compare/v3.1.9...v3.1.10 )
---
updated-dependencies:
- dependency-name: ejs
dependency-type: direct:development
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Alaister Young <alaister@users.noreply.github.com >
2024-05-29 06:18:27 +00:00
Joshen Lim
cd4b7c0497
Remove all usage of read replicas enabled flag ( #26819 )
...
* Remove all usage of read replicas enabled flag
* Add fix for fly
* Fixes
* Prettier
* Swap to DropdownMenuRadioGroup
2024-05-29 11:46:15 +08:00
Wen Bo Xie
decccaf763
fix: add logical backup warning to dbdev template ( #26816 )
2024-05-28 21:13:33 -02:30
Wen Bo Xie
a34895ac96
docs: add database backup type clarification ( #26811 )
2024-05-28 14:47:21 -07:00
Terry Sutton
83679e3ddf
Chore/move security advisor basics ( #26669 )
...
* Start
* Start
* Move advisors
* cleanup
* Add redirects
* Check for an id
* Cleanup
* Link to the advisor from the table editor
* Cleanup
* Link to rows in performance grid
2024-05-28 16:05:21 -02:30
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
Hugo Bock
fc0edd93ff
doc: fix typo ( #26805 )
2024-05-28 16:09:22 +02:00
Copple
c44acfdde0
chore: update cli reference doc ( #26832 )
2024-05-28 15:52:47 +02:00
Ant Wilson
5a359cb906
chore: copy changes ( #26833 )
2024-05-28 21:49:17 +09: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
Alaister Young
6f6bcb9b08
chore: move edge functions to new fetchers ( #26812 )
...
* chore: move edge functions to new fetchers
* invalidate edge functions list query cache on update mutation
2024-05-28 16:53:39 +08: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
Copple
80e95c8fcc
chore: update cli reference doc ( #23432 )
2024-05-28 11:32:38 +08:00
Ivan Vasilov
93376f48d7
Fix a console.log.
2024-05-27 18:18:32 +02:00
Ivan Vasilov
46a509a996
Add an API page for run-lints endpoint.
2024-05-27 17:28:04 +02:00
Terry Sutton
5e7817548b
Fix connect ui bg ( #26794 )
...
* Fix connect ui bg
* Remove unused bodyclassname prop
2024-05-27 10:38:01 -02:30
Jonathan Summers-Muir
423397e858
remove old misc tailwind ( #26788 )
...
Update ServiceStatus.tsx
2024-05-27 14:49:30 +02:00
Joshen Lim and Alaister Young
dd7c1d19ed
Small RR fixes ( #26739 )
...
* Small RR fixes
* Fix
* Update apps/studio/components/interfaces/Settings/Infrastructure/InfrastructureConfiguration/DeployNewReplicaPanel.tsx
Co-authored-by: Alaister Young <alaister@users.noreply.github.com >
---------
Co-authored-by: Alaister Young <alaister@users.noreply.github.com >
2024-05-27 15:26:48 +08:00
Jonathan Summers-Muir
f428ce5ef9
Chore/update careers list ( #26735 )
...
* add surface-75 for dark
* Update index.tsx
* Update index.tsx
* Update index.tsx
2024-05-27 12:02:52 +08:00
Terry Sutton
24f9b54db1
Chore/lint gridheaderactions ( #26750 )
...
Adjust logic for GridHeaderActions
2024-05-24 18:00:56 -02:30
Jon Meyers
068d822568
Add indexing video embed to database docs page ( #26745 )
...
add indexing video embed
2024-05-24 17:23:36 +02: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
Francesco Sansalvadore
511e7c728c
docs: fix broken links ( #26711 )
...
* fix rest api docs nav links
* remove unused data-apis page
2024-05-24 11:09:11 +02:00
Jonathan Summers-Muir
84255343be
[Design system] Update changelog.mdx ( #26736 )
...
Update changelog.mdx
2024-05-24 17:08:15 +08:00
Joshen Lim and Alaister Young
0c81551110
RQ convert mutateAsync calls to mutate where possible, otherwise add try finally blocks ( #26737 )
...
* RQ convert mutateAsync calls to mutate where possible, otherwise add try finally blocks
* Skip eligibility query if project status is coming up
* Small UI update to replicas side panel
* Update apps/studio/components/interfaces/SQLEditor/RenameQueryModal.tsx
Co-authored-by: Alaister Young <alaister@users.noreply.github.com >
* Add error handling in CIDR
* Prettier lint
---------
Co-authored-by: Alaister Young <alaister@users.noreply.github.com >
2024-05-24 16:58:49 +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
Francesco Sansalvadore
d1037d95ba
remove announcements ( #26613 )
...
* remove ga announcements
* remove commented badge
2024-05-24 09:29:07 +02:00
Francesco Sansalvadore and Jonathan Summers-Muir
9c4eb2c2eb
docs icons inconsistencies ( #26715 )
...
* fix docs inconsistent icons
* remove redundant and old icons
* revert links change
* fix prev link
* Apply suggestions from code review
---------
Co-authored-by: Jonathan Summers-Muir <MildTomato@users.noreply.github.com >
2024-05-24 07:04:22 +00:00
Francesco Sansalvadore and Jonathan Summers-Muir
4bc3a231e3
contentlayer2 in www + dynamic latest blog posts ( #26611 )
...
* add contentlayer2 to www
* remove authorURL from blog post meta
* latest blog posts in Developers dropdown menu
* parse blog slug in contentlayer
* change next config plugins order
* contentlayer build in www package.json
* contentlayer2
* contentlayer2 build on typecheck in www
* remove comment
* Update package-lock.json
* revert npm package version
* Update package-lock.json
---------
Co-authored-by: Jonathan Summers-Muir <MildTomato@users.noreply.github.com >
2024-05-24 07:02:47 +00:00
aa90e578ca
Chore/show unlock icon next to view entities ( #23238 )
...
* Show unlock icon next to views and foreign tables
* Temp header actions for all entities
* Add warnings for views and foreign tables
* Add labels for each entity type
* Cleanup
* Unneeded comma
* Remove unneeded useEffect
* Check lints on the entities menu too
* Pass exposed schemas to lint query
* Type cleanup
* Update
* Update lint, add 0016
* Fix materialized view logic
* Cleanup
* Grab lint count
* Update apps/studio/components/interfaces/TableGridEditor/GridHeaderActions.tsx
Co-authored-by: Inian <inian1234@gmail.com >
* Update apps/studio/components/interfaces/TableGridEditor/GridHeaderActions.tsx
Co-authored-by: Inian <inian1234@gmail.com >
* Update apps/studio/components/interfaces/TableGridEditor/GridHeaderActions.tsx
Co-authored-by: Inian <inian1234@gmail.com >
* Update apps/studio/components/interfaces/TableGridEditor/GridHeaderActions.tsx
Co-authored-by: Inian <inian1234@gmail.com >
* Language changes
* Use lints for gridheaderactions
* Types cleanup
---------
Co-authored-by: Inian <inian1234@gmail.com >
Co-authored-by: Ivan Vasilov <vasilov.ivan@gmail.com >
2024-05-23 16:52:03 -02:30
Mohammed Yasin Mulla and Charis
2dc39a75a0
refactor: change the content of .env.local file of code block to all… ( #26671 )
...
refactor: change the content of .env.local file of code block to allow the environment variables to be used in the Expo app directly without installing any 3rd party library & also refactored the utils/supabase.ts file to use the process.env formate while createing the client
Co-authored-by: Charis <26616127+charislam@users.noreply.github.com >
2024-05-23 18:08:04 +00:00
Charis
9c03be41e4
enhance(ref docs): add params and returns for realtime and storage ( #26687 )
2024-05-23 13:09:17 -04:00
Terry Sutton and Ivan Vasilov
607a6930c5
move linting to api ( #26341 )
...
* Start
* Fix type issues.
* Remove client side lints
* Fix error handler
---------
Co-authored-by: Ivan Vasilov <vasilov.ivan@gmail.com >
2024-05-23 14:34:29 -02:30
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
Terry Sutton
4ea0698cf3
Chore/add backup warning ( #26704 )
...
* Show warning that storage objects arent backed up
* Move alert to own component
2024-05-23 13:03:43 -02:30
Ivan Vasilov
71f860b28d
fix: Use beforeSend hook in Sentry to check for telemetry consent ( #26700 )
...
* Add a beforeSend hook to sentry client config.
* Remove the canSendTelemetry function and all its uses.
* Use captureException for capturing unhandled error messages.
2024-05-23 17:04:27 +02:00
Guilherme Souza
bd96a70ef0
chore(docs): add google sign-in guide for Swift ( #26674 )
2024-05-23 11:14:57 -03:00
Kamil Ogórek and Alaister Young
d590ec1ccc
Add note regarding branching being disabled for GitHub integration panel ( #26707 )
...
* Add note regarding branching being disabled for GitHub integration panel
* tweak styling
---------
Co-authored-by: Alaister Young <a@alaisteryoung.com >
2024-05-23 12:24:08 +00:00
Jonathan Summers-Muir
0b46eed4c1
[Design system] Update homepage links ( #26706 )
...
update links
2024-05-23 13:58:47 +02:00
Jonathan Summers-Muir
803aa04645
Update site.ts ( #26702 )
2024-05-23 11:20:33 +00:00
Kamil Ogórek
d6ed076ef2
feat: Allow for configuring branch limit per connection ( #26394 )
2024-05-23 11:04:01 +00:00