Commit Graph

586 Commits

Author SHA1 Message Date
Daniel Chambers
30ed6fc30d Dynamic from file template variables in Data Connector config Kriti transforms
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/10408
Co-authored-by: Matthew Goodwin <49927862+m4ttheweric@users.noreply.github.com>
Co-authored-by: Vijay Prasanna <11921040+vijayprasanna13@users.noreply.github.com>
GitOrigin-RevId: c6d7a47079d93a6c0a987cd1df7ece9fa4d1a917
2023-10-27 12:36:11 +00:00
Brandon Simmons
4007104653 server: GS-650: dynamic postgres connection strings from file
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/10401
Co-authored-by: Rob Dominguez <24390149+robertjdominguez@users.noreply.github.com>
Co-authored-by: Matthew Goodwin <49927862+m4ttheweric@users.noreply.github.com>
GitOrigin-RevId: 94967922738533a80c1af33cca7feab724cc89f6
2023-10-26 22:24:39 +00:00
Varun Choudhary
861be07154 console: pass source_name as arg to pg_test_connection_template api call
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/10418
GitOrigin-RevId: 41af5f58ecc245df420af36d8ce00cc548c90a4f
2023-10-26 10:55:03 +00:00
Aaysha
f386414058 GT-721-change-schema-regsitry-tab-position
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/10335
GitOrigin-RevId: da2e2f53f85477b80e90dd8179ffde28108679f4
2023-10-16 13:26:49 +00:00
ojas
e5f9c51294 console: add schema registry note for data retention
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/10373
GitOrigin-RevId: 0ea62baf610cba0c792b9f8a249efcbf7e867d49
2023-10-11 08:37:44 +00:00
Vijay Prasanna
cf5bc95379 console: fix wildcard issue for columns in legacy permissions editor
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/10346
GitOrigin-RevId: fb66896a6d4ea61544eccb896a54072c14906a7a
2023-10-06 09:33:13 +00:00
Vijay Prasanna
b5cbd3a91f console (fix): add missing introspection SQL to get is_identity status for a column
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/10325
GitOrigin-RevId: 4a81bce953087fdb19ddbeb77f0f4e83feab8485
2023-10-06 06:37:45 +00:00
Vijay Prasanna
0ed57aa340 console: add naming_convention flag name to the user prompt
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/10362
GitOrigin-RevId: 203915bbae4b85183d4786842cf91f50983dbe11
2023-10-05 12:20:22 +00:00
Vijay Prasanna
dd68d25c03 console: add the FF check for naming_convention on source level GraphQL customization
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/10357
GitOrigin-RevId: 76a67c9cb6c040d184c8f9533b50bcb603482057
2023-10-05 06:04:48 +00:00
Varun Choudhary
bf85fdfb2a console: fix autofill name while editing rest endpoint
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/10324
GitOrigin-RevId: 2224b2019c430d45312b41f08d38d699c5877143
2023-09-25 14:39:05 +00:00
Samir Talwar
2467e23ef6 docker: Always use the official SQL Server image for testing.
Now that Docker for macOS supports using Rosetta for x86/amd64 emulation, we no longer need to use the `azure-sql-edge` image. We can always use the official `mcr.microsoft.com/mssql/server` one.

This also means that we no longer need the separate healthcheck container, because the official image ships with `sqlcmd`.

When this is merged, you will need to ensure you have enabled Rosetta emulation in the Docker settings to test against SQL Server on macOS. This requires macOS 13 (Ventura).

PR-URL: https://github.com/hasura/graphql-engine-mono/pull/10139
GitOrigin-RevId: 2225bf5f4c6d3632da1f29b2229c9b04ead5e34c
2023-09-25 13:27:23 +00:00
Martin Mark
ad0823094b MongoDB: Updated for dynamic $oid and $date objects
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/10323
Co-authored-by: Julian <118911427+julian-mayorga@users.noreply.github.com>
GitOrigin-RevId: 58ca3685c413c52c334a552f43136a8c243c729a
2023-09-25 09:24:45 +00:00
Martin Mark
d06f21adb5 Logical models - array errors / parent object namespacing
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/10313
Co-authored-by: Brandon Martin <40686+codedmart@users.noreply.github.com>
Co-authored-by: Julian <118911427+julian-mayorga@users.noreply.github.com>
GitOrigin-RevId: 59ccfcaa09ed3abdfa3ec264f413c9bef9b74561
2023-09-15 02:18:13 +00:00
kodiakhq[bot]
07bad7c498 INFRA-832: logs OTLP export
https://hasurahq.atlassian.net/browse/INFRA-832

Foundational work already merged:
- #10171
- 0184ba8bfcae9b
- 699317ffd061d3

