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
Vijay Prasanna
3d2dfc6077
console: fixes failing tests on modify page for tables
...
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/3357
GitOrigin-RevId: 0672b1b7c82c7d99cf7a403cf535d435cbc8d887
2022-01-13 08:33:56 +00:00
hasura-bot
890b6714ba
console: migrate some components to TypeScript
...
GITHUB_PR_NUMBER: 7984
GITHUB_PR_URL: https://github.com/hasura/graphql-engine/pull/7984
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/3244
Co-authored-by: yuta-ike <38308823+yuta-ike@users.noreply.github.com>
Co-authored-by: Varun Choudhary <68095256+Varun-Choudhary@users.noreply.github.com>
GitOrigin-RevId: dae29147e5675871ed698729a34da4624f3ad359
2022-01-12 09:44:32 +00:00
hasura-bot
5f37f28fda
console: migrate ColumnCreator component to TypeScript
...
GITHUB_PR_NUMBER: 7981
GITHUB_PR_URL: https://github.com/hasura/graphql-engine/pull/7981
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/3243
Co-authored-by: yuta-ike <38308823+yuta-ike@users.noreply.github.com>
Co-authored-by: Vijay Prasanna <11921040+vijayprasanna13@users.noreply.github.com>
GitOrigin-RevId: ce02bafa52eba26176e1295d0a526112244dadc0
2022-01-12 07:26:19 +00:00
Vijay Prasanna
b791cd3866
console: enable oss auth layer
...
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/3269
GitOrigin-RevId: e9135475f63263512c2c3f487c1fbfed9014e2a6
2022-01-11 09:12:23 +00:00
Ikechukwu Eze
1691e93c96
console: rename Timeout to Operation time limit
...
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/3312
GitOrigin-RevId: 8e54fd39c9193107f5c1b5c45089d9440d4b3d66
2022-01-10 13:09:59 +00:00
Abhijeet Khangarot
21d1baecb4
console: refactor getSetCommentSql signature
...
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/3214
Co-authored-by: Vijay Prasanna <11921040+vijayprasanna13@users.noreply.github.com>
GitOrigin-RevId: c07a47bd88f173280ad8b1f14765e85bb8ea3ed6
2022-01-07 06:54:42 +00:00
Rishichandra Wawhal
61f1b956b0
console: update README.md
...
Links to the team-console feature doc for folks trying to build console for Hasura Cloud/Hasura EE.
Rendered: https://github.com/hasura/graphql-engine-mono/tree/team-console-doc-ref-in-console-readme/console
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/2677
GitOrigin-RevId: c4be1131907ee533013d2e3aaff94b043a1f5631
2022-01-03 05:12:30 +00:00
Abhijeet Khangarot
4ececd448b
console: add remote relationships tests
...
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/3188
Co-authored-by: Vijay Prasanna <11921040+vijayprasanna13@users.noreply.github.com>
GitOrigin-RevId: 90e7197351b8b1718b77a88cbe9bd18436a616d7
2021-12-23 17:57:49 +00:00
Vijay Prasanna
5ad04cc58d
console: add oss auth layer
...
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/3091
Co-authored-by: Alberto Francesco Motta <36401353+afmotta@users.noreply.github.com>
GitOrigin-RevId: 8de137b59518e9717cb9edb3f880a342a4e4371e
2021-12-23 15:12:36 +00:00
Matt Hardman
19c7002a7b
Console/fix update column comment
...
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/3201
GitOrigin-RevId: 7a04cf2b94cccebe31041df76b2260dfae2b66bc
2021-12-22 06:40:28 +00:00
Matt Hardman
aabc5189be
console: fix remote schema permissions default args
...
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/3067
GitOrigin-RevId: cff7555b8ff0d99f1f21148281147bc6f97adaf2
2021-12-22 05:09:57 +00:00
Ikechukwu Eze
eeeb3f7816
console: prepare for new loadschema hooks
...
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/3051
GitOrigin-RevId: 71bd296fb918c40750fec877410cc50cde1ceaee
2021-12-17 13:26:54 +00:00
Antoine Leblanc
bacadc30da
Fix several issues with remote relationships.
...
## Remaining Work
- [x] changelog entry
- [x] more tests: `<backend>_delete_remote_relationship` is definitely untested
- [x] negative tests: we probably want to assert that there are some APIs we DON'T support
- [x] update the console to use the new API, if necessary
- [x] ~~adding the corresponding documentation for the API for other backends (only `pg_` was added here)~~
- deferred to https://github.com/hasura/graphql-engine-mono/issues/3170
- [x] ~~deciding which backends should support this API~~
- deferred to https://github.com/hasura/graphql-engine-mono/issues/3170
- [x] ~~deciding what to do about potentially overlapping schematic representations~~
- ~~cf. https://github.com/hasura/graphql-engine-mono/pull/3157#issuecomment-995307624~~
- deferred to https://github.com/hasura/graphql-engine-mono/issues/3171
- [x] ~~add more descriptive versioning information to some of the types that are changing in this PR~~
- cf. https://github.com/hasura/graphql-engine-mono/pull/3157#discussion_r769830920
- deferred to https://github.com/hasura/graphql-engine-mono/issues/3172
## Description
This PR fixes several important issues wrt. the remote relationship API.
- it fixes a regression introduced by [#3124 ](https://github.com/hasura/graphql-engine-mono/pull/3124 ), which prevented `<backend>_create_remote_relationship` from accepting the old argument format (break of backwards compatibility, broke the console)
- it removes the command `create_remote_relationship` added to the v1/metadata API as a work-around as part of [#3124 ](https://github.com/hasura/graphql-engine-mono/pull/3124 )
- it reverts the subsequent fix in the console: [#3149 ](https://github.com/hasura/graphql-engine-mono/pull/3149 )
Furthermore, this PR also addresses two other issues:
- THE DOCUMENTATION OF THE METADATA API WAS WRONG, and documented `create_remote_relationship` instead of `<backend>_create_remote_relationship`: this PR fixes this by adding `pg_` everywhere, but does not attempt to add the corresponding documentation for other backends, partly because:
- `<backend>_delete_remote_relationship` WAS BROKEN ON NON-POSTGRES BACKENDS; it always expected an argument parameterized by Postgres.
As of main, the `<backend>_(create|update|delete)_remote_relationship` commands are supported on Postgres, Citus, BigQuery, but **NOT MSSQL**. I do not know if this is intentional or not, if it even should be publicized or not, and as a result this PR doesn't change this.
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/3157
Co-authored-by: jkachmar <8461423+jkachmar@users.noreply.github.com>
GitOrigin-RevId: 37e2f41522a9229a11c595574c3f4984317d652a
2021-12-16 20:29:19 +00:00
Vijay Prasanna
ae124e2ee8
console/hotfix: use legacy create_remote_relationship for pg
...
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/3149
GitOrigin-RevId: 578d0bdf916df04beb5900fb99a2d063370fc7c7
2021-12-15 11:53:42 +00:00
Abhijeet Khangarot
5726852c54
console: add sample context section to request transforms
...
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/3110
GitOrigin-RevId: 1c11b8d1a465802490ce12cefce1469a9d24522d
2021-12-14 09:29:18 +00:00
Abhijeet Khangarot
d7ac98db44
console: request transform bugfixes
...
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/3089
GitOrigin-RevId: ed251ea81c77f3cb2832c7f6cc6dbf801464afae
2021-12-08 12:00:06 +00:00
Abhijeet Khangarot
16006a1cbc
console: fix console crash while selecting columns in event trigger
...
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/3075
GitOrigin-RevId: 82096c9ab3b42d58fd150a8efc4077e18baa9335
2021-12-08 07:14:33 +00:00
Ikechukwu Eze
ac14e9a3f4
console (chore): upgrade typescript to 4.5.2
...
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/3048
GitOrigin-RevId: 3a19ce1a4bb5ec9102e5da18dad84fefc2b5fc3e
2021-12-06 12:40:01 +00:00
Vijay Prasanna
2abd5a464a
console: remove raw sql timeout for postgres
...
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/3011
GitOrigin-RevId: 7363b58fdf015dbe653c604eacc328899c90d265
2021-12-02 08:45:26 +00:00
Matt Hardman
58829693e8
Permissions Component Showcase stories ( close #2863 )
...
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/2985
GitOrigin-RevId: 6d0410fcfb9252e71e6e6cc969284b084eca22a0
2021-12-02 06:23:42 +00:00
Rishichandra Wawhal
0c3cd7f092
console: vpc banner improvements
...
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/2838
Co-authored-by: Martin Mark <74692114+martin-hasura@users.noreply.github.com>
GitOrigin-RevId: cce5e465aa2da0e45cdcfc2fd5f8a81298eaa827
2021-11-30 11:14:29 +00:00
Varun Choudhary
bc467a283a
console: Add select all columns option while selecting the columns in event triggers
...
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/2688
Co-authored-by: Abhijeet Khangarot <26903230+abhi40308@users.noreply.github.com>
GitOrigin-RevId: 0b98d2f388c7f8428f3c282e8c1662f8b046f4dd
2021-11-29 12:29:47 +00:00
Matt Hardman
6451fba595
console: create permissions table components
...
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/2840
GitOrigin-RevId: a6dbc4d7e3278006465b44cfc4392afec1f9d426
2021-11-26 12:32:04 +00:00
Abhijeet Khangarot
0f07f944ba
console: request transformations for events
...
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/2498
Co-authored-by: Sooraj <8408875+soorajshankar@users.noreply.github.com>
GitOrigin-RevId: d1c331fb989e247ed807167eefa92b226fe4afb9
2021-11-26 08:50:44 +00:00
hasura-bot
4933c7cf0a
Do not check name of unique key constraint when suggesting autorelations ( closes #7525 )
...
GITHUB_PR_NUMBER: 7529
GITHUB_PR_URL: https://github.com/hasura/graphql-engine/pull/7529
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/2321
Co-authored-by: BenoitRanque <25712958+BenoitRanque@users.noreply.github.com>
GitOrigin-RevId: a715e63f6804e87166c915b58aab87e2bcf28d31
2021-11-19 11:26:41 +00:00
Ikechukwu Eze
7a6876d9e1
console: fix infinite redirect when there are no schemas in database
...
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/2880
GitOrigin-RevId: 500f3964a05ffa00694b3bebd668da9c957508b4
2021-11-16 22:08:17 +00:00
Matt Hardman
620f45debf
Create new storybook components for Table Permissions Form
...
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/2768
GitOrigin-RevId: f0250ebd1578fcf91449212bc0dab49de192a742
2021-11-16 14:36:48 +00:00
Alberto Francesco Motta
f2b8db9dcf
Add RouteLoader component
...
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/2804
GitOrigin-RevId: a41409896e154a75ce112e0a073e1091f3f0becb
2021-11-15 18:16:22 +00:00
Sooraj
d867bb7303
console/actions: fix cypress tests
...
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/2780
Co-authored-by: Vijay Prasanna <11921040+vijayprasanna13@users.noreply.github.com>
GitOrigin-RevId: 4ce4e24f122705fb808de0a32a2c09a30a0d78d4
2021-11-14 19:26:59 +00:00
Nicolas Beaussart
59cc19e2d4
console: remove import order eslint rule
...
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/2824
GitOrigin-RevId: cd17ab0fee72821e9379b518f152cd4cb0706105
2021-11-11 13:36:18 +00:00
Matt Hardman
7303dd739c
console: fix flaky manage database test
...
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/2553
Co-authored-by: Vijay Prasanna <11921040+vijayprasanna13@users.noreply.github.com>
Co-authored-by: Ikechukwu Eze <22247592+iykekings@users.noreply.github.com>
GitOrigin-RevId: b4ffb4ea1a14ce27e21a71a797efdde0b5affdd8
2021-11-11 12:16:05 +00:00
Matt Hardman
55c7be6b61
console: add comments to tracked functions
...
Closes https://github.com/hasura/graphql-engine/issues/7628
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/2745
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: 8a9c89a4175c5d0a48dada30a12cfdc0f4bf4250
2021-11-09 18:18:07 +00:00
Vijay Prasanna
3ba490dc06
console: use custom column names in postgres browse rows
...
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/2693
GitOrigin-RevId: b1c4b7302eae5aa6f47137a2c848d4ae775ebf77
2021-11-08 07:29:23 +00:00
Sooraj
790cf5c599
console/actions: remove query and transform tests
...
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/2779
Co-authored-by: Vijay Prasanna <11921040+vijayprasanna13@users.noreply.github.com>
GitOrigin-RevId: 3e38bd2f61a685ec5e0a032a6144a33fd81d9468
2021-11-05 17:59:08 +00:00
Vijay Prasanna
17039fd6b2
console: add new button component wrapper
...
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/2700
Co-authored-by: Ikechukwu Eze <22247592+iykekings@users.noreply.github.com>
Co-authored-by: Nicolas Beaussart <7281023+beaussan@users.noreply.github.com>
GitOrigin-RevId: 65c1291a6caf10380c31105d82b85f5d75a57752
2021-11-05 14:21:38 +00:00
Ikechukwu Eze
1c15991605
console: use react-query for data fetching with custom hook
...
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/2696
GitOrigin-RevId: 062b59470dae2a1cbba68ef47f2a52beec7ed4b8
2021-11-04 10:42:17 +00:00
Abhijeet Khangarot
e6c62e6793
console: request transformations for actions
...
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/2164
Co-authored-by: Sooraj <8408875+soorajshankar@users.noreply.github.com>
GitOrigin-RevId: c34fb51f6f7836e7ccbcbfba26d357b86a6f1253
2021-11-03 08:59:34 +00:00
Ikechukwu Eze
5694d41025
console: avoid setting current datasource if imported metadata doesn't contain any source ( close #7725 )
...
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/2735
GitOrigin-RevId: b1daf6a57fd148bb25bf292fa5f1efe671144df9
2021-11-02 12:47:16 +00:00
Ikechukwu Eze
f15b5958c5
console: fix bug with displaying 1-to-1 relationship with the same column mapping
...
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/2639
GitOrigin-RevId: 845889c1f20379e889f2344d93e74e5060c443ef
2021-10-31 10:16:44 +00:00
Abhijeet Khangarot
6e063ea771
console: fix permissions builder bug
...
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/2694
GitOrigin-RevId: b502204fba9cfcf325203f10ca5a9409448a403a
2021-10-26 18:08:00 +00:00
Vijay Prasanna
21b36b6dcb
console: allow adding read replicas to existing datasources
...
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/2638
GitOrigin-RevId: 9f490da83257820b111d7dab786d2c90d1a114cd
2021-10-22 10:00:50 +00:00
Martin Mark
0430ab1964
console: Apply Tailwind styles to Connect Datasource table
...
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/2372
Co-authored-by: Nicolas Beaussart <7281023+beaussan@users.noreply.github.com>
GitOrigin-RevId: 289ddc445aee7f3acb3a1b40d154f807af0f2021
2021-10-21 09:26:43 +00:00
Ikechukwu Eze
9015b354ac
console: allow dropping indices on all schemas
...
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/2560
GitOrigin-RevId: f79fbbecbc4b7d9d9a64f7c8f2f9e36487b77158
2021-10-20 14:27:09 +00:00
Aishwarya Rao
e2e740aa68
pro-console: Make caching discoverable on console
...
### Description
Since caching is now enabled for free tier, the following changes are to be done to ensure caching is more discoverable:
Spec: https://docs.google.com/document/d/1Ic2I7wQYj_A8qJhRffboQPdDsozd463fy-wuvb1bERw/edit
### Affected components
- [x] Console
### Related Issues
#2340
### Solution and Design
1. Added a new Cache button to the GraphiQL toolbar
2. Added a GraphiQL footer to display response time and response size for queries
3. Removed 'Copy' and 'Voyager' buttons to make space for 'Cache' button
### Steps to test and verify
1. Click on the 'Cache' button on the GraphiQL toolbar to add @cached directive to your query which enables caching for query response.
2. The response time and response size details will be displayed in the footer below the query response
3. The Cache keyword with a success icon is displayed in the footer when response caching is enabled
### Screenshots
1. Queries without response caching
<img width="1440" alt="Screenshot 2021-09-15 at 11 09 23 AM" src="https://user-images.githubusercontent.com/59638722/133379080-9e4fa2ac-2a60-4030-9152-739564fd2419.png ">
2. Response caching enabled
<img width="1440" alt="Screenshot 2021-09-15 at 11 09 50 AM" src="https://user-images.githubusercontent.com/59638722/133379089-3ddb321f-ae82-4d57-ab50-0284f151819c.png ">
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/2353
Co-authored-by: Rishichandra Wawhal <27274869+wawhal@users.noreply.github.com>
GitOrigin-RevId: abc7566085c8ed7e362a0abc2b3906c2c8974cee
2021-10-19 09:07:37 +00:00
Vijay Prasanna
6f21b48e87
console/mssql: enable custom graphQL fields to modify tab
...
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/2518
GitOrigin-RevId: 31f4f366e2cb8ebc7d65f73fd2d7ee6539c30886
2021-10-14 14:57:24 +00:00
Vijay Prasanna
69ff739a8d
console: fix issue with detecting SQL functions in default value input
...
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/2571
GitOrigin-RevId: c05fe4b3b6d938e9d873aab82691b89efe6c7f5b
2021-10-14 13:41:56 +00:00
Vijay Prasanna
3345f7946c
console/citus: enable graphql custom root fields for citus
...
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/2519
GitOrigin-RevId: fb35b0ff3193ba94b6bb8c404fc7000ee07fbc04
2021-10-14 12:09:41 +00:00
Abhijeet Khangarot
23abe1a27a
console: fix console crash on giving action definition
...
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/2524
GitOrigin-RevId: 0df67dec2a9f0975cb325a729a87d294f9f7b5a4
2021-10-13 10:24:05 +00:00
Ram
1d719eb811
console: added VPC banner
...
Addresses issue [3207](https://github.com/hasura/lux/issues/3027 )
Screenshot -
<img width="1440" alt="image" src="https://user-images.githubusercontent.com/13349289/135503433-11d27242-0114-476a-a5cb-2820b71881ce.png ">
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/2480
Co-authored-by: Nicolas Beaussart <7281023+beaussan@users.noreply.github.com>
GitOrigin-RevId: 12fe4af72fd02a214c6b571c7bb125e63b1eabc7
2021-10-12 19:17:54 +00:00
Martin Mark
450621dcc5
console: loading spinner position change for GraphiQL
...
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/2363
Co-authored-by: Nicolas Beaussart <7281023+beaussan@users.noreply.github.com>
GitOrigin-RevId: 553d4d1528d31c38b1a3e020912147d9342ac69d
2021-10-11 14:32:13 +00:00
Martin Mark
efc86d8524
Tailwind -> Add and Modify Table Updates
...
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/2289
Co-authored-by: Nicolas Beaussart <7281023+beaussan@users.noreply.github.com>
Co-authored-by: Martin Mark <1396255+m-rgba@users.noreply.github.com>
Co-authored-by: Vijay Prasanna <11921040+vijayprasanna13@users.noreply.github.com>
GitOrigin-RevId: 0cb7c1ae082e05dd647edd5bd35d3632764d36ac
2021-10-11 13:21:24 +00:00
Nicolas Beaussart
881714bea8
console: make schema mendatory and used for form values
...
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/2537
GitOrigin-RevId: e1224d242addd47bae953b98775424b655f18a85
2021-10-08 05:04:21 +00:00
Ikechukwu Eze
826020d796
console: fix v2 metadata imports
...
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/2510
GitOrigin-RevId: b2d44acd083637ac0c672827eb43b7698b3f2b77
2021-10-07 11:25:11 +00:00
Nicolas Beaussart
4c8687fdab
console: add form library components
...
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/2421
Co-authored-by: Martin Mark <74692114+martin-hasura@users.noreply.github.com>
GitOrigin-RevId: 52dc6e600ebc174616e3f408c4394a3993b6dae7
2021-10-07 09:51:10 +00:00
Karthikeyan Chinnakonda
64e2201179
server: enable inherited roles by default
...
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/2325
Co-authored-by: Nicolas Beaussart <7281023+beaussan@users.noreply.github.com>
GitOrigin-RevId: 8ad6fe25a3788892128c1d56b8fa0e8feed2caca
2021-10-05 12:29:32 +00:00
Ikechukwu Eze
8ca962ab91
console: add time limits setting to security settings
...
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/2420
GitOrigin-RevId: 9c2752c4939a8d22474277f6894bf50f02486899
2021-10-05 10:49:30 +00:00
Ikechukwu Eze
569fb3d217
console: fix missing cross-schema computed fields in permission builder
...
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/2453
GitOrigin-RevId: 98f5320981f58c049fae5ca5d6801351d017edf6
2021-09-29 13:55:47 +00:00
Nicolas Beaussart
0af2cbca73
console: fix storybook build
...
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/2441
GitOrigin-RevId: f7a04b26a49d506090d6be07b97a1da9e007d79c
2021-09-28 10:16:38 +00:00
Sameer Kolhar
51ad8a18c6
document recommended node version info in README
...
https://github.com/hasura/graphql-engine-mono/pull/2171
GitOrigin-RevId: 35725e8b652564b1c500c81d9ae38e7f87652d57
2021-09-24 10:20:01 +00:00
Rikin Kachhia
0912fcb215
console: handle large db schemas
...
https://github.com/hasura/graphql-engine-mono/pull/2417
Co-authored-by: Vijay Prasanna <11921040+vijayprasanna13@users.noreply.github.com>
GitOrigin-RevId: 233eb6e61438b965ea3c7832ce44e846ffc16992
2021-09-23 14:59:26 +00:00
Divi
0adf365238
ci: migrate oss console jobs to buildkite
...
https://github.com/hasura/graphql-engine-mono/pull/2414
GitOrigin-RevId: 1488b67ed5c6323370943cc3cc9cd355f795a73a
2021-09-23 13:49:08 +00:00
Kali Vara Purushotham Santhati
ffce0d266b
cli: non zero exit code if any of the database migrations aren't applied
...
Issue: https://github.com/hasura/graphql-engine/issues/7499
Problem: cli doesn't exit if `migrate apply --all-databases` fail on 1 or more databases
Solution: Store the names of the databases for which it failed and return
```
operation failed on : <database1>,<database2>,etc
```
https://github.com/hasura/graphql-engine-mono/pull/2305
Co-authored-by: Aravind K P <8335904+scriptonist@users.noreply.github.com>
Co-authored-by: Vijay Prasanna <11921040+vijayprasanna13@users.noreply.github.com>
GitOrigin-RevId: 8a30bdcc24de8a204320b00e5ea9d593a6293ad4
2021-09-23 06:50:25 +00:00
Ikechukwu Eze
be6cd11319
console: fix cross-schema array relationship suggestions
...
https://github.com/hasura/graphql-engine-mono/pull/2365
GitOrigin-RevId: a677c46c21a067af847643b1dc021f6fcbe025c8
2021-09-22 09:25:19 +00:00
Martin Mark
12fc9725c1
console: API Headers Checkbox > reverting to legacy-input-fix
...
https://github.com/hasura/graphql-engine-mono/pull/2376
GitOrigin-RevId: bc9451db156b0db31d7730b0ff3740f0a86f44ad
2021-09-21 14:51:54 +00:00
Vijay Prasanna
11d66753be
console: add GraphQL customisation under Remote schema edit tab
...
https://github.com/hasura/graphql-engine-mono/pull/2302
GitOrigin-RevId: 60e420298f568779b2732a3fd90388f8adefa599
2021-09-21 07:54:02 +00:00
Nicolas Beaussart
a34f8d86cb
console: add storybook support
...
https://github.com/hasura/graphql-engine-mono/pull/2154
Co-authored-by: Matt Hardman <28978422+mattshardman@users.noreply.github.com>
GitOrigin-RevId: e3caefdd0eaa904ed2167248cc166cdb38e7722e
2021-09-20 16:31:25 +00:00
Vijay Prasanna
1afd38f887
console: add source attribute to make migration action
...
https://github.com/hasura/graphql-engine-mono/pull/2213
Co-authored-by: Kali Vara Purushotham Santhati <72007599+purush7@users.noreply.github.com>
GitOrigin-RevId: 3cf65f0062005d23aa264da744dc680417275add
2021-09-14 06:49:57 +00:00
Matt Hardman
bbed956137
console: support tracking of functions with return a single row (close#2281)
...
### Description
- Tracking functions that return a single row were unsupported, this was fixed with -> [this](https://github.com/hasura/graphql-engine/issues/4299#issuecomment-911553730 )
- This PR updates the console to list functions that return a single row as trackable
### 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.
### Affected components
- [x] Console
### Related Issues
#2281
### Solution and Design
>
### Steps to test and verify
- Create the following table
```sql
create table users (
"id" int primary key,
"name" text
);
```
- Create a function that returns one row, (don't tick track function)
```sql
CREATE OR REPLACE FUNCTION public.me()
RETURNS users
LANGUAGE sql
STABLE
AS $function$
select *
from public.users
where id = 1;
$function$
```
- click on the schema and the function should appear in untracked functions
<img width="614" alt="Screenshot 2021-09-13 at 11 18 30" src="https://user-images.githubusercontent.com/28978422/133067170-24d5adc7-73d4-44ae-941f-ed790d2d861c.png ">
---
### Kodiak commit message
Information used by [Kodiak bot](https://kodiakhq.com/ ) while merging this PR.
#### Commit title
Same as the title of this pull request
https://github.com/hasura/graphql-engine-mono/pull/2329
Co-authored-by: Ikechukwu Eze <22247592+iykekings@users.noreply.github.com>
GitOrigin-RevId: 6365a1bf35205a51e995c2b17104eb2f79563756
2021-09-14 05:29:08 +00:00
Martin Mark
e0cabef0ca
console: updated override styles for GraphiQL / React-Select
...
https://github.com/hasura/graphql-engine-mono/pull/2315
Co-authored-by: Nicolas Beaussart <7281023+beaussan@users.noreply.github.com>
GitOrigin-RevId: b1011bce3980b4ea5541ff7e68843b200fe7a6e8
2021-09-11 07:56:43 +00:00
Vijay Prasanna
f639012999
console: modify placeholder generator function
...
https://github.com/hasura/graphql-engine-mono/pull/2218
Co-authored-by: Matt Hardman <28978422+mattshardman@users.noreply.github.com>
GitOrigin-RevId: b10b791d87ca0d688638d9b0c78e1f5d2aafe2df
2021-09-09 09:09:05 +00:00
Ikechukwu Eze
dc4713b9d3
console: refactor PermissionBuilder.js to typescript
...
### Changelog
no changelog required
### Affected components
- [ ] Server
- [x] Console
- [ ] CLI
- [ ] Docs
- [ ] Community Content
- [ ] Build System
- [ ] Tests
- [ ] Other (list it)
https://github.com/hasura/graphql-engine-mono/pull/2122
GitOrigin-RevId: d12d225454659621198286c15965345c7a8a8e01
2021-09-08 14:12:04 +00:00
hasura-bot
570f9622f1
fix typo in TemplateGalleryTable
...
GITHUB_PR_NUMBER: 7518
GITHUB_PR_URL: https://github.com/hasura/graphql-engine/pull/7518
https://github.com/hasura/graphql-engine-mono/pull/2310
Co-authored-by: ghry5 <32223782+ghry5@users.noreply.github.com>
GitOrigin-RevId: 5724f604f8f59deec258b5650cec5a6752d6ac41
2021-09-08 07:03:52 +00:00
Nicolas Beaussart
1b90360bb3
console: add fixed height to html
...
https://github.com/hasura/graphql-engine-mono/pull/2073
Co-authored-by: Martin Mark <74692114+martin-hasura@users.noreply.github.com>
GitOrigin-RevId: b13f9e478b2569a5bd9b6c845c80df81a560cdc4
2021-09-03 07:36:58 +00:00
Ikechukwu Eze
8ca110b5bb
console: fix data sidebar not updated when a table is renamed
...
https://github.com/hasura/graphql-engine-mono/pull/2237
GitOrigin-RevId: 53ee0ab1b786e8364df3af73396c97c6acb5470f
2021-08-30 10:50:28 +00:00
Ikechukwu Eze
3f4dda2520
console: support computed fields in remote schema join
...
https://github.com/hasura/graphql-engine-mono/pull/2188
GitOrigin-RevId: 2d6fae62dbdcbdc7515a7b4982299dc9610a2230
2021-08-27 09:58:17 +00:00
Varun Choudhary
31fd4a3df2
console: support insecure TLS allowlist
...
https://github.com/hasura/graphql-engine-mono/pull/1985
Co-authored-by: Sooraj <8408875+soorajshankar@users.noreply.github.com>
GitOrigin-RevId: 9d71ff7624346395c91720bca260a5219622555e
2021-08-26 14:08:14 +00:00
hasura-bot
52aaf2751a
Fix typo: iconsistent -> inconsistent
...
GITHUB_PR_NUMBER: 7394
GITHUB_PR_URL: https://github.com/hasura/graphql-engine/pull/7394
https://github.com/hasura/graphql-engine-mono/pull/2091
Co-authored-by: Tyler Breisacher <244381+MatrixFrog@users.noreply.github.com>
GitOrigin-RevId: a5a4547e5e187193ab4f7a2cb4b8e85139c75967
2021-08-25 13:26:18 +00:00
Nicolas Beaussart
05c0382036
console: fix remote schema permission spacing
...
https://github.com/hasura/graphql-engine-mono/pull/2182
GitOrigin-RevId: c362e377879c3faba3857b0bdcd77a9cb586c8f5
2021-08-23 12:56:16 +00:00
Nicolas Beaussart
89dc079977
pro-console: fix pro console ui and revert package locks
...
https://github.com/hasura/graphql-engine-mono/pull/2170
GitOrigin-RevId: f5344f5729be48bb0eb1c2a87a4e5641169975a0
2021-08-20 16:28:05 +00:00
Ikechukwu Eze
f02234ee10
console: remove redux-logger
...
https://github.com/hasura/graphql-engine-mono/pull/2130
GitOrigin-RevId: 557c69f13665984e5500543dfc3eb611c234bf9c
2021-08-19 23:24:16 +00:00
Ikechukwu Eze
4330798a71
console: fix error due too rendering inconsistent object's message
...
https://github.com/hasura/graphql-engine-mono/pull/2116
GitOrigin-RevId: a2d8230bf685a201991adfe33f548c9e9c24e44b
2021-08-19 16:43:17 +00:00
Nicolas Beaussart
582ebcca9c
console: move to dart-sass
...
https://github.com/hasura/graphql-engine-mono/pull/2155
GitOrigin-RevId: 2c86a617314d9c308c295c18cdbcba8060e2075c
2021-08-19 14:36:21 +00:00
Vijay Prasanna
479c0b3980
console: add quotes to column names
...
https://github.com/hasura/graphql-engine-mono/pull/2127
GitOrigin-RevId: 6c1596ad132a400f2c2864712d7ffa3a4a7ae2f2
2021-08-18 09:33:11 +00:00
Sooraj
c0ea2b0a04
console: oss test optimisation
...
https://github.com/hasura/graphql-engine-mono/pull/1837
GitOrigin-RevId: e638ca400a275a2cba7fec64f157c989b2147b8e
2021-08-18 08:38:34 +00:00
hasura-bot
2d03920169
console: add custom timeouts to actions
...
GITHUB_PR_NUMBER: 6251
GITHUB_PR_URL: https://github.com/hasura/graphql-engine/pull/6251
https://github.com/hasura/graphql-engine-mono/pull/97
Co-authored-by: Varun Choudhary <68095256+Varun-Choudhary@users.noreply.github.com>
Co-authored-by: Sooraj <8408875+soorajshankar@users.noreply.github.com>
GitOrigin-RevId: 758c6d7edfbf3f7f3173653bceb53608b0f253d8
2021-08-17 11:59:22 +00:00
Sameer Kolhar
1243da1d54
server: fix regressions on invoking manual trigger
...
https://github.com/hasura/graphql-engine-mono/pull/2029
GitOrigin-RevId: d1a445cca8106835735c5e10cab045ea6a2e1635
2021-08-17 10:22:50 +00:00
Ikechukwu Eze
64a5c52904
console: support computed fields in permission builder
...
>
### Description
>
### 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.
### Affected components
- [x] Console
### Related Issues
closes [#7336 ](https://github.com/hasura/graphql-engine/issues/7336 )
### Steps to test and verify
- Add a scalar computed field with only table row as argument, to the table you want to use for testing
- Then head to table's permission tab, and try to use permission builder to set permissions for any role
- confirm that computed fields are listed as options along table columns
https://github.com/hasura/graphql-engine-mono/pull/2056
GitOrigin-RevId: 2cd16ca4a0e6a6288d4b62549ebe1aaaf841952b
2021-08-16 12:28:03 +00:00
Abhijeet Khangarot
5de2ef7d31
console: allow same named queries and unnamed queries on allowlist file upload
...
https://github.com/hasura/graphql-engine-mono/pull/1906
GitOrigin-RevId: bdd752f49213a2056f39050d40d3dc299dc07819
2021-08-16 09:23:12 +00:00
Sameer Kolhar
3f35a9a219
console: support creation of indexes on the console for postgres sources
...
https://github.com/hasura/graphql-engine-mono/pull/358
Co-authored-by: Ikechukwu Eze <22247592+iykekings@users.noreply.github.com>
GitOrigin-RevId: cd4a5073fb361fe1235f5d49a0dc9b025fc1379f
2021-08-11 18:02:56 +00:00
Vijay Prasanna
5d6211d3dc
console/inherited-roles: allow resolution of conflicting permissions
...
https://github.com/hasura/graphql-engine-mono/pull/2027
GitOrigin-RevId: 896759f70aa95bf4b16766cc6e4ca38cf10878e1
2021-08-11 14:21:14 +00:00
Nicolas Beaussart
e063835b83
console: fix ui for template gallery when there is no image
...
https://github.com/hasura/graphql-engine-mono/pull/1940
GitOrigin-RevId: 97fca7b6423309c22a1072b9e380ba724d7bad00
2021-08-11 11:24:04 +00:00
nevermore
05a12912aa
console: change HEROKU_DATABASE_URL to PG_DATABASE_URL while creating datasource on cloud
...
https://github.com/hasura/graphql-engine-mono/pull/2050
GitOrigin-RevId: d40b32feb2015780865ad4d74e442fbdc3da82b8
2021-08-11 09:23:19 +00:00
Nicolas Beaussart
a226d514af
console: add tailwindcss for styles
...
https://github.com/hasura/graphql-engine-mono/pull/2032
GitOrigin-RevId: d6552e990823acc3bdac829487e91ae931ac4345
2021-08-10 13:46:52 +00:00
Varun Choudhary
a4b01b2756
console: auto suggest gen_random_uuid()
while adding a default value to UUID type column in schema other than public
...
https://github.com/hasura/graphql-engine-mono/pull/1910
GitOrigin-RevId: c2ee953ca7cd72fc7cc143465be2fe84e4284636
2021-08-10 05:55:41 +00:00
Vijay Prasanna
74704801cb
console/tests: add manage db tests for mssql
...
https://github.com/hasura/graphql-engine-mono/pull/1782
Co-authored-by: Sooraj <8408875+soorajshankar@users.noreply.github.com>
GitOrigin-RevId: 1ed4c6d09d2dbd6f68faacd83e7daae916cff972
2021-08-09 14:04:54 +00:00
hasura-bot
e78bc4b0ed
console: export metadata before tracking new table ( fix #6805 ) ( fix #7221 ) ( fix #7233 )
...
GITHUB_PR_NUMBER: 7330
GITHUB_PR_URL: https://github.com/hasura/graphql-engine/pull/7330
https://github.com/hasura/graphql-engine-mono/pull/1970
Co-authored-by: Kenneth J. Miller <6822406+KloudJack@users.noreply.github.com>
GitOrigin-RevId: 9532f7b596801ebcdd15bd40a9b3ace0b9b88326
2021-08-06 09:09:34 +00:00
Kali Vara Purushotham Santhati
0341037aeb
cli-ext: fix sdl formatting
...
closes https://github.com/hasura/graphql-engine/issues/7296
https://github.com/hasura/graphql-engine-mono/pull/2012
Co-authored-by: Aravind K P <8335904+scriptonist@users.noreply.github.com>
GitOrigin-RevId: 41383e1f88c709c6cae4059a1b4fb8f2a58259e6
2021-08-06 05:01:07 +00:00
Ikechukwu Eze
2e1f0df610
console: fix untracked foreign-key relationships suggestion across schemas
...
This PR fixes untracked foreign-key relationships suggestion across schemas.
### 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.
### Affected components
- [x] Console
### Related Issues
close [#7177 ](https://github.com/hasura/graphql-engine/issues/7177 )
### Solution and Design
Previously to determine relations, we'd check the foreign keys constraint on all tables in the metadata,
but from 2.0, we filtered these tables based on schema. Therefore, relationships are only reflected if both tables are of the same schema. This PR makes sure that all tables in the metadata are considered
### Steps to test and verify
- Create two schemas and a table in each
- Create a foreign key constraint on one of the tables to the other using RawSQL
- Go the schema page of the table where the constraint was created on.
- Confirm that the console suggests to track the relationship you created in step 2 above
#### Breaking changes
- [x] No Breaking changes
https://github.com/hasura/graphql-engine-mono/pull/2000
GitOrigin-RevId: c1d5229955e731bb8019955ebd7a925d7870eb17
2021-08-05 12:32:53 +00:00
Varun Choudhary
b4e329307a
console: fix splitgraph console issue
...
Closes: https://github.com/hasura/graphql-engine-mono/issues/1746
### Description
Main problem: https://github.com/hasura/graphql-engine-mono/issues/1746#issuecomment-880492976
Solution: I ensure that there is URL encoding while routing from the data manager
The other issue that was addressed was that there was some query that was failing on the splitgraph DB that uses explicit typecasting. I removed the same from our query.
### Affected components
- [x] Console
https://github.com/hasura/graphql-engine-mono/pull/1802
GitOrigin-RevId: 8d6ebae217b07357bf147a2c881bae9de156a450
2021-08-05 10:57:38 +00:00
Varun Choudhary
121afe39fe
console: remove "UIKit" components from the console codebase
...
https://github.com/hasura/graphql-engine-mono/pull/1834
GitOrigin-RevId: 84d601072552f37740321686905e58677b5aa31c
2021-08-04 13:37:02 +00:00
Rishichandra Wawhal
fed7f71aa2
console: use the data host passed by lux to contact lux data service
...
https://github.com/hasura/graphql-engine-mono/pull/1981
GitOrigin-RevId: d9fe7d4d04afc73a8482d61de733f5ebba031144
2021-08-04 09:37:08 +00:00
Vijay Prasanna
f81741d086
console: enable aggregate permission toggle for Big Query sources
...
https://github.com/hasura/graphql-engine-mono/pull/1988
GitOrigin-RevId: db0545bafa923afb66f582d287d1595013c69490
2021-08-03 14:58:36 +00:00
Abhijeet Khangarot
bf5fe2ffe8
console: fix remote schema permission bugs
...
https://github.com/hasura/graphql-engine-mono/pull/1178
GitOrigin-RevId: 0c1d7dc5737a3f05330a30438f48033c7c01f42c
2021-08-03 07:57:01 +00:00
Nicolas Beaussart
1b10f275d2
console: add template gallery
...
https://github.com/hasura/graphql-engine-mono/pull/1923
GitOrigin-RevId: 88f8f276c79ea61ba38070c582bd02468e6593e2
2021-07-29 13:51:45 +00:00
Vijay Prasanna
76dc3ed100
console: pro console build fails
...
https://github.com/hasura/graphql-engine-mono/pull/1928
Co-authored-by: Sooraj <8408875+soorajshankar@users.noreply.github.com>
GitOrigin-RevId: e80c247840e4e29d66efc17631580b833ee0efe7
2021-07-29 06:25:48 +00:00
Sooraj
af9dfd3554
console: show error message on inconsistent objects table
...
https://github.com/hasura/graphql-engine-mono/pull/1886
GitOrigin-RevId: 074b1f54b6ed3505892b5db3466592333ba1207a
2021-07-27 06:56:52 +00:00
Ikechukwu Eze
ac10c32381
console: make specifying unique params for rate limits optional
...
### Description
Make the unique parameters to be an optional field in the form.
### 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.
### Affected components
- [x] Console
### Related Issues
Based on internal discussion: https://hasurahq.slack.com/archives/C01SQFJ7SHX/p1626948719012400
Closes #1890
### Solution and Design
This is more of adhoc solution for the unique parameters not being a required field: Using a checkbox to enable the additional unique params - if the user has not checked it, then the payload is sent without the unique params attribute.
When the additional unique parameters are not selected -
![Screenshot 2021-07-26 at 2 40 57 PM](https://user-images.githubusercontent.com/11921040/126964312-bb12b146-2644-432f-a790-88f23fb322ce.png )
When the additional unique parameters are picked -
![Screenshot 2021-07-26 at 2 42 03 PM](https://user-images.githubusercontent.com/11921040/126964545-89f41e43-c855-4290-8b15-75f03c44101e.png )
https://github.com/hasura/graphql-engine-mono/pull/1885
GitOrigin-RevId: dd16812c1c548147a47830a8a8af27c1e39a5689
2021-07-26 15:01:15 +00:00
Nicolas Beaussart
71adc6431b
console: add schema sharnig template version check
...
https://github.com/hasura/graphql-engine-mono/pull/1893
GitOrigin-RevId: 1fcb07a937ef067e4b370e49e9aade26efd90035
2021-07-26 13:50:37 +00:00
Ikechukwu Eze
760406b851
console: fix issues with replacing invalid graphql identifiers in table and column names
...
>
This PR replaces all occurrences of invalid graphql identifiers in table and column names when tracking a table from the console.
### Description
>
### 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.
### Affected components
- [x] Console
### Related Issues
Closes [7239](https://github.com/hasura/graphql-engine/issues/7239 )
https://github.com/hasura/graphql-engine-mono/pull/1888
GitOrigin-RevId: b6f719b0f1c270908a8717b08564a97c44d8c5bf
2021-07-23 16:36:06 +00:00
Abhijeet Khangarot
76d1430703
console: use escape string constants for text fields
...
https://github.com/hasura/graphql-engine-mono/pull/1797
GitOrigin-RevId: 1d0cb1e95206c444fb3bc91ddc9a3210045d29c5
2021-07-23 10:35:33 +00:00
Aleksandra Sikora
eb967e6df9
console: enable bigquery in connect db form for cloud console
...
https://github.com/hasura/graphql-engine-mono/pull/1410
GitOrigin-RevId: 8853ec4904e8d47a05e821fefc38eeffebfbb3ba
2021-07-22 11:48:12 +00:00
hasura-bot
2814934cf7
console: add pagination on rawsql results page
...
GITHUB_PR_NUMBER: 5629
GITHUB_PR_URL: https://github.com/hasura/graphql-engine/pull/5629
https://github.com/hasura/graphql-engine-mono/pull/1665
Co-authored-by: Sooraj <8408875+soorajshankar@users.noreply.github.com>
GitOrigin-RevId: 9bf8c6f9068fc04160e9e9ebce2600b30e523a90
2021-07-22 09:58:24 +00:00
Vijay Prasanna
6323f4f7b1
pro-console: fix error message alignment on api limits form
...
https://github.com/hasura/graphql-engine-mono/pull/1871
GitOrigin-RevId: 54bad11061c330554193ab0e81a66a61d92d2d73
2021-07-22 09:16:26 +00:00
Vijay Prasanna
32202e90d3
pro-console/bug: fixes broken form layout
...
https://github.com/hasura/graphql-engine-mono/pull/1870
GitOrigin-RevId: 89d0407331dbe35a569afe746ff30d9c51d6b364
2021-07-22 05:47:02 +00:00
Vijay Prasanna
89e7f26c55
pro-console/security-features: add ability to enable/disable GraphQL introspection per role
...
https://github.com/hasura/graphql-engine-mono/pull/1678
Co-authored-by: Ikechukwu Eze <22247592+iykekings@users.noreply.github.com>
GitOrigin-RevId: 9bfd8a20dfe499b2852e5809471d73ad50b1a48b
2021-07-20 16:10:15 +00:00
Abhijeet Khangarot
fe1f50d0f1
console: add/remove database persist in metadata
...
https://github.com/hasura/graphql-engine-mono/pull/1721
GitOrigin-RevId: 15ce3b966db26a88357922e45af742474a8abe19
2021-07-20 12:40:03 +00:00
Varun Choudhary
7bd32c7bb8
pro-console: fix runtime error when expanding pending/processed scheduled events
...
closes: https://github.com/hasura/graphql-engine/issues/7168
### Description
On expanding the pending and processed event on `one-off scheduled event` on pro we are getting an error because we are not passing the auth header to API request. In this PR we are passing `includeAdminHeaders` to API as `true` to fetch events.
`keyframes` imported from `styled-components` is supported on V3 only and we are using V5.0.1. So, instead of importing spinner from UIKit which we are not using anymore, we are importing spinner form other place.
### Affected components
- [x] Console
https://github.com/hasura/graphql-engine-mono/pull/1754
Co-authored-by: Sooraj <8408875+soorajshankar@users.noreply.github.com>
GitOrigin-RevId: 7550d544b2d7f4f98a793895368c964d17d0e362
2021-07-19 06:55:48 +00:00
Sooraj
08847566d8
console: support global_select_limit for bigquery sources
...
https://github.com/hasura/graphql-engine-mono/pull/1812
GitOrigin-RevId: 55785579523fcd3500486139431c4d9b3c1ace19
2021-07-16 15:05:28 +00:00
Ikechukwu Eze
175b1a86ca
console: fix issue with changing table's column name and graphQL field name simultaneously
...
This PR fixes the following errors when column name and graphql field name are modified:
1. Metadata out-of-date error -> when graphql field name is removed (set to empty on the console UI)
2. Inconsistent state error -> due to old column name used in modifying graphql field name
### Changelog
- [x] `CHANGELOG.md` is updated with user-facing content relevant to this PR.
### Affected components
- [x] Console
### Related Issues
Closes [7221](https://github.com/hasura/graphql-engine/issues/7221 )
### Solution and Design
1. Use exportMetadata function after column name rename has been completed, passing the function to rename graphql field name
2. Use new column name, instead of old column name when renaming graphql field name
### Steps to test and verify
1. Go to data tab
2. Create a table if none
3. click the table name by the side-menu and when it has loaded, click on the modify tab.
4. Then edit any column of the table:
- Change column name and graphql field name, it should work successfully without an error
- Change column name and remove graphql field name, it should work successfully without metadata out-of-date error
Does this PR add a new Metadata feature?
- [x] No
#### GraphQL
- [x] No new GraphQL schema is generated
#### Breaking changes
- [x] No Breaking changes
https://github.com/hasura/graphql-engine-mono/pull/1778
GitOrigin-RevId: edfd795fb804df71a4e07e0373ca0714ff45fda9
2021-07-14 09:46:37 +00:00
Varun Choudhary
b1013e8d6c
console: add reload all databases
checkbox to the metadata settings page
...
Closes: https://github.com/hasura/graphql-engine/issues/7146
### Description
This PR adds a `reload all databases` check box along `with` the `reload metadata` check box to reload all databases (inconsistent databases also).
![Screenshot from 2021-07-07 16-51-49](https://user-images.githubusercontent.com/68095256/124750932-af31a000-df43-11eb-88d9-b6585214a188.png )
### Affected components
- [x] Console
### Steps to test and verify
Use this for your docker image: https://235669-308610159-gh.circle-artifacts.com/0/server/image.tar
1. Go to the metadata setting page
2. If `reload all databases` check box is checked: It reloads everything by sending * in the API
3. If `reloading all databases` check box is not checked: It reloads inconsistent DB and if no inconsistent then it passes an empty string
https://github.com/hasura/graphql-engine-mono/pull/1703
GitOrigin-RevId: 2b6f029a17d40a43f5bce3680d5681c97433d78c
2021-07-14 06:16:00 +00:00
Nicolas Beaussart
cdfb71c1da
console: add a feature flag for schema sharing
...
https://github.com/hasura/graphql-engine-mono/pull/1786
GitOrigin-RevId: a35dfa98508a8ef1ea92fe8588e79fc6f8479a2d
2021-07-13 16:57:04 +00:00
Ikechukwu Eze
701f3fd304
pro-console/security features: add support for api limits
...
https://github.com/hasura/graphql-engine-mono/pull/1541
Co-authored-by: Vijay Prasanna <11921040+vijayprasanna13@users.noreply.github.com>
GitOrigin-RevId: 83f0f20a45f0f396002c53a716dd3541e82b83e1
2021-07-13 11:18:06 +00:00
Sooraj
effb221d97
console: fix test_oss_console ci errors
...
https://github.com/hasura/graphql-engine-mono/pull/1726
GitOrigin-RevId: ae87ca45a111fcdb25ba9c53c1bfd8650e1be78c
2021-07-12 10:40:50 +00:00
Nicolas Beaussart
e3e078fa42
console: add schema sharing
...
https://github.com/hasura/graphql-engine-mono/pull/1512
Co-authored-by: Varun Choudhary <68095256+Varun-Choudhary@users.noreply.github.com>
GitOrigin-RevId: 71efbb2a5a577f765b83b1fd9ee9254a292d361d
2021-07-08 08:18:25 +00:00
hasura-bot
2c2ce3972e
console: fix incorrect down migration comment blocks
...
GITHUB_PR_NUMBER: 6956
GITHUB_PR_URL: https://github.com/hasura/graphql-engine/pull/6956
https://github.com/hasura/graphql-engine-mono/pull/1392
Co-authored-by: Bob Ippolito <26596+etrepum@users.noreply.github.com>
GitOrigin-RevId: de652b37f13d0c38d497610de1c270d0b8d18160
2021-07-05 10:30:56 +00:00
Varun Choudhary
a1f25506f2
console: fix empty table list on create event triggers form
...
Closes: https://github.com/hasura/graphql-engine/issues/6903
Description:
This PR adds `Select schema` as a default text in schema drop down box on events triggers.
![Screenshot from 2021-05-12 15-39-09](https://user-images.githubusercontent.com/68095256/117958025-3d204e80-b338-11eb-9169-ec529db0bf6f.png )
Affected Components:
- [x] Console
https://github.com/hasura/graphql-engine-mono/pull/1348
GitOrigin-RevId: 28b6054addf8fcb11b80ae357cfcbe8b71a470bc
2021-07-05 08:32:19 +00:00
Varun Choudhary
2af583beb1
console: show trigger names by execution order on table's modify page
...
Closes: https://github.com/hasura/graphql-engine/issues/6737
Product Design link: https://hasura.github.io/product-design/62-console-trigger-design/v2-triggers.html
Description:
This PR
1. Group all triggers based on the `action_timing` and `event_manipulation`. (BEFORE INSERT, BEFORE UPDATE, ...)
2. Sort the names of the triggers within each of the groups
On admin panel.
![Screenshot from 2021-05-07 12-55-53](https://user-images.githubusercontent.com/68095256/117413420-943ab380-af33-11eb-9127-86c0dd789274.png )
Affected Components:
- [x] Console
https://github.com/hasura/graphql-engine-mono/pull/1311
GitOrigin-RevId: 1709dd82ce44886e1d53505d94e1e289dab73aaf
2021-07-02 15:14:36 +00:00
Sooraj
97505cf251
console: hide incorrect table comments for mssql table
...
https://github.com/hasura/graphql-engine-mono/pull/1699
GitOrigin-RevId: 0e253fd3b15f199f138413533f36d248470b99c1
2021-07-02 08:15:47 +00:00
Varun Choudhary
2b2655665c
console: show frequently used columns button on add new column view
...
closes: https://github.com/hasura/graphql-engine/issues/7148
### Description
This PR add `Frequently used columns` on modify page while adding a column to existing table.
![frequently](https://user-images.githubusercontent.com/68095256/123812895-16cb6800-d912-11eb-977e-a3247ec15525.png )
### Affected components
- [x] Console
https://github.com/hasura/graphql-engine-mono/pull/1695
GitOrigin-RevId: 1e8fa354281458dd9c7eacb963c4d54391d975a0
2021-07-02 07:30:18 +00:00
Abhijeet Khangarot
efd934f5c1
console/remote-schemas: fixes 404 errors while adding/modifying/removing remote schemas
...
https://github.com/hasura/graphql-engine-mono/pull/1674
GitOrigin-RevId: 4775830d97307fd960fc6d0857ec6431f707c68b
2021-06-28 12:20:55 +00:00
Vijay Prasanna
193ab5de44
console: update current source and schema in redux after importing metadata
...
https://github.com/hasura/graphql-engine-mono/pull/1557
GitOrigin-RevId: 3bb34f64bb4762e73f967643675b291fb6530785
2021-06-23 13:01:13 +00:00
Varun Choudhary
c2dd51b6c7
console: pass correct table name when cloning permission
...
Closes: https://github.com/hasura/graphql-engine/issues/6969
Description:
To reproduce the issue please visit the issue link.
This is happening because the request payload is using the current table name while cloning permission. This PR change makes the payload use the correct table name.
- [ ] `CHANGELOG.md` is updated with user-facing content relevant to this PR. If no changelog is required, then add the `no-changelog-required` label.
### Affected components
- [x] Console
- [x] CLI
https://github.com/hasura/graphql-engine-mono/pull/1505
GitOrigin-RevId: bfd8a67ccb55261a1bf47a9ede18e3e1cf3bff2c
2021-06-22 18:23:04 +00:00
Abhijeet Khangarot
c0fde4d1d5
console: hide postgres system schemas by default
...
>
### Description
We want to hide postgres system schemas like `pg_toast` and `pg_temp` and their variations (ex. `pg_toast_temp_35`) from showing up in console.
>
### 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.
### Affected components
- [x] Console
### Related Issues
->
https://github.com/hasura/graphql-engine/issues/6954
### Solution and Design
>
We can achieve this by updating the `schemaListSql` query for postgres datasources to filter out postgres system schemas.
### Steps to test and verify
>
1. Add a postgres datasource containing some system schemas
2. The system schemas should not show up in console
https://github.com/hasura/graphql-engine-mono/pull/1499
Co-authored-by: Aleksandra Sikora <9019397+beerose@users.noreply.github.com>
GitOrigin-RevId: 6a179b9d5cd4d061ae9fda17bf3824321cf7e96e
2021-06-22 15:24:20 +00:00
Abhijeet Khangarot
9255fcf173
console: wrap table name in quotes in add comment sql
...
>
Adding a table with a capital letter and a comment was causing SQL error, this PR fixes that issue. (in postgres and citus dbs)
### Description
>
### 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.
### Affected components
- [x] Console
https://github.com/hasura/graphql-engine-mono/pull/1617
GitOrigin-RevId: b8e911206af7ce950b5432dab98723e52992b905
2021-06-22 14:45:24 +00:00
Sameer Kolhar
608e4fbb20
server, console, docs: add update_remote_schema
API
...
https://github.com/hasura/graphql-engine-mono/pull/1546
GitOrigin-RevId: 142b0d0e0ffc35b2679c91c411868c45a8b8e221
2021-06-21 17:42:40 +00:00
Sooraj
03ecd0398b
console: improve console with read-only database
...
https://github.com/hasura/graphql-engine-mono/pull/1619
GitOrigin-RevId: 26da5b0d1b48d2158642c7efb5f1e99933a37624
2021-06-21 15:17:24 +00:00
Ikechukwu Eze
6bb8df6a26
console: add citus support
...
### Description
Add console support for Citus DB
### Changelist
- [x] Add/Remove Citus Datasource
- [x] Track/Untrack tables
- [x] Create Relationships + Tracking suggested relationships
- [x] Permissions
- [x] Browse Rows (minimal)
- [x] Insert Row (using Mutations)
- [x] Filtering Shards and Partitions (partition details are not present in Modify tab, it should work once https://github.com/hasura/graphql-engine-mono/pull/1164 is merged)
- [x] Create Table
- [x] Fixes issue https://github.com/hasura/graphql-engine/issues/6926 for Citus.
### Known Issues
- Unable to create Functions from Raw SQL, server returns 400.
- Unable to run `ALTER` SQL commands, server returns 400.
### Screenshots
![Screenshot 2021-04-21 at 7 53 23 PM](https://user-images.githubusercontent.com/11921040/115569900-468b3d80-a2db-11eb-8374-e06d5d61b2e4.png )
### Setting up a Citus Source
- Link to [docker compose](https://github.com/citusdata/docker/blob/master/docker-compose.yml )
- Create an `.envfile` and add the following
```env
COORDINATOR_EXTERNAL_PORT=<port to expose citus master>
COMPOSE_PROJECT_NAME=test
```
- run `docker-compose --file docker-compose.yml --env-file .envfile up --scale worker=2 -d`. `worker` controls the number of citus worker nodes.
- Link to [sample data](http://docs.citusdata.com/en/v10.0/get_started/tutorial_multi_tenant.html#data-model-and-sample-data )
### Changelog
- [x] console: add citus support
https://github.com/hasura/graphql-engine-mono/pull/1184
Co-authored-by: Vijay Prasanna <11921040+vijayprasanna13@users.noreply.github.com>
GitOrigin-RevId: 2500a5d5f996a2904fe8b5c656d6f3f2db707db6
2021-06-21 06:47:18 +00:00
Vijay Prasanna
fdcdc14c01
console: add default selected reference option to create table's foreign key editor
...
https://github.com/hasura/graphql-engine-mono/pull/1472
GitOrigin-RevId: e44f6bc6d819d049edd042ecd1e4e951a45f4ab8
2021-06-18 09:53:51 +00:00
Sooraj
12045a827c
console/fix: changing primary key removes the existing PK when failing to create PK
...
https://github.com/hasura/graphql-engine-mono/pull/1509
GitOrigin-RevId: b4fec58f399b21125dcacf8083b01148778f97b0
2021-06-17 16:04:02 +00:00
hasura-bot
bad2d4190d
console: catch api error, fix console getting stuck on loading screen ( close #5774 )
...
GITHUB_PR_NUMBER: 5837
GITHUB_PR_URL: https://github.com/hasura/graphql-engine/pull/5837
https://github.com/hasura/graphql-engine-mono/pull/856
Co-authored-by: Abhijeet Khangarot <26903230+abhi40308@users.noreply.github.com>
GitOrigin-RevId: 2a878ea9de0b21cf998b7a49dbfc6d99c143168e
2021-06-17 11:03:24 +00:00
Abhijeet Khangarot
240738cf60
console: fix routes for hasura cloud console
...
https://github.com/hasura/graphql-engine-mono/pull/1560
GitOrigin-RevId: 83d1825ad7ee74fd7a941376925d7e26c788baf5
2021-06-17 09:34:13 +00:00
Nicolas Beaussart
ad2f48c534
console: add testing to core requestAction
...
https://github.com/hasura/graphql-engine-mono/pull/1563
GitOrigin-RevId: 1bbd107e81a9965d0be9d35c581ca261935bfc83
2021-06-15 05:43:48 +00:00
Sooraj
8e6a8ee8c5
console: merge duplicate unit test folders ( #1561 )
...
https://github.com/hasura/graphql-engine-mono/pull/1561
GitOrigin-RevId: 635a185e456c1860fb7e596a2247657135213391
2021-06-14 10:19:59 +00:00
Varun Choudhary
a7ef558b41
console: add modify functionality on columns, primary keys & unique keys to MS SQL Server tables
...
Modify page for mssql.
Column edit, add and delete
Pk add and delete
unique key add and delete
> Known Issues
> It is not because of this PR, but evident after implementing this changes.
> Table comments section is not only showing table comments but also anything that has `SYS.EXTENDED_PROPERTIES` with the table id, we may need to fix this by adding more conditions while fetching the table comments
> issue: https://github.com/hasura/graphql-engine-mono/issues/1486
Update
> Found a common issue while testing this PR, and it happens for PG tables too, so keeping it as a different issue
https://github.com/hasura/graphql-engine/issues/7018
GitOrigin-RevId: f7883a797ce8d25034824ae35668b1f830e59c70
2021-06-10 09:09:33 +00:00
Nicolas Beaussart
651d8ce190
console: upgrade redux and add redux toolkit
...
GitOrigin-RevId: 328e28f521f6e5fa20489aaeea2be1f1cc456d56
2021-06-10 07:20:23 +00:00
Abhijeet Khangarot
75f37f69d3
console: allow input object presets in remote schema permissions
...
GitOrigin-RevId: 6a535a5b9adb0a80d8f57682618aa7dd406236b0
2021-06-09 08:52:22 +00:00
Varun Choudhary
3f19e8a3a8
console: allow tracking of custom SQL functions having composite type (rowtype) input arguments
...
Closes: https://github.com/hasura/graphql-engine/issues/6858
Description:
Following two things are done:
1. Show compatible functions in the Untracked custom functions list (i.e. even those with ROWTYPE arg)
![Screenshot from 2021-05-11 16-13-21](https://user-images.githubusercontent.com/68095256/117803100-dd606f80-b273-11eb-8d02-1ea55b31863d.png )
2. When a function with ROWTYPE argument is tracked, a confirmatory dialogue box is shown. The text reads `This function can be added as a root field or a computed field inside a table` and the buttons reflect the options: `Add as root field`, `Add as computed field` (this will take the user to the Modify -> Add a computed field section of the first-row type argument)
![Screenshot from 2021-06-03 17-28-28](https://user-images.githubusercontent.com/68095256/120641377-28dff500-c491-11eb-80ea-cc60e6f37f23.png )
Affected Component:
- [x] Console
Co-authored-by: Vijay Prasanna <11921040+vijayprasanna13@users.noreply.github.com>
Co-authored-by: Abhijeet Khangarot <26903230+abhi40308@users.noreply.github.com>
GitOrigin-RevId: 089944aadba73f7a77e220a49489846ff1cb9540
2021-06-08 15:22:24 +00:00
Vijay Prasanna
75fb945019
console/big-query: fixes broken console (browse rows) when selecting relationships
...
GitOrigin-RevId: f6871bd3abd0c85ffc35cd5884efa4b1ab5a9068
2021-06-08 11:07:56 +00:00
Vijay Prasanna
bf629db930
console: fix result parsing error in raw sql page
...
### Description
The `statementTimeout` on RawSQL is not reset after changing a datasource. This causes an error when running SQL and parsing the results for DBs that don't support statement timeout property on the console.
![timeout](https://user-images.githubusercontent.com/11921040/120473505-b6094800-c3c4-11eb-8b00-e43d9ebcb207.gif )
### Affected components
- [x] Console
### Steps to test and verify
- Open /data/manage
- Click on any SQL Server DB.
- Go to Raw SQL
- Run any query
- Verify correct result
GitOrigin-RevId: 8a0adaf308d14db17126953286173da7ef1afc1c
2021-06-07 10:54:37 +00:00
Abhijeet Khangarot
83e1f51d2c
console: bug fix cannot read property unique_constraints
of undefined
...
GitOrigin-RevId: a8eec2a8dd1ca16a453f9ec90b956032cf123398
2021-06-04 15:30:21 +00:00
Varun Choudhary
f3643f26ad
console/mssql: support CRUD operations for foreign keys
...
adds foreign key functionality to mssql tables under Modify Tab.
Steps to test:
1. Connect an MSSQL data source.
2. Create a table
3. go to modify page
4. make sure the `Add foreign key `button is visible
5. click on `Add foreign key`, and try to add FK
6. after adding the FK, we will see the `edit` and `remove` button, try to edit and remove the FK
Co-authored-by: Vijay Prasanna <11921040+vijayprasanna13@users.noreply.github.com>
GitOrigin-RevId: 63be7c4ef909503ac05096a64c686b72f7c47307
2021-06-03 11:49:21 +00:00
hasura-bot
c1381d38e0
console: show error notification for table and cloumn names exceeding 63 characters and trim migration names exceeding 255 characters
...
GITHUB_PR_NUMBER: 5785
GITHUB_PR_URL: https://github.com/hasura/graphql-engine/pull/5785
Co-authored-by: Abhijeet Khangarot <26903230+abhi40308@users.noreply.github.com>
GitOrigin-RevId: b12a729cfb708ff0622805f247473cb16b44ae0a
2021-06-02 10:23:58 +00:00
Ikechukwu Eze
9b42a52637
console: allow renaming data source
...
Before: on edit source page, changing data source name was not allowed and the input disabled.
Now: data source name can be changed on edit source page.
Note:
- ~When only the data source name is changed, a request is sent for renaming and another for updating data source even when other values of the data source configuration weren't changed.~
- This has been fixed and should be tested thus:
- run `npm run jest`
- on edit source UI, change only data source name and confirm that only `rename_source` request is being sent through network tab in dev tools
- change any other fields but the source name, and confirm that only `add_source` with `replace_configuration: true` is sent.
- change both source name and any other field in the form and confirm that both request are sent (in this order: rename request before add request) and export_metadata request only sent once after that.
- Try with bigquery, mssql and postgres
Possible Refactor:
- consider if `renameDataSource` and `addDataSource`, can be refactored or left as is
Co-authored-by: Aleksandra Sikora <9019397+beerose@users.noreply.github.com>
GitOrigin-RevId: cbb041ac8362fd94de5aa19bfa61c0cde8703459
2021-05-28 07:59:47 +00:00
Aleksandra Sikora
1b37008a0e
console: fix connect db notes content
...
GitOrigin-RevId: 75cc16950d7be7ad5b52cf266c6c010cb54d53ec
2021-05-28 06:57:55 +00:00
Sooraj
c3d7a7634f
console: add drop table functionality to ms sql server tables
...
GitOrigin-RevId: a79c864263ebdde4a9a7e1ce1354a3ac17be4098
2021-05-27 21:26:50 +00:00
Abhijeet Khangarot
9a68cb51c9
console: update connect database form with SSL certificates
...
GitOrigin-RevId: b8da60cbe1220c8f4f8ec180fd3967e326b7f3a8
2021-05-27 16:00:01 +00:00
Vijay Prasanna
1c79bb4b80
console: add create table view for mssql schemas
...
### Description
This PR adds `Create Table` view for MSSQL server schemas.
### Changelist
* [x] Add basic `create table` form view on navigating from Schema's create table action.
* [x] Hide frequently selected columns button.
* [x] Allow the user to manually add column types for now: convert `select` for columns to a `text` input .
* [x] Remove `Restrict` radio selection for foreign key constraints.
* [x] Add SQL query for Create table in MSSQL.
### Screenshot
![Screenshot 2021-03-09 at 5 22 03 PM](https://user-images.githubusercontent.com/11921040/110467030-82d45700-80fc-11eb-84af-dd228d84b135.png )
### 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.
### Modified components
- Console
Co-authored-by: Aleksandra Sikora <9019397+beerose@users.noreply.github.com>
GitOrigin-RevId: a783b5940198ecf582d1cd6ad4d4224efabf59fc
2021-05-26 15:28:32 +00:00
Aleksandra Sikora
455b5a9fd6
console/mssql: add comment and check constraints to modify page
...
GitOrigin-RevId: 0fcc9741d031ec7a74efff5437e676ea7f744922
2021-05-26 14:27:42 +00:00
Vijay Prasanna
7dbee42f64
console: add regex to highlight item in data tab nav tree
...
Adding regex expression to test `view`, `table` and `function` routes.
Fixes no highlight issue when clicking on functions in the data tab navigation tree.
GitOrigin-RevId: f278998ec1c98c98e0bfc9cd72d63d673cd74012
2021-05-26 09:43:31 +00:00
Vijay Prasanna
3acfd35d4e
console/bigquery: fix showing empty dataset name when the dataset is from a non-US region
...
Fixes [issue](https://github.com/hasura/graphql-engine/issues/6937 )
### Description
The problem lies with the `schemaListSql` for Big Query. Without a region qualifier prefixed, the SQL result contains datasets only US regions, as described in the [docs](https://cloud.google.com/bigquery/docs/information-schema-datasets ).
```
If you do not specify a regional qualifier, metadata is retrieved from the us multi-region.
```
The alternative way is to get a list of all available publicly available regions (which is `us` and `europe` atm), for example for europe -
```
SELECT * FROM region-europe.INFORMATION_SCHEMA.SCHEMATA;
```
and then perform `UNION ALL` of the results. This is approached is ditched in favour of the reason that Big Query is read-only on Hasura and new datasets cannot be added from the console (other than by modifying the metadata), we can return the datasets available in the Big Query source's metadata as the possible values of datasets needed by the console to render the data nav tree, thereby avoiding an extra API call in the process.
GitOrigin-RevId: 8117d5698dcc4e7d932362b7cf2e7c8ef34d106a
2021-05-25 18:21:48 +00:00
Abhijeet Khangarot
d0a66e5172
console: add new connection params to connect database form
...
GitOrigin-RevId: 073d30e50a196e265cd8dfb7cfb3c9af00c3fc0e
2021-05-25 13:03:08 +00:00
Aleksandra Sikora
a5ce316a96
console/mssql: simplify sql query for fetching schemas list
...
GitOrigin-RevId: 0d70973991c61b8f06efe61032bcfbfe05a89ded
2021-05-25 09:36:24 +00:00
Anon Ray
53beef47ea
server, console, docs: fix untrack_function
metadata query bug
...
Co-authored-by: Sameer Kolhar <6604943+kolharsam@users.noreply.github.com>
GitOrigin-RevId: a68a6f8b5c5243372332bfec7d9cdcd3011c001f
2021-05-24 15:57:26 +00:00
Abhijeet Khangarot
82e2e382f1
console: rearrange connect database form and add prepared statements
...
GitOrigin-RevId: 2cb84e3feabc72875c6b3f5368b55fa893ba72a9
2021-05-24 15:09:55 +00:00
Vijay Prasanna
31465c5bba
console/postgres: fix broken table view when clicking on inherited tables
...
### Description
- Fixes https://github.com/hasura/graphql-engine/issues/6926
- This is to resolve the issue where inherited tables get listed into the array that's used to filter off partitions.
- In the check, we compare if the partition's parent is a "partitioned table" or not before adding to the filter array.
### Steps to verify
- Create the following tables on a postgres db
```SQL
CREATE TABLE cities (
id SERIAL PRIMARY KEY,
name text,
population real,
elevation int -- (in ft)
);
CREATE TABLE capitals (
state char(2) UNIQUE NOT NULL
) INHERITS (cities);
```
- Navigate to the data tab, and click on the datasource > schema, and verify that both `cities` and `capitals` are present.
- Click on `capitals` and see if it loads properly.
- Create the following table and its partitions
```sql
CREATE TABLE measurement (
city_id int not null,
logdate date not null,
peaktemp int,
unitsales int
) PARTITION BY RANGE (logdate);
CREATE TABLE measurement_y2006m02 PARTITION OF measurement
FOR VALUES FROM ('2006-02-01') TO ('2006-03-01');
CREATE TABLE measurement_y2006m03 PARTITION OF measurement
FOR VALUES FROM ('2006-03-01') TO ('2006-04-01');
```
- Verify that the data tab nav does not show `measurement_y2006m02` and `measurement_y2006m03`
GitOrigin-RevId: 1cc988fff03f289e6ea36d0b1e9f8e54b8741be9
2021-05-24 11:56:28 +00:00
Ikechukwu Eze
f347d746f6
console: quote column name when updating the column
...
This fixes `column "column_name" named in key does not exist"`,
when changing editing a column to be unique in column editor. resolves [6734](https://github.com/hasura/graphql-engine/issues/6734 )
GitOrigin-RevId: 5c8f9523d6c022245cd4c1bb5d0d4a3340c455cf
2021-05-24 10:13:12 +00:00
hasura-bot
e093399305
console: don't automatically set track this
checkbox for commented sql
...
GITHUB_PR_NUMBER: 5815
GITHUB_PR_URL: https://github.com/hasura/graphql-engine/pull/5815
Co-authored-by: Abhijeet Khangarot <26903230+abhi40308@users.noreply.github.com>
GitOrigin-RevId: 7225d01eef40065a7b7ef617cd763988ef1e018d
2021-05-21 10:39:22 +00:00
Aleksandra Sikora
e7b4ad85c9
console: consistent naming for MS SQL Server, add (beta) for bigquery
...
GitOrigin-RevId: a1434cd32757c4a17b8619b2f03476350a002abc
2021-05-21 09:59:47 +00:00
Sooraj
e6b5b66edf
console: add pagination on event logs & fix data mismatch on event logs table
...
GitOrigin-RevId: 5643a0357dd11963cde53a148911844e4c754510
2021-05-21 09:07:33 +00:00
Aleksandra Sikora
ad0ecc7363
console: filter out nonsupported databases
...
GitOrigin-RevId: 151cde9843310e069d81d1690666100bfa77c37f
2021-05-19 20:19:16 +00:00
Abhijeet Khangarot
95d1ab78e1
console: add one-to-one relationships support
...
Co-authored-by: Aleksandra Sikora <9019397+beerose@users.noreply.github.com>
GitOrigin-RevId: 6177c63a0e8ac86085441cbd4ad1aab179052434
2021-05-19 12:42:45 +00:00
Nithin
62423a66da
console: update cron trigger tooltip
...
Co-authored-by: Aleksandra Sikora <9019397+beerose@users.noreply.github.com>
GitOrigin-RevId: 644447c39a553f72e471b6fcf3650e6c75686d89
2021-05-19 12:04:20 +00:00
Ikechukwu Eze
a7639145fe
console: allow editing sources configuration
...
This adds the feature to edit data sources to the console
Co-authored-by: Aleksandra Sikora <9019397+beerose@users.noreply.github.com>
Co-authored-by: Rakesh Emmadi <12475069+rakeshkky@users.noreply.github.com>
Co-authored-by: Rikin Kachhia <54616969+rikinsk@users.noreply.github.com>
Co-authored-by: Martin Mark <74692114+martin-hasura@users.noreply.github.com>
GitOrigin-RevId: 40f97a362620e9cebe97a2267cb9fb143c32af5d
2021-05-19 04:16:38 +00:00
Abhijeet Khangarot
8da98c00ba
console: show db version in manage db page and remove from about page
...
GitOrigin-RevId: 482121bb4dd29d36b87f472ec14c966d04daab2c
2021-05-19 03:36:18 +00:00
Abhijeet Singh Khangarot
f24caef627
console: add union types to remote schema permissions
...
GitOrigin-RevId: a2a8311bfee98d1d1285fe869ed2a5963f84440d
2021-05-12 16:19:22 +00:00
Ikechukwu Eze
726c3e07b3
console: fix browse rows sections failing on a table with custom name
...
Fixes browse rows sections failing on a table with custom name and also not exposing a table with custom name to GraphQL API
Resolves [#6849 ](https://github.com/hasura/graphql-engine/issues/6849 ) and also [#6647 ](https://github.com/hasura/graphql-engine/issues/6647 )
GitOrigin-RevId: 00be15c766a457efd75e15801f91d9f793450131
2021-05-12 09:21:41 +00:00
Aleksandra Sikora
8c21ca5d21
console: revert improve data/relationships e2e tests
...
The changes turned out to be flaky — tests were failing from time to time, and blocking other PRs from being merged.
Reverts hasura/graphql-engine-mono#1037
GitOrigin-RevId: 97d95156e8d348f2e89ec33e06ffaac9bf75a2f9
2021-05-12 07:37:45 +00:00
Abhijeet Singh Khangarot
ad461d9285
console: hide bigquery from connect db form dropdown in cloud console
...
GitOrigin-RevId: e71b33ce2154e0584a773de49fa41c4e0c153d13
2021-05-10 23:19:35 +00:00
Aleksandra Sikora
c46b256fff
console/mssql: fix fetching information about primary key and unique key columns
...
GitOrigin-RevId: b2796d12223c60374c553f580acc08a02df71a88
2021-05-07 14:07:28 +00:00
Ikechukwu Eze
d3887071af
console: improve data/relationships e2e tests
...
This is the first step in making our cypress test faster.
Will clean the comments up in the coming days
Running time imporves from ~7mins to ~83secs
GitOrigin-RevId: d8d2b23c5a46789a3828dac1c6652034bd0bfc1c
2021-05-06 10:20:44 +00:00
Sameer Kolhar
2b0b4ec3a4
console: improve functions permissions messages in case of missing table's select permissions
...
Co-authored-by: Aleksandra Sikora <9019397+beerose@users.noreply.github.com>
GitOrigin-RevId: 52007786113622c15bd719cbea6b041c27ebd675
2021-05-05 14:55:35 +00:00
Aleksandra Sikora
dffe785543
console: read-only modify page for mssql
...
Co-authored-by: Sooraj <8408875+soorajshankar@users.noreply.github.com>
Co-authored-by: Vijay Prasanna <11921040+vijayprasanna13@users.noreply.github.com>
GitOrigin-RevId: f3fe2e313b39310bac95e3118e6e14f645627769
2021-05-04 14:41:54 +00:00
Vamshi Surabhi
3dfc50e3ac
console/mssql: do not use deprecated sysusers to fetch schema list
...
On certain MSSQL sources (Azure serverless databases), `sysusers` is not supported.
From [MSSQL docs](https://docs.microsoft.com/en-us/sql/relational-databases/system-compatibility-views/sys-sysusers-transact-sql?view=sql-server-ver15 ):
> This SQL Server 2000 system table is included as a view for backward compatibility. We recommend that you use the current SQL Server system views instead
Co-authored-by: Ikechukwu Eze <22247592+iykekings@users.noreply.github.com>
GitOrigin-RevId: 6d8a91afa66569cc30b7b83a0c7813a3850c4c9a
2021-05-04 12:41:40 +00:00
Ikechukwu Eze
512c3008b6
console: filter out partitions from track table list and display partition info
...
### Description
Resolves #1128
### Changelist
- [x] Removed partitions from list of untracked tables (clean up awaits)
- [x] Display table definition at modify table like that of `psql \d+ tableName`
- [x] Fix broken console error when reloading console on `Modify` and `Relationships` tab for any other schema than default redirect schema.
- [x] Fetch table partition info only at /table/modify
### Screenshots
<img width="700" alt="Screenshot 2021-05-04 at 12 57 30" src="https://user-images.githubusercontent.com/9019397/116993856-4c6c2000-acd8-11eb-8a61-cd2b45d6e7ac.png ">
### Changelog
- [x] Console
Co-authored-by: Vijay Prasanna <11921040+vijayprasanna13@users.noreply.github.com>
Co-authored-by: Aleksandra Sikora <9019397+beerose@users.noreply.github.com>
GitOrigin-RevId: 3a6e527839daf52af101c2ce1803eefba600d29e
2021-05-04 11:20:31 +00:00
Vijay Prasanna
f015234ef6
console: fix allSourcesSchemas mapping when there are sources with no tables
...
**How to repro this bug:**
1. Create another source, in addition the existing `default source`
2. this new source has one or more tables while the `default` has none.
3. If you check the Redux State object, the `allSourcesSchemas` attribute has the wrong mapping of objects
```JSON
allSourcesSchemas:
default: {}
```
This results in the table_types not being mapped properly.
For example in the below screenshot, I have 2 db objects, one is a view and the other is a table. Since the `allSourcesSchemas` is not mapped properly, the table_type is not available to `DataSubSidebar.js`
![Screenshot 2021-05-04 at 11 22 27 AM](https://user-images.githubusercontent.com/11921040/116965274-065c8f80-accb-11eb-9a4f-c1fedced8e6a.png )
GitOrigin-RevId: d728f08306ce7a8770d7d08a6236b76cd379f140
2021-05-04 09:54:19 +00:00
Aleksandra Sikora
99ec0aeab6
console: fix missing headers for get_event_invocations request
...
GitOrigin-RevId: 19d344d6b8b4a407c7f8fa787b95bc210b5bf84f
2021-04-29 17:54:26 +00:00
Abhijeet Singh Khangarot
65097131ff
console: add error notification on invalid query / mutation in rest endpoints
...
Co-authored-by: Aleksandra Sikora <9019397+beerose@users.noreply.github.com>
GitOrigin-RevId: 9e1d8fb5250ceadfb5ec698f224f764b11a1e67d
2021-04-26 13:49:18 +00:00
hasura-bot
3fbc4c3b63
console: quote postgres table name when creating one with a comment
...
GITHUB_PR_NUMBER: 6761
GITHUB_PR_URL: https://github.com/hasura/graphql-engine/pull/6761
Co-authored-by: Ross Gardiner <565371+rossng@users.noreply.github.com>
GitOrigin-RevId: 9fbe6d53724028329b639441b98dff685e5e067e
2021-04-23 15:02:29 +00:00
Sooraj
c1e3829365
console: optimise init queries
...
GitOrigin-RevId: fdfff1857733d5fb247d9e698ea6ccfc9e3853a2
2021-04-21 12:53:36 +00:00
Abhijeet Singh Khangarot
ff2bd82623
console: update metadata in console's store after new metadata import
...
GitOrigin-RevId: 26e6cddec51d2a42f5a7ec6bac82a2b7e1611d2f
2021-04-21 11:39:37 +00:00
Ikechukwu Eze
c82d4de0cb
console: column comparison feature
...
This PR changes column operators to be an array of strings that follows what was specified in this [RFC](https://github.com/hasura/graphql-engine-mono/blob/rfc/column-comparison-improvements/rfcs/column-comparison-improvements.md )
The RFC also provides a good schema for testing this feature.
The server PR for this is at https://github.com/hasura/graphql-engine-mono/pull/504
---
### Preview
#### Before
![comparison-before](https://user-images.githubusercontent.com/22247592/112810281-c45c8000-9072-11eb-9bab-9e2f3b85c547.gif )
#### After
![column](https://user-images.githubusercontent.com/22247592/113628210-77713e80-965c-11eb-9da3-474773f1d8b0.gif )
#### Todo
- [x] Refactoring and cleanup
- [x] Find and fix errors
Co-authored-by: Karthikeyan Chinnakonda <15602904+codingkarthik@users.noreply.github.com>
Co-authored-by: Aleksandra Sikora <9019397+beerose@users.noreply.github.com>
GitOrigin-RevId: 22d35c1d886f8b40b1ae7ad7bf214eefd50bbe6e
2021-04-19 19:26:00 +00:00
Vijay Prasanna
e3fd4d395a
console: bigquery support
...
Co-authored-by: Abhijeet Singh Khangarot <26903230+abhi40308@users.noreply.github.com>
Co-authored-by: Aleksandra Sikora <9019397+beerose@users.noreply.github.com>
GitOrigin-RevId: 177f57bde4694ab22798e2afd97d489af875e6f7
2021-04-16 17:22:07 +00:00
Vijay Prasanna
7f17b2683d
console: redirect to default schema
...
Co-authored-by: Aleksandra Sikora <9019397+beerose@users.noreply.github.com>
GitOrigin-RevId: 4ac0243b8ff6fd8a64d54c46f742778d0a5605cd
2021-04-16 14:59:41 +00:00
Sameer Kolhar
b03aeb673a
console: add live preview for rest endpoints
...
Co-authored-by: Abhijeet Singh Khangarot <26903230+abhi40308@users.noreply.github.com>
Co-authored-by: Aleksandra Sikora <9019397+beerose@users.noreply.github.com>
GitOrigin-RevId: 918b9f76492085e8ded68070c90eaaae4d424476
2021-04-13 16:21:53 +00:00
Aleksandra Sikora
e1195fc55e
console: misc fixes
...
1. closes https://github.com/hasura/graphql-engine/issues/6693
2. Fixes insert/edit row input types
GitOrigin-RevId: 2474cb179c485bad240a4e5dbea2779cec2acc6e
2021-04-13 14:58:22 +00:00
Vishnu Bharathi
7821b34a2c
ci,console,pro-console: build pro console using local oss console
...
Co-authored-by: Aleksandra Sikora <9019397+beerose@users.noreply.github.com>
GitOrigin-RevId: f9a918422a0d22bc1775fabedb603c3311673afb
2021-04-12 18:50:02 +00:00
Abhijeet Singh Khangarot
0f7c273873
console: remote schema permissions add default values for input object
...
GitOrigin-RevId: 52f9bc30150f9ff932e40001bd5d492bad431f95
2021-04-09 08:22:57 +00:00
Varun Choudhary
8a77bac164
console: add details button to the success notification to see inserted row
...
Closes: https://github.com/hasura/graphql-engine/issues/6362
Description:
Add a `detail` button on the success notification while inserting row. We can see row added on clicking `detail` button.
![Screenshot from 2021-03-26 17-37-45](https://user-images.githubusercontent.com/68095256/112629281-1c6c6a00-8e5a-11eb-962a-42143d9501fe.png )
<img width="1051" alt="Screenshot 2021-04-08 at 14 14 10" src="https://user-images.githubusercontent.com/9019397/114024775-bda0ea80-9874-11eb-9ae7-f3ce90e4492e.png ">
Effected components:
[x] - Console
Co-authored-by: Aleksandra Sikora <9019397+beerose@users.noreply.github.com>
GitOrigin-RevId: 88257687a2c989369b62115c238aa318ea9780ca
2021-04-08 20:41:29 +00:00
Abhijeet Singh Khangarot
ac4c4d53d1
console: pass information about table type for mssql
...
Co-authored-by: Vijay Prasanna <11921040+vijayprasanna13@users.noreply.github.com>
GitOrigin-RevId: b757f999687f716cc5312d1b73548f237efc06f4
2021-04-08 18:02:58 +00:00
hasura-bot
96ee013179
console: use details and summary html tags for CollapsibleToggle component
...
This PR was migrated from https://github.com/hasura/graphql-engine/pull/6416
Co-authored-by: alex argunov <10955264+troglotit@users.noreply.github.com>
GitOrigin-RevId: 59a2391900d7aa4a612d596bb61165185f51cd53
2021-04-08 17:22:13 +00:00