Commit Graph
28140 Commits
Author SHA1 Message Date
Terry Sutton 07c1cf6d8f Add SQL editor test 2024-06-04 15:05:37 -02:30
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 2d0443851e Expand the test to include sorting and filtering. 2024-05-31 14:26:26 +02:00
Ivan Vasilov 2c14fa8d0c Don't render hcaptcha in test mode. 2024-05-30 20:50:22 +02:00
Ivan Vasilov ebc07ef3a4 Fix the table names. 2024-05-30 20:50:11 +02:00
Ivan Vasilov cff7d4ff15 Add another test and few minor todo tests. 2024-05-30 16:48:07 +02:00
Ivan Vasilov d7e08852b8 Minor restructuring of the test. 2024-05-30 16:47:50 +02:00
Ivan Vasilov f5183510c5 Try to fix the timeouts. 2024-05-30 13:11:50 +02:00
Ivan Vasilov 56b6d712f9 Make the timeout bigger when waiting for response. 2024-05-30 12:55:01 +02:00
Ivan Vasilov 3f4b07d536 Wait for the page to be loaded. 2024-05-30 12:43:11 +02:00
Ivan Vasilov b6605ff755 snapshot. 2024-05-29 21:02:32 +02:00
Ivan Vasilov c7d4d80304 Add waitForResponse for the entity types API call. 2024-05-29 20:30:30 +02:00
Ivan Vasilov a98e8707ac Use the newer action for uploading. Shorten the retention period to 7 days. 2024-05-29 17:13:46 +02:00
Ivan Vasilov 57a5eb7076 Fix yaml stuff. 2024-05-29 16:57:52 +02:00
Ivan Vasilov 8e0bcf9dac Upload artifacts at the end of the github action run. 2024-05-29 16:46:32 +02:00
Ivan Vasilov 34a68b3b0a Minor fix. 2024-05-29 14:41:05 +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]andAlaister 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 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
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
Thor 雷神 Schaeff ec3eaed498 feat: amazon bedrock edge functions example. (#26698)
* feat: amazon bedrock edge functions example.

* chore: track aws sdk issue.

* chore: mock file system for config files.

* chore: fix migration.
2024-05-28 13:12:42 +08:00
Copple 80e95c8fcc chore: update cli reference doc (#23432) 2024-05-28 11:32:38 +08:00
Copple 7841a5f467 chore: update self-hosted image versions (#26299) 2024-05-28 03:27:00 +00:00
Jonathan Summers-Muir 576f543d3a [design system] chore: add new scripts (#26740)
Update package.json
2024-05-28 04:18:01 +08:00
Adam Chen Wei db923ba4b1 Update README.md (#25993)
https://www.polyscale.ai/future/
polyscale is no longer available. Maybe good to have another alternative to put in place. should remove for now to avoid confusion for the near future.
2024-05-27 19:36:49 +02:00
Ivan Vasilov 446333653f Try and fix the flakiness of the toasts. 2024-05-27 19:22:47 +02:00
Ivan Vasilov 0b2975983d Wait for the other toast. 2024-05-27 18:41:07 +02:00
Ivan Vasilov 445e1071e4 Add helper method for dismissing toasts. 2024-05-27 18:32:35 +02:00
Ivan Vasilov 2737dc82e0 Use a more stable way of waiting for buttons before clicking them. 2024-05-27 18:19:02 +02:00
Ivan Vasilov 93376f48d7 Fix a console.log. 2024-05-27 18:18:32 +02:00
Ivan Vasilov e8be1c6533 Make the check mandatory in the github action. 2024-05-27 17:29:25 +02:00
Ivan Vasilov f531ccc7c4 Fix the playwright test. 2024-05-27 17:28:25 +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 LimandAlaister 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