Commit Graph

470 Commits

Author SHA1 Message Date
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