Commit Graph

1464 Commits

Author SHA1 Message Date
Abhijeet Khangarot
efac6a718a console: add useInstallTemplate hook
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/6077
GitOrigin-RevId: 635477024d968edf37fc4bd1749a320ed9fafe40
2022-09-29 05:12:51 +00:00
Abhijeet Khangarot
0a72b8edd0 console: update root component for onboarding to have cloud console check
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/6093
GitOrigin-RevId: ba8ba274d4a7da7745926cefa63fab2989dfaba0
2022-09-29 03:19:48 +00:00
Rikin Kachhia
3fa52752cb console: fix few UI glitches
- align track and customize table buttons on schema page
- fix notification panel alignment
- fix highlighting of active tab icon
- fix highlighting of "API" tab on "/api/explorer" path

PR-URL: https://github.com/hasura/graphql-engine-mono/pull/6094
GitOrigin-RevId: 7f16f4637b3881ffc7e8451fbbfb25c8fd75a6b7
2022-09-28 12:43:48 +00:00
Erik Magnusson
99e6460ebb console: new empty state component for schema page
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/6078
GitOrigin-RevId: 0379591f280e40348c4c8842338f3a566a7717e2
2022-09-28 11:11:51 +00:00
Daniel Harvey
69044f3bbe console: remove suggested CockroachDB column
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/6070
GitOrigin-RevId: 00cbf3eae02cccf579007ca9655a7ed195befa3c
2022-09-28 09:57:18 +00:00
Luca Restagno
b58b3c58f5 console: update the bigquery label
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/6034
GitOrigin-RevId: 8c0d1f3db86dbbc0265d96c5788f41ca0c1a3196
2022-09-28 08:46:29 +00:00
Varun Choudhary
6028a93078 console: add Try it button on table view to try operations from graphiql tab
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/6016
Co-authored-by: Daniele Cammareri <5709409+dancamma@users.noreply.github.com>
GitOrigin-RevId: a26d5c6e3b61a9f12f8e2ff476091a8dcef9e696
2022-09-28 05:30:16 +00:00
Priya Sharma
940d1fb2e0 console : add onboarding template gallery
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/6043
GitOrigin-RevId: 49782f1f57f3e0bfc00a316d77f6e9cf0143a4b1
2022-09-27 20:48:24 +00:00
Vijay Prasanna
68220df842 feature (console): get table rows for non postgres databases via DAL
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/6022
GitOrigin-RevId: 89251ad91f2c54ae109f160bb141a40704d30fb7
2022-09-27 19:37:24 +00:00
Rishichandra Wawhal
3df2403cf7 console: integrate the generalised hook useNeonIntegration hook to render Neon integration in the onboarding wizard
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/6055
GitOrigin-RevId: 9b0fc398599e0e7d33b11fd657f93f8d7baaa3c6
2022-09-27 13:17:36 +00:00
Sooraj
265311a4cc console: support multi tenant connection pooling on cloud
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/5950
Co-authored-by: Matthew Goodwin <49927862+m4ttheweric@users.noreply.github.com>
GitOrigin-RevId: 47db9dd70235242002533ce64ef2f987a816d4fe
2022-09-27 12:23:14 +00:00
Luca Restagno
5f8421a4ec console: add new test cases for Eport to CSV
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/6068
GitOrigin-RevId: 82d3a8e031a22d96aeb9687ea1d27a8435121fa8
2022-09-27 09:52:51 +00:00
Matthew Goodwin
b3b9ff269a console: GQL Customization while tracking a table
## Description 🔖

