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