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
Auke Booij
99f7a0fb87
Amend console assets versioning scheme for CE
...
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/5628
GitOrigin-RevId: 550cc987a7142f46f4c380d8217fe6ad8ce53fe9
2022-08-26 12:39:16 +00:00
Sooraj
4ad498cd22
console: add hook useOperationsFromQueryCollection
...
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/5606
GitOrigin-RevId: eab15cb6aa928c9a471100252b85a4ce85e25e05
2022-08-26 10:42:38 +00:00
Gil Mizrahi
a35bd278ad
server/postgres: fix string literals in arrays
...
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/5634
GitOrigin-RevId: 67970b0c0f10c187c1a4b97d457717e14fdbd2c8
2022-08-26 09:42:26 +00:00
Solomon
73276b008a
Parse dont validate dangerous boolean collapse
...
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/5642
GitOrigin-RevId: aecce571dcbb0672b708a746dfae9aa549547ecf
2022-08-26 04:38:41 +00:00
Rishichandra Wawhal
04a8bd8752
console: improve heap function name to add user properties
...
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/5637
GitOrigin-RevId: 756c206f7d864da4f8fd6415f9b35c30335e0848
2022-08-25 19:26:26 +00:00
Jesse Hallett
84fd5910b0
server: polymorphic codec for metadata sources
...
This PR expands the OpenAPI specification generated for metadata to include separate definitions for `SourceMetadata` for each native database type, and for DataConnector.
For the most part the changes add `HasCodec` implementations, and don't modify existing code otherwise.
The generated OpenAPI spec can be used to generate TypeScript definitions that distinguish different source metadata types based on the value of the `kind` properly. There is a problem: because the specified `kind` value for a data connector source is any string, when TypeScript gets a source with a `kind` value of, say, `"postgres"`, it cannot unambiguously determine whether the source is postgres, or a data connector. For example,
```ts
function consumeSourceMetadata(source: SourceMetadata) {
if (source.kind === "postgres" || source.kind === "pg") {
// At this point TypeScript infers that `source` is either an instance
// of `PostgresSourceMetadata`, or `DataconnectorSourceMetadata`. It
// can't narrow further.
source
}
if (source.kind === "something else") {
// TypeScript infers that this `source` must be an instance of
// `DataconnectorSourceMetadata` because `source.kind` does not match
// any of the other options.
source
}
}
```
The simplest way I can think of to fix this would be to add a boolean property to the `SourceMetadata` type along the lines of `isNative` or `isDataConnector`. This could be a field that only exists in serialized data, like the metadata version field. The combination of one of the native database names for `kind`, and a true value for `isNative` would be enough for TypeScript to unambiguously distinguish the source kinds.
But note that in the current state TypeScript is able to reference the short `"pg"` name correctly!
~~Tests are not passing yet due to some discrepancies in DTO serialization vs existing Metadata serialization. I'm working on that.~~
The placeholders that I used for table and function metadata are not compatible with the ordered JSON serialization in use. I think the best solution is to write compatible codecs for those types in another PR. For now I have disabled some DTO tests for this PR.
Here are the generated [OpenAPI spec](https://github.com/hasura/graphql-engine-mono/files/9397333/openapi.tar.gz ) based on these changes, and the generated [TypeScript client code](https://github.com/hasura/graphql-engine-mono/files/9397339/client-typescript.tar.gz ) based on that spec.
Ticket: [MM-66](https://hasurahq.atlassian.net/browse/MM-66 )
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/5582
GitOrigin-RevId: e1446191c6c832879db04f129daa397a3be03f62
2022-08-25 18:36:02 +00:00
Philip Lykke Carlsen
360786389e
refactor: Separate out TableInfo building
...
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/5635
GitOrigin-RevId: 2846a64a8e3b0f55bb302a969bcaedaf2e1cf1a5
2022-08-25 17:55:55 +00:00