Sooraj
31c94f3180
console: Hide cumulative max connections
...
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/6182
GitOrigin-RevId: 3cd58995ed418f6fdf9e09747b382f717f7ecfae
2022-10-04 13:26:53 +00:00
Varun Choudhary
761bcf6883
console: show event trigger invocation logs if only event logs are cleaned
...
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/6169
GitOrigin-RevId: e89e798bcb9a754ddef258fc58e2ad35046e1141
2022-10-04 12:52:17 +00:00
Abhijeet Khangarot
52873dba95
console: add reload metadata call to useInstallMetadata
hook
...
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/6168
GitOrigin-RevId: f8f72ab47898594d6aa8327d44215c760756a160
2022-10-03 14:12:59 +00:00
Varun Choudhary
1635ddd607
console: fix UI for auto-cleanup event trigger on modify page
...
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/6164
GitOrigin-RevId: c1683c72f487d17e2fc46677b205cde862fe9663
2022-10-03 11:57:11 +00:00
Daniele Cammareri
4342151099
console: fix local object relationship deletion
...
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/6147
Co-authored-by: Varun Choudhary <68095256+Varun-Choudhary@users.noreply.github.com>
GitOrigin-RevId: 2995cf3fabf651f40b8db50dfc93f25b42f02944
2022-10-03 10:25:47 +00:00
Nicolas Inchauspe
f4ec8ed1f1
console: rollback remote schema permission edition buttons migration
...
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/6127
GitOrigin-RevId: f290daa147715918df194dc94cb1132aa50671b1
2022-10-03 08:13:36 +00:00
nevermore
c46a50d950
console: query auto population and usage
...
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/6107
Co-authored-by: Rishichandra Wawhal <27274869+wawhal@users.noreply.github.com>
Co-authored-by: Abhijeet Khangarot <26903230+abhi40308@users.noreply.github.com>
GitOrigin-RevId: 1a6761de0db9f4ece8a26c9af54178c7f2461943
2022-09-30 16:34:05 +00:00
Rishichandra Wawhal
950e8dbe25
console: add onboarding events to neon integration; misc onboarding changes
...
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/6131
Co-authored-by: Abhijeet Khangarot <26903230+abhi40308@users.noreply.github.com>
GitOrigin-RevId: 88ffbeb8539dee04ac4b83c6db124fa5817c303c
2022-09-30 13:57:14 +00:00
nevermore
1a62677583
console: update Neon Banner and adjust button
...
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/6144
Co-authored-by: Abhijeet Khangarot <26903230+abhi40308@users.noreply.github.com>
GitOrigin-RevId: 09fe0008f004977cf0fbcbdb873df791656f82a8
2022-09-30 12:14:37 +00:00
Erik Magnusson
a93eadb244
fixed faulty JSON inserts for cockroach and citus
...
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/6140
GitOrigin-RevId: 611996e19a7fe3f049ed986f0574048ee539043a
2022-09-30 11:47:46 +00:00
Luca Restagno
736a8e25ce
console: BigQuery filters not working
...
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/6115
GitOrigin-RevId: 13866a5eaa12fbba33a06e9b38c496e46293d9be
2022-09-30 10:45:32 +00:00
Abhijeet Khangarot
265746189e
console: enhance onboarding query dialog UI
...
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/6130
Co-authored-by: Rishichandra Wawhal <27274869+wawhal@users.noreply.github.com>
GitOrigin-RevId: 9afeafe5d0e9c86c5bee5139cb3209133d7c6cc2
2022-09-30 07:06:57 +00:00
nevermore
54f7a29345
console: removing the existing onboarding with neon launch
...
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/6091
Co-authored-by: Rishichandra Wawhal <27274869+wawhal@users.noreply.github.com>
Co-authored-by: Abhijeet Khangarot <26903230+abhi40308@users.noreply.github.com>
GitOrigin-RevId: 740ab4545420db754b2ea4d4ae904180b8f51bbe
2022-09-30 06:03:44 +00:00
Rishichandra Wawhal
75aed6f933
console: show template summary in a modal after sample template has been installed in Neon onboarding
...
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/6117
Co-authored-by: Abhijeet Khangarot <26903230+abhi40308@users.noreply.github.com>
GitOrigin-RevId: 68ca37fadbe9ee5e67a066b5c32b23992665773f
2022-09-29 18:36:34 +00:00
Rishichandra Wawhal
2b21e6bb14
console: allow skipping notification display while adding datasource
...
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/6121
GitOrigin-RevId: 3291185ee74502364a0452c8eaf0c9db3e03709e
2022-09-29 15:11:14 +00:00
Varun Choudhary
4894154be5
console: UI changes for the Try it
feature
...
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/6111
GitOrigin-RevId: e37407c36e4213f664584b552255a3463f78abfb
2022-09-29 10:10:02 +00:00
Rishichandra Wawhal
077e0cf563
console: show onboarding wizard only for cloud console
...
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/6109
GitOrigin-RevId: 231d6fa1ffd4128c6c8d7cf5d46bc2cc9985c368
2022-09-29 07:45:26 +00:00
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