Commit Graph

582 Commits

Author SHA1 Message Date
Luca Restagno
9179135148 refactor: remove unnecessary code related to suggested relationships
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/9590
GitOrigin-RevId: 493707ac2b0edc567bf651b74d88f4ce19eb9735
2023-06-23 12:48:56 +00:00
Nicolas Inchauspe
3af0d49dd7 console: fix remove source cascading
[DSF-437]: https://hasurahq.atlassian.net/browse/DSF-437?atlOrigin=eyJpIjoiNWRkNTljNzYxNjVmNDY3MDlhMDU5Y2ZhYzA5YTRkZjUiLCJwIjoiZ2l0aHViLWNvbS1KU1cifQ

PR-URL: https://github.com/hasura/graphql-engine-mono/pull/9642
GitOrigin-RevId: fc18f90cc328b78124b3254783b44da6cb51022e
2023-06-23 07:43:47 +00:00
nevermore
cf5de54c98 console: add lz-string as a dependency in package.json
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/9634
GitOrigin-RevId: 234286ca140d26e3cd906a2c97861cee5c72f330
2023-06-22 09:09:02 +00:00
Vijay Prasanna
40af05b1ee console (fix): remove license check for Native Queries and Logical Model features on Hasura CE
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/9594
GitOrigin-RevId: 7c8a35b66e7d0bbeb3179d1895d1b63bccb0b588
2023-06-19 18:22:39 +00:00
Nicolas Inchauspe
92f244f9cc console: fix operation details modal layout
[DSF-424]: https://hasurahq.atlassian.net/browse/DSF-424?atlOrigin=eyJpIjoiNWRkNTljNzYxNjVmNDY3MDlhMDU5Y2ZhYzA5YTRkZjUiLCJwIjoiZ2l0aHViLWNvbS1KU1cifQ

PR-URL: https://github.com/hasura/graphql-engine-mono/pull/9495
GitOrigin-RevId: 561bb3060c7b31bafa7f9a5be8e3fe08f7462f16
2023-06-19 15:49:08 +00:00
Vijay Prasanna
530e01d458 console (refactor): common hook to create and manage table relationships
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/9264
GitOrigin-RevId: 0cdbaf4eefe0932bc72c852da3abf88be78de47c
2023-06-19 11:52:11 +00:00
Varun Choudhary
c55aa10515 console: fix ET e2e cypress test
This PR fixes the e2e tests for ET.

PR-URL: https://github.com/hasura/graphql-engine-mono/pull/9584
GitOrigin-RevId: 39189f6a8d0819f71d09e8dddfedb8656947708d
2023-06-19 08:39:16 +00:00
Julian
e8c67b1bfc Track nested logical models and Logical models details route
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/9497
GitOrigin-RevId: bd5b38b0f8ad3f1f317418631af9f85dd14b9983
2023-06-16 19:00:17 +00:00
Luca Restagno
b309fc9211 Sync redux metadata with react-query and vice versa
[DSF-429]: https://hasurahq.atlassian.net/browse/DSF-429?atlOrigin=eyJpIjoiNWRkNTljNzYxNjVmNDY3MDlhMDU5Y2ZhYzA5YTRkZjUiLCJwIjoiZ2l0aHViLWNvbS1KU1cifQ

PR-URL: https://github.com/hasura/graphql-engine-mono/pull/9565
GitOrigin-RevId: 6d53d39ebd445a17186233aa056ebe4d957c386b
2023-06-16 17:00:06 +00:00
Abhijeet Khangarot
4ca19c21ac frontend: fix neon button infinite load on error
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/9551
Co-authored-by: Rikin Kachhia <54616969+rikinsk@users.noreply.github.com>
GitOrigin-RevId: d9fb4842fbe4fc549ed1bb8fd5827e3b19071e99
2023-06-16 12:19:06 +00:00
Mihir A Khandekar
2fe08b6771 console: improved db latency check error handling
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/9563
GitOrigin-RevId: 7e7ea76cb92bd9cd0d6544467dfa01576c63241e
2023-06-16 07:37:45 +00:00
Daniele Cammareri
6f5cf01f58 chore: add useCreateRestEndpoints hook
## Description

This PR adds a hook to create REST endpoints for a particular table. It uses a different approach than the one used in the "Try it" feature: it uses the introspection schema query results to identify which GraphQL operations correspond to the particular rest operation we want to create. The matching is performed by looking at the comment in the graphql schema. This lets us to quickly identify the correct GraphQL operation even in the presence of schema customizations, but, on the other end, it could not work if the user disabled or changed the default comment in the schema. We evaluated that, since this is a "quick start" feature, the pros outcomes the cons.

## How to test it

- Run Storybook
- Go to the `useCreateQueryCollection ` story
- Click "Create Rest endpoint"
- look at the network tab and the changes in the metadata displayed