PR-URL: https://github.com/hasura/graphql-engine-mono/pull/10238
Co-authored-by: Varun Choudhary <68095256+Varun-Choudhary@users.noreply.github.com>
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: Toan Nguyen  <1615675+hgiasac@users.noreply.github.com>
GitOrigin-RevId: d88c6a1aafe74e7393873aacc61e6fce3bc7c068
2023-09-13 16:49:55 +00:00
Toan Nguyen
f915c7d1a2 server: support w3c traceparent context
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/10218
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: d3dbea6220fd2127ab76c0a240fc4725ca5d6aac
2023-09-13 13:42:30 +00:00
Harish Nair
1ef188fa58 Change url for EE Trials contact us form
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/10267
GitOrigin-RevId: cac345a25695bfcfe85648944d45ee95cd8d858e
2023-09-12 11:46:41 +00:00
ojas
967bbe4c63 console: Schema Registry new pagination logic
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/10251
Co-authored-by: Aaysha <109507451+aayshasura@users.noreply.github.com>
GitOrigin-RevId: 1750e9ea4fa27d054d0e4bf6f58c1fdf170badfe
2023-09-12 11:01:09 +00:00
Vijay Prasanna
c916a3fdc2 console: add model count summary page
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/10285
GitOrigin-RevId: e5bbb2c246a1cce7fd53ee79565676ef7a8b9aa3
2023-09-12 06:24:59 +00:00
Luca Restagno
103ec25636 feat: enable insert row new ui for all data sources
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/10217
Co-authored-by: Vijay Prasanna <11921040+vijayprasanna13@users.noreply.github.com>
GitOrigin-RevId: e04d6ea04da889a683e5e1d8ea80dcb35f6d76a6
2023-09-06 10:18:09 +00:00
Martin Mark
f422e52896 MongoDB: Logical Model Collection Name Prepend
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/10258
Co-authored-by: Julian <118911427+julian-mayorga@users.noreply.github.com>
GitOrigin-RevId: f58668a0e1406080ca1319a2b40ed3f90f5173db
2023-09-05 18:31:13 +00:00
Vijay Prasanna
041c63d313 console: fix issue with column duplication on create table when using "clear input" option
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/10257
GitOrigin-RevId: c00d22a35f3f93b6817ea2c47e4a6b2dfce6bdb7
2023-09-04 08:23:54 +00:00
Varun Choudhary
207dabec8d console: support for remote relationship permission
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/10193
GitOrigin-RevId: ed90991c7919e50c51adcba323f57d6446e9679c
2023-09-01 06:43:22 +00:00
Varun Choudhary
3810b9f70d console: fix autofill url while editing rest endpoint
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/10244
GitOrigin-RevId: 37d2e8f226878dcfe3901ce975c0296a1d9ad939
2023-08-31 08:32:54 +00:00
Vijay Prasanna
752b077648 console: remove FF check for naming-convention in GraphQLCustomizationWidget
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/10233
GitOrigin-RevId: 1cebde3abe6321a2118a54a4cda925756bf01cb6
2023-08-30 12:28:29 +00:00
Sandeep Raj Kumar
caca39d51e Update WASM exec script to run the latest Regression test runner
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/9753
GitOrigin-RevId: 0d556b7dfec399b30337ba45d7ba6908da8867e2
2023-08-30 10:22:06 +00:00
Nicolas Inchauspe
530db8b313 Fix permissions table checkbox disabled state when no permissions are selected
[DSF-86]: https://hasurahq.atlassian.net/browse/DSF-86?atlOrigin=eyJpIjoiNWRkNTljNzYxNjVmNDY3MDlhMDU5Y2ZhYzA5YTRkZjUiLCJwIjoiZ2l0aHViLWNvbS1KU1cifQ

