Philip Lykke Carlsen
d43a30e8fc
feat(tests): Introduce AggregationPredicatesSpec
...
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/5686
GitOrigin-RevId: 85b39ad569180929e5620c45bf9a98ef6ee99d42
2022-09-07 12:10:52 +00:00
Philip Lykke Carlsen
8bc34e12e3
refactor(tests): Remove use of unsafeCoerce
...
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/5682
GitOrigin-RevId: 78ac1482977f427148e7675e45ff9c515db02b68
2022-09-07 11:22:14 +00:00
Daniel Harvey
bf91655c30
tests: allow skipping test suites using a Fixture option
...
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/5773
GitOrigin-RevId: 4ff0f18e96313ce5c0ceb5a284e382a70ed0b9b4
2022-09-07 09:17:22 +00:00
Daniel Harvey
7d86a5d231
tests: use newest CockroachDB image in docker-compose.yml
...
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/5764
GitOrigin-RevId: 36e3043c80bbda09c69e9b34ef14c64993d89662
2022-09-07 06:17:03 +00:00
Lyndon Maydwell
cd6fe41b99
SQLite Data Connectors HSpec Tests - GDW-183
...
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/5731
GitOrigin-RevId: 0af22a85bd6b1cb8888562e05cde640047e56b41
2022-09-07 03:43:32 +00:00
kodiakhq[bot]
36860c8fb2
ci/benchmarks: fix division-by-zero in report generation, after e09406170e1
...
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/5775
GitOrigin-RevId: 5cd641f23ffe1929c47568a04746ef507c8c5874
2022-09-06 20:29:22 +00:00
Antoine Leblanc
512a4dbb92
Use a different reader context for sources and remote schemas with new SchemaT monad.
...
### Description
This PR changes all the schema code to operate in a specific `SchemaT` monad, rather than in an arbitrary `m` monad. `SchemaT` is intended to be used opaquely with `runSourceSchema` and `runRemoteSchema`. The main goal of this is to allow a different reader context per part of the schema: this PR also minimizes the contexts. This means that we no longer require `SchemaOptions` when building remote schemas' schema, and this PR therefore removes a lot of dummy / placeholder values accordingly.
### Performance and stacking
This PR has been through several iterations. #5339 was the original version, that accomplished the same thing by stacking readers on top of the stack at every remote relationship boundary. This raised performance concerns, and @0x777 confirmed with an ad-hoc test that in some extreme cases we could see up to a 10% performance impact. This version, while more verbose, allows us to unstack / re-stack the readers, and avoid that problem. #5517 adds a new benchmark set to be able to automatically measure this on every PR.
### Remaining work
- [x] a comment (or perhaps even a Note?) should be added to `SchemaT`
- [x] we probably want for #5517 to be merged first so that we can confirm the lack of performance penalty
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/5458
GitOrigin-RevId: e06b83d90da475f745b838f1fd8f8b4d9d3f4b10
2022-09-06 16:49:23 +00:00
Lyndon Maydwell
77789e303f
Kriti Documentation
...
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/5230
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>
GitOrigin-RevId: dea3876b74f822ffe080933c6b9814f544fc968d
2022-09-06 15:47:18 +00:00
Daniele Cammareri
af08d80b49
console: add allow list management hooks
...
## Description 🔖
This PR add 2 hooks required for the new allow list manager
- useAddCollectionToAllowList
- useRemoveCollectionFromAllowList
and integrate them into the QueryCollectionHeader component.
I also moved QueryCollectionHeader component under QueryCollections folder
## Review Setup 💻
- [ ] Run Storybook
## Review checklist. 📋
- [ ] Check useAddToAllowList hook story
- [ ] Check useRemoveFromAllowList hook story
- [ ] Check QueryCollectionHeader story
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/5771
GitOrigin-RevId: aaee4a44602a54e374522924d8e3afe7e837d2c7
2022-09-06 15:03:38 +00:00
Auke Booij
6d84d1b78f
Improve error reporting by tracking more Metadata origins
...
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/5740
GitOrigin-RevId: 555de02a370b1dfa9cf5e903bb5c3f4b4c3e8465
2022-09-06 14:19:48 +00:00
hasura-bot
432c481c9c
console: allow editing comments on views ( fix #8846 )
...
GITHUB_PR_NUMBER: 8847
GITHUB_PR_URL: https://github.com/hasura/graphql-engine/pull/8847
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/5625
Co-authored-by: Gordan Nekić <48327736+gnekich@users.noreply.github.com>
GitOrigin-RevId: e54b3024533dab51231e2a9ac578c115d4a21dcb
2022-09-06 14:19:40 +00:00
Daniel Harvey
ff25d27ab1
tooling: bump .nvmrc version to 16
...
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/5765
GitOrigin-RevId: ef7c490fb802dcf183111e9d9664c1ee558b03fb
2022-09-06 11:23:56 +00:00
Praveen Durairaju
b0a79c05cf
architecture: add streaming subscriptions
...
>
## Description ✍️
This PR adds the architecture deep dive of streaming subscriptions and benchmarks for up to 1M active subscriptions.
### Kodiak commit message
Information used by [Kodiak bot](https://kodiakhq.com/ ) while merging this PR.
#### Commit title
architecture: add streaming subscriptions
#### Commit body
(Append below if you want to add something to the commit body)
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/5576
Co-authored-by: Tanmai Gopal <131160+coco98@users.noreply.github.com>
GitOrigin-RevId: 72c37f3e33a4483dcd12a6c1d7830a8c62d6185f
2022-09-06 10:54:35 +00:00
Erik Magnusson
338ad4ed9a
console: create new DataGrid component to replace the current Redux dependent one
...
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/5727
Co-authored-by: Luca Restagno <59067245+lucarestagno@users.noreply.github.com>
GitOrigin-RevId: 8cfb75fd3b2f85e7534c0daa60e72387d40f5dd1
2022-09-06 10:01:07 +00:00
Daniele Cammareri
90b5334535
console: add query operations list
...
## Description 🔖
[VIDEO](https://www.loom.com/share/0c264d45af364708a98f4f68f025db96 )
[JIRA TICKET](https://hasurahq.atlassian.net/browse/GS-78?atlOrigin=eyJpIjoiMDM5YTZhZDA0MTViNDhjMGI4MjlkY2M3OTAwMjZiN2EiLCJwIjoiaiJ9 )
This PR add the component with the list of operations of a query collection.
![image](https://user-images.githubusercontent.com/5709409/188416295-cada64ca-dfd8-4e77-82ef-1736da810146.png )
Some features are missing because they will be added in the console integration
- the edit modal (developed in this [PR](https://hasurahq.atlassian.net/browse/GS-78?atlOrigin=eyJpIjoiMDE4MzQ2ODExOGE0NDk3Y2E3ZTJhNGE0MTYwYmZhNWEiLCJwIjoiaiJ9 )
- the global success and error notifications (for this PR I've put some TODO comments)
## Review Setup 💻
- [ ] use the component in storybook, as shown in the video
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/5754
GitOrigin-RevId: c0984e6e5fea0ca0f0caeffa0d6da59eed2d5406
2022-09-06 07:50:34 +00:00
David Overton
602025cc22
Fix DateTimes in expected test output
...
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/5762
GitOrigin-RevId: 6a912a01b22604f97f966dd8a8777bf864bdc88b
2022-09-06 07:00:33 +00:00
Vijay Prasanna
57471026c7
fix (console): make the new tree nav compatible with GDC tables
...
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/5716
Co-authored-by: Matt Hardman <28978422+mattshardman@users.noreply.github.com>
GitOrigin-RevId: 66e3062dedc05a15e7d46f65e9f901cc6094de0d
2022-09-06 05:50:30 +00:00
David Overton
f4419236ed
Gdc capabilities scalar types - GDW-87
...
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/5597
GitOrigin-RevId: 4f561bf476266955d7b1d3dbca4d406a97bf8b34
2022-09-06 04:26:03 +00:00
Philip Lykke Carlsen
bb2c704c6d
refactor(tests): Rename monad types
...
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/5683
GitOrigin-RevId: 3d0a3f327eb069fdeb5339981dd5022d8f48699a
2022-09-05 16:29:20 +00:00
Rikin Kachhia
338d96dbd6
docs: fix formatting issues
...
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/5758
GitOrigin-RevId: aef11aa94a1af559d1d68aa85b521990507ce9a3
2022-09-05 15:44:47 +00:00
Nicolas Beaussart
ad18266a3c
frontend: dev server config
...
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/5668
Co-authored-by: Nicolas Inchauspe <710410+nicoinch@users.noreply.github.com>
GitOrigin-RevId: c4915e445be9d95bcb4c76679f534ea80d52e3d3
2022-09-05 15:37:05 +00:00
Daniel Harvey
4964ddc6e9
server: skip SOH
header in FromCol EncJSON instance
...
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/5710
GitOrigin-RevId: 6065c5b378cd458ad7ea05ce5ca5ff3cee5b13a7
2022-09-05 15:04:32 +00:00
Vijay Prasanna
c90cccf83e
refactor (console): move new metadata types to MetadataAPI library
...
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/5666
GitOrigin-RevId: 48310de6ab6bbf9acde6340a627078f951245a8a
2022-09-05 13:32:45 +00:00
Tom Harding
136349a70a
Tidy up simple object query tests, match fixtures to docs
...
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/5752
GitOrigin-RevId: 2e308504a188745ad5714d60d0fe449a65d6f950
2022-09-05 11:09:38 +00:00
Tom Harding
2ac1680817
Update primary key hspec tests to match the docs, add failure cases
...
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/5753
GitOrigin-RevId: ac3070b6a5dbfecdabead209a5f4ee7daa948066
2022-09-05 10:37:09 +00:00
Samir Talwar
52a77a0bfe
Add a missing changelog entry for error message changes to v2.10.0.
...
## Changelog
This is the only change; please take a look.
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/5713
GitOrigin-RevId: fbc527ebc8dc78e98841c9b67e90f9e7f2102abb
2022-09-05 09:41:06 +00:00
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