This adds the ability to "customize & track" using the [new tracking ui](https://github.com/hasura/graphql-engine-mono/pull/5391).

A new button was added to implement this:

<img width="870" alt="Screen Shot 2022-09-16 at 12 37 14 PM" src="https://user-images.githubusercontent.com/49927862/190701948-1ad86717-f6be-4f67-8e0c-17b618790795.png">

## Solution and Design 🎨

This feature mostly makes use of components and hooks already created.

I was able to refactor some code to reduce code duplication and type duplication.

A few highlights on the refactor:

- `useTrackTable`, `useUntrackTable` and `useTrackSelectedTables` were all refactored into a single hook: `useTrackTable`. This hook has one main function but returns 4 wrapper functions: `trackTable`, `untrackTable`, `trackTables`, and `untrackTables`. This should make maintaining easier in the future.
- Synced up types between `MetadataTableConfig` and the customization form. Previously, the customization form had duplicated this same type, and there was some slight discrepancies between them.
- Modified `TableTrackingCustomizationModal` `onSubmit` return with a 2nd argument that's in the exact shape of `MetadataTableConfig` for convenience.
- Did some refactoring of the `DropDownMenu` component that should not interfere with anything. Exposed a few of the inner components for export and used these modular pieces in the current implementation. This ended up not being used in the feature, but left it in as it's a slight improvement.

I also added a function called `delayAsyncAction` [here](5e88262628/console/src/components/Common/utils/jsUtils.tsx (L416)) to create an artificial delay for `async` functions. This allows us to create a more confident UX when requests happen near-instantly. Introducing a tiny delay of around 300ms with good UI feedback (i.e. loading spinner) shows the user something is happening. I wanted to document this as I'm not sure it's something other will agree on. If it's against our UX philosophy, I can remove it, but I found it nice.

## Review Setup 💻

1. Run the code locally and go to `http://localhost:3000/data/v2/manage?database=YOUR_DATABASE_NAME_HERE`
2. You should see the new button as shown above to `Customize & Track`
3. Try it out with various field custom roots
4. Also try tracking and untracking tables both from the individual rows as well as the checkboxes as this logic was also modified in the refactor.

 ** I am not totally sure how much I need to put here for testing, I may want some help here from the team. **

## Review checklist. 📋

### Functionality

- [ ] Steps to verify console behaviour

### Tests

Going to open another PR for adding testing to the relevant areas. Will update this PR with a link once that's been done.

PR-URL: https://github.com/hasura/graphql-engine-mono/pull/5922
GitOrigin-RevId: e7c14be5b9bcc255a7b9ecfd43f1f84aa8aabba2
2022-09-26 22:02:40 +00:00
Erik Magnusson
e5e6bf1517 removed dependency
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/6048
GitOrigin-RevId: a595c55fb636b8a06b1a467acecc701d42df3188
2022-09-26 14:52:31 +00:00
Rishichandra Wawhal
7fb6a82043 console: introduce a generalised useNeonIntegration hook
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/6042
GitOrigin-RevId: cc29154fbe7add1c9707483fd4a22b01d5e1fa13
2022-09-26 13:56:37 +00:00
Abhijeet Khangarot
90543c99ae console: add onboarding wizard tests
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/6041
GitOrigin-RevId: 72e5f6e0fc7c51c9a4db70665059771194be2730
2022-09-26 10:34:17 +00:00
Luca Restagno
c89d283dd2 console: fix export to CSV
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/6038
GitOrigin-RevId: 29830693acf1d503abc82a53bc010fa7bf6b26dc
2022-09-26 09:41:05 +00:00
Abhijeet Khangarot
3c16b60253 console: update msw and add one graphql mock
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/6040
GitOrigin-RevId: 7e22c61a5705f9b24b81079215becdb51b59924a
2022-09-23 19:06:27 +00:00
Lyndon Maydwell
4d2e37b3e6 Raw Query Support for Data Connectors - GDW-394
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/5890
Co-authored-by: Vijay Prasanna <11921040+vijayprasanna13@users.noreply.github.com>
GitOrigin-RevId: f6bd2ed5fe170bcce262564cf4f45c95c9bdff94
2022-09-22 21:09:06 +00:00
Luca Restagno
66a698cbef console: integrate redux into the new filters section component
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/5958
GitOrigin-RevId: 58f565ed293dcad71bb9239eb511531e44d63618
2022-09-22 15:41:39 +00:00
Vijay Prasanna
1319304170 feature (console): Edit connection configuration for GDC sources
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/5917
GitOrigin-RevId: 9913830a7a068b6d50910d7e77d88d185fb7f903
2022-09-22 12:12:43 +00:00
Abhijeet Khangarot
a81c028fe2 console: add neon banner for onboarding wizard
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/6003
GitOrigin-RevId: f3556e3b6c9987b7dc139d6185fd909bb87d3fe8
2022-09-22 06:47:43 +00:00
Vijay Prasanna
969cb05bdf fix (console): update @hasura/dc-agents-types dependency to 0.6.0
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/5978
GitOrigin-RevId: 9fc7bad5c003a733b8d67f0240651ba60585d0b7
2022-09-22 05:49:57 +00:00
Varun Choudhary
a7c0b02296 console: add auto clean form on events tab
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/5956
Co-authored-by: Daniele Cammareri <5709409+dancamma@users.noreply.github.com>
GitOrigin-RevId: febb6ae707c9ac9c1e77a25aa01c2d2283c0d7d9
2022-09-21 15:24:48 +00:00
Rishichandra Wawhal
7365838f76 console: add hidden database creation flow for Neon integration
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/5938
Co-authored-by: Abhijeet Khangarot <26903230+abhi40308@users.noreply.github.com>
GitOrigin-RevId: b73a77e5c7d6be6befefa91e565ac9369c00297c
2022-09-21 08:58:15 +00:00
Daniele Cammareri
e065fd9ac7 console: add quick add to query collections modal
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/5955
GitOrigin-RevId: a0da0ac017620c4bb6baa7e7c27fb77790237ce5
2022-09-21 07:38:45 +00:00
Varun Choudhary
95e2fe270b console: filter manual trigger via source name
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/5935
GitOrigin-RevId: f020a07f48e3662343467a34a8297d1760969a36
2022-09-20 11:58:25 +00:00
Nicolas Inchauspe
fb4104115d console: enable disabled tests
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/5825
GitOrigin-RevId: 2f70b60b9ec993bd6bf859f8901e064266830f15
2022-09-19 12:56:24 +00:00
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
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
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
Vijay Prasanna
0bdfd3ae39 feature (console): new tracking section for databases
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/5391
Co-authored-by: Matt Hardman <28978422+mattshardman@users.noreply.github.com>
GitOrigin-RevId: 14cc2c6be93f1f366026db7d6acfc2eaa967815f
2022-08-25 14:08:55 +00:00
Rikin Kachhia
c0b7d14adc console: add min height to graphiql on explorer page
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/5572
GitOrigin-RevId: de3a8213eb550f5e6db93eea4b29a95b805eb7e0
2022-08-25 12:54:35 +00:00
Rishichandra Wawhal
7c0e378417 console: add experiment as user property on heap
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/5601
Co-authored-by: Abhijeet Khangarot <26903230+abhi40308@users.noreply.github.com>
GitOrigin-RevId: 6b7037750cab35e40c7b843520da4f49680043e6
2022-08-24 16:50:41 +00:00
Abhijeet Khangarot
150fbaea7c pro-console: integrate onboarding wizard
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/5559
Co-authored-by: Rishichandra Wawhal <27274869+wawhal@users.noreply.github.com>
GitOrigin-RevId: 35da0aa3c22f030f78d90bdd0ef6a7526c566016
2022-08-24 07:25:15 +00:00
Daniele Cammareri
2120c601d3 console: remove new create remote schema add page feature flag
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/5529
GitOrigin-RevId: cf487e53137cb884236bfa0a394a719506e11b1b
2022-08-23 07:36:56 +00:00
Erik Magnusson
46db01abd9 console: set Tooltip component typ to button
>

## Description ✍️
->

This PR sets a specific button type to the new Tooltip components Trigger component.
Since it defaulted to a "submit" button it created problems with submits where we used the Tooltip inside `<form />`  tag

https://user-images.githubusercontent.com/32518962/185909664-24a4e3a5-d4e0-4887-9121-6b1d32ebed3c.mp4

## Review Setup 💻
- Navigate to http://localhost:3000/data/manage/connect
- Remove the line added to the Tooltip component
- Try pressing any tooltip inside the form

PR-URL: https://github.com/hasura/graphql-engine-mono/pull/5565
GitOrigin-RevId: b8cfa0680b9a57ca022bcc814ec7b7fa7a9a7eb0
2022-08-23 05:39:05 +00:00
Nicolas Inchauspe
6ca1fea4bf Migrate ALL buttons to new Button component
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/5406
Co-authored-by: Erik Magnusson <32518962+ejkkan@users.noreply.github.com>
GitOrigin-RevId: c6eb23f5820ea4fe2ee23bf323ba81cd20d152e0
2022-08-22 14:48:14 +00:00
Vijay Prasanna
c0cff3c908 feature (console/data-relationships): generic relationships view table that's compatible with GDC
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/5525
GitOrigin-RevId: 02bdfa11ae705db4a2e50f4696a3178797a00412
2022-08-22 06:19:42 +00:00
Abhijeet Khangarot
522c9ea31a console: add onboarding wizard
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/5372
GitOrigin-RevId: 088509185666500ab3d4a8d2db2aaeced4133901
2022-08-19 17:58:50 +00:00
Luca Restagno
8e117e60e2 console: Browse Rows screen hangs when a new column is added in BigQuery
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/5531
Co-authored-by: Erik Magnusson <32518962+ejkkan@users.noreply.github.com>
GitOrigin-RevId: 987044b0afe12969b09699834260089de1967354
2022-08-18 13:26:29 +00:00
Nicolas Inchauspe
31143c5a1e Con 411: fix code editor accessibility issue
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/5428
GitOrigin-RevId: 558f83fb789087b52b9ea0a442ba1d5950b30c11
2022-08-18 12:54:09 +00:00
Luca Restagno
11b22f7dc9 console: fix the Typescript no implicit returns rules
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/5447
GitOrigin-RevId: e80e203a0a29652313d86c8de4382dc9b8796d2a
2022-08-17 14:37:04 +00:00
Vijay Prasanna
c67b5647e6 fix (console): axios client needs headers from state to work in pro-console
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/5421
GitOrigin-RevId: 9f9cc86e230665cea837cb53bf27cc2882421361
2022-08-17 05:09:41 +00:00
Karthikeyan Chinnakonda
05d2f05b36 pro server: Enterprise edition lite
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/5219
Co-authored-by: Rakesh Emmadi <12475069+rakeshkky@users.noreply.github.com>
Co-authored-by: Nithin <36623418+nithindv@users.noreply.github.com>
GitOrigin-RevId: b5c33ea5653a6e107a14d106082cf4301481fc40
2022-08-16 18:50:37 +00:00
Sooraj
f2c1ef7c94 console: set extensions schema on one click heroku database connections
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/5441
GitOrigin-RevId: 684833de9cab4c3237ed92b82b8b82e44853cc0c
2022-08-16 07:48:13 +00:00
Matt Hardman
0d34a5b16b console: create suggested relationship form
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/4920
Co-authored-by: mattwhaleblue <97981123+mattwhaleblue@users.noreply.github.com>
Co-authored-by: Vijay Prasanna <11921040+vijayprasanna13@users.noreply.github.com>
GitOrigin-RevId: 5afb347bd5f3bdd2f14e47e279ee96b9bd928d00
2022-08-16 05:47:23 +00:00
Nicolas Beaussart
6c88b96b21 platform(console): prepare oss codebase for migration
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/5445
GitOrigin-RevId: a659d1f82d73466e2d8ffeb6a32e6586f066d352
2022-08-11 13:06:54 +00:00
Luca Restagno
fe88cfed3d console: removed beta label from BigQuery
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/5442
GitOrigin-RevId: 27e72fba777b5baeccef7f666d579c8a81882e11
2022-08-11 08:39:26 +00:00
Vijay Prasanna
c3545f7a89 fix(console): warnings for un-exported actions in TableReducer
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/5437
GitOrigin-RevId: 7eedfd8450660d20ada2ac238a5557b41c3decb9
2022-08-11 05:33:54 +00:00
Sooraj
712e3aeddd console: support extensions_schema on postgres connect/edit DB form
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/5422
GitOrigin-RevId: c88e84530ca40f788b2f47cba4f6282f6a5ca6ff
2022-08-10 14:46:36 +00:00
Stefano Magni
e8cb480b13 test(platform): Add a script to automatically export the E2E test request and responses
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/5386
GitOrigin-RevId: 5458dadc7a23f82a1b344fcd19d8c431d6bd8c78
2022-08-10 13:44:37 +00:00
Varun Choudhary
be3196432a Console: deprecate _ne from the permissions builder
closes: [#6253](https://github.com/hasura/graphql-engine/issues/6253)

Description:

[rikinsk] removed the option to select _ne from the dropdown while ensuring existing permissions with _ne are still rendered properly

Test:

- [ ]  the `_ne` operator is not showed as an option while creating a permission rule
- [ ] if a permission rule already has `_ne` in it, the permission builder renders it properly

Effected component:

- [x] Console

PR-URL: https://github.com/hasura/graphql-engine-mono/pull/265
Co-authored-by: Rikin Kachhia <54616969+rikinsk@users.noreply.github.com>
Co-authored-by: Vijay Prasanna <11921040+vijayprasanna13@users.noreply.github.com>
GitOrigin-RevId: 8c07425aefc5bc0897831e36f429c31c4c87fd2d
2022-08-10 10:27:32 +00:00
Matt Hardman
4a792a2054 refactor (console/gdc): clean up the connect DB components + hooks
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/5390
GitOrigin-RevId: 7f1f13ca4453c7c436880494576d916403ed974f
2022-08-10 08:24:27 +00:00
Luca Restagno
a7fb4b9853 console: upgrade tailwind css to the latest version 3.1.7 (CON-416)
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/5377
GitOrigin-RevId: 57c945fb6cbcc1998c492b4f1a7196ef05f4e23e
2022-08-09 09:05:29 +00:00
Vijay Prasanna
5f88a183f5 feature (console): add DAL method to fetch columns for a particular table
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/5349
GitOrigin-RevId: 653c48b75ccc4cf94aee3dae97e92ac4c8fd3180
2022-08-08 15:34:12 +00:00
Vijay Prasanna
fdb3748a96 fix (console/relationships): add forward compatiblity for DB-to-RS for old relationship UI
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/5313
Co-authored-by: Rikin Kachhia <54616969+rikinsk@users.noreply.github.com>
GitOrigin-RevId: daab28a164375125dd251cbaa9d3d8fb2147a260
2022-08-08 09:54:55 +00:00
Matt Hardman
451ed44f36 console: storybook create dynamic form component for gdc configuration
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/5331
GitOrigin-RevId: a08167d63d389456b4bc1757fe665f5811bc89cb
2022-08-08 09:17:38 +00:00
Vijay Prasanna
1bd1cc45eb refactor (console/gdc): clean up the hierarchy abstraction for nav tree
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/5328
GitOrigin-RevId: 4386bddbe6ede0e3dd2b78eb92b2bf6af5fbb7d6
2022-08-08 06:06:43 +00:00
Erik Magnusson
61ccf968b9 feature (console): disable query and subscription root fields
## Description 🔖

Adding root field level section for permissions for select and subscriptions.
One can choose specific root permissions per role that can be enabled or disabled. This is done on a role basis.

By default the permissions does not exist. When this is the case, all permission are enabled per default.
Once a permission has been tampered with, the permissions work as expected by the ui.

## Related Issues 👾

Jira issue: https://hasurahq.atlassian.net/browse/CON-259

## Solution and Design 🎨

Feature showcase video recording: https://app.iterspace.com/recording/6faa1c87-fd17-450b-ac57-3a788bfcc6e4

The solution is made in our legacy part of the Data -> Permissions-tab. The section is going to be migrated in a short future.

### Steps to test

- go to Data tab -> any table -> Permissions tab
- create and edit roles by playing around with the new "Root fields permissions" section

## Known issues
The vertical alignment of the "Don't ask me again" is not the expected one.
It is due to the current `Checkbox` component that includes a label and an error message div, that is not needed in this use case.

As discussed with @nicoinch I could refactor the current `Checkbox` component into a `FormCheckbox` component, make a new atom component `Checkbox` with the input and right label only, and use it inside the `FormCheckbox`.

This will be done on another card ([CON-415](https://hasurahq.atlassian.net/browse/CON-415))

![image](https://user-images.githubusercontent.com/59067245/181784002-19b07ff2-5eb4-4867-92d8-4d2e51afbeb3.png)

### Typescript & State management

- [x] Migrate modified JS files to TS

### Pro console
- [x] Pro console build has been verified. If this check is not relevant, please remove this line.

## Changelog ✍️

- [x] `CHANGELOG.md` is updated with user-facing content relevant to this PR. If no changelog is required, then add the `no-changelog-required` label.

PR-URL: https://github.com/hasura/graphql-engine-mono/pull/4873
Co-authored-by: Rikin Kachhia <54616969+rikinsk@users.noreply.github.com>
Co-authored-by: Luca Restagno <59067245+lucarestagno@users.noreply.github.com>
GitOrigin-RevId: 51aa05af3c4de4dea957e7a12aaf4108e797d3ba
2022-08-05 08:53:11 +00:00
Luca Restagno
1f7eed1bc5 console: fix row-level permission restrictions with boolean fields for bigquery
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/5322
GitOrigin-RevId: 3609585c4cf735aeb98747a5b701bfaa88cb46ba
2022-08-04 11:22:41 +00:00
paritosh-08
f6067cb977 server/console: add metadata API set_apollo_federation_config
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/5294
Co-authored-by: Varun Choudhary <68095256+Varun-Choudhary@users.noreply.github.com>
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
GitOrigin-RevId: 274d76ff92970ecffa43943125313ba84b07c495
2022-08-04 09:38:02 +00:00
Abhijeet Khangarot
c705f9fd17 console/heap: redact user sensitive data from title html tag
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/5312
GitOrigin-RevId: 35508cdf78cfdc1445ca052675558ba2153dbc7a
2022-08-03 15:44:00 +00:00
Luca Restagno
af97da8496 Console: jest tests files regexp + refactoring
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/5308
GitOrigin-RevId: cd057218397e724ea7a92cdd025fae508d5774a7
2022-08-03 14:53:24 +00:00
Nicolas Inchauspe
a1fc55ec89 console: React bootstrap tooltip migration
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/4959
GitOrigin-RevId: b8c8a620baeaa3228e92d058a917dbf3350d48ec
2022-08-03 12:39:30 +00:00
Stefano Magni
e22642f315 console: Define a testing strategy
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/5063
GitOrigin-RevId: 95bd682c646d104989e5756021494049cc2ac084
2022-08-03 11:35:17 +00:00
Daniele Cammareri
8040c91b1b console: upgrade to node 16 and npm 8
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/5035
Co-authored-by: Nicolas Beaussart <7281023+beaussan@users.noreply.github.com>
GitOrigin-RevId: fa80b49bc18d8aaee85ad6fc146fef3b318c51f9
2022-08-02 13:52:53 +00:00
Vijay Prasanna
274f6fb7ae refactor (console): modify file structure for the Datasource feature
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/5229
Co-authored-by: Luca Restagno <59067245+lucarestagno@users.noreply.github.com>
GitOrigin-RevId: 793e4657e7d1fd23682b403e0541808d9412b458
2022-08-02 06:53:51 +00:00
Matt Hardman
b88b3b9586 console (feat): create suggested relationship component
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/4916
Co-authored-by: mattwhaleblue <97981123+mattwhaleblue@users.noreply.github.com>
Co-authored-by: Vijay Prasanna <11921040+vijayprasanna13@users.noreply.github.com>
GitOrigin-RevId: 84c97049c809653049596976aa62cad60c4e1db8
2022-08-01 14:36:28 +00:00
Stefano Magni
ec2549095d console: Link the most important resources in the README
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/4949
GitOrigin-RevId: d29aba0140d74bdbd5e04f34ca9eb3b0cd208389
2022-08-01 08:19:20 +00:00
Nicolas Inchauspe
bc2480fb98 console: add horizontal variants for form fields wrapper CON-403
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/5147
GitOrigin-RevId: 83b13be7fc969687e5d7ea2f0ad9f56b0ca9947b
2022-07-29 18:12:59 +00:00
Varun Choudhary
9dcf73daee console: add custom names for streaming subscriptions
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/5243
GitOrigin-RevId: 08932303b6e411e306b29f0052c9f141a794b3f9
2022-07-29 11:15:40 +00:00
Abhijeet Khangarot
b0bd7883cc feature (console): add cron triggers new UI with rest connectors
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/4933
GitOrigin-RevId: a3c44c370cac016e0d1287ed4c86390f63bd67db
2022-07-28 12:13:26 +00:00
Nicolas Inchauspe
770a16c22d Replace :focus with :focus-visible for new form components
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/5203
GitOrigin-RevId: bb9d39b6a0049d8f24aa985040a5184629811b53
2022-07-27 15:52:56 +00:00
Sooraj
1f574c6eaf console: show correct GQL query when user click on "Open In GraphQL" from REST endpoints
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/5216
GitOrigin-RevId: 00516b3f5067c82b2ea2ccb60fae97766f503c5a
2022-07-27 12:58:18 +00:00
Matt Hardman
a71007566b console: update relationships forms
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/4955
Co-authored-by: Varun Choudhary <68095256+Varun-Choudhary@users.noreply.github.com>
GitOrigin-RevId: e0e54a54293779c9e1d66d1aa4ad6b24b55e0ddc
2022-07-26 15:05:45 +00:00
Sooraj
e243fccc62 console: create a hook to fetch table definition from URL
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/5007
GitOrigin-RevId: f3232d966bd97e7cc6e249c40a753fa5072265b5
2022-07-26 12:07:25 +00:00
Matt Hardman
83882bf558 console: implement clone permissions
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/4838
GitOrigin-RevId: 1cc7abc977c1296f1a2bccfcdead75fd20039d1a
2022-07-26 10:59:04 +00:00
Daniele Cammareri
b9010f1025 console: fix broken table relationship query on non-default schema
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/5132
Co-authored-by: Varun Choudhary <68095256+Varun-Choudhary@users.noreply.github.com>
GitOrigin-RevId: e034eb015405396e8359d9b81e0af4e73c3e0dd9
2022-07-26 10:25:30 +00:00
Luca Restagno
5f3e355a9f console: common track table hook
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/5040
Co-authored-by: Vijay Prasanna <11921040+vijayprasanna13@users.noreply.github.com>
GitOrigin-RevId: d4c38f6baf785a8dafb96463c595d1dc33d63959
2022-07-25 17:10:07 +00:00
Abhijeet Khangarot
a4652848e1 console: improve storybook folder structure
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/5167
GitOrigin-RevId: 384f86dda2ae7e759659a920aba2263cf36e0310
2022-07-25 08:47:07 +00:00
Vijay Prasanna
a13655080f fix (console): allow table customisation for BigQuery
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/5148
Co-authored-by: Varun Choudhary <68095256+Varun-Choudhary@users.noreply.github.com>
GitOrigin-RevId: 122d2d73d65a35126e8496a4f497adfd8059e76b
2022-07-22 12:49:04 +00:00
Matt Hardman
3c2af43817 console: add new suggested relationships hook
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/4877
Co-authored-by: mattwhaleblue <97981123+mattwhaleblue@users.noreply.github.com>
GitOrigin-RevId: d13cba6079b409cbd32f3085c816df6a9319b8ca
2022-07-22 11:47:46 +00:00
Varun Choudhary
b2cbd343bd feature (console): Single Table Tracking Customization
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/5122
Co-authored-by: Luca Restagno <59067245+lucarestagno@users.noreply.github.com>
GitOrigin-RevId: 8a630e44b6ae34925b59220920275055018e223f
2022-07-22 09:14:25 +00:00
Varun Choudhary
69d4d8c6df console: e2e test for graphql customization while adding data source
Use this docker-compose file while running the connect DB cypress test

<details>
<summary>Docker-compose file</summary>

```yaml
version: '3.6'
services:
  postgres:
    image: postgres:12
    restart: unless-stopped
    ports:
      - '5432:5432'
    volumes:
      - db_meta:/var/lib/postgresql/data
    environment:
      POSTGRES_PASSWORD: postgrespassword
  postgres12:
    image: postgres:12
    restart: unless-stopped
    ports:
      - '4432:5432'
    volumes:
      - db_pg12_data:/var/lib/postgresql/data
    environment:
      POSTGRES_PASSWORD: postgrespassword
  msserver:
    image: 'mcr.microsoft.com/mssql/server:2019-latest'
    ports:
      - '1435:1435'
    restart: unless-stopped
    environment:
      SA_PASSWORD: 'testPassword123'
      ACCEPT_EULA: 'Y'
  graphql-engine:
    image: hasura/graphql-engine:v2.8.1
    ports:
      - '8080:8080'
    depends_on:
      - 'postgres'
    restart: unless-stopped
    environment:
      HASURA_GRAPHQL_DATABASE_URL: postgres://postgres:postgrespassword@postgres:5432/postgres
      TEST_MSSQL_DATABASE_URL: DRIVER={ODBC Driver 17 for SQL Server};SERVER=msserver;Uid=SA;Pwd=testPassword123
      ## enable the console served by server
      HASURA_GRAPHQL_ENABLE_CONSOLE: 'true' # set to "false" to disable console
      ## enable debugging mode. It is recommended to disable this in production
      ## HASURA_GRAPHQL_CONSOLE_ASSETS_DIR: /srv/console-assets
      HASURA_GRAPHQL_DEV_MODE: 'true'
      HASURA_GRAPHQL_ENABLED_LOG_TYPES: startup, http-log, webhook-log, websocket-log, query-log
      ## uncomment next line to set an admin secret
      # HASURA_GRAPHQL_ADMIN_SECRET: myadminsecretkey
      HASURA_GRAPHQL_ENABLE_REMOTE_SCHEMA_PERMISSIONS: 'true'
      HASURA_GRAPHQL_EXPERIMENTAL_FEATURES: naming_convention
volumes:
  db_pg12_data:
  db_meta:
# Connect to second PG using env var DB2
# Connect to metadata PG using HASURA_GRAPHQL_METADATA_DATABASE_URL
# Connect to mssql server using connection string (not env)
# DRIVER={ODBC Driver 17 for SQL Server};SERVER=msserver;Uid=SA;Pwd=testPassword123
# PG 12 : postgres://postgres:postgrespassword@postgres12:5432/postgres
```

</details>

1. Here is the [Video](https://www.loom.com/share/bfe8b4da59ae48dca3fc9877b440c360) of the running connect db e2e test
2. We write test only for connect Postgres DB not for mssql because mssql container doesn't work on CI and on M1 laptops. Moreover, the value provided was low because we tested the same path Postgres (this was team agreement)
3. We installed @testing-library/cypress to leverage the same helper functions (we used `findByText` and `findByPlaceholderText`)
4. We used `withIn` to target a section on a page and find an element inside
5. We used a procedural approach and we added `cy.log` to improve the debugging of the test.
6. We created new helper function to test notifications -

`cy.expectSuccessNotification()`
`cy.expectSuccessNotificationWithTitle(title: string)`
`cy.expectSuccessNotificationWithMessage(message: string)`
`cy.expectErrorNotification()`
`cy.expectErrorNotificationWithTitle(title: string)`
`cy.expectErrorNotificationWithMessage(message: string)`

PR-URL: https://github.com/hasura/graphql-engine-mono/pull/4960
Co-authored-by: Luca Restagno <59067245+lucarestagno@users.noreply.github.com>
Co-authored-by: Brandon Simmons <210815+jberryman@users.noreply.github.com>
Co-authored-by: Samir Talwar <47582+SamirTalwar@users.noreply.github.com>
Co-authored-by: Divi <32202683+imperfect-fourth@users.noreply.github.com>
Co-authored-by: Karthikeyan Chinnakonda <15602904+codingkarthik@users.noreply.github.com>
Co-authored-by: Erik Magnusson <32518962+ejkkan@users.noreply.github.com>
Co-authored-by: Vishnu Bharathi <4211715+scriptnull@users.noreply.github.com>
Co-authored-by: Jesse Hallett <9622+hallettj@users.noreply.github.com>
Co-authored-by: Abby Sassel <3883855+sassela@users.noreply.github.com>
Co-authored-by: David Overton <7734777+dmoverton@users.noreply.github.com>
Co-authored-by: Daniel Chambers <1214352+daniel-chambers@users.noreply.github.com>
Co-authored-by: Lyndon Maydwell <92299+sordina@users.noreply.github.com>
Co-authored-by: paritosh-08 <85472423+paritosh-08@users.noreply.github.com>
Co-authored-by: Gil Mizrahi <8547573+soupi@users.noreply.github.com>
Co-authored-by: Benoit Ranque <25712958+BenoitRanque@users.noreply.github.com>
Co-authored-by: Daniel Harvey <4729125+danieljharvey@users.noreply.github.com>
Co-authored-by: Tom Harding <6302310+i-am-tom@users.noreply.github.com>
Co-authored-by: Solomon <24038+solomon-b@users.noreply.github.com>
Co-authored-by: Antoine Leblanc <1618949+nicuveo@users.noreply.github.com>
Co-authored-by: Evie Ciobanu <1017953+eviefp@users.noreply.github.com>
Co-authored-by: Vijay Prasanna <11921040+vijayprasanna13@users.noreply.github.com>
Co-authored-by: Naveen Naidu <30195193+Naveenaidu@users.noreply.github.com>
Co-authored-by: Abhijeet Khangarot <26903230+abhi40308@users.noreply.github.com>
Co-authored-by: Rob Dominguez <24390149+robertjdominguez@users.noreply.github.com>
Co-authored-by: Puru Gupta <32328846+purugupta99@users.noreply.github.com>
Co-authored-by: Daniele Cammareri <5709409+dancamma@users.noreply.github.com>
Co-authored-by: Marion Schleifer <5722022+marionschleifer@users.noreply.github.com>
GitOrigin-RevId: a50879ee790d3409c0b97c87a0e3d2b793c9ff37
2022-07-21 09:31:55 +00:00
Daniele Cammareri
b326fd978a pro: remove ssr from pro console
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/5047
GitOrigin-RevId: 82a21c7286943870ff64b3a21520f8217cd24c48
2022-07-21 06:16:06 +00:00
Daniele Cammareri
359d421819 console(local-dev): remove ssr for local development
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/4976
GitOrigin-RevId: 94b0b87911375996b03d7532ce2ae36cccc8da71
2022-07-20 16:05:04 +00:00
Abhijeet Khangarot
214ec9aa5d console: move request headers component to new components and add stories
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/4956
GitOrigin-RevId: 7d9530889067389684330c886276502b398ef813
2022-07-20 10:26:02 +00:00
Vijay Prasanna
9e9dff763b feature (console): Add navigation tree for GDC sources
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/5016
GitOrigin-RevId: 062a7a90ff9db90dbbddda16e0568d9ab3ba51ad
2022-07-19 06:12:32 +00:00
Varun Choudhary
c34885c8dc console: fix remote schemas UI bugs
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/5002
GitOrigin-RevId: 5a80418aa7e7cec8d426007953bddeef014ffe49
2022-07-14 09:20:38 +00:00
paritosh-08
25a027ba79 server/console: use root_field_namespace as prefix for remote schema
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/5000
GitOrigin-RevId: 6427691e1609e939b4245d90cff20de72b18e99a
2022-07-13 05:30:04 +00:00
Benoit Ranque
6532a658eb console: fix analyze button staying in analyzing state after analyze failed (close #4440)
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/4441
Co-authored-by: Sooraj <8408875+soorajshankar@users.noreply.github.com>
Co-authored-by: Varun Choudhary <68095256+Varun-Choudhary@users.noreply.github.com>
GitOrigin-RevId: 80f01ccb82a4899ed2f7f601cf122c57fdd558eb
2022-07-12 14:40:49 +00:00
Varun Choudhary
6d2c8f1ec3 console: fix UI bugs on edits row
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/5009
GitOrigin-RevId: 9cac0fa9fbe527b34e97a1b8091d498c132b896f
2022-07-12 10:21:23 +00:00
Erik Magnusson
387285b8f1 refactor (console): migrate api section to tailwind
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/4820
GitOrigin-RevId: 541b15e64cc15f5db444304cbc02f75ff93577a4
2022-07-06 14:48:03 +00:00
Stefano Magni
fc753ffb42 console: Update Cypress to v10 and run the migration guide
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/4849
GitOrigin-RevId: 10e0fd62344a0c5c7028ad480b747b7f64c9c773
2022-07-05 08:51:35 +00:00
Varun Choudhary
4a129042fa console: implement new design for naming convention and edit functionality for Graphql Field Customization
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/4859
Co-authored-by: Rikin Kachhia <54616969+rikinsk@users.noreply.github.com>
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: Matt Hardman <28978422+mattshardman@users.noreply.github.com>
GitOrigin-RevId: ebe25491b90caf9d1de091072727503d666469fe
2022-07-01 13:00:06 +00:00
Abhijeet Khangarot
87080bffe2 console: fix tracking items failed error when creating a BigQuery table via the console
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/4834
GitOrigin-RevId: 9928cd61b122647eeaa4624057080e246e73d00d
2022-07-01 07:26:17 +00:00
Nicolas Inchauspe
c8aa0f3e42 console: migrate REST endpoint form to new components
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/4701
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
GitOrigin-RevId: eb1948254eeface1da2eb58257a74e06e1263c7e
2022-06-30 14:17:52 +00:00
Luca Restagno
ea89170c06 console: fix pro-cli user access issue on security tab and read replica configuration
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/4744
GitOrigin-RevId: e40903fe4942f042f4778ba0fffab68af89b032c
2022-06-30 13:39:55 +00:00
Luca Restagno
27398f40f4 console: fix cloud console header active tab highlighting
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/4799
Co-authored-by: Nicolas Beaussart <7281023+beaussan@users.noreply.github.com>
GitOrigin-RevId: bc5b1c99f555ec39a43fbad5407461e8419003fa
2022-06-30 08:07:15 +00:00
Stefano Magni
07875ace0f console: Fix the Action with Transform E2E test
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/4883
GitOrigin-RevId: 37344cd834cf53b127b3f69a0952f81486aca9b1
2022-06-29 17:22:05 +00:00
Abhijeet Khangarot
2fc1bafb40 console: fix supported features tracking flag not disabling tracking
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/4872
GitOrigin-RevId: 94d81621861dca944dc7d6702775a74ff6edcf3a
2022-06-29 08:57:18 +00:00
Abhijeet Khangarot
4d21f4d86b console: update connect database form to show helper text for SSL certificates fields
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/4870
GitOrigin-RevId: c7117855d3acc5f8e097b2331228d163473bee82
2022-06-28 13:12:09 +00:00
Rishichandra Wawhal
e617dccec5 console: ux fixes for sample database experiment
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/4875
GitOrigin-RevId: c1aedc5fae78b74165d612534392808b86becb9a
2022-06-28 11:45:04 +00:00
Vijay Prasanna
3d2ad8fdbb feat (console): add connect db UI that works via the data abstraction layer
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/4763
GitOrigin-RevId: 6fae278b86d7cc56d4f7980ddeb5bea7afd55f1a
2022-06-28 09:33:58 +00:00
Stefano Magni
fb1dc2e0ba console: improve actions E2E tests with rest connectors
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/4520
GitOrigin-RevId: 24d9176dc5f93747e4b3a12ed08171064e75900e
2022-06-28 05:40:36 +00:00
Rishichandra Wawhal
d70ba47f5f console: on clicking "Use Sample DB", toast helper text for the subsequent action
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/4856
GitOrigin-RevId: 19ff9f46f1ba255980ff5e54e1a0669c5b111ba9
2022-06-27 12:22:15 +00:00
Stefano Magni
5cfec727ec console: Remove the Pro Console E2E tests
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/4511
Co-authored-by: Vishnu Bharathi <4211715+scriptnull@users.noreply.github.com>
GitOrigin-RevId: 916efec269f067ca628df739e0e7cb6cd26d20f2
2022-06-24 16:02:09 +00:00
Rishichandra Wawhal
b42bfe2c10 console, pro-console: allow trying sample read-only database in cloud console
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/4833
GitOrigin-RevId: edc0550336b1edc9cf8706753e3ac6b336fa6a2c
2022-06-24 14:34:03 +00:00
Stefano Magni
717cf4fa86 console: Refactor the Action With Transform E2E tests
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/4519
GitOrigin-RevId: 1bcef6b5525e3bf361000ca1905e04cebe18542a
2022-06-24 13:38:34 +00:00
Stefano Magni
899ea09d8b console: Refactor the Query Action E2E tests
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/4513
GitOrigin-RevId: 72ef55a79cfca193d81c8998324f94b37e575438
2022-06-23 14:58:59 +00:00
Varun Choudhary
866164357c console: support naming convention in source customization for postgres DB [CON-297]
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/4823
GitOrigin-RevId: a6a3bfcb9c7e16dd551d14dde3d424d07b8f1d15
2022-06-23 06:51:16 +00:00
Abhijeet Khangarot
d704103d8b console: fix notifications not getting displayed on pro console
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/4795
GitOrigin-RevId: f23f89683729092ace107f00515a3b90573e8f03
2022-06-22 19:20:01 +00:00
Varun Choudhary
1082b6f54d console: update connection settings UI on connect db page [CON-273]
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/4803
GitOrigin-RevId: d16ae487426c96ef1593f93524172a55837e2291
2022-06-22 13:14:59 +00:00
Varun Choudhary
d8304fcbaa console: hide hdb_catalog from data section sidebar for SQL Server DB
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/4804
GitOrigin-RevId: 3144e04fc69c691e760dc0c2c4735573bb0990c4
2022-06-22 13:14:49 +00:00
Benoit Ranque
e6614db17b console: Hide timescaledb internal schema from data tab
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/4439
Co-authored-by: Sooraj <8408875+soorajshankar@users.noreply.github.com>
GitOrigin-RevId: 49c746e8d23b87363462942d4823c7ab9de2744e
2022-06-22 07:38:38 +00:00
Stefano Magni
1aa71145ba console: Unify the Mutation Action E2E tests
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/4509
GitOrigin-RevId: e5b579988b426cb44575c9674056f4b2e539c165
2022-06-20 21:40:07 +00:00
Erik Magnusson
bcc34fa7e6 style (console): migrate settings page to tailwind [CON-261]
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/4680
GitOrigin-RevId: 45048baf3233904d2688f9f7a0b304ad8d0cd16a
2022-06-20 08:40:46 +00:00
Sooraj
210caf4cba console: fix storybook interaction tests
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/4780
Co-authored-by: Vishnu Bharathi <4211715+scriptnull@users.noreply.github.com>
GitOrigin-RevId: 73bf516f731d3e096a26d8a6ea65176fd83851d3
2022-06-20 07:27:20 +00:00
Varun Choudhary
b2bcb03824 console: disable edit, delete and select row from browse rows for mssql db
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/4741
GitOrigin-RevId: 31c7190a961e17003c240e320d99a169d0428bc2
2022-06-20 05:25:08 +00:00
Stefano Magni
b2103cda61 console: Refactoring the Mutation Actions-related E2E tests
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/4482
GitOrigin-RevId: bd628911e607ab41399b31f7dd8fe9c361e0f052
2022-06-17 14:07:16 +00:00
Sooraj
b099ee5d66 console: add new table relationships tab to console
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/4582
Co-authored-by: Matt Hardman <28978422+mattshardman@users.noreply.github.com>
GitOrigin-RevId: 3b362076a60b2dee73ee84945de23a0e7c1bcef0
2022-06-16 18:11:38 +00:00
Stefano Magni
d769800086 console: Halt collecting the E2E tests code coverage CON-203
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/4510
GitOrigin-RevId: 2fff40627278e6e8eb48bc4d466ce499e7669ca7
2022-06-16 16:18:26 +00:00
Erik Magnusson
21f9a614d2 fix: fixed isolated solution to failed bootstrap migration dropdown
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/4740
GitOrigin-RevId: 2244e9834d3e979a0ffc1c6ed0774dd72cfa301e
2022-06-16 15:38:51 +00:00
Abhijeet Khangarot
132dffe4cf console: add support for mssql event triggers
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/4558
Co-authored-by: Vijay Prasanna <11921040+vijayprasanna13@users.noreply.github.com>
GitOrigin-RevId: 003710bc198caaf32a0c982d59aee9046d92aaf8
2022-06-15 14:56:37 +00:00
Luca Restagno
31fb04e201 console: GQL field customization while adding databases
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/4703
Co-authored-by: Rikin Kachhia <54616969+rikinsk@users.noreply.github.com>
Co-authored-by: Daniel Harvey <4729125+danieljharvey@users.noreply.github.com>
GitOrigin-RevId: 885d7f9c459a0eb1e01f534a859465552ae76343
2022-06-15 11:09:40 +00:00
Vijay Prasanna
888126ecb4 fix (console): breaking modify tab for mssql
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/4718
GitOrigin-RevId: 1a350c756fbac73c334546f4a3adbcc27ed1b73c
2022-06-14 14:15:33 +00:00
Erik Magnusson
40ba20f7f7 console: migrate events to tailwind
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/4552
GitOrigin-RevId: 7b4d54ec00c3ed7e8c48a3a6f0c4569ee38966e5
2022-06-13 09:25:07 +00:00
Rikin Kachhia
7d8fa3a5ee console: add support for computed fields with session arg in permission builder
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/4417
GitOrigin-RevId: 5fc528c9a3ab87a885ad2b85c3b2bde557ab6a22
2022-06-13 06:53:14 +00:00
Vijay Prasanna
e4fc6a868e feat (console): setup a simple data abstraction layer
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/4640
GitOrigin-RevId: 003cbce502f196deed03960af139617876f5e76f
2022-06-09 09:01:00 +00:00
Benoit Ranque
525361d3d2 escape sql underscores in LIKE expressions (close #8435)
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/4596
GitOrigin-RevId: 48f143b8e6bbc60371656cc4bfbae1a5864f9921
2022-06-08 18:54:19 +00:00
Sooraj
1840e527b7 feat (console): show local DB relationships in the relationships table
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/4626
GitOrigin-RevId: b54e9b546ae29c42b17b4957ffcd29a3ddabd48b
2022-06-08 12:54:17 +00:00
Erik Magnusson
a170ac26e2 refactor (console): migrate data tab modify section to tailwind
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/4638
GitOrigin-RevId: bbcbf3bc4e86e3bfc0294ee486e4a6fd91224664
2022-06-08 12:07:54 +00:00
Erik Magnusson
cb638e7168 refactor (console): migrate insert rows tab to tailwind
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/4599
GitOrigin-RevId: c78bcf061fd935b0c566466135f673175cd11cf7
2022-06-08 08:00:15 +00:00
Erik Magnusson
f3278de0a7 refactor (console): migrate old browse rows' css to tailwind
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/4609
Co-authored-by: Puru Gupta <32328846+purugupta99@users.noreply.github.com>
GitOrigin-RevId: 4e89125550c24ff058eadd53c0769893c8087936
2022-06-07 10:42:56 +00:00
Erik Magnusson
74fdabf4e2 Con 229 migrate remote schemas to tailwind
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/4565
GitOrigin-RevId: dbba6febf20c850a41ba9e54358d32f1c84f8ab3
2022-06-07 09:57:22 +00:00
Matt Hardman
0390bd449b console: integrate relationships table component to Data tab
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/4353
GitOrigin-RevId: 558b4d02be04e932c02dee885d7c7d4dea983a33
2022-06-05 06:51:56 +00:00
Samir Talwar
807fdd7347 console: Automatically install node_modules.
When running `npm run server-build`, this step will make sure that `npm
ci` is run first if necessary.

It will run whenever _package.json_ or _package-lock.json_ are changed.

PR-URL: https://github.com/hasura/graphql-engine-mono/pull/4624
GitOrigin-RevId: ac3fb326938746e50ad743504493896011d45f0f
2022-06-03 12:40:27 +00:00
Samir Talwar
ccbeea0e8b console: Factor out downloading assets.
This pulls the script to download the common assets out of the
`server-build` Makefile target into its own target. Because we use the
output directory name as the target, we allow `make` to decide whether
it's necessary.

As there are no inputs to the target, it will only be done once.

Behavior should be unaffected.

PR-URL: https://github.com/hasura/graphql-engine-mono/pull/4617
GitOrigin-RevId: 15d64467c92be761f2738d179b1b027abe8bd8ca
2022-06-03 07:23:52 +00:00
Vijay Prasanna
2fe553df47 fix (console): fixes broken alignment in manage database table
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/4623
GitOrigin-RevId: 426336272835c680d3ec675588d30e925369a11f
2022-06-03 06:01:59 +00:00
Varun Choudhary
09333e3e47 console: add recommendation note to add remote schema via env vars
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/4615
GitOrigin-RevId: a74fb7eaf8115a67916cedeb58a73c2529b15de4
2022-06-02 11:39:57 +00:00
Nicolas Beaussart
5abd0a8b81 remove font awesome and fix the setting gears
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/4595
Co-authored-by: Varun Choudhary <68095256+Varun-Choudhary@users.noreply.github.com>
GitOrigin-RevId: 8c735dad289e619c4b79141043c76c14ebfd24be
2022-06-02 09:22:54 +00:00
Varun Choudhary
55ab5c1d48 console: allow users to add remote schema URL from env var [CON-191]
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/4561
Co-authored-by: Vijay Prasanna <11921040+vijayprasanna13@users.noreply.github.com>
GitOrigin-RevId: 835c476082abcb16cdfaafa4679d6870c445f395
2022-06-02 08:31:05 +00:00
Naveen Naidu
11867b50a4 server: extend backend_only setting for update and delete permissions
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/4530
Co-authored-by: Karthikeyan Chinnakonda <15602904+codingkarthik@users.noreply.github.com>
Co-authored-by: Rikin Kachhia <54616969+rikinsk@users.noreply.github.com>
GitOrigin-RevId: c4c1a3bd9736ec275e77c6f55c76049c550443f9
2022-05-31 14:42:14 +00:00
Matt Hardman
f611ee232a CON-151-create-db-to-local-relationship-hook-for-object-and-array-relationships
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/4472
GitOrigin-RevId: e10abcfa861067ba101348d0cd4e670b8dcbadf8
2022-05-31 11:44:41 +00:00
Varun Choudhary
2447b43017 CON-190-add tooltip message to header section of remote schema
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/4559
GitOrigin-RevId: d4edd80e5b38930f43172bb00392102a26812196
2022-05-31 06:50:30 +00:00
Abhijeet Khangarot
b09bb602bd console: add support for application/x-www-form-urlencoded in rest connectors
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/4354
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: Rikin Kachhia <54616969+rikinsk@users.noreply.github.com>
GitOrigin-RevId: 44dc48f3f226c57aac4393133245bf70d5f68acd
2022-05-30 13:51:15 +00:00
Varun Choudhary
37ee2bfe53 console: remote schema relationships improvements
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/4542
Co-authored-by: Rikin Kachhia <54616969+rikinsk@users.noreply.github.com>
Co-authored-by: Sooraj <8408875+soorajshankar@users.noreply.github.com>
GitOrigin-RevId: 1def55bb692d8bb075525231c153d1aa1463a5bb
2022-05-27 09:57:05 +00:00
Erik Magnusson
3f479481c8 console: migrate action tab to tailwind
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/4531
GitOrigin-RevId: 98b8ae2433207c8983b057a53028621130ff296e
2022-05-25 14:20:34 +00:00
Varun Choudhary
41955bf86f CON-185-Remove any icons left in the CE codebase
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/4527
GitOrigin-RevId: 6cb3bda20811b05415f1a35b8bb767be88b44a46
2022-05-25 12:11:43 +00:00
Alberto Francesco Motta
4929d3135a [CON-209] Fix regression with ExpandButton icon on Browse rows
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/4515
GitOrigin-RevId: 8b298c819fb8c8071edb8f61605c8413b145247b
2022-05-20 08:07:08 +00:00
Vijay Prasanna
cca5c548a7 console: clean up useMetadataMigration hook
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/4479
GitOrigin-RevId: 35e583b879be7eb65a1495ee8b7c9d3335889ca8
2022-05-12 13:25:30 +00:00
Abhijeet Khangarot
936ee990c2 console: fix console crash on adding pg sources with connection params
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/4485
GitOrigin-RevId: 00230fd2563fae9dcbdc03af5927dfeb1a82b965
2022-05-12 12:15:53 +00:00
Varun Choudhary
43622f3011 CON-161-Swap to react icons in the events + actions tab
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/4461
GitOrigin-RevId: 6668cfc6cf97d9e8c4c78705f5d26893e006085e
2022-05-12 11:08:20 +00:00
Varun Choudhary
aadf87aec6 CON-160-Swap to react icons in the data tab
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/4456
GitOrigin-RevId: 1d68c9f18cd330d640dfc33f0f7e4b6a98e410b1
2022-05-12 10:11:19 +00:00
Matt Hardman
ff32795894 CON-125-update-the-relationships-table-component-to-use-the-metadata-selector
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/4312
Co-authored-by: Varun Choudhary <68095256+Varun-Choudhary@users.noreply.github.com>
GitOrigin-RevId: c195a292e85e2904e0f3d6506dfce08f740c3ac6
2022-05-12 07:30:51 +00:00
Varun Choudhary
8a03abaf0b CON-159-Swap to react icons in the main layout (/main + /login)
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/4455
GitOrigin-RevId: bfbef97761174182bbab13d2390d0646b848ac17
2022-05-10 12:49:11 +00:00
Vijay Prasanna
db07dcf60d console: new "add remote schema" page (with GQL customization)
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/4428
GitOrigin-RevId: d8f82ffe86fd59abb43afa195b40c2fdafabb847
2022-05-10 11:32:32 +00:00
Varun Choudhary
f7b4d32941 CON-162-Swap to react icons in the remote schemas + settings + feature flag
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/4462
GitOrigin-RevId: 57c43f73603a63641363e578e3a8440eb1d3b586
2022-05-10 07:38:04 +00:00
Varun Choudhary
dcb8f7a4c9 CON-158-Swap to react icons in the common folder of oss codebase
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/4434
Co-authored-by: Nicolas Beaussart <7281023+beaussan@users.noreply.github.com>
GitOrigin-RevId: 1b7b7beb30b6ee7f6a4960801a011c5deea620cc
2022-05-06 10:38:32 +00:00
Sooraj
2e81212c12 console: remove remote schema relationships feature flag
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/4412
GitOrigin-RevId: b15cb02f143e92b2b3dbd63ec57bc4036aa84b3b
2022-05-06 07:38:48 +00:00
Nicolas Beaussart
db1e6cc79f console: removing bootstrap webpack loader [CON-153]
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/4328
GitOrigin-RevId: d8189f4bdc7fdeecf575a40843f48c7cc727ea4d
2022-05-05 17:47:36 +00:00
Varun Choudhary
0580d6f727 CON-128-filter out scalar type from source type for RS-to-RS relationships
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/4406
GitOrigin-RevId: 6421e1b2695870ba48ab0f095c3c82568e6ffd55
2022-05-02 12:20:55 +00:00
Varun Choudhary
bdaa6c38b9 console: allow users to remove prefix / suffix / root field namespace from a remote schema
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/4379
GitOrigin-RevId: afdf4246c711c6972d7f33365cf98b75c1e6f78e
2022-05-02 06:24:22 +00:00
Matt Hardman
05bc304d7e CON-124-create-a-metadata-selector-that-gets-db-to-rs-relationships
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/4277
GitOrigin-RevId: 6c2c3128e1480e182f27290e9d6239c1ff95f5fc
2022-04-29 16:52:33 +00:00
Abhijeet Khangarot
38db669e6b console: add remote db relationship widget
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/4365
GitOrigin-RevId: 7143110491d112879847e6cbfa141c8d62a311f7
2022-04-29 08:07:17 +00:00
Sooraj
3dfc05c620 console: add database to remote schema form component
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/4303
Co-authored-by: Vijay Prasanna <11921040+vijayprasanna13@users.noreply.github.com>
Co-authored-by: Varun Choudhary <68095256+Varun-Choudhary@users.noreply.github.com>
GitOrigin-RevId: 83c11abcb6a29338d5bdd8c0914cfeaaca524b5b
2022-04-27 11:15:55 +00:00
Vijay Prasanna
6a12893109 console: improvements to ListMap component
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/4331
GitOrigin-RevId: 4d2053ba1793f5419aff1f58357a40b2e777924b
2022-04-27 07:18:33 +00:00
Vijay Prasanna
c2ab5854f9 console: bug fixes for RS-to-RS relationships
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/4357
Co-authored-by: Abhijeet Khangarot <26903230+abhi40308@users.noreply.github.com>
Co-authored-by: Matt Hardman <28978422+mattshardman@users.noreply.github.com>
Co-authored-by: Rikin Kachhia <54616969+rikinsk@users.noreply.github.com>
GitOrigin-RevId: a695071a42a921e36082d99af110323298cb5569
2022-04-26 12:31:50 +00:00
Abhijeet Khangarot
4f9a08239d console: add db to local relationship widget
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/4169
Co-authored-by: Vijay Prasanna <11921040+vijayprasanna13@users.noreply.github.com>
Co-authored-by: Varun Choudhary <68095256+Varun-Choudhary@users.noreply.github.com>
GitOrigin-RevId: 1c4ea2412d2f43dc3524f705d2b8f1847991c06d
2022-04-22 12:39:35 +00:00
Vijay Prasanna
fcdc90f2d1 console: create a reusable database selector widget
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/4295
GitOrigin-RevId: 962e0f1e25d0100eb452cd609401ca593963e188
2022-04-21 10:41:54 +00:00
Vijay Prasanna
5ea758cde8 console: add a reusable list map component
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/4284
GitOrigin-RevId: a34e718e24d005fe89b4bbd2989bf8866f109cd4
2022-04-20 05:48:06 +00:00
Abhijeet Khangarot
d2f50e2a7e console: CON-135 add remote db relationships for views
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/4286
GitOrigin-RevId: dee2f77557754d854368b9a7fad3c4173865cdcc
2022-04-18 12:16:55 +00:00
Vijay Prasanna
2811490a67 console: allow users to create bigquery-to-RS and mssql-to-RS relationships
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/4244
Co-authored-by: Alberto Francesco Motta <36401353+afmotta@users.noreply.github.com>
GitOrigin-RevId: 996709ddbc7504b143f46379dd91c117729c771e
2022-04-13 07:22:09 +00:00
Varun Choudhary
16df61fc83 console: allow RS-to-RS edit & delete [CON-100]
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/4252
Co-authored-by: Matt Hardman <28978422+mattshardman@users.noreply.github.com>
Co-authored-by: Vijay Prasanna <11921040+vijayprasanna13@users.noreply.github.com>
Co-authored-by: Alberto Francesco Motta <36401353+afmotta@users.noreply.github.com>
GitOrigin-RevId: 4c2545cd21a336b0be4b525445772977fbee9725
2022-04-13 03:18:35 +00:00
Matt Hardman
1f1749a230 console: allow RS-to-DB edit & delete [CON-99]
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/4229
Co-authored-by: Vijay Prasanna <11921040+vijayprasanna13@users.noreply.github.com>
GitOrigin-RevId: 3c06ecfb14137e7314518821ccc56ba53f92ee6d
2022-04-12 13:36:17 +00:00
Sooraj
d516e67c4e console: support static scalar input types on remote schema relationships [CON-129]
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/4251
Co-authored-by: Abhijeet Khangarot <26903230+abhi40308@users.noreply.github.com>
GitOrigin-RevId: 4a1278fe1b552bc01d1eda0735a9f354a2dcc83e
2022-04-12 12:27:08 +00:00
Vijay Prasanna
fd0f10f589 console: enable bigquery as an option in RS-to-DB remote joins
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/4233
GitOrigin-RevId: 9ca1006d200b18f8dfeb37475b7e0df0a05fc8c9
2022-04-11 16:56:07 +00:00
Nicolas Beaussart
6dd8365110 Remove redux event sending to the telemetry enpoint
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/4166
GitOrigin-RevId: 193a01684e0f53d8e4b8e5494b1b1826040b5505
2022-04-11 15:58:21 +00:00
Alberto Francesco Motta
e1443981d4 [CON-130] Add a feature flag for RS relationships tab
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/4184
GitOrigin-RevId: d96a64571bdbe52fd96b0a1a92cd883dbbb27d28
2022-04-11 14:58:23 +00:00
Abhijeet Khangarot
99878d9c00 console: enable mssql for db-to-remoteDb and RS-to-DB relationships
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/4243
GitOrigin-RevId: fe0f7e5d8f562ec0fae5204facd289f6a32346a5
2022-04-11 14:01:18 +00:00
Sooraj
419b19c9e7 Integrate the RS-to-RS form into Remote Schema Relationship tab [CON-98]
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/4107
Co-authored-by: Matt Hardman <28978422+mattshardman@users.noreply.github.com>
Co-authored-by: Abhijeet Khangarot <26903230+abhi40308@users.noreply.github.com>
Co-authored-by: Vijay Prasanna <11921040+vijayprasanna13@users.noreply.github.com>
Co-authored-by: Varun Choudhary <68095256+Varun-Choudhary@users.noreply.github.com>
GitOrigin-RevId: 32a21e0733fbaeb82a0870bdabbe0122f9382d96
2022-04-07 13:27:35 +00:00
Varun Choudhary
250bf6a691 console: add a radio card selector component [CON-106]
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/4135
Co-authored-by: Alberto Francesco Motta <36401353+afmotta@users.noreply.github.com>
GitOrigin-RevId: 278cafd7098180865bab679ea8738c4d1096e2c6
2022-04-07 05:35:39 +00:00
hasura-bot
4c1c4cd773 fix(console): actions search case insensitive (close #6351)
GITHUB_PR_NUMBER: 8368
GITHUB_PR_URL: https://github.com/hasura/graphql-engine/pull/8368

PR-URL: https://github.com/hasura/graphql-engine-mono/pull/4144
Co-authored-by: Alex Parra <10448714+alex-parra@users.noreply.github.com>
Co-authored-by: Varun Choudhary <68095256+Varun-Choudhary@users.noreply.github.com>
Co-authored-by: Alberto Francesco Motta <36401353+afmotta@users.noreply.github.com>
GitOrigin-RevId: ea782e59e9e1a7ded032aa3821012dfaa2aa34db
2022-04-06 09:21:21 +00:00
Matt Hardman
0b2944993f console: add RS-to-RS widget component [CON-75]
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/4149
Co-authored-by: Abhijeet Khangarot <26903230+abhi40308@users.noreply.github.com>
Co-authored-by: Sooraj <8408875+soorajshankar@users.noreply.github.com>
Co-authored-by: Vijay Prasanna <11921040+vijayprasanna13@users.noreply.github.com>
GitOrigin-RevId: edadaf0afc6060146e3e55fa4dc55cf9d027011d
2022-04-06 06:11:12 +00:00
Abhijeet Khangarot
78d870f583 console: add a new relationship tab for tables
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/4126
Co-authored-by: Alberto Francesco Motta <36401353+afmotta@users.noreply.github.com>
GitOrigin-RevId: 044802e076fd2721c12b152784dfb53e9eedbb73
2022-04-05 14:49:44 +00:00
Rikin Kachhia
bdd76adc74 console: remove need for clicking Modify before editing remote schema
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/4092
Co-authored-by: hasura-bot <30118761+hasura-bot@users.noreply.github.com>
GitOrigin-RevId: b318e4d8f7c3d94a4b0aa5b55db9847e66cb6004
2022-04-05 06:06:20 +00:00
Vijay Prasanna
d850086479 console: add RS-to-DB (only postgres & citus) relationships feature to remote schemas tab [CON-96]
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/4123
Co-authored-by: Varun Choudhary <68095256+Varun-Choudhary@users.noreply.github.com>
GitOrigin-RevId: 23c897b33d9051046ecf8a8837489318dd822c20
2022-04-04 19:37:16 +00:00
Vijay Prasanna
5e050d2db6 console: add RS-to-DB form widget [CON-110]
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/4085
Co-authored-by: Varun Choudhary <68095256+Varun-Choudhary@users.noreply.github.com>
GitOrigin-RevId: d2c4ae15e539e71eba13b3cc4098638c2c98dcae
2022-04-01 12:17:04 +00:00
Sooraj
f6aa0216fd console: RS to RS widget UI changes
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/4088
Co-authored-by: Matt Hardman <28978422+mattshardman@users.noreply.github.com>
Co-authored-by: Abhijeet Khangarot <26903230+abhi40308@users.noreply.github.com>
GitOrigin-RevId: 35f41ad826f5b5382aa60874502c1ec2556c9441
2022-04-01 05:41:55 +00:00
Rikin Kachhia
127bdcdf5c console: enable mssql aggregation query permissions
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/4125
GitOrigin-RevId: c57c1f6cff409033ec8e73297ddcc8235cf71d52
2022-03-31 12:39:19 +00:00
Abhijeet Khangarot
c066fed060 console: add remote schema type selector component [CON-111]
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/4090
GitOrigin-RevId: 97081d564933dc11ff4b71bd49e5f54af4511d73
2022-03-30 07:00:49 +00:00
Varun Choudhary
0730eca6d8 CON-74-add-a-remote-schema-remote-database-radio-card-picker
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/4081
GitOrigin-RevId: 6f169707420504d35395bd2af7552d4b4d4b2d1a
2022-03-29 17:04:38 +00:00
Abhijeet Khangarot
5e014d051c console: fix css import for AntD Tree
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/4084
GitOrigin-RevId: 16d57317b4b83713240c538249fae4f757f48405
2022-03-29 11:12:12 +00:00
Daniel Chambers
5873429e54 console: Improved computed field comment support [CON-94]
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/3946
Co-authored-by: Sooraj <8408875+soorajshankar@users.noreply.github.com>
Co-authored-by: Varun Choudhary <68095256+Varun-Choudhary@users.noreply.github.com>
Co-authored-by: Vishnu Bharathi <4211715+scriptnull@users.noreply.github.com>
GitOrigin-RevId: dfedf0f76c008b958630f66b58a59530e567a23d
2022-03-29 09:21:28 +00:00
Matt Hardman
7d8a794821 CON-104-add-a-remote-database-widget
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/4053
Co-authored-by: Alberto Francesco Motta <36401353+afmotta@users.noreply.github.com>
Co-authored-by: Abhijeet Khangarot <26903230+abhi40308@users.noreply.github.com>
Co-authored-by: Vijay Prasanna <11921040+vijayprasanna13@users.noreply.github.com>
GitOrigin-RevId: 62137ef7350f7234ace4391ad724b5860f753100
2022-03-25 12:26:11 +00:00
Vijay Prasanna
9ba1e3993e console: Fix REST live preview malformed request
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/4005
GitOrigin-RevId: 0c16c3804a047061f3a798f48024161c07323c48
2022-03-25 09:56:06 +00:00
Abhijeet Khangarot
628af0db19 console: handle console crash on action relationships with scalar output type
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/4028
GitOrigin-RevId: 33eb02569cd1258495ae7703c67fa2183a082af1
2022-03-25 06:25:30 +00:00
Varun Choudhary
3879e65e7d console: add relationships tab on remote schema [CON-58]
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/3852
Co-authored-by: Vijay Prasanna <11921040+vijayprasanna13@users.noreply.github.com>
GitOrigin-RevId: 275df81b75cf3db255b25a8adf2c1e7df9e31ded
2022-03-24 22:16:01 +00:00
Sooraj
df23bdb5f0 console: redirect to metadata status page on conflicting inherited role [CON-95]
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/4063
Co-authored-by: Vijay Prasanna <11921040+vijayprasanna13@users.noreply.github.com>
GitOrigin-RevId: cdf5f835f9bf641f2f8d8e356403e3bfd2352f5a
2022-03-24 08:15:10 +00:00
Daniel Chambers
cb1722694e console: Support custom comments for root fields
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/3930
Co-authored-by: Martin Mark <74692114+martin-hasura@users.noreply.github.com>
GitOrigin-RevId: 91c71d8ab2c4886b395f5237ca71cace9ec61d1a
2022-03-24 00:30:52 +00:00
Matt Hardman
69da592c3e CON-32-add-a-remote-schema-relationship-widget
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/3998
Co-authored-by: Alberto Francesco Motta <36401353+afmotta@users.noreply.github.com>
GitOrigin-RevId: 097b6659d2e67bd553209fa7821c45e4dfebf1f0
2022-03-23 19:12:34 +00:00
Alberto Francesco Motta
121f183231 Add Feature Flags section in Settings
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/4018
GitOrigin-RevId: 418fe0c10b5f1ce17a984399a3f773a9a76f83ea
2022-03-23 10:57:17 +00:00
Sooraj
e79aa185f9 console: document console development tooling [CON-90]
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/3994
GitOrigin-RevId: 2b4219048c62b480c78ce1547facb2b6da7bf0dc
2022-03-23 05:39:29 +00:00
Nicolas Beaussart
f5fa832d24 Add the hook layer for the feature flags
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/4014
Co-authored-by: Abhijeet Khangarot <26903230+abhi40308@users.noreply.github.com>
GitOrigin-RevId: 2acd2d638f0126e6d7dd12a92e086da32caf71a7
2022-03-18 14:43:22 +00:00
Varun Choudhary
7eb59330b1 console: call dependentSQLGenerator while adding column to a table from modify tab
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/3995
GitOrigin-RevId: 5acba7950cdccd2cc1f8a2f8c6b4b16153cd06f0
2022-03-16 13:41:58 +00:00
Rishichandra Wawhal
bd05e242d5 console: data sidebar table search
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/3826
Co-authored-by: Vijay Prasanna <11921040+vijayprasanna13@users.noreply.github.com>
Co-authored-by: Abhijeet Khangarot <26903230+abhi40308@users.noreply.github.com>
GitOrigin-RevId: a7de40686c9d3f1551e84aeec376ff143935a97a
2022-03-14 13:49:44 +00:00
Varun Choudhary
073b9c33f9 console: fixed an issue where db to db relationship where not removed from the list after deletion [CON-64]
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/3928
Co-authored-by: Vijay Prasanna <11921040+vijayprasanna13@users.noreply.github.com>
GitOrigin-RevId: 6d3e1af3df9928bccc98036dfa0252110a4a11a9
2022-03-14 12:47:21 +00:00
Varun Choudhary
773b5808fa console: pass only current schema table to local table relationships
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/3932
GitOrigin-RevId: 8b4a3821f65457aafe6008b2473d047a95da130b
2022-03-14 12:03:46 +00:00
Solomon
ca85acbfe3 Feature/improved webhook debug endpoint errors
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/3782
Co-authored-by: Abhijeet Khangarot <26903230+abhi40308@users.noreply.github.com>
GitOrigin-RevId: 404197e766efa94a1814e8a0287cd55d9175f2a7
2022-03-10 23:23:55 +00:00
Abhijeet Khangarot
62aaa7f1e3 console: add remoteSchemaTree component
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/3643
Co-authored-by: Matt Hardman <28978422+mattshardman@users.noreply.github.com>
GitOrigin-RevId: 4797a3167f308ea8a7b144c7e12b3273217ebe3a
2022-03-09 10:39:14 +00:00
Daniel Chambers
a8424c48a1 Customize column GraphQL schema descriptions
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/3888
GitOrigin-RevId: 027c319a66671a44fc6e5506bdfc9d2c10a8569f
2022-03-09 06:35:46 +00:00
Matt Hardman
d7a5689745 Console/permissions tab component
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/3710
Co-authored-by: Vijay Prasanna <11921040+vijayprasanna13@users.noreply.github.com>
Co-authored-by: Abhijeet Khangarot <26903230+abhi40308@users.noreply.github.com>
GitOrigin-RevId: ed84b1fc264f5d4455b6f9c77cfdf0ac0034460d
2022-03-08 07:46:19 +00:00
Varun Choudhary
7717e23ce5 console: Add the Relationships list component in the Remote Schema section
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/3832
GitOrigin-RevId: 748f693b005e859f2cf0380a6905fcb434f63a93
2022-03-08 06:51:24 +00:00
Varun Choudhary
74780de599 console: create a hook to fetch all remote schema relationship
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/3867
GitOrigin-RevId: c292231e56bb086fd79da7003613f0a031ab0f1f
2022-03-08 04:53:17 +00:00
Varun Choudhary
c82fdc4253 console: fixed an issue where cron triggers where not removed from the list after deletion
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/3838
Co-authored-by: Alberto Francesco Motta <36401353+afmotta@users.noreply.github.com>
GitOrigin-RevId: ebfe928fb6c966898ad88d97f114abf500a6af19
2022-03-02 09:28:08 +00:00
Rikin Kachhia
8b88d15f06 console: only show tables from current schema in clone permissions section
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/3823
Co-authored-by: Varun Choudhary <68095256+Varun-Choudhary@users.noreply.github.com>
GitOrigin-RevId: ec47f1578c89bea42fbe5db0b742a7058604c4b8
2022-03-02 06:11:40 +00:00
Abhijeet Khangarot
0d120471cd console: provide checkbox to remove body in rest connectors v2
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/3544
GitOrigin-RevId: 2beb58f09577bda72470fb0deb1099287ab4c8a9
2022-03-01 15:22:03 +00:00
Vijay Prasanna
cf9a8be7a8 console: update documentation for useTableRelationship hook
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/3818
GitOrigin-RevId: 17c49801b0dd6b4a73b8aafc5ba3b7c0a3ef28ff
2022-03-01 08:25:07 +00:00
Varun Choudhary
9ca658a4f6 console: show an error notification if Hasura CLI migrations fail
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/3786
GitOrigin-RevId: f63ccbcd99ad0e992cee9a6029a1f9af02ef1d1b
2022-02-28 10:47:58 +00:00
Daniel Chambers
0f9f2192a0 server: Customize root field GraphQL schema descriptions
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/3719
GitOrigin-RevId: b0a9bb6a0f65aac72ca95b66219eec16b2f5a0dd
2022-02-28 07:50:12 +00:00
Sooraj
72cc73826b console: fix monitoring tab on hasura pro CLI
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/3730
Co-authored-by: Varun Choudhary <68095256+Varun-Choudhary@users.noreply.github.com>
GitOrigin-RevId: 3a42c4f57bdb608b218c7f56d10dfcfa8ea75e8d
2022-02-25 05:53:06 +00:00
Varun Choudhary
6c2c46e94e console: redirect issue with inconsistent db status
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/3768
GitOrigin-RevId: b2b2876b862618a65204fc27f561b5edc980f11d
2022-02-24 12:00:27 +00:00
Varun Choudhary
f43704fb4a console: include cron trigger with include in metadata as false on cron trigger manage page
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/3745
Co-authored-by: Vijay Prasanna <11921040+vijayprasanna13@users.noreply.github.com>
GitOrigin-RevId: 373c7e60cb4314392861a5a12ac10bbb620fb387
2022-02-24 11:21:36 +00:00
Vijay Prasanna
cb893e6e3f console: Datasources features + get FK relationships hook
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/3620
Co-authored-by: Alberto Francesco Motta <36401353+afmotta@users.noreply.github.com>
GitOrigin-RevId: 63735560cb093b0a629173813800f33aeb21bdb4
2022-02-22 21:34:48 +00:00
Sooraj
9144d979d4 console: support for mssql read replicas
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/3630
Co-authored-by: Varun Choudhary <68095256+Varun-Choudhary@users.noreply.github.com>
GitOrigin-RevId: 9660a5d9cdec8aff17cf20fcad3f309bdb3d182e
2022-02-18 09:10:28 +00:00
Vijay Prasanna
bd4b643cba console: Add minimal version of metadata migration hook
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/3629
Co-authored-by: Varun Choudhary <68095256+Varun-Choudhary@users.noreply.github.com>
GitOrigin-RevId: 715aab88b7d6a1b1526899f17b167394c60e9574
2022-02-17 16:19:14 +00:00
Abhijeet Khangarot
cd219daae9 console: update know more link for remote_db relationships
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/3691
GitOrigin-RevId: 05ab7e0b3899f3106d5e4b664c6877e608a49fa8
2022-02-17 09:24:12 +00:00
Rikin Kachhia
c655fadc35 console: remove discord link from error page
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/3682
GitOrigin-RevId: 85f47a92ea6a503f65c241346f4813e9c455f495
2022-02-16 16:46:24 +00:00
Daniel Chambers
2c7a4e3a16 Customization of computed field GraphQL schema descriptions
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/3615
GitOrigin-RevId: f51590d4cfc0412be9baa371353f9b9f3b908f84
2022-02-15 23:17:27 +00:00
Matt Hardman
d2724878d3 Matt/console/permissions form
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/2893
Co-authored-by: Ikechukwu Eze <22247592+iykekings@users.noreply.github.com>
GitOrigin-RevId: e6c8dedf8369df887fdc376c606b9b2e9b3d5ddd
2022-02-14 15:37:00 +00:00
Varun Choudhary
b91cbe2903 console: enable support for update permissions for mssql
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/3591
GitOrigin-RevId: 668505d81cb647a4cd7766b957f8676062ecde49
2022-02-08 10:50:11 +00:00
Sooraj
a1eced3180 console: Implement a relationship table component
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/3486
Co-authored-by: Alberto Francesco Motta <36401353+afmotta@users.noreply.github.com>
Co-authored-by: Martin Mark <74692114+martin-hasura@users.noreply.github.com>
GitOrigin-RevId: 730fe024d86d46de1b53bfbc7e171294527a407e
2022-02-07 11:08:26 +00:00
Ikechukwu Eze
0e9805ee07 console: tests for hooks
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/3467
GitOrigin-RevId: ebf04a379a88b47996f908a062a894fe22f7c6ab
2022-02-07 10:08:53 +00:00
Daniel Chambers
51b7d98419 console: Fix typo in Session Argument label
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/3580
GitOrigin-RevId: 314da6b69551255b604cf8b38b155fcbb11e2308
2022-02-07 07:03:09 +00:00
Abhijeet Khangarot
4453745c57 console: add remote database relationships
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/3412
Co-authored-by: Vijay Prasanna <11921040+vijayprasanna13@users.noreply.github.com>
GitOrigin-RevId: 22052291dcc15e6a10ed573f5044537401d366fe
2022-02-04 13:56:27 +00:00
hasura-bot
c9e998bd91 Migrate Dropdown to typescript
GITHUB_PR_NUMBER: 8065
GITHUB_PR_URL: https://github.com/hasura/graphql-engine/pull/8065

PR-URL: https://github.com/hasura/graphql-engine-mono/pull/3436
Co-authored-by: yuta-ike <38308823+yuta-ike@users.noreply.github.com>
GitOrigin-RevId: a6a3f89ac64365c944423f7b50aaeb55cea1db1f
2022-02-04 05:51:13 +00:00
Vijay Prasanna
94eedbe07f console: enable inherited roles by default
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/3554
GitOrigin-RevId: 04db7ce07931d390b2c6e507b955c65399edae71
2022-02-02 10:13:39 +00:00
Rikin Kachhia
514779dfb2 console: display version update banner only for oss
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/3533
GitOrigin-RevId: 4c575b4d4a118857cc942d6e904d4f5d50ecd618
2022-02-01 12:19:25 +00:00
Varun Choudhary
670e0953fb console: radio input should auto-select on insert and edit row form
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/3524
GitOrigin-RevId: 75ca446fea815b03c9a4b4edfff848bb8ce5e0f5
2022-02-01 10:33:48 +00:00
Varun Choudhary
01cd14f8e3 console: add select component
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/3490
GitOrigin-RevId: 398d3b3ece16f6b279661757c0cc7bbcc2c106f6
2022-01-31 14:24:55 +00:00
Varun Choudhary
182d96ad75 console: add hooks for useRemoteSchemaRelationships
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/3444
GitOrigin-RevId: df93c994c3a9c08250a94f0b88954f8ede883cf4
2022-01-31 10:50:17 +00:00
Rikin Kachhia
eb427aaf3d console: update graphiql height and remove extra scrollbars
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/3473
GitOrigin-RevId: 20ad5759790e04342bf8531097a7f511a3fdd74f
2022-01-28 11:16:24 +00:00
hasura-bot
3796fd354d console: fix custom field names sort (fix #7974, #8021)
GITHUB_PR_NUMBER: 8037
GITHUB_PR_URL: https://github.com/hasura/graphql-engine/pull/8037

PR-URL: https://github.com/hasura/graphql-engine-mono/pull/3379
Co-authored-by: arjunyel <11153289+arjunyel@users.noreply.github.com>
Co-authored-by: Varun Choudhary <68095256+Varun-Choudhary@users.noreply.github.com>
Co-authored-by: Vijay Prasanna <11921040+vijayprasanna13@users.noreply.github.com>
GitOrigin-RevId: f561b7a0ac5b85a7ca8cdae1cc8f1ad50d61eb0c
2022-01-28 10:31:23 +00:00
Vijay Prasanna
e50c0c0a0c console: enable support for insert & delete permissions for mssql
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/3376
Co-authored-by: Varun Choudhary <68095256+Varun-Choudhary@users.noreply.github.com>
GitOrigin-RevId: 5ad23803a7326e64f17dac88e2d1caa5f7276c5f
2022-01-28 09:51:08 +00:00
Vijay Prasanna
4cfc1eea59 console: add hooks for useTableColumns and useRemoteDatabaseRelationships
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/3441
GitOrigin-RevId: eac2da4adddbdff184fabd1137cf70f551c86f21
2022-01-26 10:51:05 +00:00
Alberto Francesco Motta
576c539bcb console: add CardedTable component
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/3398
GitOrigin-RevId: f0c6bc8f95a49a6544216c0764fa633ac724e5c6
2022-01-25 10:49:46 +00:00
Rikin Kachhia
613a80c82d console: fix action/remote schema permissions edit icons
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/3460
Co-authored-by: Vijay Prasanna <11921040+vijayprasanna13@users.noreply.github.com>
GitOrigin-RevId: 90e46a39bdaab1386a2ff3c5dfbcfadd7526ef4f
2022-01-25 05:09:51 +00:00
Daniel Chambers
2c5cf6983b Fixed schema & table dropdowns being unsorted on 'create event trigger' page
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/3385
GitOrigin-RevId: 619f1bb8b22e048b47b629a1b6b3315943f1b1fe
2022-01-18 08:50:10 +00:00
Abhijeet Khangarot
54b5088acf rename webhook transforms to REST Connectors
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/3334
Co-authored-by: Tirumarai Selvan <8663570+tirumaraiselvan@users.noreply.github.com>
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: Rikin Kachhia <54616969+rikinsk@users.noreply.github.com>
GitOrigin-RevId: 6722cc6449daa5111aa3d6afca8909c5af525bf7
2022-01-17 13:28:04 +00:00
Ikechukwu Eze
c01232ea13 console: create a hook for each loadShema sql queries
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/3016
GitOrigin-RevId: 030eef3b8e71281c419f8f7ec6dcbd40a085be74
2022-01-13 09:24:31 +00:00