PR-URL: https://github.com/hasura/graphql-engine-mono/pull/10029
Co-authored-by: Luca Restagno <59067245+lucarestagno@users.noreply.github.com>
GitOrigin-RevId: 46c5a583a43ee93b51d50145c1b1156811f3eb86
2023-08-29 15:12:24 +00:00
Nicolas Inchauspe
114261533b console: add input validation to new permission form
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/10201
GitOrigin-RevId: d505a33d362250f086795e0910e66529a74eefe1
2023-08-29 11:19:29 +00:00
Vijay Prasanna
014d362d7c console: fix issue with column data type being reported as "STRING" for gdc tables
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/10204
GitOrigin-RevId: 0b997aafe55ed13b0963b1cb7b84764dfdddb13c
2023-08-25 14:27:22 +00:00
Vijay Prasanna
1b58c61acb console: fix unique key generation for GDC nav tree
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/10210
GitOrigin-RevId: 06066b02b0397d30ad46c283c94557439dc87355
2023-08-25 13:34:25 +00:00
Aaysha
c7cff17eab console: improved routing and Ux enhancements for schemaRegistry
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/10183
GitOrigin-RevId: 97a91857aee2ac2129273b4332cdb15d623c46d8
2023-08-25 12:34:45 +00:00
Luca Restagno
8aecdcf8a9 Add interaction test to the mongodb tracking modal
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/10208
GitOrigin-RevId: befa77b2e121373619c9d088d61ffe8c2d63fc5f
2023-08-25 11:16:55 +00:00
Vijay Prasanna
7989f68ae3 console: add apollo federation support for the new modify tab
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/10153
GitOrigin-RevId: 3e58ee9ca6d43b34e1de030bef8efecbf0847bff
2023-08-25 10:35:57 +00:00
Vijay Prasanna
60709cab87 console: fix issue with bulk_atomic response parsing
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/10192
GitOrigin-RevId: e262b55f58f006b703fb504adf19b247429d6ad9
2023-08-25 09:27:22 +00:00
Vijay Prasanna
48e11fbd3e console: fix broken mongo db logo in the connect DB screen
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/10197
GitOrigin-RevId: 6a2a436310cd39dec474f4a40b9651c05cbe996f
2023-08-25 04:34:26 +00:00
Toan Nguyen
d40f9057e4 server: support environment variable template for open telemetry URLs
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/10165
Co-authored-by: Rob Dominguez <24390149+robertjdominguez@users.noreply.github.com>
GitOrigin-RevId: ef145deb469007c4a04237ec2219e0f81be8d6c9
2023-08-24 02:24:46 +00:00
Luca Restagno
096e39a3d3 fix: mongodb logical model inference and naming
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/10194
GitOrigin-RevId: f296486bd25ce7fb3444de41ab82aa9fa0fff8d9
2023-08-23 15:08:08 +00:00
Julian
259e6536a2 Permissions: Improve performance by lazy loading relationships
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/10147
Co-authored-by: Vijay Prasanna <11921040+vijayprasanna13@users.noreply.github.com>
GitOrigin-RevId: 99ed2a52a24dee473fed19e3327036bdbf60c737
2023-08-23 11:05:05 +00:00
Matthew Goodwin
a6a5ca4981 console: minor UI fixes and refactors
## Description

- Changes permissions table to use the same hover/selected colors as the new sidebar
- Fixes a loading state issue in sidebar where it was showing it's loading state in the wrong situations
- Prevents wrapping and overflow in the new nav tree. Adds a `title` attribute so full text can be viewed on hover
- Minor refactor of the highlighted text component to prevent rendering empty elements
- Changed Performance Mode status to `beta`

## Copilot's Summary:

### <samp>🤖 Generated by Copilot at cbf26fa</samp>

This pull request improves the UI and UX of the data sidebar and the permissions table in the console. It adds a new `HighlightText` component to show search results with highlighting in the data sidebar. It also updates the permission icons to match the new design and fixes some issues with the loading and error states.

### <samp>🤖 Generated by Copilot at cbf26fa</samp>