PR-URL: https://github.com/hasura/graphql-engine-mono/pull/9464
GitOrigin-RevId: fc0d5f26d656a5e7f2c83ecda10703b851a88626
2023-06-15 11:01:14 +00:00
nevermore
9e5795ec0f console: schema change alerts UI
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/9443
Co-authored-by: Rishichandra Wawhal <27274869+wawhal@users.noreply.github.com>
GitOrigin-RevId: a4eb6bd7922792743fe21bb6a806a5a3e3379ede
2023-06-14 19:30:10 +00:00
Vijay Prasanna
07cefed779 console: enable logical model & native query features on OSS console (only for postgres)
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/9540
GitOrigin-RevId: e414ba07d32d457d51bcd6f2179256c4d57234d8
2023-06-14 17:57:08 +00:00
Abhijeet Khangarot
ad5b499d06 frontend: fix neon error on database already exists
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/9542
GitOrigin-RevId: ffca4699d298dfc00d711661ab6705881e1fbecf
2023-06-14 16:27:56 +00:00
Philip Lykke Carlsen
5d76f9cabf Feat: No feature flags for Native Queries and Stored Procedures
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/9541
GitOrigin-RevId: 81a33de3a35405c6e45cb5bad160ad00871745eb
2023-06-14 13:21:37 +00:00
Varun Choudhary
37db1aa777 console: storybook modal component to show Create RESTified endpoints from a Table
This PR has a storybook Modal component to create a rest endpoint from a table.

## Related Issue

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

## Design

<img width="661" alt="modal" src="https://github.com/hasura/graphql-engine-mono/assets/68095256/958f958d-ae49-4e6b-a81b-d3b22ca9f51c">

PR-URL: https://github.com/hasura/graphql-engine-mono/pull/9518
GitOrigin-RevId: f43248b1666d1af909255e1f5af90fa7967b3328
2023-06-14 11:27:06 +00:00
Nicolas Inchauspe
107ad406f8 console: add build task before serve
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/9539
GitOrigin-RevId: e3812e29ff0788b60a43c6dab909be1486742066
2023-06-14 10:39:38 +00:00
Varun Choudhary
c867a47552 console: fix security tab visibility when login with admin secret on EE
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/9397
Co-authored-by: Vishnu Bharathi <4211715+scriptnull@users.noreply.github.com>
GitOrigin-RevId: 686863dfaa31d9c88f6affae93cdf94ccadbbb5f
2023-06-14 06:55:02 +00:00
Varun Choudhary
ea840f9520 console: export button to download open api spec from rest endpoint
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/9418
GitOrigin-RevId: a4d81f13cdec4302be45bed2eb21051b5868d2b3
2023-06-14 06:25:51 +00:00
Matthew Goodwin
86b602edb5 console (bugfix): Native Query detail page does not show associated logical model
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/9492
GitOrigin-RevId: 5cf8b6b61dad29d7deaa218cac66b487ac2c8914
2023-06-13 21:30:33 +00:00
Varun Choudhary
35d9c059db console: open api to graphql library
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/9420
Co-authored-by: Nicolas Beaussart <7281023+beaussan@users.noreply.github.com>
GitOrigin-RevId: 31d983ae8573c91ac5bf11066770f776941c3a11
2023-06-13 19:58:02 +00:00
Luca Restagno
23057b6d4a Fix tracking of tables created with Run SQL with SQL comments
[DSF-420]: https://hasurahq.atlassian.net/browse/DSF-420?atlOrigin=eyJpIjoiNWRkNTljNzYxNjVmNDY3MDlhMDU5Y2ZhYzA5YTRkZjUiLCJwIjoiZ2l0aHViLWNvbS1KU1cifQ

PR-URL: https://github.com/hasura/graphql-engine-mono/pull/9442
GitOrigin-RevId: 94fcb5e8a6073f359ee64cd7cbb0fdaf7218782b
2023-06-13 18:52:13 +00:00
Mihir A Khandekar
81bb636069 console: add tooltip to db latency badge
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/9525
GitOrigin-RevId: e4bd2629946ccb24d609d2643e8032e5d8a1992c
2023-06-13 15:43:40 +00:00
Daniele Cammareri
4a269b84fc chore: remove isProLiteConsole function
This PR reports back to main the changes discussed here: https://hasurahq.slack.com/archives/CKATHV1J7/p1685348635635059?thread_ts=1684879014.661199&cid=CKATHV1J7

TL;DR
- we created a isProConsole function and used it in isDynamicDBRoutingEnabled. We merged this on main
- we opened a cherry pick PR
- we figured out that the isProConsole misses the license key validation feature, so the function was not doing what the function name suggested.
- in the cherry pick PR we removed the generic isProConsole function (whose name was misleading) and replaced it with an inline console type check in the isDynamicDBRoutingEnabled. (the console type-only check is ok in that particular feature)

