Commit Graph

1074 Commits

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