Commit Graph

899 Commits

Author SHA1 Message Date
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