Since the last point happened only on the cherry-pick PR, we opened this PR to do the same on the main branch.

PR-URL: https://github.com/hasura/graphql-engine-mono/pull/9368
GitOrigin-RevId: e358862e479ac2efa7268787ab2ca32d5a0994b5
2023-06-13 08:22:26 +00:00
Varun Dey
d3fd27d9db console: fix neon DB connection error due to env var propagation delay
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/9430
Co-authored-by: Rikin Kachhia <54616969+rikinsk@users.noreply.github.com>
GitOrigin-RevId: ea407dae924ef2e88c4cb27b2207f52dc0fdf125
2023-06-12 18:00:53 +00:00
Vijay Prasanna
31c6699013 console (tests): add unit and interaction tests for ConnectPostgresWidget
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/9478
GitOrigin-RevId: 1fbfca3839b488fc46d774d8883cc74e44d22abe
2023-06-12 08:52:56 +00:00
Julian
77786f2a6d Re-add Neon dashboard link to manage DBs
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/9482
GitOrigin-RevId: 58a739c0cce943f9922fe0e3d4251a8ac19ced63
2023-06-08 19:37:44 +00:00
Rishichandra Wawhal
db1b6cf424 frontend: Schema registry UI improvements
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/9479
GitOrigin-RevId: 306df780cfb9cc39a335abd98706ae2fe4293700
2023-06-08 18:33:10 +00:00
Julian
3e6b7816df Improve loading UX on permissions editor
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/9457
GitOrigin-RevId: 548c4ccadd4672d7cbdb12e637e919243edb0f2a
2023-06-08 13:22:38 +00:00
Matthew Goodwin
dc7a1f2270 console: bugfix to resolve error when using connection parameters with postgres/citus
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/9465
GitOrigin-RevId: 8ee65b734314e6bfc7bd2806dc0ba77334e30c5c
2023-06-07 21:50:01 +00:00
Luca Restagno
0407229c83 fix adapting of legacy notification to the new toast system
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/9415
GitOrigin-RevId: bfc3d9f18a459e74b9f2b37dac6c4858c26acefa
2023-06-07 16:41:26 +00:00
Luca Restagno
eefa345bf8 Fixes and improvements on Native Queries
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/9433
GitOrigin-RevId: 2a9b31e4867871a2f6c51db3c6449e0f496266c7
2023-06-07 13:15:07 +00:00
Varun Choudhary
504ef83b11 console: In the rest details, send the request variable value as a JSON object if type of variable is JSON instead of a string
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/9396
GitOrigin-RevId: 5a72d144e6b47ef986ed056490649e791d3f1bea
2023-06-07 12:47:25 +00:00
Varun Choudhary
0a55d3cf70 console: fix action with transform e2e tests
This PR fixes e2e tests for action with transforms

PR-URL: https://github.com/hasura/graphql-engine-mono/pull/9452
GitOrigin-RevId: b8f2254969a8d6fe3b64e468e114b0e509d48f2d
2023-06-07 11:42:10 +00:00
Daniele Cammareri
58ff864b33 test: fix event trigger e2e test
## Description

Solving the issue raised here https://hasurahq.slack.com/archives/C049N7YU9EU/p1685109887435229

The event trigger test sometimes failed because the trigger created by previous tests was not cleaned up. An additional cleanup has been added to the `before` function that tries to delete the event trigger if exists.

PR-URL: https://github.com/hasura/graphql-engine-mono/pull/9324
GitOrigin-RevId: 1bdc96312324cbad6d85a91a9ab827c0218290f4
2023-06-05 11:21:51 +00:00
Varun Dey
84ae7a0652 console: Refactor cloud console onboarding
[GT-639]: https://hasurahq.atlassian.net/browse/GT-639?atlOrigin=eyJpIjoiNWRkNTljNzYxNjVmNDY3MDlhMDU5Y2ZhYzA5YTRkZjUiLCJwIjoiZ2l0aHViLWNvbS1KU1cifQ

