Commit Graph

546 Commits

Author SHA1 Message Date
Varun Choudhary
6436dbafd2 console: show detailed error message while importing inconsistent metadata
This PR fixes an issue with an error message while importing the inconsistent metadata.
The console shows the generic error message, not the detailed error.
More info - [slack thread ](https://hasurahq.slack.com/archives/C02G2M3C1T3/p1684223626357299)

## Related Issues 👾
https://hasurahq.atlassian.net/browse/GS-557

PR-URL: https://github.com/hasura/graphql-engine-mono/pull/9163
GitOrigin-RevId: 021f23aeac61ac5886549ee24e1a021946690cae
2023-05-16 11:56:09 +00:00
Varun Dey
1d2f1956cf console: Get delete project grants from neon while exchanging auth tokens
[GT-595]: https://hasurahq.atlassian.net/browse/GT-595?atlOrigin=eyJpIjoiNWRkNTljNzYxNjVmNDY3MDlhMDU5Y2ZhYzA5YTRkZjUiLCJwIjoiZ2l0aHViLWNvbS1KU1cifQ

PR-URL: https://github.com/hasura/graphql-engine-mono/pull/9164
GitOrigin-RevId: cb01e1586b3591b046c80b29143aa3f114accf68
2023-05-16 11:06:12 +00:00
Julian
29a10b1ae9 Create, list, and remove logical models and native queries
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/9086
Co-authored-by: Matthew Goodwin <49927862+m4ttheweric@users.noreply.github.com>
Co-authored-by: Vijay Prasanna <11921040+vijayprasanna13@users.noreply.github.com>
GitOrigin-RevId: 9405e716ee5e1f64a6d64bdd86967a97e5922151
2023-05-15 17:49:41 +00:00
Julian
ef9e5f55c0 Send database connect telemetry event DSF-345
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/9010
GitOrigin-RevId: c0c0d32abd675c97d81019cb2860c09ae26df9a9
2023-05-15 17:12:05 +00:00
Luca Restagno
d0acdcf414 Fix suggested object relationships are being tracked as array
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/9145
Co-authored-by: Vijay Prasanna <11921040+vijayprasanna13@users.noreply.github.com>
GitOrigin-RevId: f4f404ce7fab461ad62138ac7115e95a62bdbb13
2023-05-15 15:33:58 +00:00
Luca Restagno
aa8d2d9642 Fix toast notification with long text
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/9130
GitOrigin-RevId: 4c313a00b5a372858db0fc3be4d050c81e7fc26c
2023-05-15 07:44:56 +00:00
Matthew Goodwin
36b739c57f console: better handling for unavailable GDC sources on connect and form pages
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/9139
Co-authored-by: Vijay Prasanna <11921040+vijayprasanna13@users.noreply.github.com>
GitOrigin-RevId: 7fb0aeb07d13298bd420e25ca6b0408bdad9a029
2023-05-15 06:15:43 +00:00
Aaysha
06276b0055 Ensure all onboarding exit states are captured as details in the onboarding table
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/9075
GitOrigin-RevId: fe44e8042c4663ffe8e5c26449b4757b1c4ebbbf
2023-05-12 07:44:48 +00:00
Nicolas Beaussart
29e91203a2 console: fix chormatic screenshots
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/9126
GitOrigin-RevId: f6a31cf4470cfe9f70dea885ca6203bd26f390a1
2023-05-11 11:01:16 +00:00
Erik Magnusson
709b0dc97e console fix: refactor preferred relationship type
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/9105
Co-authored-by: Luca Restagno <59067245+lucarestagno@users.noreply.github.com>
GitOrigin-RevId: 35ff03dc439bccdaaa6828520bd28b0cac4d666a
2023-05-11 08:14:41 +00:00
Matthew Goodwin
7f3d3eb5f8 console: native query landing page
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/9038
GitOrigin-RevId: bd9ac1518d9abc05fc7e3aa2b4fcb1c6af3e73fa
2023-05-10 14:22:13 +00:00
Vijay Prasanna
7154855437 console: cache old browse rows introspection calls using react-query
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/9101
GitOrigin-RevId: c427bc21d9eec085e38622e4c55b0f597d0ea6f4
2023-05-10 08:45:20 +00:00
Nicolas Beaussart
1c942fe69e frontend: upgrade to storybook 7
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/9006
Co-authored-by: Nicolas Inchauspe <710410+nicoinch@users.noreply.github.com>
Co-authored-by: Brandon Simmons <210815+jberryman@users.noreply.github.com>
Co-authored-by: Daniele Cammareri <5709409+dancamma@users.noreply.github.com>
Co-authored-by: Daniel Harvey <4729125+danieljharvey@users.noreply.github.com>
Co-authored-by: Rishichandra Wawhal <27274869+wawhal@users.noreply.github.com>
Co-authored-by: Samir Talwar <47582+SamirTalwar@users.noreply.github.com>
Co-authored-by: Anon Ray <616387+ecthiender@users.noreply.github.com>
Co-authored-by: Tom Harding <6302310+i-am-tom@users.noreply.github.com>
Co-authored-by: Gil Mizrahi <8547573+soupi@users.noreply.github.com>
Co-authored-by: John Kiragu <11444316+kigsmtua@users.noreply.github.com>
Co-authored-by: Matthew Goodwin <49927862+m4ttheweric@users.noreply.github.com>
Co-authored-by: Divi <32202683+imperfect-fourth@users.noreply.github.com>
Co-authored-by: paritosh-08 <85472423+paritosh-08@users.noreply.github.com>
Co-authored-by: Aaysha <109507451+aayshasura@users.noreply.github.com>
Co-authored-by: Vijay Prasanna <11921040+vijayprasanna13@users.noreply.github.com>
Co-authored-by: Erik Magnusson <32518962+ejkkan@users.noreply.github.com>
GitOrigin-RevId: fe4953db62326fb3a8de118f8bba2add9bb9c2c2
2023-05-09 17:41:28 +00:00
Mihir A Khandekar
8f40ff0953 CPS-861 show hasura ee logo for ee classic consoles
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/9093
GitOrigin-RevId: f48d8f843d3a88d04dd8fd5060cad055b43950bf
2023-05-09 17:20:42 +00:00
Nicolas Beaussart
9667164942 frontend: introduce tags system for libs
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/9063
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
GitOrigin-RevId: 1f5918b1e56452967a93739ffc21b4cfafbd84e4
2023-05-09 10:43:51 +00:00
Matthew Goodwin
54c6197ab7 console: fix stale react-query cache on story switching
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/9085
GitOrigin-RevId: bf08d7ab68f1094ecfad1b5fb6e5a4625aa9e01f
2023-05-08 16:39:21 +00:00
Erik Magnusson
7e2e5190b4 console: create remote relationship instead of local relationship if data source does not support local relationships
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/8963
GitOrigin-RevId: 7055b01924a485b387d8cffd8ee3fd014a8ab045
2023-05-08 14:23:26 +00:00
Erik Magnusson
48341c1ff9 console: Separate update into pre_update and post_update
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/8918
GitOrigin-RevId: b7e066e951158f5ce1dafb062aef5cc1332d617f
2023-05-08 13:55:34 +00:00
Vijay Prasanna
556bb40eea console: add a progress indicator to the track all operation (new tracking UI)
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/8826
GitOrigin-RevId: 55d28ee1dbecdc428a669cb6758b172d6b43e397
2023-05-08 09:38:30 +00:00
Aaysha
0585be7996 frontend: Skip console onboarding based on url param
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/8450
GitOrigin-RevId: 0b3e0c57a5ce35da58f11f0258fcfbe72507f6fc
2023-05-08 08:54:11 +00:00
Matthew Goodwin
61228e2613 console: storybook component for add native query
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/9011
GitOrigin-RevId: 5d553d4de1772808195c7a87c9f8653183e9656b
2023-05-05 21:43:14 +00:00
Daniele Cammareri
608d41757f console: show a popup to suggest users use caching for queries slower than 1s in API Explorer
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/9041
GitOrigin-RevId: 7f97ad78e340dcda57ed92bb1d769d634db35f79
2023-05-05 11:24:15 +00:00
Daniele Cammareri
3f113802cb console: add support for x-www-form-urlencoded payload in import from OpenAPI
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/8781
GitOrigin-RevId: 81b79b1fe0e16024703c2cbc9df53ebb81f9cfb4
2023-05-05 09:51:33 +00:00
Nicolas Beaussart
8b447a5880 frontend: switch to yarn berry
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/9052
Co-authored-by: Samir Talwar <47582+SamirTalwar@users.noreply.github.com>
GitOrigin-RevId: d9c8bc29f9309247944d130d545c6dcaccff366a
2023-05-05 08:57:54 +00:00
Vijay Prasanna
38349f89ea console: add storybook component to create a logical model
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/8908
Co-authored-by: Julian <118911427+julian-mayorga@users.noreply.github.com>
Co-authored-by: Matthew Goodwin <49927862+m4ttheweric@users.noreply.github.com>
GitOrigin-RevId: 7ec452b3787f191f11d02c846b9a0080fa918667
2023-05-04 14:03:56 +00:00
Aaysha
a20c67da30 console: Add IDs for tracking clicks on buttons during one click deploy
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/9043
GitOrigin-RevId: 1bb728e7da36448fc829a29f2784a1d61133e0e8
2023-05-04 11:13:42 +00:00
Varun Choudhary
9e65da5429 console: : e2e testing for one-off scheduled triggers
This PR adds e2e testing for one-off scheduled triggers.

PR-URL: https://github.com/hasura/graphql-engine-mono/pull/8965
GitOrigin-RevId: e2416376d8d5b7c339e32b232d657a5611158069
2023-05-03 11:05:54 +00:00
Varun Dey
824648b49a console: Add use case fields in ee trial registration form
[GT-620]: https://hasurahq.atlassian.net/browse/GT-620?atlOrigin=eyJpIjoiNWRkNTljNzYxNjVmNDY3MDlhMDU5Y2ZhYzA5YTRkZjUiLCJwIjoiZ2l0aHViLWNvbS1KU1cifQ

PR-URL: https://github.com/hasura/graphql-engine-mono/pull/8964
GitOrigin-RevId: b8a207bc98b8bb557670e0a6cb03a768b38e8d20
2023-05-03 07:23:00 +00:00
Varun Choudhary
c80242a1b6 console: use metadata api to fetch event trigger
## Description 🔖

This PR remove raw SQL written on console code-base to fetch event trigger, instead now we use metadata API to fetch event triggers (just like cron trigger)

Server PRs - https://github.com/hasura/graphql-engine-mono/pull/7587

## Related Issues 👾

https://hasurahq.atlassian.net/browse/GS-491

## Solution and Design 🎨

Use metadata API to fetch event trigger details on pending events, processed events, invocation logs and event details.
See the details of API in [server PR](https://github.com/hasura/graphql-engine-mono/pull/7587)

## Review Setup 💻

1. create a table for both DBs(mssql and pg)
2. create an ET for both tables
3. see the metadata call when you switch to pending events, processed events, invocation logs and event details.
4. take server image from this PR - https://github.com/hasura/graphql-engine-mono/pull/7587

## Review checklist. 📋

[ ] - PRO
[ ] - OSS

PR-URL: https://github.com/hasura/graphql-engine-mono/pull/8840
Co-authored-by: Krushan Bauva <31391329+krushanbauva@users.noreply.github.com>
GitOrigin-RevId: 18de692a6d994878acf120a5cad9cfe6de68a00d
2023-05-02 14:33:51 +00:00
Aaysha
9374698edf console: Remove Data Federation from usecase onboarding
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/8991
Co-authored-by: Varun Dey <9202135+varundey@users.noreply.github.com>
Co-authored-by: Rikin Kachhia <54616969+rikinsk@users.noreply.github.com>
GitOrigin-RevId: 0e84131fb7fe48bc6428a462068b25aa7db3aea6
2023-05-02 12:28:45 +00:00
Toan Nguyen
ec4d3f4064 console: fix missing 3rd-party sso login buttons (#8985)
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/8985
GitOrigin-RevId: 180abd51ffac96c4d825fdc0e2c57df0d238051d
2023-04-28 10:05:39 +00:00
Matthew Goodwin
437223afe7 console: add debug prop to form to access dev tools
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/8981
GitOrigin-RevId: 13c0340b24182fa5634e97f2f8d1a3a7675f922e
2023-04-27 22:06:37 +00:00
Matthew Goodwin
20c61909a3 console: add breadcrumbs component
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/8895
GitOrigin-RevId: e111124adfa0df66fb255056dff05880d62e2d2f
2023-04-27 15:16:42 +00:00
Varun Choudhary
ccff2ce87d console: : e2e snapshot testing for cron triggers
This PR has e2e snapshot testing for the cron triggers.

PR-URL: https://github.com/hasura/graphql-engine-mono/pull/8461
GitOrigin-RevId: d247f331538dd960a15c505515175d18f991c9b1
2023-04-27 13:36:26 +00:00
Abhijeet Khangarot
3d6eb08d14 fix: turn off window refocus queries on surveys
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/8911
GitOrigin-RevId: 98eeecc714b3ce3b0e32e4ef4b6e1180232b166f
2023-04-27 11:47:01 +00:00
Matthew Goodwin
5a58823693 console: Track/Untrack functions (postgres only) from the new tracking UI
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/8857
Co-authored-by: Vijay Prasanna <11921040+vijayprasanna13@users.noreply.github.com>
GitOrigin-RevId: cdc2d12edb760d4528ba0f70ec8ba0cbc9a98bbb
2023-04-27 08:24:16 +00:00
Rishichandra Wawhal
d3a96dcf80 frontend: remove clientID check for cloud users
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/8960
GitOrigin-RevId: eafbbcf6f2a3ee09df7298376a3b06489080e1e6
2023-04-27 06:22:59 +00:00
Brandon Martin
56ec360cab Consistent mysql gdc connector name
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/8928
GitOrigin-RevId: 6da82a2d953d6eb51cd6a2fa9417931bc32da752
2023-04-25 23:57:48 +00:00
Matthew Goodwin
7941d827f3 console: refactor logical models code ahead of future PR merges
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/8927
GitOrigin-RevId: eb933ba3c69c814902ad294291d7dfd3fd2b52de
2023-04-25 22:50:04 +00:00
Julian
2c7b118d77 Remove Mongo from list of agents
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/8919
GitOrigin-RevId: afc27311d040b3e479d04957614f54cfe6298df7
2023-04-25 22:16:51 +00:00
Samir Talwar
6afcf17df8 frontend: Use origin/main as the base when running Nx commands.
We may not want to assume that the `main` branch on a developer's machine (a) exists and (b) is up-to-date.

PR-URL: https://github.com/hasura/graphql-engine-mono/pull/8915
GitOrigin-RevId: 441d1c4cb7d864601a5f7a81dbfd04ec5415161e
2023-04-25 21:43:28 +00:00
Erik Magnusson
94e68dbea7 fixed mix-up bug with compare and regular operators with tests
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/8792
GitOrigin-RevId: 3b4c794d63173b8ea87ad48532464f9d69c205c4
2023-04-25 18:51:57 +00:00
Matthew Goodwin
f83028d2b2 console: fix some minor issues with Alert functions
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/8859
GitOrigin-RevId: 3ed709bf46c3036232d723b4506f2940a465c9e1
2023-04-25 18:01:31 +00:00
Erik Magnusson
1c5e8837f9 console: fixed cloning bugs
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/8764
GitOrigin-RevId: aa6f5726bd0194135accc19913d67bfee6813d81
2023-04-25 15:21:04 +00:00
Vijay Prasanna
7b34899c7d console: use release_name property on the UI to display the release tag
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/8872
Co-authored-by: Matthew Goodwin <49927862+m4ttheweric@users.noreply.github.com>
GitOrigin-RevId: 8e6294dd8e71c2301ec921ec81e71b25539eaae9
2023-04-25 09:43:18 +00:00
Varun Dey
09127215ca console: Show use case popup post onboarding
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/8832
GitOrigin-RevId: c8e12e8c99e1b2b008cba7746eff94dd8797946e
2023-04-25 05:16:03 +00:00
Matthew Goodwin
aab5a2082b console: storybook components for list native query and list logical models
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/8858
GitOrigin-RevId: 9d659f1eb5af52d8776f318f7c843680102c8ede
2023-04-24 22:20:42 +00:00
Julian
059fe14154 Add Mongo icon to Connect DB DSF-203
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/8817
GitOrigin-RevId: 7384c8884063ae6cf073759f7c050e841e0c47bc
2023-04-24 20:31:02 +00:00
Varun Choudhary
7fcb3bc8d4 console: fix UI issue with buttons on RS edit permission page
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/8864
GitOrigin-RevId: b9afd5a7ca558fcb5aa9351e343105a10481387a
2023-04-24 16:01:13 +00:00
Daniele Cammareri
4df18e4328 console: fix create rest endpoint url label
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/8810
GitOrigin-RevId: 758056a16bf5cc0288e747fa8513e90abf71e02c
2023-04-24 07:08:31 +00:00
Daniele Cammareri
08f05a12ab fix: remove cached badge for non-cached queries with warning response header
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/8627
GitOrigin-RevId: 5f1579898db93b5eb7ccf1a836e43ae992c498ca
2023-04-21 12:31:55 +00:00
Vijay Prasanna
19facb7ff2 console: fix issue with table names not being displayed property in the Metatadata Status page
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/8847
GitOrigin-RevId: 9420251bca42f7d761c86f54c964a6518349f866
2023-04-21 10:11:21 +00:00
Luca Restagno
5649924625 Use bulk_keep_going for tracking actions
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/8837
Co-authored-by: Vijay Prasanna <11921040+vijayprasanna13@users.noreply.github.com>
GitOrigin-RevId: 9e31bcde24303d690f602f8e8bfc0918a8c5f55c
2023-04-21 07:54:26 +00:00
Matthew Goodwin
ffe4bc7d1c console: port template gallery to new ui / tracked tables as links / code gardening
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/8759
Co-authored-by: Nicolas Beaussart <7281023+beaussan@users.noreply.github.com>
GitOrigin-RevId: 2c3b2c2d14f45f0f9e10683d55e77b237fde0a79
2023-04-20 22:29:58 +00:00
Varun Choudhary
1846307cd6 console: show warning notification while replacing metadata, clearing metadata and setting time_limt
[GS-494]: https://hasurahq.atlassian.net/browse/GS-494?atlOrigin=eyJpIjoiNWRkNTljNzYxNjVmNDY3MDlhMDU5Y2ZhYzA5YTRkZjUiLCJwIjoiZ2l0aHViLWNvbS1KU1cifQ

PR-URL: https://github.com/hasura/graphql-engine-mono/pull/8689
GitOrigin-RevId: c47b309359a9d3632153d525ab0b61e1f35ca7fa
2023-04-20 13:51:28 +00:00
Varun Choudhary
0641500f26 console: fix UI bug in "inspect modal" in operations tab (under monitoring)
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/8833
GitOrigin-RevId: 3662dd68f2f19800b665475417ab9f4ce52dcaf4
2023-04-20 07:17:09 +00:00
Priya Sharma
d798e18fa2 console: randomise options in use case onboarding
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/8820
GitOrigin-RevId: e4d622ac160b0e1e3a750d9a26a5caca5f68f5de
2023-04-19 16:55:09 +00:00
Nicolas Inchauspe
13a4710083 Remove code display in notification when useless
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/8816
GitOrigin-RevId: bb9fb429670f286579d8cdad7ebcaa41e9c18b28
2023-04-19 14:07:16 +00:00
Vijay Prasanna
2f7e89a9c2 console (feature): component to introspect and track functions in the new data tab UI
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/8570
GitOrigin-RevId: addf15967efcbcdc86aedd42096d59b95be14a27
2023-04-19 12:53:10 +00:00
Vijay Prasanna
fad183d854 console: minor bug fixes (Tracking UI, Connect DB)
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/8807
Co-authored-by: Luca Restagno <59067245+lucarestagno@users.noreply.github.com>
GitOrigin-RevId: f681dfb5b4ace38efe087e18aef6dde8dbd8b940
2023-04-19 12:11:28 +00:00
Erik Magnusson
56beb705b2 Dsf 248 permissions add view checks to permissions
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/8600
GitOrigin-RevId: f877085e96cc75d1ba784095ef5a6701ddad9fcc
2023-04-19 08:30:38 +00:00
Luca Restagno
170c95e887 fix: data type handling for mysql
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/8780
GitOrigin-RevId: b550fd7d74205ca9cedc7bce7e38aad8772529ee
2023-04-18 14:16:53 +00:00
Aaysha
30f32b676c login: Fix console crash when retrieving null value from local storage
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/8795
GitOrigin-RevId: 95e39e46a3193fd0ac47a8e69b58e9172942d6e3
2023-04-18 13:22:56 +00:00
Rikin Kachhia
fd97471936 console: add comment about cloud console local storage behaviour
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/8791
GitOrigin-RevId: 988cd0b925eda34763f6d6778e271deed0cbd8f8
2023-04-18 10:27:19 +00:00
nevermore
83c597987a console: Fix use case experiment screen
[GT-588]: https://hasurahq.atlassian.net/browse/GT-588?atlOrigin=eyJpIjoiNWRkNTljNzYxNjVmNDY3MDlhMDU5Y2ZhYzA5YTRkZjUiLCJwIjoiZ2l0aHViLWNvbS1KU1cifQ
[GT-589]: https://hasurahq.atlassian.net/browse/GT-589?atlOrigin=eyJpIjoiNWRkNTljNzYxNjVmNDY3MDlhMDU5Y2ZhYzA5YTRkZjUiLCJwIjoiZ2l0aHViLWNvbS1KU1cifQ

PR-URL: https://github.com/hasura/graphql-engine-mono/pull/8774
GitOrigin-RevId: beec40afb52ec55d870fddfb3b4521ebc923ffdd
2023-04-18 09:07:26 +00:00
Erik Magnusson
74fe1c3268 console: fix fallback dataype operators and filterable input
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/8716
GitOrigin-RevId: cc91c31353f079b078e59e8065e4a70f1b7ba0d4
2023-04-18 08:05:17 +00:00
Luca Restagno
ed8be7dd69 fix: Too many API calls fired from the suggested relationships component
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/8708
GitOrigin-RevId: 9d917b9015053e5653d2277f3dcdf69168bd1eff
2023-04-17 09:20:48 +00:00
Matthew Goodwin
8f981d2678 console: add schema operations to new Manage Database UI
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/8703
Co-authored-by: Vijay Prasanna <11921040+vijayprasanna13@users.noreply.github.com>
Co-authored-by: Nicolas Beaussart <7281023+beaussan@users.noreply.github.com>
GitOrigin-RevId: 3a0d41e5dff3b89dc81e55f071580e48c2982e66
2023-04-14 05:32:18 +00:00
Julian@Hasura
cd96ec94fc Enable automatic layout with collision detection in browse rows dropdown DSF-236
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/8771
GitOrigin-RevId: 75e30b0f8b23018f305c62babe53399b12b5515d
2023-04-13 20:40:20 +00:00
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
Erik Magnusson
e8adb259d3 console: fixed stale permissions UI after failed mutation
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/8458
GitOrigin-RevId: 2c47575465274fdfb5b6d2420ab56b202b86a8ab
2023-03-24 08:56:40 +00:00
Vijay Prasanna
ef7d8b7d31 console: UI improvements to snowflake & Athena tracking section
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/8424
Co-authored-by: Julian <843342+okjulian@users.noreply.github.com>
GitOrigin-RevId: 8b514a8e40c10c4546a1d3d454daea7217c9cd3b
2023-03-24 08:25:28 +00:00
Julian@Hasura
af5884d83e Refactor permissions string test DSF-225
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/8448
Co-authored-by: Julian <843342+okjulian@users.noreply.github.com>
GitOrigin-RevId: 174eb8330a47e1f2b0dd1269d9999981c36a18f2
2023-03-23 20:11:07 +00:00
Abhijeet Khangarot
0e642224d9 frontend: update surveys after backend schema changes
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/7456
GitOrigin-RevId: cfc454f5537951256ac165c4208860721a670297
2023-03-23 09:35:10 +00:00
Matthew Goodwin
498d8fc9f4 console: fix bug with new relationships UI and native views
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/8419
GitOrigin-RevId: 1a2a7532d7534654f1a336c19a009af38436b77e
2023-03-23 07:52:11 +00:00
Varun Choudhary
6a433ae876 console: add comment while creating remote schema
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/8430
GitOrigin-RevId: 2312bd0ef83c620e03e5ed11bc703bb485b0d919
2023-03-23 06:10:01 +00:00
Nicolas Beaussart
d861a2a3c8 frontend: setup buid validator executor
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/8446
GitOrigin-RevId: b63613585a880c1812a7012640937cf0e98253be
2023-03-22 20:53:53 +00:00
Daniele Cammareri
14f6ccbe78 console: change dynamic db label
Quick PR for just updating the label of a tab and fix doc links

<img width="412" alt="image" src="https://user-images.githubusercontent.com/5709409/226867834-c85eb8da-2e84-4cc6-a8de-4446b87b1dd6.png">

PR-URL: https://github.com/hasura/graphql-engine-mono/pull/8431
GitOrigin-RevId: c449be121eef1d8e28fc2179c2910e729ee8aabe
2023-03-22 11:24:29 +00:00
Nicolas Inchauspe
b72849e06e console: bootstrap leaking styles mitigation - step 1
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/8265
GitOrigin-RevId: f35a250f77dae0f6652b03d390fa04623e3e8e81
2023-03-21 18:11:47 +00:00
Nicolas Beaussart
83bd95f332 frontend: fixup process env values
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/8412
GitOrigin-RevId: 7e14fd7b926db0d944a915aa8b376ac2e5c5efce
2023-03-21 17:04:12 +00:00
Luca Restagno
21f9918677 console: add support for specific data types (datetime / time) for gdc
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/8393
GitOrigin-RevId: c1eeb1fb6a5cb825853ec29d7ec1f8b0b702ad07
2023-03-21 11:18:36 +00:00
Nicolas Beaussart
5cd32ffd2a frontend: house keeping
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/8395
GitOrigin-RevId: e577c320e96227fe0c8c3dc85fc3170b12080c45
2023-03-21 08:52:51 +00:00
Matthew Goodwin
a9ab4bc418 Initial PR for work on frontend docker compose [DSF-193]
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/8313
GitOrigin-RevId: 34fc399b46ed09c2e4f6288811870ec00ad05753
2023-03-21 01:24:33 +00:00
Julian@Hasura
e501b60a82 console: Only use json string editor for jsonb columns DSF-211
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/8396
Co-authored-by: Julian <843342+okjulian@users.noreply.github.com>
GitOrigin-RevId: bce8e6483bf163aecfdc54dfe23c91439dafaf59
2023-03-20 19:07:14 +00:00
Aaysha
bf5f5a0e30 frontend :Removing Heroku Banner from Connect database page
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/8389
GitOrigin-RevId: dfd709ef2dbb0f12f41f114022ed76b382fa7963
2023-03-20 16:55:59 +00:00
Julian@Hasura
d89c3f6698 Permissions: Support jsonb columns DSF-157
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/8363
Co-authored-by: Julian <843342+okjulian@users.noreply.github.com>
Co-authored-by: Luca Restagno <59067245+lucarestagno@users.noreply.github.com>
GitOrigin-RevId: a7726c2b32e9faeb5ff6a6d6ea3b6fec24cf4667
2023-03-20 12:16:23 +00:00
Nicolas Inchauspe
260c3ddcb4 console: add autocomplete ability to input field
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/8372
GitOrigin-RevId: dcbd61b9308aaff13e8937738a9b62fc08ec7508
2023-03-17 16:25:35 +00:00
Erik Magnusson
662754ef9e Fix cloneable permissions between query types
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/8284
GitOrigin-RevId: 17c0590bcfa032d9a396851dfc0c97b2ee94feb1
2023-03-17 08:44:54 +00:00
Erik Magnusson
120beb5cc1 console: fix error notification handling for slowly running queries
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/8352
GitOrigin-RevId: c452dcf9048cb1087a74c1c4783ba9db561b938e
2023-03-16 13:48:55 +00:00
Erik Magnusson
aafcbd4491 console: driver specific query type support for permissions
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/8302
GitOrigin-RevId: 68e9f6e53a5d8bb9c5d547bf1eb577f5603c8071
2023-03-16 13:14:42 +00:00
Luca Restagno
aea809b5c2 console: disable auto generated columns in the insert row form
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/8309
Co-authored-by: Matthew Goodwin <49927862+m4ttheweric@users.noreply.github.com>
GitOrigin-RevId: c65456269eb27965ee0283acf200967568f731ed
2023-03-15 17:44:58 +00:00
Erik Magnusson
ab6a1e65b4 console: permissions make default value for is null true
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/8331
GitOrigin-RevId: a2262fa94b4b1a0c3dfbf62494748a0dc3a91885
2023-03-15 16:36:37 +00:00
Vijay Prasanna
b043bf15b9 console: fix bug with untrack table option for GDC sources
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/8219
GitOrigin-RevId: 104b6b0b2e966931120766ec83496486b21a8abd
2023-03-15 05:58:36 +00:00
Julian@Hasura
472fc45239 console: Support X-Hasura-User-Id for number inputs DSF-162
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/8261
Co-authored-by: Julian <843342+okjulian@users.noreply.github.com>
GitOrigin-RevId: 118bdb9261f92f6829ea19633de660388ff7db82
2023-03-15 00:24:43 +00:00
Aaysha
cd18fd0762 console: improving cloud onboarding for non-PG users
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/8276
Co-authored-by: Rikin Kachhia <54616969+rikinsk@users.noreply.github.com>
GitOrigin-RevId: 2d4d9f8d0b4d905e59be4b58586cb7968f217f62
2023-03-14 20:11:00 +00:00
Daniele Cammareri
b61927acad console: add dynamic db routing
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/8295
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
GitOrigin-RevId: 36ae48f6e3366129a6f375728c21bf16555c72e1
2023-03-14 19:04:39 +00:00
Julian@Hasura
2ea72dac8a console: Remove Read Replicas for BigQuery Connections DSF-109
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/8239
Co-authored-by: Julian <843342+okjulian@users.noreply.github.com>
GitOrigin-RevId: b3607ba5d4ec3e8efc409392ea5715adce64b4b4
2023-03-14 16:20:35 +00:00
Rikin Kachhia
df10e08c8b console: use common pattern to access local storage
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/8231
GitOrigin-RevId: 7c19b211abd9c4ed1878efaba6ccb5d9bcdf9b2a
2023-03-14 15:08:42 +00:00
Varun Choudhary
6ac06561e6 console: add unit test for generateCreateEventTriggerQuery
This PR added unit test for the function `generateCreateEventTriggerQuery`

PR-URL: https://github.com/hasura/graphql-engine-mono/pull/8221
GitOrigin-RevId: b990b938a02c623f47ceb56bc22b8e1021c48501
2023-03-14 10:16:10 +00:00
Luca Restagno
551b340632 console: enable insert row form based on the agent capabilities
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/8258
Co-authored-by: Matthew Goodwin <49927862+m4ttheweric@users.noreply.github.com>
GitOrigin-RevId: 6bbfb4d1ea92c1b26efad8fd7050d5757db2a3da
2023-03-13 18:49:17 +00:00
Nicolas Inchauspe
f92d695704 console: fix non clickable elements
[PLAT-487]: https://hasurahq.atlassian.net/browse/PLAT-487?atlOrigin=eyJpIjoiNWRkNTljNzYxNjVmNDY3MDlhMDU5Y2ZhYzA5YTRkZjUiLCJwIjoiZ2l0aHViLWNvbS1KU1cifQ
[PLAT-488]: https://hasurahq.atlassian.net/browse/PLAT-488?atlOrigin=eyJpIjoiNWRkNTljNzYxNjVmNDY3MDlhMDU5Y2ZhYzA5YTRkZjUiLCJwIjoiZ2l0aHViLWNvbS1KU1cifQ

PR-URL: https://github.com/hasura/graphql-engine-mono/pull/8273
GitOrigin-RevId: 00855e10d09eb6f860df3d206630c918858252e2
2023-03-13 12:16:52 +00:00
Luca Restagno
f92791954a Convert mutation payload values according to the column data type
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/8210
GitOrigin-RevId: 18a0909f3b99b5ef93891baf03454b88cade2055
2023-03-09 13:53:38 +00:00
Varun Dey
2a99b9269a Revert "console: [experiment] Remove familiarity survey"
Reverts hasura/graphql-engine-mono#8028

PR-URL: https://github.com/hasura/graphql-engine-mono/pull/8259
GitOrigin-RevId: 7363c1369d92a7fbc3469e9062accbcb1c680aa1
2023-03-09 12:57:58 +00:00
Varun Dey
6440d73d14 console: [experiment] Remove familiarity survey
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/8028
Co-authored-by: Daniel Harvey <4729125+danieljharvey@users.noreply.github.com>
Co-authored-by: Rob Dominguez <24390149+robertjdominguez@users.noreply.github.com>
Co-authored-by: hasura-bot <30118761+hasura-bot@users.noreply.github.com>
Co-authored-by: Aaysha <109507451+aayshasura@users.noreply.github.com>
Co-authored-by: Tom Harding <6302310+i-am-tom@users.noreply.github.com>
Co-authored-by: Nicolas Inchauspe <710410+nicoinch@users.noreply.github.com>
Co-authored-by: Jesse Hallett <9622+hallettj@users.noreply.github.com>
Co-authored-by: Shraddha Agrawal <26995115+ShraddhaAg@users.noreply.github.com>
Co-authored-by: Solomon <24038+solomon-b@users.noreply.github.com>
Co-authored-by: Daniel Chambers <1214352+daniel-chambers@users.noreply.github.com>
Co-authored-by: Varun Choudhary <68095256+Varun-Choudhary@users.noreply.github.com>
Co-authored-by: Rikin Kachhia <54616969+rikinsk@users.noreply.github.com>
Co-authored-by: Philip Lykke Carlsen <358550+plcplc@users.noreply.github.com>
Co-authored-by: Sean Park-Ross <94021366+seanparkross@users.noreply.github.com>
Co-authored-by: Vijay Prasanna <11921040+vijayprasanna13@users.noreply.github.com>
Co-authored-by: Samir Talwar <47582+SamirTalwar@users.noreply.github.com>
Co-authored-by: Gil Mizrahi <8547573+soupi@users.noreply.github.com>
Co-authored-by: Erik Magnusson <32518962+ejkkan@users.noreply.github.com>
Co-authored-by: Mohd Bilal <24944223+m-Bilal@users.noreply.github.com>
GitOrigin-RevId: 28e9f16717f25e10be8924da3719d6b84eb42ede
2023-03-09 11:43:03 +00:00
Erik Magnusson
109c700798 Dsf 151 allow users to create update permissions
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/8188
GitOrigin-RevId: a1a4d58abd52b4ef230adc4a904af9ef1c6ce443
2023-03-08 14:52:24 +00:00
Daniele Cammareri
0dc3073559 add dynamic db routing storybook component
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/8152
Co-authored-by: Varun Choudhary <68095256+Varun-Choudhary@users.noreply.github.com>
GitOrigin-RevId: 89a15b336d85301308e18e82754f10f4ed856563
2023-03-07 16:33:28 +00:00
Matthew Goodwin
aa39203e13 console: fixes incorrect data type shown in GDC modify tab
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/8180
GitOrigin-RevId: 0b4272f7161759541b28ae04bf0a517fb9e42823
2023-03-07 14:38:46 +00:00
Varun Choudhary
e82c82b181 console: fix routing for Import OAS "Modify" button
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/8203
Co-authored-by: Daniele Cammareri <5709409+dancamma@users.noreply.github.com>
GitOrigin-RevId: 8fa100f710ff2ebd034263ad2299ebe93c6ebfe8
2023-03-07 05:53:28 +00:00
Matthew Goodwin
d306eda79a console: if GDC source is only source, sidebar is showing "no data available" [DSF-178]
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/8217
GitOrigin-RevId: f046a262b5a8966ed2142c011fb4f2163baa8cb0
2023-03-07 05:15:35 +00:00
Sooraj
01a24add5d console/fix: headers are getting removed from ET while updating trigger options
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/8202
GitOrigin-RevId: 2aa5d9ad2370af093b37c7a209571a2bced4076b
2023-03-06 17:52:37 +00:00
Luca Restagno
55d4d6728f [Insert row] Data type input fields
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/8157
Co-authored-by: Matthew Goodwin <49927862+m4ttheweric@users.noreply.github.com>
GitOrigin-RevId: eca03f405a37aa8d3d2b1be17a784b0f125becc1
2023-03-06 15:55:57 +00:00
Julian@Hasura
cd953e5e7a Permissions: Support Column Comparison Operators
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/8117
Co-authored-by: Julian <843342+okjulian@users.noreply.github.com>
GitOrigin-RevId: aff2b905fb82fef167267efe8130e55961c144e0
2023-03-06 12:41:07 +00:00
Vijay Prasanna
ade7b43e3b console (tests): refactor ConnectBigQueryWidget component + add interaction tests
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/8164
Co-authored-by: Matthew Goodwin <49927862+m4ttheweric@users.noreply.github.com>
GitOrigin-RevId: 1bc3b8cc2acc7e5d14b0b36aa2f83e08537d775c
2023-03-03 18:36:41 +00:00
Vijay Prasanna
e2e8543400 console: refactor ConnectMssqlWidget component + add interaction tests
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/8151
GitOrigin-RevId: c8f91f3cc608c8d9b720aa98d423a5f5c85d3bc9
2023-03-03 17:19:40 +00:00
Rikin Kachhia
29b5aee03a console: fix subscription protocol
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/8166
GitOrigin-RevId: aa688d97c9d7f0217c628fcf2252e741ea61455d
2023-03-02 12:51:18 +00:00
Vijay Prasanna
0d49cf02f3 console: fix missing props in ConnectPostgresWidget's read replicas field
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/8147
GitOrigin-RevId: 12aedbb5a7960ccdf26205eb49e0ba48d0c0d4f9
2023-03-02 05:09:46 +00:00
Nicolas Beaussart
1e0fa95493 frontend: update nx to 15.8.1
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/8162
GitOrigin-RevId: 7d008762530bb07439a024638fc1221aee677873
2023-03-01 14:17:47 +00:00
Varun Choudhary
11587fd546 storybook: modify existing CardRadioGroup component for vertical alignment of radio cards
This PR modifies the existing storybook component `CardRadioGroup` for vertical of radio cards. Earlier we have radio group card which are aligned horizontally.
Run the storybook from this branch locally
See the storybook component [here ](http://localhost:4400/?path=/story/components-cardradiogroup--with-three-card-vertical-without-value)

PR-URL: https://github.com/hasura/graphql-engine-mono/pull/8141
GitOrigin-RevId: 6f460dbe0cb7ada5814e3ceb8be3e9ce7a3759d3
2023-03-01 10:26:31 +00:00
Nicolas Beaussart
f3951e1680 frontend: update nx to latest 15
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/8079
Co-authored-by: Stefano Magni <173663+NoriSte@users.noreply.github.com>
GitOrigin-RevId: 46b1ed03ab225fccc9d769203d1af11a6bcdb63e
2023-02-28 19:42:51 +00:00
Nicolas Beaussart
fc4aec4330 console: fix graphiql version resolution
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/8144
GitOrigin-RevId: 858ff17d6c12b7252ce43c85b5b6e883c741a466
2023-02-28 15:05:37 +00:00
Varun Choudhary
1971f4f6e4 console: allow users to remove event trigger auto clean-up configuration
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/8036
Co-authored-by: Sooraj <8408875+soorajshankar@users.noreply.github.com>
GitOrigin-RevId: da8df15ac3591a0fd5dfce8e0be26690479ef066
2023-02-28 09:59:14 +00:00
Vijay Prasanna
3034988a3b feature (console): clean up the ConnectPostgresWidget component
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/8022
Co-authored-by: Matthew Goodwin <49927862+m4ttheweric@users.noreply.github.com>
GitOrigin-RevId: 870474c4e4f546a4c3876416b93cf0d932a97de5
2023-02-28 07:16:51 +00:00
Varun Choudhary
546902240a console: show year in the date column while displaying event triggers, cron triggers and scheduled triggers
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/8128
GitOrigin-RevId: 4522406f5e79dbb352778fa6849c284b813a0386
2023-02-27 14:54:42 +00:00
Nicolas Inchauspe
0b72259c1f Plat 473
[PLAT-473]: https://hasurahq.atlassian.net/browse/PLAT-473?atlOrigin=eyJpIjoiNWRkNTljNzYxNjVmNDY3MDlhMDU5Y2ZhYzA5YTRkZjUiLCJwIjoiZ2l0aHViLWNvbS1KU1cifQ

PR-URL: https://github.com/hasura/graphql-engine-mono/pull/8123
GitOrigin-RevId: ed7d749e5ccf575419ca436dfcc0a28e15f8ca64
2023-02-27 10:47:17 +00:00
Erik Magnusson
601e1951bc console: support for relationship array handling for permissions builder
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/8089
GitOrigin-RevId: d24ee20ca56d5dc17a5857754770fbba5574759a
2023-02-24 16:28:52 +00:00
Erik Magnusson
938423ec54 console: add create "delete" permissions
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/8071
GitOrigin-RevId: efb545e134908b61eef71f79a477061753a4bb1c
2023-02-24 13:20:35 +00:00
Nicolas Inchauspe
975d4ae91b console: fix operations filters
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/8097
GitOrigin-RevId: 33a72186a38094bbcdee85d87d0f0a05aadb1736
2023-02-24 11:57:50 +00:00
Rikin Kachhia
a963fdcace console: fix browse rows page UI glitches
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/8105
GitOrigin-RevId: 8ab4e3f77f7ca0b9e4dd7092423b01762c6dc33d
2023-02-24 10:51:53 +00:00
Stefano Magni
cb4334c78a fix(console): Disable the DropDown trigger when the disabled flag is passed
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/8104
GitOrigin-RevId: 4bd1ad2089693b6c1dda10b5eed2c3559113fc27
2023-02-24 09:34:11 +00:00
Erik Magnusson
f9ec262ac0 NDAT-519-wrong-indexes-listed-when-multiple-schemas-have-tables-with-the-same-name-9420
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/8083
GitOrigin-RevId: ca41229ac0227fb9e52c48c6a76eb80d0cf43fd4
2023-02-24 08:44:14 +00:00
Stefano Magni
926b8c272e chore(ci, console): Prioritize the Chromatic diagnostic file over the CLI error
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/8090
GitOrigin-RevId: 557c051bd0d0706897c08163bfbefaf9d0fe546c
2023-02-23 15:16:16 +00:00
Stefano Magni
5ed0d78d35 chore(ci): Drop a message in GitHub when Chromatic fails
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/8012
GitOrigin-RevId: b8fb00ec847cad189b589bb3b60121ee9f68e37b
2023-02-23 11:34:33 +00:00
Luca Restagno
9387981034 console: suggested relationships respect the user naming convention while generating the relationship name [DSF-126]
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/8041
Co-authored-by: Matthew Goodwin <49927862+m4ttheweric@users.noreply.github.com>
GitOrigin-RevId: 9b1261a453a4aa7e0c81f90552e12b43cac881df
2023-02-23 08:51:31 +00:00
Nicolas Beaussart
d2832f1067 frontend: use relative paths instead of absolute within modules
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/8050
GitOrigin-RevId: 7fc12b2855d1632919613c77348119238b88ce6f
2023-02-22 16:38:45 +00:00
Erik Magnusson
3423e53480 console: add insert handling for permissions
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/7973
Co-authored-by: Julian@Hasura <118911427+julian-mayorga@users.noreply.github.com>
GitOrigin-RevId: 6367c6bbf66e58fe2e08caacdf3217125c29a4c7
2023-02-22 15:27:16 +00:00
Varun Choudhary
d3287e5fb3 console: filter view from event trigger while selecting table
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/8073
GitOrigin-RevId: 6f47bc21c5ec9ef6f20d420bb87849c9129b98ec
2023-02-22 14:58:22 +00:00
Vijay Prasanna
983a08d296 bugfix (console): fix alignment issue in manage database section
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/8072
GitOrigin-RevId: 32c1d47c044c110d47c56a2e31cc6423eb8e9f8e
2023-02-22 11:31:10 +00:00
Daniele Cammareri
a5e4141eef console: use naming convention for suggested relationships
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/8058
GitOrigin-RevId: 5a47e814478fe29e0abf47430992ec6217041659
2023-02-22 09:59:27 +00:00
Varun Choudhary
68e8091fda console: allow users to execute read only SQL queries
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/8057
Co-authored-by: Sooraj <8408875+soorajshankar@users.noreply.github.com>
GitOrigin-RevId: 3685e43e52ce3c7e29b8afef52169720e26bb67c
2023-02-22 07:52:04 +00:00
Nicolas Beaussart
7dfd2d60f9 frontend: rework import between ce and ee libs
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/8034
GitOrigin-RevId: 317eeaccea1318451cc14b4c94086cb54720dd33
2023-02-21 14:56:41 +00:00
Nicolas Beaussart
782c905bf4 ci: setup nx cache
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/7916
GitOrigin-RevId: 1949c1f225693c4c8a8d447edd155ae44ead3b72
2023-02-21 11:05:29 +00:00
Rikin Kachhia
c402edee02 console: do not hide one-click-deploy error box till retried step is reached
[GT-497]: https://hasurahq.atlassian.net/browse/GT-497?atlOrigin=eyJpIjoiNWRkNTljNzYxNjVmNDY3MDlhMDU5Y2ZhYzA5YTRkZjUiLCJwIjoiZ2l0aHViLWNvbS1KU1cifQ

PR-URL: https://github.com/hasura/graphql-engine-mono/pull/7969
GitOrigin-RevId: b99544359fc15b83261f7cc790421b7fea5513ff
2023-02-21 10:24:44 +00:00
Rikin Kachhia
c652fa547b console: add env vars page link in one-click-deploy in case of database connection error
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/8033
GitOrigin-RevId: d72923eb12d6edb860efe43b93d6b4a7e78c4805
2023-02-21 08:37:07 +00:00
Daniele Cammareri
47fc7f846f console: Import from OpenAPI beta
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/7768
GitOrigin-RevId: 49eeaa8feba212dce7f505ebe567672616e1383c
2023-02-20 10:42:23 +00:00
Erik Magnusson
904a15a446 console: gdc permissions bug fixes
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/8013
GitOrigin-RevId: c0d1040d24808050e86583b3f23b6f92545bff7a
2023-02-17 14:35:36 +00:00
Nicolas Inchauspe
ea5a50bdda console: fix header notification count position
[PLAT-451]: https://hasurahq.atlassian.net/browse/PLAT-451?atlOrigin=eyJpIjoiNWRkNTljNzYxNjVmNDY3MDlhMDU5Y2ZhYzA5YTRkZjUiLCJwIjoiZ2l0aHViLWNvbS1KU1cifQ

PR-URL: https://github.com/hasura/graphql-engine-mono/pull/8017
GitOrigin-RevId: 4fbe52879ecb61a43a78be4e7473b919bd2c361c
2023-02-17 08:14:17 +00:00
Varun Choudhary
77ed947701 console: update the cron and scheduled events webhook placeholder
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/8023
GitOrigin-RevId: da1f29dc426bf7f77a8c05be196cea8586a5f4ba
2023-02-17 07:40:07 +00:00
Vijay Prasanna
50627a3af2 feature (console): add GDC connect DB widget
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/7893
Co-authored-by: Matthew Goodwin <49927862+m4ttheweric@users.noreply.github.com>
GitOrigin-RevId: c0b5fa4b89a83b953781f78025e7da9c29843c74
2023-02-17 05:33:19 +00:00
Vijay Prasanna
b72173c8cb fix (console): remove latency check after adding GDC source
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/8006
GitOrigin-RevId: 46e37de155a80486868315fe197a3900ce85b761
2023-02-16 13:50:24 +00:00
Rikin Kachhia
2e57bfe0ea console: send telemetry event on feature flag enable/disable
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/7948
GitOrigin-RevId: 0dbb12e0bd291249f447ac58968b63c960630c49
2023-02-16 10:45:41 +00:00
Varun Choudhary
fc40739f62 console: unify webhook handler UX for action, remote schemas and events
[GS-397]: https://hasurahq.atlassian.net/browse/GS-397?atlOrigin=eyJpIjoiNWRkNTljNzYxNjVmNDY3MDlhMDU5Y2ZhYzA5YTRkZjUiLCJwIjoiZ2l0aHViLWNvbS1KU1cifQ

PR-URL: https://github.com/hasura/graphql-engine-mono/pull/7796
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: Sean Park-Ross <94021366+seanparkross@users.noreply.github.com>
GitOrigin-RevId: 620aea50e7d1b45835a5996246f46017b2ba5904
2023-02-16 10:14:35 +00:00
Nicolas Inchauspe
96856f5de3 console: fix bugs for login and upgrade header style
[PLAT-437]: https://hasurahq.atlassian.net/browse/PLAT-437?atlOrigin=eyJpIjoiNWRkNTljNzYxNjVmNDY3MDlhMDU5Y2ZhYzA5YTRkZjUiLCJwIjoiZ2l0aHViLWNvbS1KU1cifQ

PR-URL: https://github.com/hasura/graphql-engine-mono/pull/7947
GitOrigin-RevId: 9ac807cdb038818d45b0678ac0d98157ee292fab
2023-02-15 17:16:49 +00:00
Aaysha
9dd1c29ab7 console: add neon dashboard links
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/7772
Co-authored-by: Rikin Kachhia <54616969+rikinsk@users.noreply.github.com>
GitOrigin-RevId: e0e16ba05e59a92b357d932a27d09386d33f1b77
2023-02-15 15:57:22 +00:00
Nicolas Inchauspe
c8acf12d4f console: apply new sidebar design
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/7635
GitOrigin-RevId: 5f4b24d30d39a2cf2c8eb4a0d0ccc60161389303
2023-02-15 12:38:16 +00:00
Luca Restagno
2b4acb11e7 console: Suggested relationship foreign key constraint on
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/7880
GitOrigin-RevId: 24d2af47d308399ce489cda5bcf888b9d8a80fc5
2023-02-15 12:07:32 +00:00
Luca Restagno
01db431943 console: mutation support for add new row
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/7915
GitOrigin-RevId: 2222e68d84866c5d27811dfaf49f165eec336c71
2023-02-15 11:36:26 +00:00
Mihir A Khandekar
b8355dba6a cloud console: update reducer state shape for entitlements
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/7991
GitOrigin-RevId: 4d9e492e7dbccffd374fe536cf74daedcdad4524
2023-02-15 11:05:36 +00:00
Varun Choudhary
ea76e01b0f console: support suffix for tls allow list
[GS-392]: https://hasurahq.atlassian.net/browse/GS-392?atlOrigin=eyJpIjoiNWRkNTljNzYxNjVmNDY3MDlhMDU5Y2ZhYzA5YTRkZjUiLCJwIjoiZ2l0aHViLWNvbS1KU1cifQ

PR-URL: https://github.com/hasura/graphql-engine-mono/pull/7745
Co-authored-by: Krushan Bauva <31391329+krushanbauva@users.noreply.github.com>
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
GitOrigin-RevId: 72c9a2eef1cfaaefa30a7d53764b1c3688b38ae7
2023-02-15 10:26:41 +00:00
Vijay Prasanna
9900027a8e feature (console): remove the GDC experimental feature flag
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/7942
Co-authored-by: Nicolas Beaussart <7281023+beaussan@users.noreply.github.com>
Co-authored-by: Julian <843342+okjulian@users.noreply.github.com>
Co-authored-by: Brandon Martin <40686+codedmart@users.noreply.github.com>
GitOrigin-RevId: 643c02d36f71b3e25060ddbb723bf57f31dd4318
2023-02-15 04:52:54 +00:00
Mihir A Khandekar
829f5831ad update logic for console nav bar
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/7888
GitOrigin-RevId: c0b8c7ea371d516fef0ed41dd4f11e6979fb9ae5
2023-02-14 15:10:55 +00:00
Mihir A Khandekar
e443e25efe control-plane: update generated graphqltypes
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/7966
GitOrigin-RevId: e4b99e9f89bfaa5b02699416fd4d922d79d16656
2023-02-14 10:10:16 +00:00
Vijay Prasanna
31d2542cd2 feature (console): add BigQuery connect DB widget
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/7884
Co-authored-by: Matthew Goodwin <49927862+m4ttheweric@users.noreply.github.com>
GitOrigin-RevId: 86a6b490cd4b8ed2a6b1f8d9f85f58f91debe33b
2023-02-14 08:19:56 +00:00
Vijay Prasanna
ef532b5534 feature (console): add mssql connect DB widget
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/7881
Co-authored-by: Matthew Goodwin <49927862+m4ttheweric@users.noreply.github.com>
GitOrigin-RevId: 3fab1af9f71ef7a7edc45bfae90b6070eb9d9b93
2023-02-14 07:48:53 +00:00
Julian@Hasura
30b8adf6ae Clean console logs
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/7952
Co-authored-by: Julian <843342+okjulian@users.noreply.github.com>
GitOrigin-RevId: f30b861082344347ddca1f9f66d2952eb83ae23d
2023-02-13 14:33:22 +00:00
Erik Magnusson
b20a712443 feature(console): Rebuild Permissions Picker
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/7662
Co-authored-by: Julian <843342+okjulian@users.noreply.github.com>
GitOrigin-RevId: c4d5a1d8d24124d435931c48389d6086410ed8ba
2023-02-13 12:12:55 +00:00
Daniele Cammareri
eba7d44d02 console: show cross icon when status is null in invocation logs tab
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/7940
GitOrigin-RevId: 5fde0b42a85f061c5d443445a914f4ce6b42b823
2023-02-13 09:13:56 +00:00
Vijay Prasanna
58f4988b01 feature (console): add postgres connect DB widget
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/7828
Co-authored-by: Matthew Goodwin <49927862+m4ttheweric@users.noreply.github.com>
GitOrigin-RevId: 59d311f704d25d2cb4b02605e6351b45d5725fdc
2023-02-10 03:43:11 +00:00
Matthew Goodwin
7c804c8a82 console: POC db connect select database draft design [GCU-107]
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/7897
GitOrigin-RevId: 4da175532c5422bd8985b9134f5aba7b190d05e0
2023-02-09 19:53:30 +00:00
Matthew Goodwin
fc9047ad02 console: more compact storybook sidebar UI
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/7921
GitOrigin-RevId: 98763befe3e6ab385b1f9eec50e87531455f52ee
2023-02-09 17:05:20 +00:00
hasura-bot
f35e043cb6 [console] sort types alphabetically in remote schema type dropdown (close #9412)
GITHUB_PR_NUMBER: 9413
GITHUB_PR_URL: https://github.com/hasura/graphql-engine/pull/9413

PR-URL: https://github.com/hasura/graphql-engine-mono/pull/7799
Co-authored-by: Tom Jenkinson <3259993+tjenkinson@users.noreply.github.com>
Co-authored-by: Erik Magnusson <32518962+ejkkan@users.noreply.github.com>
GitOrigin-RevId: 7392b4c0c5eb237a143ce7b398d0a85bef4602fc
2023-02-09 16:34:03 +00:00
Stefano Magni
5cba05b441 console: Rename the KnowMoreLink into LeanMoreLink and update the texts accordingly
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/7889
GitOrigin-RevId: 1a9b38c57d2fd105f2b3063232399355935a9cce
2023-02-09 15:17:28 +00:00
Stefano Magni
2f6b370ced console: Add stories and type utilities for the KnowMoreLink
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/7578
GitOrigin-RevId: 7b297877cf57729a249a89563afc957ec15a86e0
2023-02-09 12:17:56 +00:00
Nicolas Beaussart
379d10690e console: fix monitoring operation filter not working
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/7902
GitOrigin-RevId: 39a55a16c42f9fc46a35e5907661f44c5f0f3ef4
2023-02-09 08:09:41 +00:00
Varun Choudhary
466e60ca8c console: allow creating remote joins from and to the same remote schema
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/7879
GitOrigin-RevId: bce0c66a17d5214800ae1b08d4ad46a9501e9295
2023-02-09 07:23:47 +00:00
Luca Restagno
41fac9960e fix: export data visibility
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/7895
GitOrigin-RevId: d0767de8b8525e68c5d10c746e37940006a69a29
2023-02-08 17:53:42 +00:00
Nicolas Inchauspe
8b24e40f67 console: fix wrong color for active header entry
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/7890
GitOrigin-RevId: fa0df4ffadd46d2d857e2ab00ca79d7b5513590e
2023-02-08 16:32:53 +00:00
Nicolas Beaussart
5163759e0e ci: clean up old console build
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/7826
GitOrigin-RevId: a70472d5befaef1d0f0d072c86c848e8734fe78a
2023-02-08 13:52:38 +00:00
Stefano Magni
7e9e7be395 console: Normalise all the Know More links
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/7877
GitOrigin-RevId: 5aaffff0485c70fabf9060594b5ec3eef6eacff3
2023-02-08 13:03:59 +00:00
Stefano Magni
02018c8d8f console: Fix ActionEditor dropdown
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/7867
GitOrigin-RevId: 7e7168e1b6acaf0df17b89e6d456541a73390628
2023-02-07 21:53:48 +00:00
Nicolas Beaussart
90c1b21c21 ci: ignore two file changes for chromatic ui review
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/7859
GitOrigin-RevId: 9fdcaf936c2fae7f64910de2003d31ac421e25c9
2023-02-07 20:05:25 +00:00
Stefano Magni
2516a6a028 frontend: Create a Cypress project for the EE Console
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/7825
GitOrigin-RevId: 74e6009ae4fd3915c3c705194c8221dada4e21a6
2023-02-07 16:16:20 +00:00
Stefano Magni
d7cba83b16 frontend: Remove @cypress/snapshot in favour of cypress-plugin-snapshots
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/7851
GitOrigin-RevId: 47bb9202550d620cc9cf039c827df1d63a8bfffd
2023-02-07 14:08:20 +00:00
Rishichandra Wawhal
badff1c99e console: wrap one-click-deployment clickables in analytics component
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/7852
GitOrigin-RevId: 68bdaf551fde8cb7eefcb6b99d3fa4d08b2dff0d
2023-02-07 13:32:53 +00:00
Erik Magnusson
a7acd22b4c remove unnecessary tooltip and remove usage of old tooltop components
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/7855
GitOrigin-RevId: 00cc343478fe742bc2f6c81e6fd3f36175708b54
2023-02-07 12:55:51 +00:00
Luca Restagno
d2cd96820c console: fix suggested relationships name generation
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/7805
GitOrigin-RevId: 49565456863c5120043a441d46eee6e6540f802e
2023-02-07 09:41:36 +00:00
Rikin Kachhia
d00c2051d3 console: one-click-deploy load sample query and copy changes
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/7829
Co-authored-by: Rishichandra Wawhal <27274869+wawhal@users.noreply.github.com>
GitOrigin-RevId: 4625d7297a76b44e48c4fad5e54f267bde59b44e
2023-02-07 08:25:06 +00:00
Nicolas Beaussart
2f4104dfb7 console: fix bootstrap dropdown button not working as intended
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/7837
GitOrigin-RevId: fb4e895dc89e4b8575ad7a26173acc6e400d5438
2023-02-07 07:47:04 +00:00
Daniele Cammareri
aee0f7a766 console: add formatting to action sdl
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/7835
GitOrigin-RevId: e4ce96664c218a6a08124102733f7c79707fbb69
2023-02-07 06:46:17 +00:00
Julian@Hasura
4062d5f515 console: add clone permissions to GDC permissions tab
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/7620
Co-authored-by: Julian <843342+okjulian@users.noreply.github.com>
GitOrigin-RevId: 0e94fe8f6dc4233233a3c038c0d48a3f6c4dab50
2023-02-07 05:18:05 +00:00
Nicolas Inchauspe
825e5206b4 console: fix telemetry notification reappearing
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/7781
GitOrigin-RevId: 33c7873f8f9ff950cb7d45adf7b26b352f7fe1ae
2023-02-06 09:30:24 +00:00
Sameer Kolhar
c27dceb1df console: fix issue with Badge component for Check DB Latency on Data Manager
[CPS-737]: https://hasurahq.atlassian.net/browse/CPS-737?atlOrigin=eyJpIjoiNWRkNTljNzYxNjVmNDY3MDlhMDU5Y2ZhYzA5YTRkZjUiLCJwIjoiZ2l0aHViLWNvbS1KU1cifQ

PR-URL: https://github.com/hasura/graphql-engine-mono/pull/7804
GitOrigin-RevId: b3b90fd3542d95d0560ded43766d57f81b4e3416
2023-02-06 07:59:38 +00:00
Stefano Magni
1f469b279b frontend: Clear the slow or flaky Console CE E2E tests
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/7779
GitOrigin-RevId: fda5d58c5739f1069fc5bab94f8bbde1961b7e17
2023-02-05 06:53:50 +00:00
Stefano Magni
03bf7e8c6f console: programmaticallyTraceError logs to the Console too
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/7714
GitOrigin-RevId: 7307093f9db4a871a43011705b42c06332c57d18
2023-02-03 14:46:41 +00:00
Julian@Hasura
40c25057ba Feature: Delete rows hook
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/7546
Co-authored-by: Julian <843342+okjulian@users.noreply.github.com>
Co-authored-by: Sean Park-Ross <94021366+seanparkross@users.noreply.github.com>
Co-authored-by: Luca Restagno <59067245+lucarestagno@users.noreply.github.com>
Co-authored-by: Abby Sassel <3883855+sassela@users.noreply.github.com>
Co-authored-by: Nicolas Beaussart <7281023+beaussan@users.noreply.github.com>
GitOrigin-RevId: 9efcea1d9babe9977bb578c73e638a981630aaf7
2023-02-02 20:52:09 +00:00
Nicolas Inchauspe
737071a760 console: fix notifications alignment and spacing
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/7769
GitOrigin-RevId: cfa6fb1cf26e5b0287ccc87a02997dc5a78a1719
2023-02-02 16:50:07 +00:00
Nicolas Beaussart
0947e7390c ci: setup chromatic to run on new workspace
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/7740
GitOrigin-RevId: 56764d7009268592e6580c13d70237af10a826eb
2023-02-02 10:04:09 +00:00
Vijay Prasanna
c663cb9879 feature (console): streamlined UI for DB-to-X relationships
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/7678
Co-authored-by: Nicolas Beaussart <7281023+beaussan@users.noreply.github.com>
GitOrigin-RevId: 2bc3e26efa6037341157e01c27aca8e532353f36
2023-02-01 18:15:57 +00:00
Vijay Prasanna
80a3c63f32 fix (console): edit connection UI bug with default values
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/7744
GitOrigin-RevId: 3337c7e7a1930d829949d0ecc7bfb8b63ac44682
2023-02-01 11:26:12 +00:00
Varun Dey
2508b35c90 console: Pass hasura project name as args for neon create DB mutation
[GT-381]: https://hasurahq.atlassian.net/browse/GT-381?atlOrigin=eyJpIjoiNWRkNTljNzYxNjVmNDY3MDlhMDU5Y2ZhYzA5YTRkZjUiLCJwIjoiZ2l0aHViLWNvbS1KU1cifQ

PR-URL: https://github.com/hasura/graphql-engine-mono/pull/7409
Co-authored-by: Mohd Bilal <24944223+m-Bilal@users.noreply.github.com>
Co-authored-by: Rob Dominguez <24390149+robertjdominguez@users.noreply.github.com>
Co-authored-by: Nicolas Inchauspe <710410+nicoinch@users.noreply.github.com>
Co-authored-by: Stefano Magni <173663+NoriSte@users.noreply.github.com>
Co-authored-by: Divi <32202683+imperfect-fourth@users.noreply.github.com>
Co-authored-by: paritosh-08 <85472423+paritosh-08@users.noreply.github.com>
Co-authored-by: ananya-2410 <107847554+ananya-2410@users.noreply.github.com>
Co-authored-by: Varun Choudhary <68095256+Varun-Choudhary@users.noreply.github.com>
Co-authored-by: Philip Lykke Carlsen <358550+plcplc@users.noreply.github.com>
Co-authored-by: Daniel Harvey <4729125+danieljharvey@users.noreply.github.com>
Co-authored-by: Puru Gupta <32328846+purugupta99@users.noreply.github.com>
Co-authored-by: Gil Mizrahi <8547573+soupi@users.noreply.github.com>
Co-authored-by: Abhijeet Khangarot <26903230+abhi40308@users.noreply.github.com>
Co-authored-by: Rikin Kachhia <54616969+rikinsk@users.noreply.github.com>
GitOrigin-RevId: f900d38a71a4306b208bc0cf406c109c3b7c028d
2023-01-31 20:31:22 +00:00
Nicolas Inchauspe
a7af427d38 console: fix remove useless warning
[PLAT-411]: https://hasurahq.atlassian.net/browse/PLAT-411?atlOrigin=eyJpIjoiNWRkNTljNzYxNjVmNDY3MDlhMDU5Y2ZhYzA5YTRkZjUiLCJwIjoiZ2l0aHViLWNvbS1KU1cifQ

PR-URL: https://github.com/hasura/graphql-engine-mono/pull/7737
GitOrigin-RevId: 2753d7cdb09e9651361de702f8b1bca210cf803d
2023-01-31 19:45:30 +00:00
Luca Restagno
ab088cad25 feat: filter existing relstionships from suggested relationships
[GCU-20]: https://hasurahq.atlassian.net/browse/GCU-20?atlOrigin=eyJpIjoiNWRkNTljNzYxNjVmNDY3MDlhMDU5Y2ZhYzA5YTRkZjUiLCJwIjoiZ2l0aHViLWNvbS1KU1cifQ

PR-URL: https://github.com/hasura/graphql-engine-mono/pull/7705
GitOrigin-RevId: 4e9eb492a7438923e7a117bc9327929561310350
2023-01-31 15:30:52 +00:00
Nicolas Beaussart
53a3803ba4 frontend: setup asset loader for local dev
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/7691
GitOrigin-RevId: 4e3926b4105f0bc15dce75b154f6ef60292c5074
2023-01-31 14:56:47 +00:00
Stefano Magni
051f193b86 console: Add a beta badge on OpenTelemetry
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/7713
GitOrigin-RevId: 3d7689c8d34096850b022a1b617ffe1d046f9b8c
2023-01-30 19:11:09 +00:00
Luca Restagno
9882ddb2a5 console: fix edit postgres row with generated always (close #9389)
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/7708
GitOrigin-RevId: a8e2e8aa14c1e88ec0f5f587b533fa3e4da900c1
2023-01-30 15:12:15 +00:00
Aravind K P
a0c5e1669b cli: support ee-lite in CLI console
Closes https://hasurahq.atlassian.net/browse/PLAT-351

PR-URL: https://github.com/hasura/graphql-engine-mono/pull/7256
Co-authored-by: Sooraj <8408875+soorajshankar@users.noreply.github.com>
Co-authored-by: Manas Agarwal <5352361+manasag@users.noreply.github.com>
GitOrigin-RevId: 5096e76f11ab2860fae9fa7cd71c9afaead20cc0
2023-01-30 09:28:28 +00:00
Varun Dey
16bde2ef34 console: User login with additional scopes for neon API v2
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/7655
GitOrigin-RevId: 7c6971c211f6666d229f51cc5455a6dccde7dda0
2023-01-28 13:43:03 +00:00
Nicolas Beaussart
77a1c71e06 ci: setup smoke test for the ee console
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/7696
GitOrigin-RevId: 6cefc9f6a4e9a88457c8890bd7e37fbfe2aafa86
2023-01-27 17:13:20 +00:00
Stefano Magni
f5ea2e6b5a console: Add the OpenTelemetry settings
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/7665
GitOrigin-RevId: 9d150ec5137f8c2f8d1f0a921aa4a686720070a1
2023-01-27 00:45:53 +00:00
Stefano Magni
11294d2876 console: Fix the E2E tests in the frontend directory
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/7661
GitOrigin-RevId: 3877a3b001da24e7e7db90fe51973695f5bb4c1e
2023-01-26 11:19:32 +00:00
Vijay Prasanna
6f32cc20c9 feature (console): add component that allows user to map RS fields to table columns
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/7644
Co-authored-by: Nicolas Beaussart <7281023+beaussan@users.noreply.github.com>
GitOrigin-RevId: 496a64abda035392fbad0a055d8d3bdb63bdbb84
2023-01-26 10:23:16 +00:00
Matthew Goodwin
094f35666f refactor (console): Custom field names modal [GDC-654] [NX Migration Redo]
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/7666
GitOrigin-RevId: 914ed0935faa266716bdcd8ef0eca0304e5a0b0d
2023-01-26 00:00:57 +00:00
Nicolas Beaussart
09c9cf8b46 frontend: apply prettier
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/7668
GitOrigin-RevId: 0ed901780092994ae40c2c57557c5854812a91b2
2023-01-25 20:55:24 +00:00
Luca Restagno
7ff73d34c6 console: fix handling of bigint arrays
[NDAT-469]: https://hasurahq.atlassian.net/browse/NDAT-469?atlOrigin=eyJpIjoiNWRkNTljNzYxNjVmNDY3MDlhMDU5Y2ZhYzA5YTRkZjUiLCJwIjoiZ2l0aHViLWNvbS1KU1cifQ

PR-URL: https://github.com/hasura/graphql-engine-mono/pull/7649
GitOrigin-RevId: 6c30a3a18db2e24786a540aebb8e6af61a4ac18b
2023-01-25 14:47:14 +00:00
Nicolas Beaussart
2c3d91b033 frontend: switch cli and server to use the new nx assets
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/7533
GitOrigin-RevId: 8adde90a90115c2782dc77b9f30297499f22acab
2023-01-25 12:07:01 +00:00
Nicolas Beaussart
152cc6151c frontend: modify the code to have it work in nx
GitOrigin-RevId: e564d86de44bf81e708ca2c40bb505dec01076ce
2023-01-25 11:24:54 +00:00
Nicolas Beaussart
bdcbda5f54 frontend: migrate console to the new frontend folder
GitOrigin-RevId: bde5a5e36ff0093d141f666b9183caafefa39cf8
2023-01-25 11:24:38 +00:00
Nicolas Beaussart
6203a280db frontend: prepare nx migration by removing the old copied files
GitOrigin-RevId: 07e74dcd87e84610efab22c1645d82db378df31f
2023-01-25 11:24:27 +00:00
Nicolas Beaussart
57e62c3d40 frontend: fix storybook not running
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/7646
Co-authored-by: Nicolas Inchauspe <710410+nicoinch@users.noreply.github.com>
GitOrigin-RevId: cc26aff8d9241bfbec1c019da9f681ec62a76ea3
2023-01-24 17:17:33 +00:00
Nicolas Beaussart
9e04135f98 frontend: pre sync console into nx
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/7638
GitOrigin-RevId: 8866a609e83e6330786ddc741afcba9d45e1f42e
2023-01-23 22:22:02 +00:00
Erik Magnusson
e86d24b1fb console: add root field permissions to GDC permissions tab
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/7536
Co-authored-by: Matt Hardman <28978422+mattshardman@users.noreply.github.com>
GitOrigin-RevId: eaa788e45e12900ac5237c4fb1c98d19f64778ed
2023-01-23 11:29:06 +00:00
Nicolas Beaussart
63d4f97f3f frontend: make the scriptLoader works with gz files
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/7616
GitOrigin-RevId: ae2c8db13ba3b9cea42fb31780e37102ea1b1a44
2023-01-20 18:24:37 +00:00
Nicolas Beaussart
41d5bf2a19 frontend: setup internal executor to create the assetLoader
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/7612
GitOrigin-RevId: 4da8b7a642af3795ef9c31939e2d14ef7a755013
2023-01-20 16:05:52 +00:00
Nicolas Beaussart
f6427b993e frontend: fix css ordering issue in nx
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/7584
GitOrigin-RevId: f61baa0cb8b08abfa240e6bda8a2a450e593752a
2023-01-18 22:23:36 +00:00
Nicolas Beaussart
e58a550cc8 frontend: sync nx codebase again
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/7523
GitOrigin-RevId: 0ade4563d4d189dd2c74c8fd6760bc2bd4c47b75
2023-01-12 18:18:38 +00:00
Nicolas Beaussart
55307f1797 ci: introduce frontend related ci
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/6991
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: Nicolas Inchauspe <710410+nicoinch@users.noreply.github.com>
GitOrigin-RevId: 88173064e50d3e05cd1606f7c2a5b9edf1d5857b
2022-12-16 14:37:27 +00:00
Nicolas Beaussart
6f5bd9cb63 frontend: re import code into new console code
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/7280
GitOrigin-RevId: e403f0a05ee94ee0ddac0e263af44b15706a7d00
2022-12-15 10:04:26 +00:00
Nicolas Beaussart
df7234fe7d frontend: upgrade to jest 27
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/7208
Co-authored-by: Rishichandra Wawhal <27274869+wawhal@users.noreply.github.com>
Co-authored-by: Nicolas Inchauspe <710410+nicoinch@users.noreply.github.com>
GitOrigin-RevId: 52f4fb7e17a27bd181ad6bb030e5947c9ce4f819
2022-12-14 16:00:54 +00:00
Nicolas Beaussart
b01a9e2784 frontend: re import code into new mono
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/6966
GitOrigin-RevId: 92a8909a3d316f6a6d5dc512057e60995389383d
2022-11-24 17:21:59 +00:00
Nicolas Beaussart
1b33ebc32d ci: introduce required review github action
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/7011
GitOrigin-RevId: 357186328a784ad5b44a155d098944c242b08ca8
2022-11-23 14:33:45 +00:00
Nicolas Beaussart
66077866cb platform: introduce nx docs
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/6829
GitOrigin-RevId: b0a6a7ccc647ca13863f4c296b7c6b993f784bbb
2022-11-18 18:56:30 +00:00
Nicolas Inchauspe
1f4e802d88 console: upgrade msw to fix storybook with NX
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/6732
GitOrigin-RevId: f83a95d9589cd9fddf9cb9f57f5bbe612022a77a
2022-11-04 08:44:52 +00:00
Stefano Magni
f24ef6ced5 console(fix, plaftorm): Fix the E2E tests lint process
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/6550
GitOrigin-RevId: ff31b5990fc1d27e64346289a13e0dadab7883ea
2022-10-31 14:00:51 +00:00
Stefano Magni
2643fef930 console: Prevent using analytics-related props on React components
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/6544
GitOrigin-RevId: 9f461c73f28b9d8d310fe6dfd02f4224a33ba156
2022-10-28 16:23:47 +00:00
Stefano Magni
040a281392 platform(console): Refactor everything Analytics
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/6153
GitOrigin-RevId: e0dea3acf995d8f73eed8fabae374e215ebcd964
2022-10-24 08:30:01 +00:00
Nicolas Beaussart
6289b06453 platform: rename codebases and re import code
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/6450
GitOrigin-RevId: 4ee8e72fe62edef0f04be9f6dc66b3788dc9a0f4
2022-10-20 16:21:56 +00:00
Nicolas Beaussart
7a7688ca9d platform: fix graphql codegen in action and graphiql editor
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/6404
GitOrigin-RevId: f20eaece35f2c0b7d7db8b65908b608a79afcdba
2022-10-18 14:24:14 +00:00
Nicolas Beaussart
391d8570a1 platform: rework css import to prepare the nx migration
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/6272
GitOrigin-RevId: 43d52508dac9687184f6702d312a21232051503e
2022-10-12 12:47:51 +00:00
Nicolas Beaussart
dbe350d087 platform(nx): import pro console into nx
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/6122
GitOrigin-RevId: 7b36dcb51bf2b7c8dd8f514ceba5878f1c2757ca
2022-09-30 08:35:02 +00:00
Nicolas Beaussart
2f86f71d4d make the build outpout similar than before
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/6052
GitOrigin-RevId: 3f93eb14828057ce67bad6068e4c00f32e8b7c51
2022-09-27 11:49:49 +00:00
Matthew Goodwin
b3b9ff269a console: GQL Customization while tracking a table
## Description 🔖

This adds the ability to "customize & track" using the [new tracking ui](https://github.com/hasura/graphql-engine-mono/pull/5391).

A new button was added to implement this:

<img width="870" alt="Screen Shot 2022-09-16 at 12 37 14 PM" src="https://user-images.githubusercontent.com/49927862/190701948-1ad86717-f6be-4f67-8e0c-17b618790795.png">

## Solution and Design 🎨

This feature mostly makes use of components and hooks already created.

I was able to refactor some code to reduce code duplication and type duplication.

A few highlights on the refactor:

- `useTrackTable`, `useUntrackTable` and `useTrackSelectedTables` were all refactored into a single hook: `useTrackTable`. This hook has one main function but returns 4 wrapper functions: `trackTable`, `untrackTable`, `trackTables`, and `untrackTables`. This should make maintaining easier in the future.
- Synced up types between `MetadataTableConfig` and the customization form. Previously, the customization form had duplicated this same type, and there was some slight discrepancies between them.
- Modified `TableTrackingCustomizationModal` `onSubmit` return with a 2nd argument that's in the exact shape of `MetadataTableConfig` for convenience.
- Did some refactoring of the `DropDownMenu` component that should not interfere with anything. Exposed a few of the inner components for export and used these modular pieces in the current implementation. This ended up not being used in the feature, but left it in as it's a slight improvement.

I also added a function called `delayAsyncAction` [here](5e88262628/console/src/components/Common/utils/jsUtils.tsx (L416)) to create an artificial delay for `async` functions. This allows us to create a more confident UX when requests happen near-instantly. Introducing a tiny delay of around 300ms with good UI feedback (i.e. loading spinner) shows the user something is happening. I wanted to document this as I'm not sure it's something other will agree on. If it's against our UX philosophy, I can remove it, but I found it nice.

## Review Setup 💻

1. Run the code locally and go to `http://localhost:3000/data/v2/manage?database=YOUR_DATABASE_NAME_HERE`
2. You should see the new button as shown above to `Customize & Track`
3. Try it out with various field custom roots
4. Also try tracking and untracking tables both from the individual rows as well as the checkboxes as this logic was also modified in the refactor.

 ** I am not totally sure how much I need to put here for testing, I may want some help here from the team. **

## Review checklist. 📋

### Functionality

- [ ] Steps to verify console behaviour

### Tests

Going to open another PR for adding testing to the relevant areas. Will update this PR with a link once that's been done.

PR-URL: https://github.com/hasura/graphql-engine-mono/pull/5922
GitOrigin-RevId: e7c14be5b9bcc255a7b9ecfd43f1f84aa8aabba2
2022-09-26 22:02:40 +00:00
Daniele Cammareri
f34bd93e9c console: remove allow list feature flag
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/5889
GitOrigin-RevId: b9a3bab2bd83edb94137603850b405df1766e43b
2022-09-18 15:39:51 +00:00
Nicolas Beaussart
ad18266a3c frontend: dev server config
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/5668
Co-authored-by: Nicolas Inchauspe <710410+nicoinch@users.noreply.github.com>
GitOrigin-RevId: c4915e445be9d95bcb4c76679f534ea80d52e3d3
2022-09-05 15:37:05 +00:00
Stefano Magni
d864bed4f4 console: Setup cypress on the Nx monorepo (close #5463)
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/5675
GitOrigin-RevId: b320b6f5bb092d20a4de8e51f6711323dd2b0a05
2022-08-31 09:04:45 +00:00
Nicolas Inchauspe
b53cc2e81c console: add storybook and tailwind to console-legacy-oss
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/5590
GitOrigin-RevId: 911fa2b8f59383fc10a08afac3138aacfe0927d3
2022-08-30 08:04:31 +00:00
Nicolas Inchauspe
6ca1fea4bf Migrate ALL buttons to new Button component
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/5406
Co-authored-by: Erik Magnusson <32518962+ejkkan@users.noreply.github.com>
GitOrigin-RevId: c6eb23f5820ea4fe2ee23bf323ba81cd20d152e0
2022-08-22 14:48:14 +00:00
Nicolas Beaussart
38ffe84ce3 platform(nx): initial oss migration
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/5429
GitOrigin-RevId: 3df08906d9c3cd6a9f75b933469bce4782c4a8d5
2022-08-18 19:37:56 +00:00
Nicolas Beaussart
79d9be5669 frontend: initial nx generation
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/5355
GitOrigin-RevId: b54bb378389ab4fae1fdf6b5a5cc97d1fd6abaf9
2022-08-05 18:53:54 +00:00