Commit Graph

7723 Commits

Author SHA1 Message Date
paritosh-08
38b2b2f253 docs: remote relationship predicate in permission
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/10168
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: b09c3ceabc88588c0b6e8f64db3c3177c7984fb1
2023-08-23 12:12:30 +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
Brandon Simmons
5d96d9836b server: more refactoring for INFRA-832
No functional changes.  DRY the otlp http client code, in preparation for reuse in logs exporter code.

PR-URL: https://github.com/hasura/graphql-engine-mono/pull/10171
GitOrigin-RevId: c13c587d6d4775e992642a79c798193762efa527
2023-08-23 10:24:29 +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
Ananya Mohanty
bc8e16fe75 ci: tag release v2.33.0-beta.1
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/10177
GitOrigin-RevId: cac1651dbef1b66e0b24f5964d7e245ea4250477
2023-08-23 08:12:10 +00:00
Ananya Mohanty
2d5f73e366 ci: tag release v2.32.1
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/10175
GitOrigin-RevId: 75a434783935eda19db574b1c50a7e742dedcd19
2023-08-23 07:13:08 +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
Sean Park-Ross
27c19d313c Docs: Remove Docker mentions from Scheduled Triggers recipes using Docs Sample App
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/10170
GitOrigin-RevId: f62173351c04a2d7cbd9cf3d92c9a191591be1bf
2023-08-22 15:42:34 +00:00
paritosh-08
e1cfc56fc3 server: add remote source relationship in permission
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/9575
GitOrigin-RevId: 4566d51d48f9ace583b04fbe04c534d6aeb771ea
2023-08-22 14:35:14 +00:00
Sean Park-Ross
5aa891cd06 Docs: update image width specification in wiki
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/10169
Co-authored-by: Rob Dominguez <24390149+robertjdominguez@users.noreply.github.com>
GitOrigin-RevId: 305dc9c9f06e1f9b1d3b23392e07a559d6cb4412
2023-08-22 13:36:57 +00:00
Rob Dominguez
484f5fe9b6 docs: update expiration recipe to match new schema
[DOCS-1196]: https://hasurahq.atlassian.net/browse/DOCS-1196?atlOrigin=eyJpIjoiNWRkNTljNzYxNjVmNDY3MDlhMDU5Y2ZhYzA5YTRkZjUiLCJwIjoiZ2l0aHViLWNvbS1KU1cifQ

PR-URL: https://github.com/hasura/graphql-engine-mono/pull/10160
GitOrigin-RevId: bec5c163167141414b170430c4867141749a88fe
2023-08-22 13:02:25 +00:00
Rob Dominguez
f63845b436 docs: update csv import docs
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/10164
GitOrigin-RevId: fa6f087b5ef222c4f6f64bf243076a09d862a938
2023-08-22 12:50:55 +00:00
Rob Dominguez
b06b04a426 docs: update abandoned cart recipe to match new schema
[DOCS-1196]: https://hasurahq.atlassian.net/browse/DOCS-1196?atlOrigin=eyJpIjoiNWRkNTljNzYxNjVmNDY3MDlhMDU5Y2ZhYzA5YTRkZjUiLCJwIjoiZ2l0aHViLWNvbS1KU1cifQ

PR-URL: https://github.com/hasura/graphql-engine-mono/pull/10159
Co-authored-by: Sean Park-Ross <94021366+seanparkross@users.noreply.github.com>
GitOrigin-RevId: a364506822d2510593812cf10d7c82e109359ca9
2023-08-22 12:45:07 +00:00
Daniel Harvey
f4c9c16f0e chore(server): add Table -> NQ array relationships
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/10150
GitOrigin-RevId: fc4ea33b1951cb960187bb53d4c3ef8471566dc9
2023-08-22 12:39:49 +00:00
Rob Dominguez
6f4f5f9748 docs: udpate otel admonitions
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/10166
GitOrigin-RevId: fe345b223587e81e80db66a5dd0464e82302a6c2
2023-08-22 12:09:56 +00:00
Rob Dominguez
3b62671a48 docs: update daily summary recipe to match new schema
[DOCS-1196]: https://hasurahq.atlassian.net/browse/DOCS-1196?atlOrigin=eyJpIjoiNWRkNTljNzYxNjVmNDY3MDlhMDU5Y2ZhYzA5YTRkZjUiLCJwIjoiZ2l0aHViLWNvbS1KU1cifQ

