Commit Graph

5009 Commits

Author SHA1 Message Date
Samir Talwar
6565c1430f Upgrade graphql-parser-hs.
This removes string interpolation from quasiquoted literals. We only use
this in one place and it's totally unnecessary.

PR-URL: https://github.com/hasura/graphql-engine-mono/pull/5750
GitOrigin-RevId: 3493a11db6347332e7e3721a7dca616947505be6
2022-09-05 09:14:36 +00:00
Daniel Chambers
97b0e4c591 Move Typescript types for Data Connector agent into their own package
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/5596
GitOrigin-RevId: c5da90eb4e61a9d9a5ddc34f7bfbaa2d00c698b8
2022-09-05 06:09:23 +00:00
David Overton
0b7353657c Push capabilities resolution code into BackendMetadata type class
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/5738
GitOrigin-RevId: 5c8e8232b8db67584d3f0a03987b97f0cce53a97
2022-09-05 02:44:10 +00:00
Solomon
36ddb267df Data Connectors: List Capabilties Metadata Endpoint
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/5723
GitOrigin-RevId: 2dcd3c102fd41073449ae719ab6fa39bfd76bba5
2022-09-02 17:51:19 +00:00
Rikin Kachhia
4dc1b796f0 console: allow resizing graphiql in api explorer (fix #8880)
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/5720
Co-authored-by: Vijay Prasanna <11921040+vijayprasanna13@users.noreply.github.com>
GitOrigin-RevId: 68aa04af4411b0a5f1a1d1211f0a1111d88068c0
2022-09-02 13:43:18 +00:00
Nicolas Beaussart
25938c68ba console: fix graphiql lint error not showing
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/5737
GitOrigin-RevId: d9cc4613133a888189149d4f36a25e13a6ec042c
2022-09-02 12:32:10 +00:00
Daniele Cammareri
bcd5851164 console: improve dropdown api
## Description 🔖

This PR improves the DropdownButton API to make it more generic.

- It has been renamed Dropdown.
- The children are rendered as the trigger. You can now use other elements than a Button
- an option prop has been added to control all the radix ui element
- a group class name has been added to the trigger so you can style it based on its state, using tailwindcss-radix plugin
- stories of dropdown button as styled in the Hasura design system has been added

PR-URL: https://github.com/hasura/graphql-engine-mono/pull/5733
GitOrigin-RevId: 4d292ffcbec93ebae525764431e92b5ed87cb5b5
2022-09-02 10:48:02 +00:00
Sooraj
71de2e0a35 console: add hooks required for operations CRUD
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/5670
Co-authored-by: Varun Choudhary <68095256+Varun-Choudhary@users.noreply.github.com>
GitOrigin-RevId: f9bf532689fd7fe8df6ca7abbd9d12c2a4c1320c
2022-09-02 10:20:11 +00:00
Nicolas Inchauspe
bd5c0c1f20 Docs/improve storybook docs
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/5680
GitOrigin-RevId: e0cc1686ce489142097ba1efdcb6f2ca8c65a093
2022-09-02 09:13:36 +00:00
awjchen
78cf1d544e server/pro: enable health check on data sources and report via logging and API
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/4868
Co-authored-by: Rakesh Emmadi <12475069+rakeshkky@users.noreply.github.com>
Co-authored-by: Sean Park-Ross <94021366+seanparkross@users.noreply.github.com>
GitOrigin-RevId: b8d43e3f7d977c4bb37b8506ac87ce7bf289d542
2022-09-02 06:34:29 +00:00
Daniele Cammareri
6cf337c0fa console: add tabs component
## Description 🔖

[VIDEO](https://www.loom.com/share/5844476e527f4e1d9ec296bc3a4bb932)

This PR creates a Tabs component that wraps the Radix UI component.

## Solution and Design 🎨

The component accepts all the props of the Radix UI tab root component and a list of items that specify the label and the content of the tabs. The component can be used in a controlled way (e.g., the state of the tab is stored in the URL) or uncontrolled.

For styling radix ui states I've added this library: https://github.com/ecklf/tailwindcss-radix

## Review Setup 💻

Run storybook and look for Tabs component

## Review checklist. 📋

- [ ] stories work
- [ ] doc is clear

PR-URL: https://github.com/hasura/graphql-engine-mono/pull/5667
GitOrigin-RevId: 0e73ef1026d6673c3c2dd413b986fa8395abb1f6
2022-09-01 21:25:09 +00:00
Brandon Simmons
6e578f229a server/ci/benchmarks: incorporate ad-hoc queries into benchmark reports
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/5704
GitOrigin-RevId: e09406170e1245ceeb3be51f498159f76af4f4bf
2022-09-01 20:48:13 +00:00
Daniele Cammareri
2e83b22591 console: add components to manage query collections
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/5658
GitOrigin-RevId: a962f85e53396cd1d2cd64f46b91d3c042641ab3
2022-09-01 18:32:17 +00:00
Brandon Simmons
6ab128a7e3 server/benchmarks: report response body size changes in PR regression comment
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/5705
GitOrigin-RevId: 76c355f5ce6872a2bfd6c9b17a766a3c974445db
2022-09-01 17:25:10 +00:00
Vijay Prasanna
6b90b7e1d2 feature (console): UI to manage to DC agents
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/5652
Co-authored-by: Matt Hardman <28978422+mattshardman@users.noreply.github.com>
GitOrigin-RevId: f0f21a680401fb339583c2365da8e0ded6a5ce55
2022-09-01 15:23:01 +00:00
hasura-bot
60e62165cd docs: streaming subscription example close #8552
GITHUB_PR_NUMBER: 8706
GITHUB_PR_URL: https://github.com/hasura/graphql-engine/pull/8706

PR-URL: https://github.com/hasura/graphql-engine-mono/pull/5119
Co-authored-by: skovati <49844593+skovati@users.noreply.github.com>
GitOrigin-RevId: 8554d80e1b316182885d0be5a5d00c184ab8ca10
2022-09-01 14:51:39 +00:00
Sooraj
f1c9bb4679 console: fix monitoring tab visibility across different console runtimes
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/5706
GitOrigin-RevId: f5f4f582bb2bedcc6cef6a60ca41287beea40751
2022-09-01 14:26:05 +00:00
Rob Dominguez
ee0b447cd5 docs: update contributing guides
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/5703
GitOrigin-RevId: ab94acb82739b132a6685c1b030bde2d37541ab9
2022-09-01 13:54:20 +00:00
Luca Restagno
d245fd5bec console: refactor filter section components
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/5707
GitOrigin-RevId: 49019c80ff52f93d57fe4ec066687b605bdaacc2
2022-09-01 13:34:36 +00:00
hasura-bot
7f12f2c5c8 community: add streaming chat hostname env variable to streaming chat sample app
GITHUB_PR_NUMBER: 8831
GITHUB_PR_URL: https://github.com/hasura/graphql-engine/pull/8831

PR-URL: https://github.com/hasura/graphql-engine-mono/pull/5579
Co-authored-by: arjunyel <11153289+arjunyel@users.noreply.github.com>
GitOrigin-RevId: 3095f457a1e1043ffa23e5928cd944193b185c09
2022-09-01 12:36:36 +00:00
Vishnu Bharathi
62888e74ef docs: deprecate changelog file and add missing link
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/5714
GitOrigin-RevId: 1816440071e1817e07e7cd58a9ed20866351a14e
2022-09-01 12:31:29 +00:00
Rikin Kachhia
9be022cf12 docs: update multiple updates section
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/5672
GitOrigin-RevId: c9e85579780c54b2a25c9c0d948de674fe024d3d
2022-09-01 09:24:09 +00:00
Varun Choudhary
e0c9e2802c console: develop carded table for role based allow list permission
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/5648
Co-authored-by: Daniele Cammareri <5709409+dancamma@users.noreply.github.com>
GitOrigin-RevId: c1cdd6899e5c50032e097496696097874f5abfd5
2022-09-01 08:05:20 +00:00
David Overton
00aeb57adf Add data connector agent capabilities schema cache
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/5689
GitOrigin-RevId: 86e18e92106e5e5b6543f17fc21e2ab65bdd69ed
2022-09-01 05:29:04 +00:00
Daniel Chambers
9ef243f0b2 Fixed Constraint's foreign table not being typed with TableName in Data Connector API
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/5687
GitOrigin-RevId: 5f616e65c493e640770d0b53f265bd2b62ad9369
2022-09-01 00:52:35 +00:00
hasura-bot
1e8b2d74ec docs: fix typo in server config reference document
GITHUB_PR_NUMBER: 8897
GITHUB_PR_URL: https://github.com/hasura/graphql-engine/pull/8897

PR-URL: https://github.com/hasura/graphql-engine-mono/pull/5701
Co-authored-by: Ryohei KOMATSUYAMA <54347899+kmtym1998@users.noreply.github.com>
GitOrigin-RevId: 62eba310c0019437b2fa888970b9482a8a2ad468
2022-08-31 21:26:51 +00:00
Vijay Prasanna
3bd9b14a2d feature (console/gdc): support for array type inputs in the dynamic connect db form
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/5600
Co-authored-by: Matt Hardman <28978422+mattshardman@users.noreply.github.com>
GitOrigin-RevId: bafc390bbceb1795931361b6dedbbbde3969de9f
2022-08-31 21:22:08 +00:00
Rob Dominguez
8e98a2f975 docs: create new structure for ee docs
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/5414
Co-authored-by: Nithin <36623418+nithindv@users.noreply.github.com>
Co-authored-by: Sean Park-Ross <94021366+seanparkross@users.noreply.github.com>
Co-authored-by: Rikin Kachhia <54616969+rikinsk@users.noreply.github.com>
GitOrigin-RevId: a9a7e24d3e63e4f5df979cf1eb56308067be49b4
2022-08-31 16:17:49 +00:00
Nicolas Beaussart
fae212ddc1 console: change image import manner
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/5698
GitOrigin-RevId: f9b444f7af9a5113d97470fff4349a940d6fbeae
2022-08-31 15:43:41 +00:00
Vishnu Bharathi
517376f12a ci: tag release v2.11.1
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/5697
GitOrigin-RevId: e0150a9326ad87f8981baca2bb45da96b6f30784
2022-08-31 14:17:54 +00:00
Samir Talwar
175a9ee8ba Upgrade unordered-containers to the latest version.
This includes TH.Lift instances.

I am motivated to make this change because `unordered-containers` is set to either v0.2.17.0 or v0.2.19.1 in nixpkgs-unstable.

PR-URL: https://github.com/hasura/graphql-engine-mono/pull/5620
GitOrigin-RevId: 7fd3024fdbf6a948adbdf5f4187d47d5da9acbda
2022-08-31 09:50:40 +00:00
Stefano Magni
d864bed4f4 console: Setup cypress on the Nx monorepo (close #5463)
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/5675
GitOrigin-RevId: b320b6f5bb092d20a4de8e51f6711323dd2b0a05
2022-08-31 09:04:45 +00:00
Stefano Magni
5764174087 test(console): Skip a lot of flaky E2E tests
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/5535
GitOrigin-RevId: 0544edf4d8fdd1a6a8cc326a8b107ee47d2389c3
2022-08-31 08:02:51 +00:00
Daniel Chambers
d5af9dfa05 Fixed SQLite agent health endpoint
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/5688
GitOrigin-RevId: 17813d348cd37e379daaebf4854daf0ae2c51b1a
2022-08-31 05:11:50 +00:00
Luca Restagno
f49b240a39 fix(cockroach): fix typo in the schema list sql
This PR includes a single missing quote `'` in a SQL statement used to retrieve the schemas of a CockroachDB instance.

PR-URL: https://github.com/hasura/graphql-engine-mono/pull/5678
GitOrigin-RevId: 5a56ead2cbf7edbba822b0e565ca5f225c7ac92e
2022-08-30 15:33:23 +00:00
Philip Lykke Carlsen
b0d2262b20 Let the same SQL function serve as both a computed field and as a root field (fixes hasura/graphql-engine#8643)
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/5676
GitOrigin-RevId: f891e4172504897bb125bb1e524dc75b11e319c1
2022-08-30 15:00:45 +00:00
Shahidh K Muhammed
964dec9fb3 docs: add dedicated vpc docs for gcp
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/5560
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: Sean Park-Ross <94021366+seanparkross@users.noreply.github.com>
Co-authored-by: Rikin Kachhia <54616969+rikinsk@users.noreply.github.com>
GitOrigin-RevId: 811e49ca8c4a0b6d44fad4f965b0f3688384c6da
2022-08-30 12:23:25 +00:00
Luca Restagno
6648466a3f console: support CockroachDB
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/5549
Co-authored-by: Erik Magnusson <32518962+ejkkan@users.noreply.github.com>
GitOrigin-RevId: 5d002fea801e554284410702c95a6bbd092a38f8
2022-08-30 12:19:51 +00:00
Daniel Harvey
2e2b894ed3 tests: log everything posted to HGE in hspec tests
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/5636
GitOrigin-RevId: d6bc47857e3ad3c6a995284ba6756a643cfb9c4c
2022-08-30 08:54:04 +00:00
Nicolas Inchauspe
b53cc2e81c console: add storybook and tailwind to console-legacy-oss
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/5590
GitOrigin-RevId: 911fa2b8f59383fc10a08afac3138aacfe0927d3
2022-08-30 08:04:31 +00:00
Solomon
ba86adf224 Adds GetSourceSchema API - GDW-128
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/5655
GitOrigin-RevId: 1589930f15450b7b5b4762c17430c6d401f1751c
2022-08-29 23:52:47 +00:00
Karthikeyan Chinnakonda
fde727704d document the customization of the _stream root field
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/5660
GitOrigin-RevId: 3694428c80843a582678b57352601adc3fff5429
2022-08-29 15:17:20 +00:00
Brandon Simmons
da1d580d3d ci: Fix Benchmark regression reporting for empty reports (exposed after #5517)
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/5638
GitOrigin-RevId: d2a8e21408919556ebb89fb273f7067e955035fe
2022-08-29 08:59:24 +00:00
Varun Choudhary
7773687528 console: add hook useEnabledRoleFromAllowList
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/5645
GitOrigin-RevId: 9484f4512839b3790f56110800dab590c996eece
2022-08-29 08:11:39 +00:00
Vishnu Bharathi
d5b356c53f ci: tag release v2.11.0 and v2.12.0-beta.1
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/5657
GitOrigin-RevId: 5349e548062bfb045d619c57f80bba34c5c2827e
2022-08-29 07:16:49 +00:00
Vishnu Bharathi
c60aed3e36 ci: changes for enabling the release of EE lite
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/5528
GitOrigin-RevId: d32439aa921202d88f709df44d1d3ebfba2fff02
2022-08-29 05:20:24 +00:00
Lyndon Maydwell
88c5b14c3d Adding EXPLAIN endpoint capability and implementation for SQLite data connector agent GDW-181
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/5603
GitOrigin-RevId: b9255d265ceb88d96643c95f409387fb93df6676
2022-08-29 03:40:16 +00:00
Solomon
033b00d091 Replace BackendSourceMetadata type alias with a newtype
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/5654
GitOrigin-RevId: 89697c8838a7cd6d6de7a2cced5c651bac63fc63
2022-08-29 00:59:18 +00:00
Solomon
18f9bf481c Fix GDC Metadata API Tests and Typescript Code Generation
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/5624
GitOrigin-RevId: a595aeb94971a5ee4968b403af4670e06684b708
2022-08-29 00:21:26 +00:00
Matt Hardman
54546fcc6b console: add gdc db connect form behind feature flag
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/5570
Co-authored-by: Vijay Prasanna <11921040+vijayprasanna13@users.noreply.github.com>
GitOrigin-RevId: 606fabc5a7081c2b1139d7d31ff0741036039aeb
2022-08-26 13:14:49 +00:00