Commit Graph

312 Commits

Author SHA1 Message Date
Matthew Goodwin
e51d1cf936 storybook: fix lockup issue related to react-query invalidation
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/9234
GitOrigin-RevId: 14beecb1626369f92362adb4d2c130b25ed53109
2023-05-22 16:38:37 +00:00
Varun Choudhary
a6c7f12ffc console: interaction test for allow-list storybook components
This PR has interaction tests for all allow-list storybook components.

PR-URL: https://github.com/hasura/graphql-engine-mono/pull/9151
GitOrigin-RevId: dc8157f8abcf9696db8fd15181251531bfc02563
2023-05-22 10:08:08 +00:00
Aaysha
95ad9a5d76 console: fix for skipping onboarding through url params
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/9241
GitOrigin-RevId: a33a586d79ee45d6a53dca1c103141ca5015e426
2023-05-22 09:39:17 +00:00
Julian
8c21c18a99 Fix: Create local relationships when source and destination dataSource match
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/9231
GitOrigin-RevId: 0cc35656de708ac2fcaf502e028b5f08b2646167
2023-05-19 18:54:51 +00:00
Vijay Prasanna
c405ba2500 console: use _track_tables and _untrack_tables in the new and old tracking section
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/9185
GitOrigin-RevId: 45cb115dec7187ab68e066814028144863fbf24a
2023-05-19 12:15:18 +00:00
Julian
6caf33bf27 console: Refactor duplicated logical model and add native query wrappers into one
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/9199
GitOrigin-RevId: 87ded79e4130a9622b6733055882cee9096088ba
2023-05-18 20:53:42 +00:00
Matthew Goodwin
573c3e3093 console: remove old metadata hooks
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/9118
GitOrigin-RevId: dc1e2131d647be60c43bdffebebe0e116c834764
2023-05-18 13:59:14 +00:00
Aaysha
369bfb73cf Fixing the Trigger of Heap Event : Console Load Onboarding Wizard
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/9193
GitOrigin-RevId: 922940c5c3fbfb08efe0dd838d1e0e2c63459e53
2023-05-18 08:52:31 +00:00
Matthew Goodwin
07c08e7e84 console: add navigation back to list view when tracking stored proc
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/9204
GitOrigin-RevId: ced848934f9ad8eab86def81fcef5a9e6a8278d2
2023-05-18 00:15:14 +00:00
Matthew Goodwin
aaff7236b1 console: adjust docker setup to use template for compose file
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/9200
GitOrigin-RevId: 7e1be7cf34d2df6b3345652f95d3ae3bb9b88a93
2023-05-17 18:37:54 +00:00
Matthew Goodwin
1d91f633c3 console: fix data types issues in native queries forms
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/9198
GitOrigin-RevId: 07932129503b4941c21e99bf11d5eac32ea6fa11
2023-05-17 17:13:48 +00:00
Luca Restagno
ee2258288e Add feature flag to enable the new permissions UI for native sources
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/9167
GitOrigin-RevId: 23a5ef0f6a0987312a85301f6f89af94422f009d
2023-05-17 11:52:30 +00:00
Vijay Prasanna
de04bf49f3 console: fixes issue when renaming databases in the new connect DB UI
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/9183
GitOrigin-RevId: 638fa3d8e4c8a62c448fbd49acadfb5849e00104
2023-05-17 09:51:07 +00:00
Vijay Prasanna
7d397fcf73 console: integrate SQL server procedures to the console
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/9169
GitOrigin-RevId: 3daff76ae127a2727e6ece153e4b06e3c00a9a32
2023-05-17 07:38:27 +00:00
Vijay Prasanna
7ed2b0b282 console: add support for SQL server stored procedures
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/9084
GitOrigin-RevId: a2b5d7012c171329834e905b34e5e9711e8beebb
2023-05-16 13:57:36 +00:00
Julian
3e6ea91770 Test Mongo nested relationships in console
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/9051
GitOrigin-RevId: 1727a8b4527f3a0d20285dcd66023b9586ffc80b
2023-05-16 13:23:05 +00:00
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