PR-URL: https://github.com/hasura/graphql-engine-mono/pull/10158
GitOrigin-RevId: 4786c43715ec53cdebc671b95443956fa8be46d1
2023-08-22 11:49:33 +00:00
Vijay Prasanna
15f25ed978 console: update docs to match the new relationships UI
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/10087
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
GitOrigin-RevId: 8f88ec9ecbc872355cb7d50894a47b034b48439f
2023-08-22 04:57:07 +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
Toan Nguyen
f35372dc97 docs: get started with kubernetes and helm
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/9982
Co-authored-by: Sean Park-Ross <94021366+seanparkross@users.noreply.github.com>
GitOrigin-RevId: efaf375314f23b91b7faa32bf85083efc55e7ca4
2023-08-21 14:26:24 +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
Rob Dominguez
7bfb3b6169 docs: update produce review request email
[DOCS-1196]: https://hasurahq.atlassian.net/browse/DOCS-1196?atlOrigin=eyJpIjoiNWRkNTljNzYxNjVmNDY3MDlhMDU5Y2ZhYzA5YTRkZjUiLCJwIjoiZ2l0aHViLWNvbS1KU1cifQ

PR-URL: https://github.com/hasura/graphql-engine-mono/pull/10146
GitOrigin-RevId: c6a08396ffb5437c8d779ba2b2ffabbd3c5c645b
2023-08-21 12:34:24 +00:00
Toan Nguyen
7f48bb9df6 docs: update observability best practices
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/10115
GitOrigin-RevId: 6f0d8278265724d18a9e1ff90a2ce67c2e8efd5c
2023-08-21 12:28:40 +00:00
Rob Dominguez
c9a061918f docs: update vpc peering
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/10151
GitOrigin-RevId: 7256371a3bfc05be0dad641c5857561c3feb6807
2023-08-21 11:48:29 +00:00
Nithin
baa7002b81 docs: add azure dvpc & peering docs
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/10141
Co-authored-by: Rob Dominguez <24390149+robertjdominguez@users.noreply.github.com>
GitOrigin-RevId: 85bd7958ab05534d3ef7cc9b5076c904024de432
2023-08-21 11:33: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
Manas Agarwal
bdd25f65a5 cli: Adding support for Snowflake UDF
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/9545
GitOrigin-RevId: eda0546349a74d5827d924d83bde10b6ab720de4
2023-08-19 09:25:17 +00:00
Rob Dominguez
60593d070b docs: updates to quickstarts after sample app schema change
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/10142
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
GitOrigin-RevId: 846156aa30c24147ff9dee9d43daf604277a1be4
2023-08-18 17:22:47 +00:00
Shahidh K Muhammed
99ceb06f30 docs: update ee page to indicate metrics are also available over otel
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/10144
GitOrigin-RevId: a4e746d638d0ebce7609247dc255d3100d26e257
2023-08-18 17:17:28 +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
Tom Harding
e36985ed67 Describe the minimum IAM permissions for BigQuery
[NDAT-802]: https://hasurahq.atlassian.net/browse/NDAT-802?atlOrigin=eyJpIjoiNWRkNTljNzYxNjVmNDY3MDlhMDU5Y2ZhYzA5YTRkZjUiLCJwIjoiZ2l0aHViLWNvbS1KU1cifQ

PR-URL: https://github.com/hasura/graphql-engine-mono/pull/10117
GitOrigin-RevId: 290406c5c44f4642d3a8a5b1e56dc894961a4e3e
2023-08-18 13:08:22 +00:00
Tom Harding
32ef306e99 Describe minimum role permissions for Postgres
[NDAT-802]: https://hasurahq.atlassian.net/browse/NDAT-802?atlOrigin=eyJpIjoiNWRkNTljNzYxNjVmNDY3MDlhMDU5Y2ZhYzA5YTRkZjUiLCJwIjoiZ2l0aHViLWNvbS1KU1cifQ

