Commit Graph

227 Commits

Author SHA1 Message Date
Vijay Prasanna
48945b21b2 console: optimise the network calls made by the new tracking UI
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/8684
GitOrigin-RevId: d9f9e496bf61128e3216d482dc4e20c5333a9822
2023-04-13 11:37:01 +00:00
Matthew Goodwin
27a02cf2bc console: Add a confirm dialog when removing a data source
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/8728
GitOrigin-RevId: 1f90c60803dcddc78ef1af0618d2153214d7917a
2023-04-12 20:30:17 +00:00
Matthew Goodwin
aa273cdc4c console: Add alert/confirm/prompt component
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/8701
GitOrigin-RevId: 558b6d3e688e4d9d945ba33c459565f4b0f6f502
2023-04-12 11:33:48 +00:00
Vijay Prasanna
110e9aa2a2 console: fix a bug that causes the console to crash when parsing internal property of the metadata error response
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/8733
GitOrigin-RevId: ba614f95ed563bdc6ae3bb8e7633579cd7dc8f07
2023-04-12 08:05:51 +00:00
Nicolas Beaussart
eaf6385a28 frontend: remove vendor source maps
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/8715
GitOrigin-RevId: 10a0666e2676d9fdc9a5bc5a9120021d0d94095b
2023-04-11 16:15:54 +00:00
Julian@Hasura
7b6e81e789 Re-mount browse rows when users switch between tables DSF-291
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/8718
GitOrigin-RevId: c497c499b507a257057ad29f4a777a1d0b4a1c50
2023-04-11 15:42:00 +00:00
Vijay Prasanna
69949eff60 console: fix refresh metadata issue and misc UI improvements
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/8714
GitOrigin-RevId: 291d90482f55df3d5aeaa4ccb0d69ebc71795d4e
2023-04-11 14:23:55 +00:00
Toan Nguyen
713b434aef server,frontend: generic EE SSO login for console with multiple identity providers
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/8035
Co-authored-by: Vishnu Bharathi <4211715+scriptnull@users.noreply.github.com>
Co-authored-by: Stefano Magni <173663+NoriSte@users.noreply.github.com>
GitOrigin-RevId: 3c5d5d899578c2fe50af8569318e25495f380878
2023-04-11 13:15:27 +00:00
Vijay Prasanna
a1f82dde61 console: update CockroachDB release type to GA
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/8671
GitOrigin-RevId: 78f79c0cf01abae4d749ded7c9613630c42ca1bd
2023-04-11 11:03:33 +00:00
Abhijeet Khangarot
51afe114a5 frontend: fix react-bootstrap modal with radix modal
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/8706
Co-authored-by: Varun Choudhary <68095256+Varun-Choudhary@users.noreply.github.com>
Co-authored-by: Vijay Prasanna <11921040+vijayprasanna13@users.noreply.github.com>
GitOrigin-RevId: 7b6db44363bd797d1af00517d6a7b2ef6471fff7
2023-04-11 09:50:46 +00:00
Vijay Prasanna
6df11fbf2c console: add mariadb to the list of enterprise drivers
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/8692
GitOrigin-RevId: d3a72c26212bb388dc3945e1d28d5d181385d9d6
2023-04-11 08:29:43 +00:00
Vijay Prasanna
33bea64ed1 console (fix): Remove cloud/pro only check for dynamic db routing
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/8661
Co-authored-by: Sooraj <8408875+soorajshankar@users.noreply.github.com>
GitOrigin-RevId: 9216c4a04e49a35b13ace6aa0312a0fe4665ab87
2023-04-10 10:57:07 +00:00
Toan Nguyen
5715fe4931 console: remove the response_size > 0 filter in the Operations table
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/8656
GitOrigin-RevId: c6d160a75dfe87dae8f870e9bc0a2113bb0f846d
2023-04-07 12:03:08 +00:00
Varun Dey
5addb8cfca console: Use case experiment
[GT-555]: https://hasurahq.atlassian.net/browse/GT-555?atlOrigin=eyJpIjoiNWRkNTljNzYxNjVmNDY3MDlhMDU5Y2ZhYzA5YTRkZjUiLCJwIjoiZ2l0aHViLWNvbS1KU1cifQ

