Commit Graph

326 Commits

Author SHA1 Message Date
Matthew Goodwin
8f0451ce42 storybook: Migrate stories from CSF-2 to CSF-3
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/9236
GitOrigin-RevId: 262b9bf5070835f625c690673bf71f2fe9e49d20
2023-05-25 19:08:20 +00:00
Luca Restagno
5a2821bb01 Add console support for Snowflake UDFs
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/9268
Co-authored-by: Vijay Prasanna <11921040+vijayprasanna13@users.noreply.github.com>
GitOrigin-RevId: 046afcab867c3a91aea989bed92de894f4b67b16
2023-05-25 14:05:11 +00:00
Nicolas Beaussart
e7f0a521b8 console: have better time and payload size estimation in graphiql
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/9243
GitOrigin-RevId: 74ab50ed908da659246c4fada3742d33e0fa3cd2
2023-05-25 11:02:43 +00:00
Mihir A Khandekar
a7fa1befd8 console: update enterprise users query
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/9292
GitOrigin-RevId: 692e2c66f6689426f5f9d369cc03b06978acfecf
2023-05-25 08:08:35 +00:00
Varun Choudhary
1a68d766fc console: add tolerance time in cron trigger e2e test
This PR adds e2e test for tolerance time in already existing cron trigger e2e tests.

PR-URL: https://github.com/hasura/graphql-engine-mono/pull/9280
GitOrigin-RevId: e3159c89f39e74fb9feb5c332d1ba609f96939bd
2023-05-24 15:29:50 +00:00
Vijay Prasanna
17f1e5ebb2 console: remove beta lables for mysql, oracle, mariadb & snowflake
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/9278
GitOrigin-RevId: 731ffbe49a8e6c20535fe291e2d4e9c8c8984472
2023-05-24 12:21:13 +00:00
Nicolas Beaussart
cad58e0c43 console: fix storybook lagging promises
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/9132
Co-authored-by: Divi <32202683+imperfect-fourth@users.noreply.github.com>
Co-authored-by: Nicolas Inchauspe <710410+nicoinch@users.noreply.github.com>
GitOrigin-RevId: c92295b98c8db2b0ecc6f964b02f49820db4d77d
2023-05-24 09:57:29 +00:00
Nicolas Inchauspe
324dd8b1ad Fix monitoring tab
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/9022
GitOrigin-RevId: e2c1cad5d419a827a36403d297d08cdeffd26160
2023-05-24 09:07:40 +00:00
Matthew Goodwin
87da15a596 console: native queries gardening
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/9235
GitOrigin-RevId: 452d306613e5f57bdf209d55116162d9c2b6bdf0
2023-05-23 17:59:54 +00:00
Varun Choudhary
eb401b5925 console: add tolerance time for cron trigger
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/9262
GitOrigin-RevId: c6edda5ad28183253b03faabc32d090e44f1f163
2023-05-23 13:39:24 +00:00
Luca Restagno
68100c440c Avoid numeric value to accept negative numbers
[DSF-394]: https://hasurahq.atlassian.net/browse/DSF-394?atlOrigin=eyJpIjoiNWRkNTljNzYxNjVmNDY3MDlhMDU5Y2ZhYzA5YTRkZjUiLCJwIjoiZ2l0aHViLWNvbS1KU1cifQ

PR-URL: https://github.com/hasura/graphql-engine-mono/pull/9196
GitOrigin-RevId: af9bb5c9c11b18fe240e91c40f4c3bc1c08737ca
2023-05-23 08:59:38 +00:00
Aaysha
3ad90a439c console: fix Onboarding Wizard reloading to suit newly introduces exit states
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/9245
GitOrigin-RevId: f38a5ffcf3a31725644dc9418b7902278a462ec0
2023-05-23 05:37:26 +00:00
Matthew Goodwin
f07eb54e48 console: PR #9214 revision
## PR Revision

The `auto-update-auto-merge` label was added and a commit was still local on my machine. Meant to include these commits as well into https://github.com/hasura/graphql-engine-mono/pull/9214 as a response to feedback from @beaussan

PR-URL: https://github.com/hasura/graphql-engine-mono/pull/9251
GitOrigin-RevId: 077e37db6c4b76cb023aced420c8838617c5fe95
2023-05-22 19:35:43 +00:00
Matthew Goodwin
995086231d console: Eslint allowExpressions for fragments, ignoreRestSiblings for unused vars
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/9214
GitOrigin-RevId: 2018ca8223b10417c9c9b833481de76e905e796a
2023-05-22 19:05:39 +00:00
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