PR-URL: https://github.com/hasura/graphql-engine-mono/pull/10116
GitOrigin-RevId: f7ab5347f0837c55db69714172196411d2f580f2
2023-08-18 11:26:29 +00:00
Tom Harding
ec8e1bbc45 Describe minimum role permissions for MSSQL
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/10122
GitOrigin-RevId: 0d60c402855924753075b69b5670765eecd91f52
2023-08-18 11:18:01 +00:00
kodiakhq[bot]
7258c0ccdc INFRA-832: incremental refactoring PR 2
Some refactorings required for https://hasurahq.atlassian.net/browse/INFRA-832 . No functional changes.

Also included is a small but important un-related bug fix

PR-URL: https://github.com/hasura/graphql-engine-mono/pull/10136
GitOrigin-RevId: 5468c5b5b1693c0c3b8781c9fa47191ad66fefca
2023-08-18 10:57:58 +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
Daniel Chambers
c726b528c4 Add table/function filtering and detail level to schema introspection for Data Connectors to improve performance
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/10074
GitOrigin-RevId: 12de7387746f456cbefd9f76e446f56e9e643dc9
2023-08-18 04:29:17 +00:00
Sean Park-Ross
d141303da3 Docs: Fix incorrect column operators
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/10105
GitOrigin-RevId: b2fcf8117eeba592b5c73c0b8adc69d6ab2cdb35
2023-08-17 16:23:06 +00:00
Rikin Kachhia
36bd4bf3ac ci: update latest stable release as v2.32.0
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/10134
GitOrigin-RevId: cb07b817273adba6226cd7fbe1ad2f696a459b69
2023-08-17 16:16:11 +00:00
Daniel Harvey
f8d60a74a0 chore(server): Table -> Native Query object relationships
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/10114
GitOrigin-RevId: 0181184d1bc0e851151f86a98c96c97888a10e3e
2023-08-17 15:35:31 +00:00
Brandon Martin
334a133573 Initial Clickhouse documentation
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/10104
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: 836b823c13f62d9cfd7e1c1e6bcbfdd0c8f88b40
2023-08-17 14:58:17 +00:00
Brandon Martin
0902cddd5f Initial advanced config for data connectors
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/10091
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: a74bb822338b5f738884958fd4abaebf8d3a1925
2023-08-17 14:52:44 +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
Sean Park-Ross
ed8eeec59d Docs: Add ##Introduction where appropriate
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/10132
GitOrigin-RevId: 3b89a304c7c66d2a520b6c02478b4f6698d7bb1f
2023-08-17 14:00:18 +00:00
Samir Talwar
15ac52ded4 server: Fix the Analyze feature for SQL Server.
The "Analyze" feature for SQL Server only partially worked. It would show the SQL generated, but not the execution plan. This is because SQL Server doesn't support generating a plan for prepared statements with parameters.

To work around this, we restructure the query as one without parameters. Instead, we replace each parameter with a variable. We declare the variables but don't set values. We then plan _that_, which works.

We run all this in a single query because local variables only last for a single transaction/batch.

This feature does not work for stored procedures.

[NDAT-582]: https://hasurahq.atlassian.net/browse/NDAT-582?atlOrigin=eyJpIjoiNWRkNTljNzYxNjVmNDY3MDlhMDU5Y2ZhYzA5YTRkZjUiLCJwIjoiZ2l0aHViLWNvbS1KU1cifQ

PR-URL: https://github.com/hasura/graphql-engine-mono/pull/10125
GitOrigin-RevId: a4b45b9b207456ff4fbd1b69b008e93f87346342
2023-08-17 12:51:57 +00:00
Divi
c2dd8ddc59 ci: tag release v2.32.0
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/10129
GitOrigin-RevId: b14bf0553e5e20558dd7ab5ae2373efcd1f368c1
2023-08-17 10:06:58 +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
Lyndon Maydwell
670509055b Fixing agent documentation for interpolated queries text format
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/10127
GitOrigin-RevId: 0c52418a54f27cc66d1e240269a130968aae26fb
2023-08-17 04:35:57 +00:00
Amit
d6b0a9cdb1 Corrected typo - configure-alerts.mdx
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/10124
GitOrigin-RevId: e285f7f57a0909a9bda95a23e22029569b60eae5
2023-08-17 02:11:10 +00:00