PR-URL: https://github.com/hasura/graphql-engine-mono/pull/8621
Co-authored-by: Rikin Kachhia <54616969+rikinsk@users.noreply.github.com>
GitOrigin-RevId: f7d192f637948eebdf157d7ee6e9834da42bd3a9
2023-04-06 17:35:47 +00:00
Daniele Cammareri
904803c09d console: add connection template validation for dynamic routing
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/8527
GitOrigin-RevId: 8906b92e4ab97e92547220fada146707d8085e57
2023-04-06 16:27:57 +00:00
Julian@Hasura
ec0fec5166 console: Fix empty columns on mysql permissions builder
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/8654
GitOrigin-RevId: 40a29888d94856792b454b73c052a4bd1b6c4dc4
2023-04-06 13:38:13 +00:00
Stefano Magni
ab02ed21f6 chore(console): Mention another source of flakiness in the testing best practices
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/8660
GitOrigin-RevId: 07f38ad31a256b55b570aad72d127698dbb50042
2023-04-06 08:03:54 +00:00
Tom Harding
7c1345b4ba hotfix(console): Prefix get_source_tables in the console
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/8647
GitOrigin-RevId: 212dfe78345a6f2b59ccfeb655fe6212e60a1cad
2023-04-05 16:38:29 +00:00
Erik Magnusson
215c447dad Erik/permission/quickfixes
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/8639
GitOrigin-RevId: bc8d53d358fa340abc9ee4ad51c8ee949a2556cd
2023-04-05 13:01:39 +00:00
Rishichandra Wawhal
c6d65508b2 [feature branch] EE Lite Trials
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/8208
Co-authored-by: awjchen <13142944+awjchen@users.noreply.github.com>
Co-authored-by: Vijay Prasanna <11921040+vijayprasanna13@users.noreply.github.com>
Co-authored-by: Toan Nguyen  <1615675+hgiasac@users.noreply.github.com>
Co-authored-by: Abhijeet Khangarot <26903230+abhi40308@users.noreply.github.com>
Co-authored-by: Solomon <24038+solomon-b@users.noreply.github.com>
Co-authored-by: gneeri <10553562+gneeri@users.noreply.github.com>
GitOrigin-RevId: 454ee0dea636da77e43810edb2f427137027956c
2023-04-05 08:59:09 +00:00
Nicolas Inchauspe
f2b76b7da7 console: replace bootstrap modal with radix one
[PLAT-511]: https://hasurahq.atlassian.net/browse/PLAT-511?atlOrigin=eyJpIjoiNWRkNTljNzYxNjVmNDY3MDlhMDU5Y2ZhYzA5YTRkZjUiLCJwIjoiZ2l0aHViLWNvbS1KU1cifQ

PR-URL: https://github.com/hasura/graphql-engine-mono/pull/8622
GitOrigin-RevId: 8387bad11c7529ded8a89c551f5858f3f1ee0c27
2023-04-05 08:24:06 +00:00
Varun Choudhary
6bf0a49cd6 console: e2e snapshot testing for remote schema
This PR adds e2e snapshot testing for remote schema.
We are testing it in 2 ways -

