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