Commit Graph

1186 Commits

Author SHA1 Message Date
Rishichandra Wawhal
37443b299d console: adds hidden oauth flow for Neon Integration
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/5855
Co-authored-by: Abhijeet Khangarot <26903230+abhi40308@users.noreply.github.com>
GitOrigin-RevId: 57c884b215ff278d9cec279ab6f802a1242d06b9
2022-09-19 11:44:54 +00:00
Erik Magnusson
fed59e2a6c refactor (console/browse-rows): useRows hook that fetches table rows for a pg tables
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/5732
Co-authored-by: Vijay Prasanna <11921040+vijayprasanna13@users.noreply.github.com>
GitOrigin-RevId: 136d6a79bf742805572a4874b64c393156f4c72f
2022-09-19 09:21:21 +00:00
Vijay Prasanna
854edd07c4 feature (console): update gdc methods to fetch config schema from metadata API
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/5875
GitOrigin-RevId: e0f0a5c17251fbdab4955cfc1abc2ba3fc4e27b5
2022-09-19 08:24:51 +00:00
Daniele Cammareri
df06d5cb0c console: new remote schema preview tab
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/5896
GitOrigin-RevId: 43c2a1b1331c58ad502c3da1ea87e29df6d9ab8c
2022-09-19 07:48:16 +00:00
Daniele Cammareri
f34bd93e9c console: remove allow list feature flag
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/5889
GitOrigin-RevId: b9a3bab2bd83edb94137603850b405df1766e43b
2022-09-18 15:39:51 +00:00
Matt Hardman
35873b1897 console: create new form component without using forwardRef
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/5755
GitOrigin-RevId: 9078553499377484b15d53bfbe0c19eaee9a376a
2022-09-16 10:50:07 +00:00
Karthikeyan Chinnakonda
cb2349d5a0 server, pro server, console: provide an option to not include rows count while fetching scheduled events
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/5650
Co-authored-by: Varun Choudhary <68095256+Varun-Choudhary@users.noreply.github.com>
Co-authored-by: Daniele Cammareri <5709409+dancamma@users.noreply.github.com>
GitOrigin-RevId: 8a55f3ca52cfbda4d4e75372b813b7acd421eabb
2022-09-15 19:12:04 +00:00
Abhijeet Khangarot
6762e7b28c pro-console: integrate survey form in pro console
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/5854
GitOrigin-RevId: 69904a84bd823db0000f3c81ed297d1006d785af
2022-09-15 18:02:13 +00:00
Stefano Magni
a0f4f00bfd console: Add Sentry
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/5699
Co-authored-by: Rishichandra Wawhal <27274869+wawhal@users.noreply.github.com>
Co-authored-by: Daniel Harvey <4729125+danieljharvey@users.noreply.github.com>
GitOrigin-RevId: 00f2c5d25012b21f4e8763ef578598a3a11896e4
2022-09-15 17:00:44 +00:00
Daniel Harvey
913f3f12e4 console: use query/v2 endpoint to run sql for CockroachDB
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/5879
GitOrigin-RevId: f90fee0a646b540402eb501b790d2e0c0b09373b
2022-09-15 14:32:58 +00:00
Varun Choudhary
8bc3b27bb1 console: fix loading state while modifying/creating rest endpoint
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/5870
GitOrigin-RevId: baa5d82b327f8aa0b4bc3e9c64047d21e8c41b95
2022-09-15 08:38:39 +00:00
Daniele Cammareri
85d5082322 console: add new allow list manager under feature flag
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/5816
GitOrigin-RevId: e240a08524ad688d36d362d2be03697b7889fd7f
2022-09-15 08:04:56 +00:00
Luca Restagno
ee52fd5d2c console: remove CockroachDB from the connect db form
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/5878
GitOrigin-RevId: b3db0e459735982c5525e1415810b05152fb016a
2022-09-14 15:30:43 +00:00
Luca Restagno
82528f515c console: set big query as GA release type
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/5864
GitOrigin-RevId: a4825fe4d41f99b62c7f52430eb46ae68b7ab18b
2022-09-14 14:08:07 +00:00
Rikin Kachhia
255310f9ed console: show cache button in EE console
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/5840
GitOrigin-RevId: 3ba01eaa04ae66ee62b60403643e71bb720f961a
2022-09-14 13:36:37 +00:00
Stefano Magni
0f665279bd console: improve is_generated types
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/5834
GitOrigin-RevId: 64ad30b0e4af08dc71e98baecae3fe1fb08989c0
2022-09-14 08:52:49 +00:00
Matt Hardman
3fd5ea3965 feature (console): enable table tracking for GDC sources
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/5772
Co-authored-by: Vijay Prasanna <11921040+vijayprasanna13@users.noreply.github.com>
GitOrigin-RevId: d04d2a1f1dccc383c9a17b9fb63ea2b435adb7e9
2022-09-13 09:06:59 +00:00
Sooraj
f728f55565 console: add data-trackid to actions, events and remote schema create journeys
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/5785
GitOrigin-RevId: 887f7f53adc097b99648228010d5ea9f84e1adcb
2022-09-13 05:56:52 +00:00
nevermore
cc6c026ca9 console: add Hasura familiarity survey component
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/5829
Co-authored-by: Abhijeet Khangarot <26903230+abhi40308@users.noreply.github.com>
GitOrigin-RevId: ca2ebd3c3ab15f9b3e75497517f6c0d11c8440b1
2022-09-12 15:31:48 +00:00
Vijay Prasanna
465e669b30 fix (console): list gdc sources under the "Data Manager" table
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/5784
GitOrigin-RevId: 6630515755d8fdcada39594c8063988873e23950
2022-09-12 06:17:12 +00:00
Erik Magnusson
ff65de1df4 console: fixed checkbox logic for other types than select on permissions pages
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/5794
GitOrigin-RevId: 4b214df3856e0320d0c2b0eda0a44a78ff9bbab5
2022-09-08 11:35:06 +00:00
Erik Magnusson
0af8514198 console: fixed missaligned tooltips on permissions page
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/5793
GitOrigin-RevId: 4d3ca362adff41a96c0c2596972e3d6a9c012703
2022-09-08 10:36:25 +00:00
Varun Choudhary
e4f8c3215b console: develop operation modal window using hooks to create add/edit operation
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/5748
Co-authored-by: Daniele Cammareri <5709409+dancamma@users.noreply.github.com>
GitOrigin-RevId: ad2ce5954ec71f336615046e86b1b157b165c587
2022-09-08 10:07:49 +00:00
Luca Restagno
9d61224d44 console: fix is_generated column handling
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/5774
Co-authored-by: Erik Magnusson <32518962+ejkkan@users.noreply.github.com>
GitOrigin-RevId: 50d0550599f79237316777481ce9768a52ea6b4d
2022-09-08 09:21:50 +00:00
Luca Restagno
527fc826e6 console: remove the interaction tests for FiltersSection
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/5811
GitOrigin-RevId: 59e2e483cee5eb1273d4251c01f76552d289de4f
2022-09-08 08:41:50 +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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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