1. testing the shortest possible path to create RS and then modifying it to the longest possible path
2. testing the longest possible path to create RS and then modifying it to shortest possible path
3. [ see doc](https://docs.google.com/document/d/1NjZsvd6xOq90lNMai8nKBaWl-LqBWrkiZCHSQ7wusdE/edit) for more detail

PR-URL: https://github.com/hasura/graphql-engine-mono/pull/8383
GitOrigin-RevId: d045219ca7db00e797492e9d61efb25283c1b3b3
2023-04-05 07:42:53 +00:00
Varun Choudhary
18e0ae0783 console: fix flaky test for event trigger
This PR fixes the flaky test, discussed [here ](https://hasurahq.slack.com/archives/C04E6U4TUM6/p1680545040680069?thread_ts=1680544673.299789&cid=C04E6U4TUM6)

PR-URL: https://github.com/hasura/graphql-engine-mono/pull/8613
GitOrigin-RevId: 79deee9bd4e1abfcde19cc848ce1de2b5bf248a5
2023-04-04 16:35:06 +00:00
Julian@Hasura
71a00338ff console: Mongo Schema Form DSF-205
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/8557
GitOrigin-RevId: 292043907095e37c7bb99725a754fb7da9f71743
2023-04-04 12:10:27 +00:00
Vijay Prasanna
73509d865d console: add missing variable in useDatabaseLatencyCheck
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/8611
GitOrigin-RevId: e582afe1f8ebe3aacc341464ea9b78622ffff85d
2023-04-04 08:19:20 +00:00
Vijay Prasanna
880da0feaf feature (console): add component to list and manage database connections in the manage DB section
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/7970
GitOrigin-RevId: 18e26e4ce660611c8f5dc3f440f156ec9311be13
2023-04-04 07:21:44 +00:00
Varun Choudhary
6621dc6adb console: e2e snapshot testing for event triggers
This PR adds e2e snapshot testing for event triggers.
We are testing it in 2 ways -
1. testing the shortest possible path to create ET and then modifying it to the longest possible path
    - here we are testing the shortest path and see no extra fields are added to avoid regression. Then we modify the shortest path to the longest one and see nothing will break on the metadata side
2. testing the longest possible path to create ET and then modifying it to the shortest possible path
   - here we are testing the longest path and see if all the fields are passing to avoid regression. Then we modify the longest path to the shortest one and see nothing will break on the metadata side
3. More info in the [doc](https://docs.google.com/document/d/1NjZsvd6xOq90lNMai8nKBaWl-LqBWrkiZCHSQ7wusdE/edit)

PR-URL: https://github.com/hasura/graphql-engine-mono/pull/8341
GitOrigin-RevId: f44d5297e70fe50fc4f2a2ac43a1707b71398ba1
2023-04-03 17:24:41 +00:00
Luca Restagno
c3451bd622 Allow users to track relationships from the manage database view
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/8568
Co-authored-by: Julian@Hasura <118911427+julian-mayorga@users.noreply.github.com>
Co-authored-by: Vijay Prasanna <11921040+vijayprasanna13@users.noreply.github.com>
GitOrigin-RevId: 6741cd59cd5432b18f72ffa965ccb84f2503fb4e
2023-04-03 15:35:57 +00:00
Nicolas Beaussart
c08dc03d72 frontend: change lint staged to only show warnings
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/8598
GitOrigin-RevId: 075ef047ced13a95087b10b64584bd21c611f884
2023-04-03 10:53:20 +00:00
Rishichandra Wawhal
80ec1c0684 frontend: remove telemetry notification on first load
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/8327
GitOrigin-RevId: 7f2e7a2be2d3b74584c407e99f7491db69df661c
2023-04-03 09:11:25 +00:00
Varun Choudhary
25c830a487 console[storybook]: fix interaction test for modify cron trigger
This PR fix interaction test for modify cron trigger storybook component.

PR-URL: https://github.com/hasura/graphql-engine-mono/pull/8551
GitOrigin-RevId: 1da9bcf5b9b70f17598e029df5b5907485c2da79
2023-03-31 14:47:21 +00:00
Stefano Magni
2359322feb feat(console): Add the IsFeatureEnabled core
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/8410
GitOrigin-RevId: 2fc16f678fcb49226f2028c324d06314749e27f2
2023-03-31 10:54:22 +00:00
Sameer Kolhar
40921f20bc console: fix issue to clear admin secret key on logout
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/8503
GitOrigin-RevId: 7f94a2da01001b1b295151aa41c2e456c120f972
2023-03-31 09:20:32 +00:00
Vijay Prasanna
004dedca83 console: enable new data tab UI for BigQuery
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/8474
GitOrigin-RevId: 21a4af7d9ebf9b78702785019b385066f63d09b7
2023-03-31 07:03:40 +00:00
Erik Magnusson
eb3833516b console: allow support for geometric type columns on the permissions UI
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/8457
GitOrigin-RevId: 5c8708523f26e67bacd37a8a2c010c473d9a7a5c
2023-03-30 13:09:33 +00:00
Stefano Magni
0d078f2aca chore(frontend): Add testing library to the EE E2E tests
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/8498
GitOrigin-RevId: 3168d103907b48514e6044179e81c8602e293b0c
2023-03-30 10:43:03 +00:00
Rikin Kachhia
16bd34f9c3 console: show PG trigger condition on Table modify page
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/8555
GitOrigin-RevId: 5cfac5789bee2f61c7be24db20e155bb4f07cb50
2023-03-30 06:59:04 +00:00
Varun Choudhary
a7053fd9b5 console: fix quick add dropdown of add operation from allow-list
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/8548
GitOrigin-RevId: 3b90caf1c7d0a36176a2708609b976f833f1be77
2023-03-30 06:27:39 +00:00
Matthew Goodwin
f010af3c82 console: fix issue with custom columns names that causes browse rows to error out
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/8487
GitOrigin-RevId: f152efa8383ef7fd156f0a62242aacbaa00df113
2023-03-29 04:21:14 +00:00
Nicolas Beaussart
b42d1dd249 frontend: disable a failing test until it's fixed
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/8546
GitOrigin-RevId: b654d73751d499739eca15dd0bfde4c3164a37a2
2023-03-28 20:06:28 +00:00
Vijay Prasanna
bc7225fd1a console: fix issue with JSON columns breaking new browse rows UI
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/8455
Co-authored-by: Luca Restagno <59067245+lucarestagno@users.noreply.github.com>
GitOrigin-RevId: a9c4e111cfbd311fdd13ce52d78f6b0c352e636b
2023-03-28 12:51:13 +00:00
Stefano Magni
05c935a607 chore(console): Add a note about Heap and data redaction
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/8521
GitOrigin-RevId: cd0b148febc510e37da0b0a53af92a7653916648
2023-03-28 08:28:52 +00:00
Samir Talwar
b167aa84d1 console: Add readOnly: true in a few places where necessary.
I set up a local PostgreSQL read replica, loaded the Chinook dataset, and poked around finding bugs here and there. I added `read_only: true` to the relevant SQL queries to mitigate these.

I did not test exhaustively or even that well, and I only tried this with PostgreSQL, so I am sure that I have missed some, but this at least seems to make the console's Data tab usable.

Note that this removes the check for the `READ_ONLY_RUN_SQL_QUERIES` feature flag, which seems pointless, as it's checking whether we're running v1.1.0 of the HGE server or later. I sincerely hope no one is actually running such an old version.

If this change is acceptable, we can probably remove the feature flag logic entirely, but that is not something I want to do here.

[DSF-218]: https://hasurahq.atlassian.net/browse/DSF-218?atlOrigin=eyJpIjoiNWRkNTljNzYxNjVmNDY3MDlhMDU5Y2ZhYzA5YTRkZjUiLCJwIjoiZ2l0aHViLWNvbS1KU1cifQ

PR-URL: https://github.com/hasura/graphql-engine-mono/pull/8451
Co-authored-by: Luca Restagno <59067245+lucarestagno@users.noreply.github.com>
GitOrigin-RevId: 5f4ebfa8f44e2921071699085b877db78aaa4e24
2023-03-27 22:57:05 +00:00
Julian@Hasura
58d9e8cbea console: set browse as default tab when switching tables
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/8501
GitOrigin-RevId: 7d639822996f762efcbe94cc3512d3197eda8b22
2023-03-27 19:34:00 +00:00
Varun Choudhary
71898f602b console storybook: add interaction tests for modify cron trigger component
This PR adds interaction tests for modify the cron trigger page
Closes - https://hasurahq.atlassian.net/browse/GS-447

PR-URL: https://github.com/hasura/graphql-engine-mono/pull/8505
GitOrigin-RevId: 2a293970e69a819295781a0a91ab14bc79353bd2
2023-03-27 18:17:17 +00:00
Varun Choudhary
abcb2b4489 console: e2e snapshot testing for rs-to-x relationships
This PR has e2e snapshot testing for the rs-to-x relationship.

PR-URL: https://github.com/hasura/graphql-engine-mono/pull/8407
GitOrigin-RevId: 4e288ba5efca3668db638eac1ce8ba1255c7f8e6
2023-03-27 14:33:57 +00:00
Matthew Goodwin
26bb2b4030 console: Set the new relationships UI as the default UI
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/8423
GitOrigin-RevId: a614df40b108c35f8aa8cde67557b117061b5591
2023-03-27 11:48:38 +00:00
Varun Choudhary
ce93288b94 console: move update columns out of advance setting on create ET form
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/8479
GitOrigin-RevId: da159fc2fc94b0e2f7a5f147c90523b0756f0c27
2023-03-27 09:37:18 +00:00
Luca Restagno
9143d9443a Fix MySQL mutations
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/8482
GitOrigin-RevId: 0cdbc081abee6d139c8132a00cae4e268239fd22
2023-03-27 09:05:04 +00:00
Matthew Goodwin
3d071f96b9 console: Reset track tables search on input clear button [dsf-231]
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/8485
GitOrigin-RevId: 7b17c41c294b2ddffcdf6981e25196e79214777d
2023-03-24 19:25:42 +00:00