Daniele Cammareri
af51a481c2
fix request and response transform generate by import from OpenAPI wh…
...
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/9705
GitOrigin-RevId: 63c4467072d842b11fca8e0a8140b44464c4bc65
2023-07-05 11:35:08 +00:00
Nicolas Inchauspe
23d5cd2a7f
console: improve truncated column names layout
...
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/9696
GitOrigin-RevId: d13a245e1cbaab07bc73ff69aa6ebd3c2cdb0212
2023-07-03 09:41:56 +00:00
nevermore
d7f6c6cb4e
console: Schema Registry Tags
...
[GT-633]: https://hasurahq.atlassian.net/browse/GT-633?atlOrigin=eyJpIjoiNWRkNTljNzYxNjVmNDY3MDlhMDU5Y2ZhYzA5YTRkZjUiLCJwIjoiZ2l0aHViLWNvbS1KU1cifQ
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/9678
GitOrigin-RevId: fffb1bbb56a505d2c00db64cf3e15456fe6bf635
2023-07-03 07:40:14 +00:00
Matthew Goodwin
d4e05a3cbb
console: fix broken storybook tests
...
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/9716
GitOrigin-RevId: 4ce9d0f2d00c4a52e3a975c2a7044d4a5ff1be91
2023-06-30 17:10:24 +00:00
Matthew Goodwin
37dd302729
console: fixed false positives in redux syncing metadata to react-query
...
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/9713
GitOrigin-RevId: 2fe9f196282a55511f40f8d64e63d889f73381d8
2023-06-30 15:50:06 +00:00
Varun Choudhary
fb2535f088
console: fix e2e tests for event and scheduled triggers
...
Fix e2e tests for scheduled trigger and event triggers
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/9718
GitOrigin-RevId: 7fd1ed144cce96b65d824c889cd59d4163c75daf
2023-06-29 11:56:34 +00:00
Vijay Prasanna
5c0ade42e0
console: add doc link for view permissions
...
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/9717
GitOrigin-RevId: f1539ee98e5b0d1691af697a9049e7d861f7bbf1
2023-06-29 11:14:03 +00:00
Vijay Prasanna
90048c84bf
console (fix): Fix the redirect URL for partitions on the new tracking UI
...
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/9680
GitOrigin-RevId: 7db3e6f5bfd726851b35f1a11088c7027d6574ec
2023-06-29 07:00:59 +00:00
Varun Choudhary
adc8129079
console: storybook component and console integration for mutation input validation
...
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/9257
Co-authored-by: Daniele Cammareri <5709409+dancamma@users.noreply.github.com>
GitOrigin-RevId: b287e99ee0a24cc0c94529c6d31d4c43588cdf86
2023-06-28 18:31:02 +00:00
Luca Restagno
bbb466d356
fix navigation after removal of a data source
...
[DSF-450]: https://hasurahq.atlassian.net/browse/DSF-450?atlOrigin=eyJpIjoiNWRkNTljNzYxNjVmNDY3MDlhMDU5Y2ZhYzA5YTRkZjUiLCJwIjoiZ2l0aHViLWNvbS1KU1cifQ
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/9703
Co-authored-by: Vijay Prasanna <11921040+vijayprasanna13@users.noreply.github.com>
GitOrigin-RevId: 7f1a3caad428b73c7754b70a882417a2b79efd45
2023-06-28 15:09:56 +00:00
Luca Restagno
926b02755d
fix browse rows: avoid filtering columns without graphql type
...
[DSF-445]: https://hasurahq.atlassian.net/browse/DSF-445?atlOrigin=eyJpIjoiNWRkNTljNzYxNjVmNDY3MDlhMDU5Y2ZhYzA5YTRkZjUiLCJwIjoiZ2l0aHViLWNvbS1KU1cifQ
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/9682
GitOrigin-RevId: 738095c5f8f7fccd0c0798ec9c1b89eb2db0278b
2023-06-27 20:37:58 +00:00
Julian
b11203f60d
Hide relationships tab if driver does not support relationships
...
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/9660
GitOrigin-RevId: acb93f546423b99732722d6eb236f95a701c76fa
2023-06-26 18:58:36 +00:00
Matthew Goodwin
8267e88ac9
docs: add console examples for stored procedure docs
...
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/9662
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: Rob Dominguez <24390149+robertjdominguez@users.noreply.github.com>
GitOrigin-RevId: 9515b6f85c603441b2098e6d603541d6f8f44dae
2023-06-26 16:35:21 +00:00
Luca Restagno
3617aa4d8d
feat: remove gdc sources from run sql view
...
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/9659
GitOrigin-RevId: cedaf4e389b7499c2b9580f3296d54cb4b56e1ed
2023-06-26 13:52:42 +00:00
Julian
6c615fb733
Disable Permissions feature flag for native sources
...
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/9601
GitOrigin-RevId: 02b85aa80a8c3bbb88f32ba2456c8a3e558468be
2023-06-26 13:11:19 +00:00
Nicolas Inchauspe
3a81007de7
console: make browse rows table header sticky
...
[DSF-440]: https://hasurahq.atlassian.net/browse/DSF-440?atlOrigin=eyJpIjoiNWRkNTljNzYxNjVmNDY3MDlhMDU5Y2ZhYzA5YTRkZjUiLCJwIjoiZ2l0aHViLWNvbS1KU1cifQ
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/9655
GitOrigin-RevId: 5be5b6dce430a7c8066a047a3f2d4388dfb1b144
2023-06-26 09:03:21 +00:00
Vijay Prasanna
ef79d6be9f
console: UX improvement for postgres tracking UI
...
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/9578
Co-authored-by: Matthew Goodwin <49927862+m4ttheweric@users.noreply.github.com>
GitOrigin-RevId: 334a08a89a22196e8e5d11b469279690d279ed46
2023-06-23 19:06:32 +00:00
Julian
324e02b43e
Mongo: Enable browse rows and relationship tabs
...
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/9579
GitOrigin-RevId: 470b4226ce327faca4040c7b46541fc953a3cd15
2023-06-23 18:18:33 +00:00
Nicolas Inchauspe
0add59185d
console: fix line-height for table insert permissions editor inputs
...
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/9646
GitOrigin-RevId: 26859637286833646d5c74961a57143d1ad6b883
2023-06-23 17:33:26 +00:00
Luca Restagno
c0ed68886a
Add common operators for permissions
...
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/9628
GitOrigin-RevId: 2427e079353a7617fe5cdcdd9daeea5fecd4c04a
2023-06-23 16:54:00 +00:00
Nicolas Inchauspe
a7d106ec67
Generic select component
...
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/9113
Co-authored-by: Vijay Prasanna <11921040+vijayprasanna13@users.noreply.github.com>
GitOrigin-RevId: 8c2896c873053571b17a016015b9834a619cef80
2023-06-23 14:08:16 +00:00
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