*  Rename `GetHighlightedText` component to `HighlightText` and update its props and usage ([link](https://github.com/hasura/graphql-engine-mono/pull/10173/files?diff=unified&w=0#diff-198e711fd22b2876f4a972d1baf5a497e278d9974338f38cf1e2d6206acc916fL16-R16), [link](https://github.com/hasura/graphql-engine-mono/pull/10173/files?diff=unified&w=0#diff-15f224d2d66fdeaf9ca748efb638afabfceea66d54973219046c84167cea16e6L12-R12), [link](https://github.com/hasura/graphql-engine-mono/pull/10173/files?diff=unified&w=0#diff-198e711fd22b2876f4a972d1baf5a497e278d9974338f38cf1e2d6206acc916fL130-R133), [link](https://github.com/hasura/graphql-engine-mono/pull/10173/files?diff=unified&w=0#diff-15f224d2d66fdeaf9ca748efb638afabfceea66d54973219046c84167cea16e6L47-R50), [link](https://github.com/hasura/graphql-engine-mono/pull/10173/files?diff=unified&w=0#diff-df7380fcbdec457b913f1fae6752a1e29064cc3240fe83be1cf7305bdbe7915bL3-R3), [link](https://github.com/hasura/graphql-engine-mono/pull/10173/files?diff=unified&w=0#diff-2bcdba30051a2caf1dd48a4bc779a06ea61797f297e5cf3efb7b6ed061daa6a5))
* Add `HighlightText` component as a new file, which highlights a text based on a search term ([link](https://github.com/hasura/graphql-engine-mono/pull/10173/files?diff=unified&w=0#diff-bbef913a220953091b1a613e8b9396c1bf7e15f1d2b811dd3e7123c4ce0b6517R1-R38))
* Handle `error` status when loading data sources in the sidebar and show loading indicator ([link](https://github.com/hasura/graphql-engine-mono/pull/10173/files?diff=unified&w=0#diff-215c97ae76a6f74a6418c6040249458e41d4a6ea5d22c387ee840ac6348f930cL66-R67))
* Change opacity, background color, and text color of permission icons to match new design ([link](https://github.com/hasura/graphql-engine-mono/pull/10173/files?diff=unified&w=0#diff-5cd42e3ddd80f25af5bb85f344731de47ed950118f3c2573b9a6a9b31e7973c2L17-R17), [link](https://github.com/hasura/graphql-engine-mono/pull/10173/files?diff=unified&w=0#diff-5cd42e3ddd80f25af5bb85f344731de47ed950118f3c2573b9a6a9b31e7973c2L28-R28), [link](https://github.com/hasura/graphql-engine-mono/pull/10173/files?diff=unified&w=0#diff-aef6526df630b35d35d90ab3de7fac306bea334df9b6ef9504b289afce74dc1cL98-R98), [link](https://github.com/hasura/graphql-engine-mono/pull/10173/files?diff=unified&w=0#diff-9c6b0a05b0936a4a4684184ea82a4a937516042c5332df65c29dea367f589353L14-R20), [link](https://github.com/hasura/graphql-engine-mono/pull/10173/files?diff=unified&w=0#diff-9c6b0a05b0936a4a4684184ea82a4a937516042c5332df65c29dea367f589353L31-R28))

PR-URL: https://github.com/hasura/graphql-engine-mono/pull/10173
Co-authored-by: Vijay Prasanna <11921040+vijayprasanna13@users.noreply.github.com>
GitOrigin-RevId: 59820768bcb39043405d154994afda7f0570683c
2023-08-23 09:38:26 +00:00
Matthew Goodwin
96b6c324f5 console: Performance Mode
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/10054
Co-authored-by: Vijay Prasanna <11921040+vijayprasanna13@users.noreply.github.com>
GitOrigin-RevId: 26361f4882663fd31a3ee80390a953fb147cc9be
2023-08-22 19:38:55 +00:00
Julian
9726bb38a9 Fix permission string column numeric value
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/10021
Co-authored-by: Nicolas Inchauspe <710410+nicoinch@users.noreply.github.com>
GitOrigin-RevId: 7873898b4ce04a5b9abfa59fce8e3b1d7145d681
2023-08-21 19:47:40 +00:00
Shahidh K Muhammed
1fbc94b8bc console: fix typo
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/10145
GitOrigin-RevId: 9b420a955336329dd1ec33356d8273dd3e890d8f
2023-08-21 17:15:59 +00:00
Luca Restagno
25b7c26ea9 Mongo onboarding create connect logical models
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/10101
GitOrigin-RevId: 5c7ec4e48161fa8443d94d10d40d95d5d9c57d30
2023-08-21 13:30:24 +00:00
Daniele Cammareri
22cb8dbda4 feature: improve UI of remote schema permissions
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/10135
GitOrigin-RevId: 7079cc51553e3de0eb66d58ced11f51e69a888b8
2023-08-21 10:53:38 +00:00
Vijay Prasanna
f648fdcc99 console: better error handling for GDC table permissions + minor fixes on Logical Model permissions
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/10121
GitOrigin-RevId: bb62ad9a35cfaca1d57c7fe14fbcc6f8f5cdc818
2023-08-21 10:06:58 +00:00
Vijay Prasanna
4320ccd867 console: Allow GDC sources as an option while creating Logical Models/Native Queries
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/10133
GitOrigin-RevId: fa4d3d8b50fce09d6fdc5d6c9b503dccc9ffb54b
2023-08-18 13:48:52 +00:00
Varun Choudhary
ae2ae58043 console: scale rs-to-db relationship to support GDC table types
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/10085
GitOrigin-RevId: 4123e91a59170ddf942bfcc749f870f707b399e6
2023-08-18 09:43:55 +00:00
Nicolas Inchauspe
fc7216d321 console: Fix tree view not being updated after a datasource name change
[DSF-499]: https://hasurahq.atlassian.net/browse/DSF-499?atlOrigin=eyJpIjoiNWRkNTljNzYxNjVmNDY3MDlhMDU5Y2ZhYzA5YTRkZjUiLCJwIjoiZ2l0aHViLWNvbS1KU1cifQ

PR-URL: https://github.com/hasura/graphql-engine-mono/pull/10015
GitOrigin-RevId: 061f86d839d34ab8e77b2f08c7e6ba41ba697021
2023-08-18 08:26:28 +00:00
Julian
3b7a601c6e Mongo Permissions: Support nested objects
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/10103
GitOrigin-RevId: 13d17090eb746ba163a6a68b38071933f2befcea
2023-08-17 14:47:50 +00:00
Nicolas Inchauspe
65c5ba9700 console: fix No Schema available in explorer & JWT decode
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/10111
GitOrigin-RevId: 5b4cd12ce48cbed79119fb3a2f1005b846af490c
2023-08-17 08:43:35 +00:00
Vijay Prasanna
b430c40553 console: fix error response parsing for bulk_atomic on the relationships widget
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/10096
GitOrigin-RevId: c3be4795e2f58d98b7e1171c7a3b5ac58dcf24f4
2023-08-16 05:27:36 +00:00
Aaysha
b66753175d frontend: Schema registry UI Redesign
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/9964
Co-authored-by: nevermore <31686586+OjasWadhwani@users.noreply.github.com>
GitOrigin-RevId: 7269c9d2107479c68dc6c112a34c2c11e2ad0bfe
2023-08-10 09:00:49 +00:00
Varun Dey
c6aa4e74bb Read config state using computed field
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/10089
GitOrigin-RevId: bad2152b9b2a3e1636c42967b1a9cf69fe0cb0ab
2023-08-10 05:36:27 +00:00
paritosh-08
ed43fe9863 server/console: fix Apollo Federation UI to extend table types in other subgraphs
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/10071
Co-authored-by: Varun Choudhary <68095256+Varun-Choudhary@users.noreply.github.com>
GitOrigin-RevId: 5acbc792fd8b3fd9ae6a02ea740b3e13040b9c72
2023-08-09 12:55:14 +00:00
Vijay Prasanna
79501fd7cb console: remove typo from relationships list
## Description
Remove an typo from the relationship details list

PR-URL: https://github.com/hasura/graphql-engine-mono/pull/10086
GitOrigin-RevId: 5ddc2af0f5b0a59b9bd3ef410b5e1dc6cd619a19
2023-08-09 10:41:57 +00:00
Varun Choudhary
975b905999 console: update openTelemetry docs link from console
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/10012
GitOrigin-RevId: b804d84f53ffbee23b5a2c2f490d065bd0552031
2023-08-09 09:07:57 +00:00
Matthew Goodwin
5c62b37ffe console: add new icons for one-to-one and one-to-many relationships
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/9989
Co-authored-by: Vijay Prasanna <11921040+vijayprasanna13@users.noreply.github.com>
GitOrigin-RevId: 421e8da78ff03990c4e2862429b7e05a327061b5
2023-08-09 07:16:11 +00:00
Varun Dey
9a0c69100b Remove worker_id from query
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/10079
GitOrigin-RevId: b1a2927d078077c7772be657c6ab47ec6642736a
2023-08-08 14:39:07 +00:00
Varun Dey
95fcd44a45 Check worker status before calling success callback
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/10070
GitOrigin-RevId: e25c9fb5b89c4463766eca0909120d57b2b4c14f
2023-08-08 08:04:14 +00:00
Luca Restagno
a3bf146a00 Improve support for array data types
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/9984
GitOrigin-RevId: 4bf77be7f039b809fa10dd57d2a8405a106c7534
2023-08-07 15:48:16 +00:00
Vijay Prasanna
4fd38a030e console: remove feature flag for GDC UI
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/10072
GitOrigin-RevId: 6352e3a18572eae6317c025dcab203e808c7192a
2023-08-07 14:43:00 +00:00
Matthew Goodwin
d729993dea console: Fix incorrect EE License behavior in Native Queries
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/10064
Co-authored-by: Vijay Prasanna <11921040+vijayprasanna13@users.noreply.github.com>
Co-authored-by: Luca Restagno <59067245+lucarestagno@users.noreply.github.com>
GitOrigin-RevId: 8db3ffe28cfb3f6ea244bf811582d2b5bad41fc9
2023-08-07 10:38:53 +00:00
Luca Restagno
84d19037a5 Revert back to the old naming convention for suggested relationships
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/10055
GitOrigin-RevId: 9b97af1418342899c82792a988688409040b70af
2023-08-07 09:41:03 +00:00
Matthew Goodwin
c30508b6e3 console: new nav tree component updates
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/10051
GitOrigin-RevId: 77e95c6806f059327f51bbd854ab6575dcca2e7f
2023-08-04 19:01:34 +00:00
Matthew Goodwin
603fb42def console: fix storybook performance and stability issues due to console type addon
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/10007
GitOrigin-RevId: d78a161f7f5696162409c2757c594fa0c74cfd1c
2023-08-04 16:40:13 +00:00
Matthew Goodwin
82c7797dbb console: table tracking gardening
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/10053
GitOrigin-RevId: 36e4fd0c60409e60a4c5f2fb83891590feed43d1
2023-08-04 15:58:43 +00:00
Matthew Goodwin
150874356d console: add synchronous way to get feature flags
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/10052
GitOrigin-RevId: 3514dadc8cedef4b6e9008e3b8f50bceeb996e3b
2023-08-04 14:55:10 +00:00
Vijay Prasanna
2b5d8ff3ef console: add support for improved function tracking in the new tracking UI for postgres/mssql
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/10006
GitOrigin-RevId: 7fa873d92c5151695a28e0762859c8e222a3e0cd
2023-08-04 11:22:18 +00:00
Daniele Cammareri
c12c8e974c feat: improve remote schema relationships UX
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/9947
GitOrigin-RevId: 9434ad4f80ad2b4926a4e18fb7d8abf336b2bd83
2023-08-04 09:57:21 +00:00
Vijay Prasanna
4fa4644cfd console: allow useCreateTableRelationships hook to work even if some DC-agent capabilities are not reachable
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/10038
GitOrigin-RevId: 432d15cc72600cbc5d710fb299a9ee87e30fcea2
2023-08-04 07:34:22 +00:00
Matthew Goodwin
2fedf7fe8d console: editing logical models & gardening work
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/10008
Co-authored-by: Julian <118911427+julian-mayorga@users.noreply.github.com>
GitOrigin-RevId: 14c8b833700e67f680d70c3b0226b4d984880913
2023-08-03 21:06:57 +00:00
Julian
c4ddb0e1f5 Display only local relationships in permissions builder
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/9996
GitOrigin-RevId: 8ce5c5546370fe41d6d1eb9a89bcd9ae92ecf974
2023-08-03 14:00:26 +00:00
Julian
5453617cd1 Permission tests
They cover the basic scenario of creating permissions.

We need to increase the amount of tests covering happy paths to prevent regressions, so this is a step forward in that direction.

This does not change logic in any way.

Adds data-testid when needed
Remove broken stories
Updates mocks
Pointing this against https://github.com/hasura/graphql-engine-mono/pull/9974 because it's based off of it. I recommend reviewing them together since they're related.

Jira ticket: https://hasurahq.atlassian.net/browse/DSF-496

PR-URL: https://github.com/hasura/graphql-engine-mono/pull/10000
GitOrigin-RevId: 6b452684e029669b9094796bf04bd09c24d00a8f
2023-08-03 12:40:22 +00:00
Daniele Cammareri
6df45b37bf fix: fix "Create Rest endpoint" feature for edge cases
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/10025
GitOrigin-RevId: e47e15797863ed461e2b6d10d51b3195894fefe8
2023-08-03 10:24:16 +00:00
Luca Restagno
24e19ac113 Fix Remote Relationship relation visualization
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/10030
GitOrigin-RevId: 02f26c9670bb8203ebb0750a01367ada3f4c477f
2023-08-02 16:10:54 +00:00
Vijay Prasanna
b3a5d19919 console: improvements to the stored procedure UI (error handling, empty states, prompts)
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/10016
GitOrigin-RevId: b44c73f9fcdfa9d51c98c5131bda02c802172dee
2023-08-02 05:31:53 +00:00
Luca Restagno
6a352555f7 Fix default value for array columns
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/9969
GitOrigin-RevId: 26b0af011501d49d26ab0e4657bc7d76af23e307
2023-08-01 09:50:54 +00:00
Matthew Goodwin
51c1faec08 console: Fix react query decorator cache invalidation strategy
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/9998
GitOrigin-RevId: 53343f6f55ff2d7354759ec81b9c66a01d893256
2023-07-31 18:14:35 +00:00
Matthew Goodwin
4290c87861 console: upgrade typescript to 5.x
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/9997
GitOrigin-RevId: 0730212c3f1fdab134be0d097f3e4364e3aa4e85
2023-07-31 16:07:46 +00:00
Nicolas Inchauspe
3f5e38ac5a Console should show a clear warning when a connection string is stored in metadata
[DSF-459]: https://hasurahq.atlassian.net/browse/DSF-459?atlOrigin=eyJpIjoiNWRkNTljNzYxNjVmNDY3MDlhMDU5Y2ZhYzA5YTRkZjUiLCJwIjoiZ2l0aHViLWNvbS1KU1cifQ

PR-URL: https://github.com/hasura/graphql-engine-mono/pull/9874
GitOrigin-RevId: dbe1f785d70af0d34e37764bef5c994db58b83fa
2023-07-31 14:26:11 +00:00
Nicolas Inchauspe
fcefba5349 console: propose materialized views for tracking for postgres datasource
[DSF-497]: https://hasurahq.atlassian.net/browse/DSF-497?atlOrigin=eyJpIjoiNWRkNTljNzYxNjVmNDY3MDlhMDU5Y2ZhYzA5YTRkZjUiLCJwIjoiZ2l0aHViLWNvbS1KU1cifQ

PR-URL: https://github.com/hasura/graphql-engine-mono/pull/9983
GitOrigin-RevId: 6c9f252d51f0f2006673947401980b96ec2f9316
2023-07-31 08:19:57 +00:00
Vijay Prasanna
430274a3bb console: fix extra subtitle in native query
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/9994
GitOrigin-RevId: 229aa560676bee74121421c188df8a7db0795287
2023-07-31 06:31:51 +00:00
Julian
a3deb5eff0 Group Permission editors into the same folder
This will make it easier to make changes and reuse code on the future.

They were grouped together by only the storybook title.

Now they are on the same folder, which is `frontend/libs/console/legacy-ce/src/lib/Permissions`.

Since now they are together, removed the title to all storybook stories.

Important: I did not make any behavior changes. Only moved code around. I need this for a separate PR but I thought it was good to create this isolated PR with non behavioral changes so it's easy to review (it has a lot of files changed).

Jira ticket: https://hasurahq.atlassian.net/browse/DSF-496

PR-URL: https://github.com/hasura/graphql-engine-mono/pull/9974
GitOrigin-RevId: 940020d06e0144eac95c614f84aea122852396b9
2023-07-28 19:13:28 +00:00
Nicolas Inchauspe
d2192eca9d console: fix query filter and sort validation
[DSF-488]: https://hasurahq.atlassian.net/browse/DSF-488?atlOrigin=eyJpIjoiNWRkNTljNzYxNjVmNDY3MDlhMDU5Y2ZhYzA5YTRkZjUiLCJwIjoiZ2l0aHViLWNvbS1KU1cifQ

PR-URL: https://github.com/hasura/graphql-engine-mono/pull/9965
GitOrigin-RevId: d3fe971677033dcd3296e8f75896a57658197a8c
2023-07-28 10:02:29 +00:00
Vijay Prasanna
3aa56fc05f console: remove comments that contain internal doc links
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/9978
GitOrigin-RevId: f16e82fe466039665abef1f633a82236f6288a43
2023-07-28 08:20:25 +00:00
Vijay Prasanna
929773d5b4 console: modify getTableColumns SQL for postgres DAL method to include materialized views
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/9966
GitOrigin-RevId: 16fc6f7bd1c1308e27511fa6387b51564c0b9dbf
2023-07-26 14:18:55 +00:00
Julian
c00fd3d735 Permission comment cache fixes
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/9955
Co-authored-by: Vijay Prasanna <11921040+vijayprasanna13@users.noreply.github.com>
GitOrigin-RevId: 8efac3be27525069998556489451f2afc2eed44b
2023-07-26 10:49:16 +00:00
Luca Restagno
cf214f087d console: show array pg data types in the drop down while creating/modifying columns
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/9930
GitOrigin-RevId: 32c1a2ab7ea90b06303fa0e499788a2b37bccd0b
2023-07-26 10:12:37 +00:00
Varun Choudhary
059c3e3876 console: fix headers for mutation input validation
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/9898
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
GitOrigin-RevId: 4e1a36b498c65a6ad9bcbe98a1dd9e87f288ac06
2023-07-26 06:39:15 +00:00
Brandon Simmons
f0441a3d61 INFRA-833: OpenTelemetry exporter for metrics
I scratched out some changes to support this in the front end, mostly to test it easily,   maybe this can be used without much rework (validation seems to work correctly, but the tests need to be extended and probably fixed):

<img width="648" alt="fd" src="https://github.com/hasura/graphql-engine-mono/assets/68095256/e5873a90-ef83-43c3-9d54-cfc0a693baca">

-------

## Fake OTel collector for testing

ChatGPT spit this out, and it's what I used to test, if it's useful to others:

``` python
from flask import Flask, request
from opentelemetry.proto.collector.trace.v1.trace_service_pb2 import ExportTraceServiceRequest
from opentelemetry.proto.collector.metrics.v1.metrics_service_pb2 import ExportMetricsServiceRequest
import google.protobuf.json_format as json_format

app = Flask(__name__)

@app.route("/v1/traces", methods=["POST"])
def handle_traces():
    if request.method == 'POST':
        binary_trace = request.get_data()
        trace_request = ExportTraceServiceRequest()
        trace_request.ParseFromString(binary_trace)
        print("Received trace data:\n")
        print(json_format.MessageToJson(trace_request, indent=2, preserving_proto_field_name=True))
        return "Trace data received", 200

@app.route("/v1/metrics", methods=["POST"])
def handle_metrics():
    if request.method == 'POST':
        binary_metric = request.get_data()
        metric_request = ExportMetricsServiceRequest()
        metric_request.ParseFromString(binary_metric)
        print("Received metrics data:\n")
        print(json_format.MessageToJson(metric_request, indent=2, preserving_proto_field_name=True))
        return "Metrics data received", 200

if __name__ == "__main__":
    app.run(host="0.0.0.0", port=8080)
```

PR-URL: https://github.com/hasura/graphql-engine-mono/pull/9552
Co-authored-by: Puru Gupta <32328846+purugupta99@users.noreply.github.com>
Co-authored-by: Toan Nguyen  <1615675+hgiasac@users.noreply.github.com>
Co-authored-by: Varun Choudhary <68095256+Varun-Choudhary@users.noreply.github.com>
Co-authored-by: Daniele Cammareri <5709409+dancamma@users.noreply.github.com>
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: f340bfc5c135a7bb24735b524d015e05db422fd2
2023-07-26 05:22:17 +00:00
Vijay Prasanna
1f11bd388f console: integrate useCreateTableRelationships and useSuggestedRelationships hooks in the relationships tab
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/9939
GitOrigin-RevId: 71391115fe7403663c53dfbc0bec6e7b62019b50
2023-07-26 04:22:43 +00:00
Nicolas Inchauspe
82011af6ed Fix and improvement on the pagination for tracked table in the new UI
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/9890
GitOrigin-RevId: ff1bb64321721718378de6447be9c9cc98e34c32
2023-07-25 10:41:33 +00:00
Vijay Prasanna
5681b2edff console: fix issue with edit postgres connection when SSL settings are partially filled
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/9950
GitOrigin-RevId: c32eedcd9849e46207ef8125debe0c71af1922bd
2023-07-25 09:47:33 +00:00
Nicolas Inchauspe
74a0165205 console: add autocomplete off to api explorer headers editor inputs
[DSF-483]: https://hasurahq.atlassian.net/browse/DSF-483?atlOrigin=eyJpIjoiNWRkNTljNzYxNjVmNDY3MDlhMDU5Y2ZhYzA5YTRkZjUiLCJwIjoiZ2l0aHViLWNvbS1KU1cifQ

PR-URL: https://github.com/hasura/graphql-engine-mono/pull/9924
GitOrigin-RevId: 93d7351610b4e72ce4147018a368667cda625f61
2023-07-25 09:20:49 +00:00
Julian
1b026af1cd Track Mongo collections using Logical Models
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/9688
GitOrigin-RevId: 5523a8be0c7f4fc22cd9f3ec29527f7a714de932
2023-07-24 20:21:17 +00:00
Julian
8572f59011 Permission comments
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/9862
GitOrigin-RevId: cd855e584ea7bcd7b89b09e119c7b748394bfbf0
2023-07-24 19:10:36 +00:00
Julian
8bbb1bec34 Fix permission form's submit cache behavior and bug when setting relationships
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/9894
GitOrigin-RevId: 68587edeb5e3a923f52154d597c8002428645326
2023-07-24 18:01:37 +00:00
Vijay Prasanna
a833379b86 console (feature): add template and timeout props to the GDC connect UI
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/9883
GitOrigin-RevId: 5370b18bcab90919b94c99bd0c74c260b515a6d8
2023-07-24 15:27:30 +00:00
Vijay Prasanna
a2e15d9ae6 console (fix): use bulk_keep_going if remote rels are present
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/9934
GitOrigin-RevId: 30285a2862c79de6ef57695a6739a442485b4ad2
2023-07-21 14:23:51 +00:00
nevermore
d798f74a6e console: Schema Registry email alerts bug fix
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/9925
GitOrigin-RevId: 9b38a3ce347ed6d82c00303508fca0b0b9156706
2023-07-20 16:31:00 +00:00
Nicolas Inchauspe
b0c200d21b console: prevent local storage save when SQL query > 5000 characters
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/9921
GitOrigin-RevId: 9d7fee122bc06639461dd2484921c4e65f852816
2023-07-20 14:17:44 +00:00