PR-URL: https://github.com/hasura/graphql-engine-mono/pull/9344
GitOrigin-RevId: 9f135937075baf12d1370508fa6717b7bcdbe4ce
2023-06-05 08:48:26 +00:00
Luca Restagno
eeb879f7f3 UI fix on the Permissions for (GDC)
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/9402
GitOrigin-RevId: bdee9bb7a67ef604474b04a761ebd59fe5150b06
2023-06-02 15:53:26 +00:00
Luca Restagno
f6cb0d7310 Fix update_by_pk and delete_by_pk placeholders
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/9375
GitOrigin-RevId: d73bc541f160e6f6f32dfa0f6b19cff730e73099
2023-06-02 09:00:01 +00:00
Luca Restagno
936134d157 Add tests interaction unit for the new relationship UI
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/9354
GitOrigin-RevId: 0748d9db3695fe145b8a7813a7325fa98d1e71d5
2023-06-02 08:23:03 +00:00
Julian
921b148dc8 Logical Model Permissions
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/9276
Co-authored-by: Erik Magnusson <32518962+ejkkan@users.noreply.github.com>
GitOrigin-RevId: ee1dddf813fac3f3a29c5444644e589a8e67d3cb
2023-06-01 18:31:37 +00:00
Rishichandra Wawhal
800be3c915 schema-registry: fix lux endpoint and misc fixes
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/9388
GitOrigin-RevId: 883d0a59e5202c688e210eb624fd279f24ff1cfd
2023-06-01 14:56:37 +00:00
Rishichandra Wawhal
44aa0f00e8 frontend: ui for schema registry v1
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/9189
Co-authored-by: nevermore <31686586+OjasWadhwani@users.noreply.github.com>
GitOrigin-RevId: 8a9091442967cb1603c04e5951e2dc2adf7d918b
2023-06-01 13:21:41 +00:00
Vijay Prasanna
0d347c1a32 console (fix): fix issue with permissions tab when metadata is in loading state
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/9381
GitOrigin-RevId: 354d48fe69bfed42d4a4d4a8a1f8756c057cc8be
2023-06-01 09:52:52 +00:00
Matthew Goodwin
608e1bf29e console: Add edit/view for native queries
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/9307
GitOrigin-RevId: dddc9c2701a2f7958c423a5ddda6eb35163f425d
2023-05-31 21:04:31 +00:00
Aaysha
682af1e2b9 Integrating launch darkly sdk to console
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/9334
GitOrigin-RevId: 7a2168114e74ff09bb1abb170a2aa2e7f7e5effc
2023-05-31 20:30:11 +00:00
Daniele Cammareri
5d3b0e0778 feat: add soft validation and 3.1 support
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/9247
GitOrigin-RevId: 93bd2ae6c21e4d2cbc5b06aef0d1879cc0b23e9c
2023-05-31 11:09:50 +00:00
Luca Restagno
b19eff22e9 Fix: user defined functions UX interactions
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/9359
GitOrigin-RevId: 92fc049a396e6bd11ed9003b6d784e80e2290618
2023-05-31 08:54:29 +00:00
Vijay Prasanna
03daf994b5 console: tree nav storybook component
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/9225
Co-authored-by: Matthew Goodwin <49927862+m4ttheweric@users.noreply.github.com>
GitOrigin-RevId: b4772448e7ebceee49c0b49cd7fcf2091ddf88c9
2023-05-31 07:39:26 +00:00
Varun Choudhary
4c0a7cc46a console: fix scheduled trigger e2e tests
This Pr fixes the failing e2e test for scheduled triggers

PR-URL: https://github.com/hasura/graphql-engine-mono/pull/9366
GitOrigin-RevId: 600dad7a9b04e14027d9dd4f39c6e9ed81d14317
2023-05-31 07:04:56 +00:00
Daniele Cammareri
866ce9c3e7 fix: fix cron trigger invocation logs status
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/9348
GitOrigin-RevId: 72ba393e7f945260397b337cec489224f86230fc
2023-05-30 14:52:10 +00:00
Vijay Prasanna
972c6ebb4d console: remove outdated feature flags from the settings tab
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/9190
Co-authored-by: Luca Restagno <59067245+lucarestagno@users.noreply.github.com>
GitOrigin-RevId: 910fcc9ca4c5a6b18f07b47b60e0470b01db6bb7
2023-05-29 12:10:13 +00:00
Luca Restagno
4dec50ba5b Relationship new UI, array relationships shown with the wrong details
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/9315
Co-authored-by: Vijay Prasanna <11921040+vijayprasanna13@users.noreply.github.com>
GitOrigin-RevId: cb61006a21ca0ef17033d68d2769a9d150ba409d
2023-05-26 15:50:52 +00:00
Varun Dey
ea3c640943 frontend: default to use case onboarding on console
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/9253
Co-authored-by: Rishichandra Wawhal <27274869+wawhal@users.noreply.github.com>
GitOrigin-RevId: 08a7905acfc17d84ffcbb0f84867a5d44a999805
2023-05-26 10:59:29 +00:00
Daniele Cammareri
81636e0a48 fix: show cache warning to pro-lite console users
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/9304
GitOrigin-RevId: 1acd4b070dd89ac83d19229b20d5d5c5c34d8d55
2023-05-26 06:36:42 +00:00
Vijay Prasanna
01b54b49b6 console: add confirm dialog before untracking stored procedures
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/9305
GitOrigin-RevId: 5764f00a7558f2a9f5c16b220ebceb63f0685d5f
2023-05-25 19:42:44 +00:00
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
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