Commit Graph

899 Commits

Author SHA1 Message Date
Rishichandra Wawhal
98ab400f3b console: name the heroku db as default if there's no datasouce added
GitOrigin-RevId: 01c26d4cf06545cce052e51cd6714ac097ba9ab1
2021-03-25 08:54:39 +00:00
Sameer Kolhar
a73b6479b1 server/console/docs: add a comment field for actions
####  CHANGELOG (done)

#### PR description

This PR hopes to resolve https://github.com/hasura/graphql-engine/issues/4662.
The main work done in this PR is to add an comment field on the add actions page. Prior to this the `actionsDescription` was used as the comment for actions.

#### Updated UI

![image](https://user-images.githubusercontent.com/6604943/111342362-64dc9880-86a0-11eb-8922-36b72bf100cb.png)

Co-authored-by: Aleksandra Sikora <9019397+beerose@users.noreply.github.com>
GitOrigin-RevId: 5f31b27d66c27bc6c1b0fc5044f0ac13ecc11fa0
2021-03-24 20:11:48 +00:00
Ikechukwu Eze
81f527a7ee console/ci: upgrade terser and drop large resource class for console build
GitOrigin-RevId: 1e352fa17b7561cfe618bd3cb9f0f75be3e95c73
2021-03-24 19:22:41 +00:00
Sameer Kolhar
3507699aed console: team console code improvements
GitOrigin-RevId: 03c011b419cb8085633432c030e730953b23f526
2021-03-24 18:04:59 +00:00
Sameer Kolhar
fe1c5afb01 console/pro-console: add read replicas support
Co-authored-by: Aleksandra Sikora <9019397+beerose@users.noreply.github.com>
GitOrigin-RevId: 5e49ad67852b53bd4ba4fd195bdc538706902fd1
2021-03-24 10:38:37 +00:00
Ikechukwu Eze
341c8d8309 console: fix browsing data for tables with json column and no primary key
GitOrigin-RevId: eb1696d3bf00c2e5805ffbf5847d382de655fab5
2021-03-23 17:09:43 +00:00
Abhijeet Singh Khangarot
c597efb65e console: display collection names and queries from all collections in allowlist
This PR
* Gets all queries from all collections present in allowlist and displays those. (Earlier we were just displaying queries present in "allowed-queries" collection.
* Adds collection names to allow-list section

### Description
fix [4138](https://github.com/hasura/graphql-engine/issues/4138)

### Affected components
- [x] Console

### Solution and Design
<img width="828" alt="Screenshot 2021-01-04 at 12 11 01 PM" src="https://user-images.githubusercontent.com/26903230/103507774-eb495280-4e85-11eb-9ef7-95871fb03edd.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.

Co-authored-by: Aleksandra Sikora <9019397+beerose@users.noreply.github.com>
GitOrigin-RevId: d96d2aadebeabc00073e028d514db429ee18f187
2021-03-23 14:42:15 +00:00
Abhijeet Singh Khangarot
0870ceda0d console: fix multiple active styles for sidebar items
GitOrigin-RevId: b188ac9c71f43dd444643f2bb5240ef3e984df17
2021-03-23 11:19:03 +00:00
Sameer Kolhar
0dcb00b90e console: allow editing rest endpoints queries and misc ui improvements
Co-authored-by: Varun Choudhary <68095256+Varun-Choudhary@users.noreply.github.com>
Co-authored-by: Aleksandra Sikora <9019397+beerose@users.noreply.github.com>
GitOrigin-RevId: 4dd360eb07b836c6fd6ce666c9444728e22847d7
2021-03-22 17:54:22 +00:00
Varun Choudhary
845756047a console: add tests for manage db page
TODO:

- [x] Test for add sources

- [x] Test for set connection setting

- [x] Test for delete sources

- [x] Test for switch between sources

Co-authored-by: Ikechukwu Eze <22247592+iykekings@users.noreply.github.com>
Co-authored-by: Aleksandra Sikora <9019397+beerose@users.noreply.github.com>
GitOrigin-RevId: 2b31dbb69767cdcacf0cb2b2afde56871c3a2240
2021-03-19 09:48:18 +00:00
Varun Choudhary
07010ea2a7 console: fix typo in key up handler function
Closes: https://github.com/hasura/graphql-engine/issues/6565

Description:

At line 57 in `JsonInput.js` there is  a typo, replace `event.metaKey` with `e.event`.

Effected components:

- [x] Console

GitOrigin-RevId: ef3ff46ca2c45ef48d9fde2f561a3409d11ddcb5
2021-03-19 08:53:53 +00:00
Ikechukwu Eze
d7bc20f023 console: improve cypress testing docs
GitOrigin-RevId: 5aa929010fdae8234a93b461d7408ef5889195a0
2021-03-19 08:29:56 +00:00
Vijay Prasanna
d93cd78999 console: throw an error when tracking fails on RawSQL page
close https://github.com/hasura/graphql-engine/issues/6628

GitOrigin-RevId: 5efd01197518df7963b5fca6b37610350fc921dc
2021-03-18 08:14:59 +00:00
hasura-bot
08ba8eda15 console: package modules from oss
GITHUB_PR_NUMBER: 6242
GITHUB_PR_URL: https://github.com/hasura/graphql-engine/pull/6242

Co-authored-by: Karthik Venkateswaran <25095884+karthikvt26@users.noreply.github.com>
Co-authored-by: Aleksandra Sikora <9019397+beerose@users.noreply.github.com>
Co-authored-by: Rishichandra Wawhal <27274869+wawhal@users.noreply.github.com>
Co-authored-by: Vladimir Ciobanu <1017953+vladciobanu@users.noreply.github.com>
Co-authored-by: Praveen Durairaju <14110316+praveenweb@users.noreply.github.com>
Co-authored-by: Sooraj <8408875+soorajshankar@users.noreply.github.com>
Co-authored-by: Sameer Kolhar <6604943+kolharsam@users.noreply.github.com>
GitOrigin-RevId: 029ac93967c14e634c1baa96f1e4c9b6bb198e91
2021-03-17 18:59:18 +00:00
Abhijeet Singh Khangarot
1c1198c93b console: remote schema permissions bug fixes
Co-authored-by: Sooraj <8408875+soorajshankar@users.noreply.github.com>
GitOrigin-RevId: 78c4e144ea32ab1376f36272fab0204c2bd88ef0
2021-03-17 15:57:36 +00:00
Vijay Prasanna
8103589b79 console: add browse rows for MSSQL
### Description
This PR adds `Browse` tab for MSSQL server.

### Changelist
* [x] Use the server provided GraphQL API to fetch data for browse rows, related issue [here](https://github.com/hasura/graphql-engine-mono/issues/691).
* [x] Use GraphQL API to export data in CSV/JSON format.
* [x] Add Relationship view for tracked relationships.
  * [x] Modify Query generation based on `Array` or `Object` relationship.
* [x] Add custom Pagination Component.
* [x] Make `FilterQuery` sort and filter work for MS SQL server.
### Screenshot
![Screenshot 2021-03-09 at 4 11 22 PM](https://user-images.githubusercontent.com/11921040/110458750-22d8b300-80f2-11eb-8df0-94ed4a1a27f3.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

### Issues that will arise from this PR
- Incorrect number of row counts when exporting table as JSON or CSV - (depends on aggregation support on mssql)
- Disabled actions buttons on table - (depends on mutation support on mssql)
- Display of row counts on Browse Rows - (depends on aggregation support on mssql)

Co-authored-by: Ikechukwu Eze <22247592+iykekings@users.noreply.github.com>
Co-authored-by: Aleksandra Sikora <9019397+beerose@users.noreply.github.com>
GitOrigin-RevId: 803f4a7ce482a01eb9bf29c0ad5e0f26eb4375e5
2021-03-17 12:40:19 +00:00
Sooraj
ec79fcf52a console: connect database enhancements and misc fixes
Co-authored-by: Aleksandra Sikora <9019397+beerose@users.noreply.github.com>
GitOrigin-RevId: a44482a1f88ad94c462b72162cbfbb35397640a3
2021-03-11 19:42:14 +00:00
Aleksandra Sikora
5778fe3e9b console: support mssql views in console
GitOrigin-RevId: 52474d57f233e0d79911ae0c1d98b5c595d5d7e4
2021-03-11 10:15:48 +00:00
hasura-bot
0c1133b393 console: update select font for firefox
This PR was migrated from https://github.com/hasura/graphql-engine/pull/5923

---
### 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.

Co-authored-by: Kim <20434382+kimberrypi@users.noreply.github.com>
Co-authored-by: Aleksandra Sikora <9019397+beerose@users.noreply.github.com>
GitOrigin-RevId: 244c5272ef1113af840f9b5379826ff60e7f1136
2021-03-10 23:03:06 +00:00
Rikin Kachhia
3696d92743 add github workflow to compress new images in PRs
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
GitOrigin-RevId: cfef3585b120d82cafe5343cfceddbcd05969a15
2021-03-10 20:55:02 +00:00
hasura-bot
43de7cdf17 console: add loading spinner for graphiql to indicate that introspection is in progress
GITHUB_PR_NUMBER: 5873
GITHUB_PR_URL: https://github.com/hasura/graphql-engine/pull/5873

Co-authored-by: Varun Choudhary <68095256+Varun-Choudhary@users.noreply.github.com>
GitOrigin-RevId: efb51dd44a99e82769f4e384c76a08088195c20d
2021-03-10 20:09:55 +00:00
hasura-bot
bf8a22083e console: reset permission editor after creating new role
GITHUB_PR_NUMBER: 5833
GITHUB_PR_URL: https://github.com/hasura/graphql-engine/pull/5833

Co-authored-by: Varun Choudhary <68095256+Varun-Choudhary@users.noreply.github.com>
GitOrigin-RevId: 8504c95c5d8fcae41a00b2afb391b99fa594b1e0
2021-03-10 19:20:21 +00:00
Vijay Prasanna
89e26d3e9f console: add inherited roles tab
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: b6edc26b96e2cd0db11e7951b7941a631932d125
2021-03-10 10:45:18 +00:00
Sameer Kolhar
eccefff925 console: permissions support for sql server
Co-authored-by: Aleksandra Sikora <9019397+beerose@users.noreply.github.com>
GitOrigin-RevId: 1dce9fff909ccf34e904c785116462ce16b8c44b
2021-03-10 03:51:03 +00:00
Aleksandra Sikora
c763494005 console: fix deleting remote relationship
GitOrigin-RevId: 31839bb8c4e26cc760bc3d9cbfbb0bd04c027d9b
2021-03-03 15:24:53 +00:00
Vijay Prasanna
968b573171 console: add relationship tab for mssql tables
GitOrigin-RevId: dc55849c9c38834481fc855e5242f7bf0d3a5e6e
2021-03-03 14:18:38 +00:00
Vijay Prasanna
42f5d66015 console: fix adding new function doesn't update sidebar content
Co-authored-by: Aleksandra Sikora <9019397+beerose@users.noreply.github.com>
GitOrigin-RevId: 5c2e0366f50b46846d05be84d4256bd406cf8829
2021-03-03 10:29:22 +00:00
Abhijeet Singh Khangarot
afd70e9952 console: data sidebar routing fix
GitOrigin-RevId: c3aadc392c38b9f9a1ea18298c58eaa98a4e1d66
2021-03-01 20:07:36 +00:00
Praveen Durairaju
0ff26100bf update docs link to avoid redirects
GitOrigin-RevId: 1f2a1d21bfb9b2908d56305fa2dfb69270deafdf
2021-03-01 18:51:18 +00:00
Sooraj
48efc72b02 console: update oss-console-build resources and terser config
Co-authored-by: Vishnu Bharathi <4211715+scriptnull@users.noreply.github.com>
GitOrigin-RevId: ceab8597216b44082916ae1d7293f4c3ee0ab0f9
2021-03-01 13:58:00 +00:00
Sooraj
581d4a0691 console: support connection string without username
GitOrigin-RevId: 66b56d1280e0efad41dd7785f2f73942484ea99e
2021-03-01 12:25:56 +00:00
Sameer Kolhar
f8c5f1b634 console: fix adding allowed query (#721)
GitOrigin-RevId: 8acee7ce4eb4a4fce02cb219f53126daf6ca1158
2021-03-01 11:34:15 +00:00
Aleksandra Sikora
71d5955654 console: move back to metadata apis for verifying login
GitOrigin-RevId: 56581f7f05f8c69d8b2d38c3719057b489132437
2021-02-25 17:31:51 +00:00
Aleksandra Sikora
06a129d5c0 console: fix down query for adding remote relationships
GitOrigin-RevId: ed99bf2221e1e6f7126f141c8f7c9f12da3aea16
2021-02-25 15:40:56 +00:00
Aleksandra Sikora
9343f40fad console: misc fixes
Co-authored-by: Rishichandra Wawhal <27274869+wawhal@users.noreply.github.com>
GitOrigin-RevId: b7d8ab70515034ec98ef41e5731cdaf38fe71922
2021-02-24 20:47:37 +00:00
Aleksandra Sikora
6dff6e97ab pro-console: add rest endpoints
Co-authored-by: Karthik Venkateswaran <25095884+karthikvt26@users.noreply.github.com>
Co-authored-by: Rishichandra Wawhal <27274869+wawhal@users.noreply.github.com>
GitOrigin-RevId: d9cafd23683f9c8ac45e978fffa513d76e90308a
2021-02-24 11:43:15 +00:00
Aleksandra Sikora
e063d90abf console: misc fixes
GitOrigin-RevId: 6dc5cad50e90eba4f3d7df5ee15ed854d245bc84
2021-02-24 10:59:01 +00:00
Sameer Kolhar
827a332464 console: fixes for cloud console
Co-authored-by: Sooraj <8408875+soorajshankar@users.noreply.github.com>
GitOrigin-RevId: 7e86572cb18e045520a922e57a22057a82af6f0f
2021-02-24 09:27:23 +00:00
Sooraj
baae5441f2 hide inconsistent data sources from the sidebar of the data tab
GitOrigin-RevId: da81079a9821f43be0e04bffdea825a504f13106
2021-02-24 08:35:55 +00:00
Aravind K P
65ea2f4c1b ci: update cli and console builder images
Co-authored-by: Rishichandra Wawhal <27274869+wawhal@users.noreply.github.com>
GitOrigin-RevId: 1c14fc13a8ce9569a721dba1d9bd67c45292ce06
2021-02-24 07:42:42 +00:00
Aleksandra Sikora
a80364d7d6 console: sql server support
Co-authored-by: Vijay Prasanna <11921040+vijayprasanna13@users.noreply.github.com>
GitOrigin-RevId: 3d9941f3063eca87293325b30f3ca7771da7cf19
2021-02-23 19:00:28 +00:00
Sameer Kolhar
067664dee7 console: align method badges on REST endpoint list view
GitOrigin-RevId: 4ca09226629d49c8f6c0dae768cf5b0c49524331
2021-02-23 12:55:12 +00:00
Sooraj
a365f4c7d6 handle inconsistent sources on console
GitOrigin-RevId: a2d4a1dca6239ee2718defb6d3e02ccfa16db9b8
2021-02-23 12:18:51 +00:00
Sameer Kolhar
509b1fda1b console: REST endpoints UI
Co-authored-by: Abhijeet Singh Khangarot <26903230+abhi40308@users.noreply.github.com>
Co-authored-by: hasura-bot <30118761+hasura-bot@users.noreply.github.com>
Co-authored-by: Naveen Naidu <30195193+Naveenaidu@users.noreply.github.com>
Co-authored-by: Anon Ray <616387+ecthiender@users.noreply.github.com>
Co-authored-by: Aleksandra Sikora <9019397+beerose@users.noreply.github.com>
GitOrigin-RevId: 9cd313c1b3fd2bfada7caf24e379c95ec15ce2cb
2021-02-23 11:24:06 +00:00
Rishichandra Wawhal
b1464afbe5 console: heroku oneclick integration
GitOrigin-RevId: c77a2d46238763761f8406c0a0e1c53c6f7b32dd
2021-02-23 09:03:03 +00:00
Sameer Kolhar
da1a7a58a9 console: update manage databases UI (#499)
GitOrigin-RevId: 68f58ef7def6391f6d7798f64a56e3c340e44b31
2021-02-19 19:41:30 +00:00
Aleksandra Sikora
88e71f3256 console: fix raw sql callback
GitOrigin-RevId: cbc4a338e9106d4f284ac8b06131a5acb34fa38a
2021-02-19 14:41:59 +00:00
Vijay Prasanna
866973f46d console: add tree view for Data Tab UI (#524)
GitOrigin-RevId: 556a2a4cbe7bdf101cf5e322e6d1745a2d090bf0
2021-02-18 22:19:51 +00:00
Aleksandra Sikora
2e7048c015 console: fix usage of metadata APIs
GitOrigin-RevId: a894f44fa34ba87f6e463d32c3490f734ef73bbc
2021-02-18 10:04:33 +00:00
hasura-bot
b274d7a027 console: fix preserving GraphiQL content in local storage
GITHUB_PR_NUMBER: 6533
GITHUB_PR_URL: https://github.com/hasura/graphql-engine/pull/6533

Co-authored-by: Ikechukwu Eze <22247592+iykekings@users.noreply.github.com>
GitOrigin-RevId: 36bfa0bc0a2f5a50f9d912737b08078f4b8c84f9
2021-02-18 09:18:09 +00:00
Vishnu Bharathi
05164f35ed console: comments two tests temporarily
GitOrigin-RevId: 8c1175ebd5a9b242352933f9ffc8dffb9eb9f72f
2021-02-16 14:24:28 +00:00
Sameer Kolhar
8655e6fd3a console: function permissions UI (#413)
GitOrigin-RevId: ccdfab19751b0d238a4ebcec59ba73a798103ca9
2021-02-12 17:02:41 +00:00
Ikechukwu Eze
429055acc9 console: add link to manage databases page to the onboarding helper
<img width="397" alt="Screenshot 2021-02-11 at 22 17 35" src="https://user-images.githubusercontent.com/9019397/107699935-0eea8e80-6cb7-11eb-8f7f-f2894116ada6.png">
<img width="381" alt="Screenshot 2021-02-11 at 22 16 56" src="https://user-images.githubusercontent.com/9019397/107699944-10b45200-6cb7-11eb-9c70-a4e4b465bda5.png">

Co-authored-by: Aleksandra Sikora <9019397+beerose@users.noreply.github.com>
GitOrigin-RevId: 37c475cb1f7a1062c77c74ad45918684ec0406f9
2021-02-12 07:52:08 +00:00
Sameer Kolhar
5f6e59b4db console: team console fixes
GitOrigin-RevId: d1595d6572d6611ef1038c17d2bb46433735d096
2021-02-11 17:04:00 +00:00
Aleksandra Sikora
1967ad7e3a console: fix functions test
GitOrigin-RevId: 922ff246712ca2c1695d8c3b30d09e3cc96f8329
2021-02-11 16:10:55 +00:00
Sameer Kolhar
f5c0eb2c7d console: oss and pro console updates for team-console
Related work: **https://github.com/hasura/lux/pull/1335**

##### NOTE: These changes are split across both the oss-console and the pro-console.

- So we need these changes to make sure that the team console uses the `projectEndpoint` env var to load the console and execute the correct requests.

- The other item that was updated in this PR was that we, now, have hidden/removed all of the logout buttons on the Pro console(for Cloud alone).

Co-authored-by: Ikechukwu Eze <22247592+iykekings@users.noreply.github.com>
Co-authored-by: Aleksandra Sikora <9019397+beerose@users.noreply.github.com>
GitOrigin-RevId: 7319f49de4b7369b58c1261b7dd3c41cff9b858d
2021-02-10 18:31:07 +00:00
Aleksandra Sikora
1bca160d8e console: fix adding database with url from env (close #457)
GitOrigin-RevId: 0a732a20556feb4d810fc20ba623a6818c2cf45d
2021-02-03 13:15:51 +00:00
hasura-bot
bd9c192cb7 docs: add section for codegen examples
GITHUB_PR_NUMBER: 4664
GITHUB_PR_URL: https://github.com/hasura/graphql-engine/pull/4664

Co-authored-by: Marion Schleifer <5722022+marionschleifer@users.noreply.github.com>
Co-authored-by: Rikin Kachhia <54616969+rikinsk@users.noreply.github.com>
GitOrigin-RevId: 70ec08da96a28b5081d1b8e24b2cb9c6a76922de
2021-02-02 09:39:46 +00:00
Vijay Prasanna
52aa55904b console: filter custom functions with table args from "Untracked custom functions" list (close #6438)
GitOrigin-RevId: c4bb6950872ff2e75054cb64ce7f91fb68de0767
2021-02-01 15:03:14 +00:00
Ikechukwu Eze
df19b7d654 console: add onboarding docs helper (#355)
GitOrigin-RevId: b60670a3e72b5ec27e63571779c76421b23caf3d
2021-02-01 10:09:47 +00:00
hasura-bot
66a3d8dab5 console: remote schema permissions
GITHUB_PR_NUMBER: 6156
GITHUB_PR_URL: https://github.com/hasura/graphql-engine/pull/6156

Co-authored-by: Abhijeet Singh Khangarot <26903230+abhi40308@users.noreply.github.com>
Co-authored-by: Sooraj <8408875+soorajshankar@users.noreply.github.com>
GitOrigin-RevId: 3ddd61fc24bd1416e66a84579372b7a372dd4293
2021-01-28 15:59:34 +00:00
hasura-bot
1fb92b85e6 console: add session argument input for computed fields (close #5154)
Co-authored-by: Sameer Kolhar <sameer@hasura.io>
Co-authored-by: Sameer Kolhar <kolhar730@gmail.com>
GITHUB_PR_NUMBER: 5610
GITHUB_PR_URL: https://github.com/hasura/graphql-engine/pull/5610

Co-authored-by: Sameer Kolhar <sameer@hasura.io>
Co-authored-by: Sameer Kolhar <kolhar730@gmail.com>
GitOrigin-RevId: 84d9d54ccf5ac375c3a6f2cd9dcbd8119e05bc29
2021-01-28 00:00:20 +00:00
hasura-bot
3cac1c30c0 console: show only compatible postgres functions in computed fields section (close #5155)
GITHUB_PR_NUMBER: 5978
GITHUB_PR_URL: https://github.com/hasura/graphql-engine/pull/5978

Co-authored-by: Dmitry Grachikov <696824+GrizliK1988@users.noreply.github.com>
Co-authored-by: Aleksandra Sikora <9019397+beerose@users.noreply.github.com>
GitOrigin-RevId: 9399fae17ab3985fa0dd0339b6a36f0ac57997fa
2021-01-26 18:12:59 +00:00
hasura-bot
73462afbeb console: fix tooltip position (close #6180)
GITHUB_PR_NUMBER: 6409
GITHUB_PR_URL: https://github.com/hasura/graphql-engine/pull/6409

Co-authored-by: ryo <11070996+kawamataryo@users.noreply.github.com>
GitOrigin-RevId: 47c32c59ff4289f81ed53b3631239441e4863961
2021-01-22 16:02:58 +00:00
hasura-bot
0b75e75d2f added export data option on data module (close #1438 #5158)
GITHUB_PR_NUMBER: 5440
GITHUB_PR_URL: https://github.com/hasura/graphql-engine/pull/5440

Co-authored-by: Sooraj <8408875+soorajshankar@users.noreply.github.com>
Co-authored-by: Aleksandra Sikora <9019397+beerose@users.noreply.github.com>
GitOrigin-RevId: e15ced3041fabc0df72314d404ca7b6176457437
2021-01-22 13:53:21 +00:00
Aleksandra Sikora
4daa8ad229 console: add missing source to count request
GitOrigin-RevId: 14a2d0e452fe41d7bfa3414a569a08ae8cc2a7d1
2021-01-22 11:56:39 +00:00
Aleksandra Sikora
8dad2da178 Revert "console: tag console requests"
Reverts hasura/graphql-engine-mono#143

GitOrigin-RevId: fa16726ec4ea6f69153b0105c08de017874d158a
2021-01-21 10:21:53 +00:00
Aleksandra Sikora
b4fd2e3f9f console and cli: run console in CLI mode for tests, misc CLI fixes (#368)
GitOrigin-RevId: 4563444387a4c9d02b5429729fe30bc87763288f
2021-01-20 20:18:44 +00:00
Sameer Kolhar
bd2e6a0567 console: tag console requests
resolves #134

The PR adds a new header(`Hasura-Internal-Request-Source`) to every request sent to the server.

Co-authored-by: Aleksandra Sikora <9019397+beerose@users.noreply.github.com>
GitOrigin-RevId: 9d1538fcf92fd5a00c649884b910da3f3993cd47
2021-01-19 15:36:46 +00:00
Aleksandra Sikora
b829520f49 console: fix imports and raw sql regression
* Fixed imports ('../../../Common/utils/v1QueryUtils' -> '../../../../metadata/queryUtils') which will fix adding and dropping action permissions and table enum toggle.
* Fixed regression from 0dd1e4d58a (diff-2016a81d31343f475f94d13fe21aad0f56664f386c0455210021dc197b3d1dadL173) regarding setting `track this` for functions.

GitOrigin-RevId: 458b84ba06f002c89b5615dbef8c76920a978824
2021-01-18 19:03:37 +00:00
hasura-bot
a398d3b190 cli: support datasources
GITHUB_PR_NUMBER: 6111
GITHUB_PR_URL: https://github.com/hasura/graphql-engine/pull/6111

Co-authored-by: Aravind K P <8335904+scriptonist@users.noreply.github.com>
GitOrigin-RevId: 1f6517acfacb58c566bb5e48f74ea0dfa5c6f063
2021-01-18 17:12:09 +00:00
Aleksandra Sikora
5aedaace28 console: support volatile functions (close #6228)
Close https://github.com/hasura/graphql-engine/issues/6228

GitOrigin-RevId: 814c38846f49abd8c5ee48129e61d1a00b81a41e
2021-01-13 04:22:40 +00:00
Aleksandra Sikora
efb5fd70f2 console: update connection_info to be optional
GitOrigin-RevId: 1bf93da749252057c41ef896cfa84f1e6189864e
2021-01-12 10:04:08 +00:00
Sameer Kolhar
ffd5e57666 console: update set_table_custom_fields to use set_table_customization API
#### Changelog - (have added an entry)

#### PR Description

This PR resolves https://github.com/hasura/graphql-engine/issues/6284.

 - Updates the API being used as the issue requires.
 - Places a check to raise an error whenever the user tries to save the custom_fields without _any_ input (it was possible in the previous versions of the console)

 - Updated form (picture)

<img width="745" alt="image" src="https://user-images.githubusercontent.com/6604943/103933740-d866a480-5149-11eb-90b2-e1c1c4559902.png">

Co-authored-by: Aleksandra Sikora <9019397+beerose@users.noreply.github.com>
GitOrigin-RevId: df3127c3c58b5ecf2d6ab79cb95610a96592ca12
2021-01-11 21:59:10 +00:00
Aleksandra Sikora
0401ce82dc console: replace Hasura logo and favicon in oss and pro consoles
<img width="338" alt="Screenshot 2021-01-07 at 14 02 10" src="https://user-images.githubusercontent.com/9019397/103895599-f0f6a080-50f0-11eb-8bd9-d8b96a43c300.png">

GitOrigin-RevId: 1700238a5d18923120616e7f4944acb05ccd689c
2021-01-11 17:29:58 +00:00
Aleksandra Sikora
07bde9f577 console: tests improvements and misc fixes to multiple data sources (#315)
GitOrigin-RevId: db7dfce97ac5303cc09974ad7db97beb31e1ae18
2021-01-11 08:04:12 +00:00
Rakesh Emmadi
be62641f68 server: multi source metadata APIs (#217)
Co-authored-by: Aleksandra Sikora <aleksandra@hasura.io>
Co-authored-by: Anon Ray <ecthiender@users.noreply.github.com>
Co-authored-by: Vishnu Bharathi <vishnubharathi04@gmail.com>
Co-authored-by: Aleksandra Sikora <aleksandra@hasura.io>
Co-authored-by: Sameer Kolhar <kolhar730@gmail.com>
Co-authored-by: Aleksandra Sikora <ola.zxcvbnm@gmail.com>
Co-authored-by: Vamshi Surabhi <0x777@users.noreply.github.com>
GitOrigin-RevId: 0dd1e4d58ab81f1b4ce24de2d3eab709c2755e6d
2021-01-07 09:05:19 +00:00
Aleksandra Sikora
f0799b47a4 console: misc fixes (close #4785, #6330, #6288, #6374) (#227)
GitOrigin-RevId: 420fd0a949ec1c58f2d6954a74a693be5e3d7214
2020-12-22 14:18:58 +00:00
Aleksandra Sikora
3b140b63ec console: fix save action permissions request (#214)
GitOrigin-RevId: 083f749c7e36a3f3b5fba623f17c35b047d53308
2020-12-16 12:36:38 +00:00
Aleksandra Sikora
479fc6efb0 console: add update version banner (#192)
GitOrigin-RevId: d4c03707341489accc3450ffa5b4404a146f108f
2020-12-11 12:02:53 +00:00
hasura-bot
f5e56e8981 console: automatically wrap default column values in quotes (close #418) (#162)
Co-authored-by: Varun Choudhary <varun@hasura.io>
Co-authored-by: Sameer Kolhar <sameer@hasura.io>
Co-authored-by: Aleksandra Sikora <aleksandra@hasura.io>
GITHUB_PR_NUMBER: 5805
GITHUB_PR_URL: https://github.com/hasura/graphql-engine/pull/5805

Co-authored-by: Varun Choudhary <varun@hasura.io>
Co-authored-by: Sameer Kolhar <sameer@hasura.io>
Co-authored-by: Aleksandra Sikora <aleksandra@hasura.io>
GitOrigin-RevId: 8c80998ed9fd803465b3ce2ded7de39acdbd545b
2020-12-08 09:30:38 +00:00
hasura-bot
e27535e9b9 console: fix cron trigger path when containing "/" (close #5935) (#161)
Co-authored-by: kentaro84207 <kentaro84207@gmail.com>
Co-authored-by: Aleksandra Sikora <aleksandra@hasura.io>
GITHUB_PR_NUMBER: 5953
GITHUB_PR_URL: https://github.com/hasura/graphql-engine/pull/5953

Co-authored-by: kentaro84207 <kentaro84207@gmail.com>
Co-authored-by: Aleksandra Sikora <aleksandra@hasura.io>
GitOrigin-RevId: 995492c13d8e5ab56c1bd003333c39ea716cd60d
2020-12-07 14:10:24 +00:00
Aleksandra Sikora
237ac68047 console: allow URLs with templated environment variable for data events (close #6239) (#154)
GitOrigin-RevId: f851af1736280becafff5efcc48867926cadec01
2020-12-04 13:02:19 +00:00
hasura-bot
7b31ff99d1 Support Postgres POSIX regex operators (close #4317) (#119)
Co-authored-by: christophediprima <dipdipdip84@gmail.com>
Co-authored-by: dip <dipdipdip84@gmail.com>
Co-authored-by: Auke Booij <auke@hasura.io>
Co-authored-by: Antoine Leblanc <antoine@hasura.io>
GITHUB_PR_NUMBER: 6172
GITHUB_PR_URL: https://github.com/hasura/graphql-engine/pull/6172
GitOrigin-RevId: 5192d238b527cd21b6efb2f74e279ecc34756c29
2020-11-27 10:54:52 +00:00
hasura-bot
862f160ee6 console: select first operator by default on the browse rows screen (close #5729) (#93)
Co-authored-by: Dmitrii Grachikov <dgrachikov@gmail.com>
Co-authored-by: Aleksandra Sikora <aleksandra@hasura.io>
GITHUB_PR_NUMBER: 6032
GITHUB_PR_URL: https://github.com/hasura/graphql-engine/pull/6032

Co-authored-by: Aleksandra Sikora <aleksandra@hasura.io>
Co-authored-by: Dmitrii Grachikov <dgrachikov@gmail.com>
GitOrigin-RevId: 44c2f5f082e3bd854a72abf56ca665bc1b213160
2020-11-24 16:17:57 +00:00
Karthikeyan Chinnakonda
e2d07bb507 console/docs: add support for computed fields for views (close #6168)
Co-authored-by: rikinsk <rikin@hasura.io>
Co-authored-by: Aleksandra Sikora <aleksandra@hasura.io>
Co-authored-by: Rikin Kachhia <54616969+rikinsk@users.noreply.github.com>
Co-authored-by: Karthikeyan Chinnakonda <karthikeyan@hasura.io>
GITHUB_PR_NUMBER: 6174
GITHUB_PR_URL: https://github.com/hasura/graphql-engine/pull/6174
GitOrigin-RevId: d03d9863251aaab696d34bf3672afa9decd7a5bc
2020-11-12 20:43:49 +00:00
Vishnu Bharathi P
58c44f55dd Merge oss/master onto mono/main
GitOrigin-RevId: 1c8c4d60e033c8a0bc8b2beed24c5bceb7d4bcc8
2020-11-12 22:37:19 +05:30
Vishnu Bharathi P
666058ab7f oss: renames dot files and folders
GitOrigin-RevId: 540aeec3be091e1cfb7b05a988f50445534ed663
2020-11-12 22:37:19 +05:30
Sameer Kolhar
31d07cb976
console: notifications bug fixes (#6067)
https://github.com/hasura/graphql-engine/pull/6067
2020-11-06 14:53:18 +00:00
Gnyani
bd6254c58b
console: improve events table UX (close #5477) (#5507)
https://github.com/hasura/graphql-engine/pull/5507
2020-10-15 15:20:04 +00:00
Sooraj
56063515e5
console: fix dropping Postgres dependencies (close #5993) (#5998) 2020-10-15 10:28:56 +02:00
Sooraj
6299d1c278
console: down migrations improvements (close #3503, #4988) (#4790) 2020-10-14 13:27:32 +05:30
Varun Choudhary
2717c38352
console: improve UI for nested remote relationships (close #4973) (#5612)
https://github.com/hasura/graphql-engine/pull/5612
2020-10-07 21:07:58 +00:00
Anuj Shah
8bca587881
console: fix default option selected when cloning row in data browser (close #5340) (#5364) 2020-10-07 22:35:20 +02:00
Abhijeet Singh Khangarot
00289801ff
console: make top navigation bar responsive (close #3680) (#5798)
https://github.com/hasura/graphql-engine/pull/5798
2020-10-07 11:31:12 +00:00
Sameer Kolhar
af32ccff36
server: limit length of event trigger names (close #5786) (#5826)
https://github.com/hasura/graphql-engine/pull/5826
2020-10-06 15:22:09 +00:00
Sameer Kolhar
9cb44fa61e
console: add notifications (#5070) 2020-10-05 14:31:10 +05:30
Sameer Kolhar
18e4c103ad
console: add option to flag an insertion as a migration (close #1766) (#4993)
https://github.com/hasura/graphql-engine/pull/4993
2020-09-29 17:15:39 +00:00
Sameer Kolhar
822a856658
console: unify localStorage utils (#5311)
https://github.com/hasura/graphql-engine/pull/5311
2020-09-29 16:32:11 +00:00
jasvithaM
92b3342ba9
console: remove ONLY as default for ALTER TABLE in column alter operations (close #5512) (#5706)
https://github.com/hasura/graphql-engine/pull/5706
2020-09-28 19:54:39 +00:00
Varun Choudhary
daeb1209ab
console: make error notifications dismissible only after clicking on the close button (close #5533) (#5780)
https://github.com/hasura/graphql-engine/pull/5780
2020-09-28 19:23:17 +00:00
Abhijeet Singh
ee00315ffb
console: trim role names when submitting the form (close #5553) (#5748)
https://github.com/hasura/graphql-engine/pull/5748
2020-09-24 07:28:38 +00:00
Sameer Kolhar
1692e706d2
console: show warning on failing to parse schema for GraphiQL editor (#5640)
https://github.com/hasura/graphql-engine/pull/5640
2020-09-21 14:28:14 +00:00
Sameer Kolhar
6bc1b5432f
console: add missing headers to api request (#5757) 2020-09-09 14:43:14 +02:00
Aleksandra Sikora
b93f8b8737
console: init new websocket client when headers change (close #5744) (#5756) 2020-09-09 11:56:44 +02:00
Rikin Kachhia
37d9a7c841
console: collapse non-trackable functions section (#5657) 2020-08-25 13:03:18 +05:30
surendran82
c758547ce9
console: support forums UI (#5101) 2020-08-24 14:16:41 +02:00
Sameer Kolhar
ad3cfb4681
console: mark inconsistent schemas in the UI (close #5093) (#5181) 2020-08-24 13:31:45 +02:00
Sooraj
41f35c684e
console: allow user to cascade Postgres dependencies when dropping Postgres objects (close #5109) (#5248) 2020-08-22 14:07:02 +02:00
Aleksandra Sikora
b93da39b5c
console: fix remove column test (#5622) 2020-08-20 16:32:45 +02:00
Rishichandra Wawhal
72ecaed8d1
console: remove postinstall script from package.json (#5630) 2020-08-20 12:36:08 +02:00
Kentaro Suzuki
95750b61f9
console: fix folding of invocation information in redeliver event modal (close #5515) (#5559) 2020-08-20 09:40:17 +02:00
Sid Sethupathi
754acc7707
console: fix broken link in permissions section (#5598) 2020-08-17 18:05:14 +02:00
Aleksandra Sikora
b40c0488a7
console: fix handling separated sql and statement timeout (#5600) 2020-08-17 12:13:01 +02:00
Aleksandra Sikora
16b7dd27aa
Merge branch 'master' into feature/add-identity-frequent-column 2020-08-12 15:36:55 +02:00
Harish M
33d99b994d
console: migrate AlertBox component to typescript (#4721) 2020-08-12 15:31:53 +02:00
Lautaro Gruss
1b96d800c5
console: migrate login actions to typescript (#5499) 2020-08-12 11:20:43 +02:00
Rikin Kachhia
15b7def1c7
update indentity column display text 2020-08-11 18:38:24 +05:30
Aleksandra Sikora
5cc02b9edc Merge branch 'feature/add-identity-frequent-column' of github.com:GavinRay97/graphql-engine into feature/add-identity-frequent-column 2020-08-06 12:34:05 +02:00
Aleksandra Sikora
0becc4f3e2 update typescript-eslint 2020-08-06 12:33:43 +02:00
Aleksandra Sikora
bf5a416f3e
Merge branch 'master' into feature/add-identity-frequent-column 2020-08-06 12:11:46 +02:00
Aleksandra Sikora
add325934d fetch postgres version 2020-08-05 21:20:41 +02:00
Varun Choudhary
d4b4459c98
console: fix inconsistency in permissions builder (close #4119) (#5524) 2020-08-05 13:46:57 +02:00
Rikin Kachhia
925b668161
console: separate timeout statement from user statement in raw sql page (#5516) 2020-08-04 13:00:38 +02:00
Aleksandra Sikora
672351add5 move postgres utility types 2020-08-03 18:49:08 +02:00
Aleksandra Sikora
6dab31d7fb lint 2020-08-03 18:42:58 +02:00
Aleksandra Sikora
bb5a5bd8f9
Update FrequentlyUsedColumnSelector.tsx 2020-08-03 18:29:15 +02:00
Aleksandra Sikora
decdcc34ab
Merge branch 'master' into feature/add-identity-frequent-column 2020-08-03 18:21:52 +02:00
Kentaro Suzuki
0ec014881a
console: increase size of redeliver event modal (close #5480) (#5502) 2020-08-03 15:55:04 +02:00
Varun Choudhary
b37b451992
console: fix primary key selector bug and raw sql error message (close #4226) (#5469) 2020-08-03 15:00:25 +02:00
Gnyani
7d06d7a6ab
console: prettify cron trigger JSON payload (close #5052) 2020-08-03 14:01:48 +02:00
Sameer Kolhar
ebd6fe13f0
console: remove obsolete files and update dependencies (#5327) 2020-07-31 15:58:19 +02:00
Gnyani
58b0ac1352
console: trim trailing spaces in action handler URL (close #5416) 2020-07-31 13:24:37 +02:00
Anuj Shah
65e568e6dd
console: handle nested fragments in allowed queries (close #5137) (#5252) 2020-07-31 12:17:52 +02:00
Rikin Kachhia
d1032b2414
console: make add column UX consistent with others (#5486) 2020-07-30 22:54:20 +02:00
Rikin Kachhia
7045fffefa
console: misc updates (#5488) 2020-07-30 18:34:47 +02:00
Rikin Kachhia
8194494afa
console: fix telemetry (#5484) 2020-07-30 21:05:17 +05:30
Rikin Kachhia
03305bb788
console: update sidebar icons for different action and trigger types (#5445) 2020-07-22 17:10:17 +05:30
Sameer Kolhar
ca650353de
console: left-align content on data table (#5408) 2020-07-21 16:54:14 +02:00
Rikin Kachhia
56da4891c3
console: UI updates (#5427)
- Schema page
  - Keep function sections expanded by default
  - Add Know more link for relationships
- Table relationships page
  - Add tooltips / know more links
  - Update add table relationship UI
  - Remote relationships -> remote schema relationships 
  - Make remote relationships UI consistent
- Events pages
  - fix breadcrumbs
  - update scheduled trigger info image
  - add note regarding UTC timezone based events to tooltip for cron triggers
2020-07-21 18:21:34 +05:30
Kentaro Suzuki
788095acba
console: fix import metadata button text (close #5386) (#5415) 2020-07-20 20:46:45 +02:00
soorajshankar
4a116c793b
console: use requestAction instead of fetch (#5406) 2020-07-20 17:48:59 +02:00
Sameer Kolhar
d193af7d11
console: fix clear text issue on RawSQL page (#5351) 2020-07-20 16:57:13 +02:00
Todd Heslin
a677c62dae
console: fix custom root field placeholder for insert one mutation (close #5345) (#5346) 2020-07-20 16:15:52 +02:00
Sameer Kolhar
d8055a7ca6
console: add tooltips to certain headers on API Explorer (#5286) 2020-07-15 18:19:29 +05:30
Aleksandra Sikora
773a29d612
console: don't set payload for data trigger (#5370) 2020-07-13 17:38:43 +02:00
Gavin
66479870ad feat(console): Add "identity" frequently used column, refactor to TS 2020-07-12 01:14:04 -04:00
Aleksandra Sikora
cefe06e089
console: fix clone row in data browser (close #5336) (#5337) 2020-07-09 20:32:44 +05:30
Tanvi Bhakta
51174ceb0e
console: display line number that error originated from in GraphQL editor (close #4849) (#4942) 2020-07-09 13:58:25 +02:00
surendran82
b1b92c75ad
console: update hasura pro content to cloud in header (#5268) 2020-07-08 16:01:31 +05:30
soorajshankar
b1c686f303
console: searchable select UX fix (close #5246) (#5254) 2020-07-08 15:21:41 +05:30
Aleksandra Sikora
4637de42e8
console: add statement timeout for data browser count query (#5313) 2020-07-07 15:56:15 +05:30
Aleksandra Sikora
5d35f564e9
console: fix creating migrations from Raw SQL page (close #5296) (#5308) 2020-07-06 13:49:16 +05:30
Rakesh Emmadi
2fe353a294
allow array relation connection fields regardless of aggregation permission & change relay endpoint to '/v1beta1/relay' (fix #5218) (#5257)
* fix error when array relation connections are queried, fix #5218

* change relay endpoint to '/v1beta1/relay'

* Update CHANGELOG.md

Co-authored-by: Tirumarai Selvan <tiru@hasura.io>
2020-07-03 12:00:35 +05:30
Aleksandra Sikora
53a40bc2be
console: handle generated and identity columns in console data section (close #4552, #4863) (#4761) 2020-07-02 14:32:34 +05:30
Sameer Kolhar
6cd9eb282a
console: add button to cancel one-off scheduled events and cron-trigger events (close #5161) (#5236) 2020-07-02 13:57:53 +05:30
Aleksandra Sikora
af452de754
console: support tracking partitioned tables (close #5071) (#5258) 2020-07-02 13:14:27 +05:30
Anuj Shah
a78f17b79c
console: add code exporter to graphiql (close #4531) (#4652) 2020-07-01 23:16:09 +02:00
Gokul
b9918e0eac
console: allow configuring statement timeout on console RawSQL page (close #4998) (#5045) 2020-07-01 22:06:24 +02:00
soorajshankar
ab311cd9f1
console: add eslint-plugin-react-hooks (#5219) 2020-07-01 12:22:09 +02:00
John Duong
6fe0b748e2
community: fix DATA_API_URL for Heroku in console README (#5069) 2020-07-01 09:54:00 +02:00
Sameer Kolhar
f8b58ea698
console: fix styling of table row content on relationship page (close #4974) (#4979) 2020-06-25 10:13:37 +02:00
Marion Schleifer
527530704d
docs/console: clarify usage of "query" vs "request" , change allowed queries to allow list (close #4053) (#5182) 2020-06-24 23:00:08 +05:30
Sameer Kolhar
01e7b2aea0
console: display error notification if an introspection query fails (#5184) 2020-06-24 13:39:38 +02:00
Aleksandra Sikora
9936ace6ab
console: handle renaming cron triggers (#5167) 2020-06-23 15:56:51 +02:00
Sameer Kolhar
4293714519
console: add the ability to delete a role in permissions summary page (close #3353) (#4987) 2020-06-19 14:36:40 +05:30
Aleksandra Sikora
f2428e3984
console: allow manual edit of column types and handle array data types (close #2544, #3335, #2583) (#4546) 2020-06-18 12:43:19 +02:00
Rikin Kachhia
3c76ddf493
console: misc UX improvements (close #4500, #4689) (#5066) 2020-06-18 10:36:42 +02:00
Egor Ogarkov
df8a0b7924
console: migrate wrap type utils to typescript (#4557) 2020-06-17 17:21:49 +02:00
Pavel Kostenko
213958ac09
console: fix typo in remote relationships tooltip (close #5113) 2020-06-17 10:26:37 +02:00
Aravind
d7ca702542
cli: support squashing migrations with remote joins (close #4908) (#4924) 2020-06-16 12:10:20 +05:30
Marek Dano
65920fb77b
console: migrate main state to typescript (#4804) 2020-06-15 20:25:16 +02:00
Sameer Kolhar
fd00892371
console: reuse websocket connection in api explorer (#5064) 2020-06-12 16:32:21 +02:00
Aleksandra Sikora
0bdfad4ef0
console: remove proposal-export-default-from (#5032) 2020-06-12 12:11:28 +02:00
Aleksandra Sikora
f73b847ddc
console: fix handling inconsistent objects (close #5072) (#5073) 2020-06-12 11:11:54 +02:00
soorajshankar
cb3252cf07
console: allow configuring session_argument for custom functions (close #4499) (#4922) 2020-06-11 14:38:32 +02:00
Rishichandra Wawhal
7efc53206f
console: add default graphiql mode in api explorer (#5061) 2020-06-11 15:41:17 +05:30
Rishichandra Wawhal
63eb311169
console: fix listen update column config selection for event trigger (close #5042) (#5043) 2020-06-10 14:05:43 +02:00
Pavel Kostenko
2030da5282
console: convert settings/utils to typescript (#4684) 2020-06-10 10:52:23 +02:00
soorajshankar
c8d242dd13
console: provide option to cascade metadata on dependency conflicts (close #1593) (#4846) 2020-06-09 18:26:44 +02:00
soorajshankar
2861beaa20
console: fix enum tables reload data button UI (close #4647) (#4877) 2020-06-09 17:10:26 +02:00
soorajshankar
0df38f0a95
console: respect read-only mode in actions pages (close #4656) (#4764) 2020-06-09 14:23:02 +02:00
Ryan Dsouza
dd977d6c22
console: convert About and Login components to typescript (#4794) 2020-06-09 13:21:04 +02:00
Marek Dano
fa60c7d4b6
console: migrate telemetry to typescript (#4737) 2020-06-09 11:01:12 +02:00
Aleksandra Sikora
e4ff1badd6
Merge branch 'master' into migrate-sidebar-to-ts 2020-06-08 20:59:17 +02:00
Aleksandra Sikora
e800e32bdf
console: fix "Cannot read property 'foldable'" runtime error in Browse Rows page (fix #4907) (#5016) 2020-06-08 20:10:39 +05:30
Aleksandra Sikora
547e658b6d
console: replace remote schema url in tests (#5011)
* console: replace remote schema url

* Rename lint to console lint
2020-06-08 17:45:43 +05:30
Vamshi Surabhi
2a9bc2354f
add relay modern support (#4458)
* validation support for unions and interfaces

* refactor SQL generation logic for improved readability

* '/v1/relay' endpoint for relay schema

* implement 'Node' interface and top level 'node' field resolver

* add relay toggle on graphiql

* fix explain api response & index plan id with query type

* add hasura mutations to relay

* add relay pytests

* update CHANGELOG.md

Co-authored-by: rakeshkky <12475069+rakeshkky@users.noreply.github.com>
Co-authored-by: Rishichandra Wawhal <rishi@hasura.io>
Co-authored-by: Rikin Kachhia <54616969+rikinsk@users.noreply.github.com>
2020-06-08 17:43:01 +05:30
Xetera
2ada31292f
console: add new sidebar icon that separates enums from tables (fix #4984) (#4992) 2020-06-06 17:17:40 +05:30
Marek Dano
20cf05d883
console: migrate Globals to TS (#4587) 2020-06-06 16:34:35 +05:30
Sameer Kolhar
d67757c23a
console: update QueryAnalyzer to support subscriptions (close #2541) (#4965) 2020-06-06 15:23:37 +05:30
Aleksandra Sikora
342c017d1b
Merge branch 'master' into migrate-sidebar-to-ts 2020-06-05 21:36:02 +02:00
Aleksandra Sikora
2b4d12ec49 Fix eslint config, run prettier 2020-06-05 21:35:38 +02:00
Aleksandra Sikora
d651319110 Fix location type 2020-06-05 21:31:57 +02:00
Aleksandra Sikora
78d2f2ced0 Merge branch 'master' into migrate-sidebar-to-ts 2020-06-05 21:25:19 +02:00
Sameer Kolhar
e4e4856085
console: improve error handling for prerelease notification opt-out (#4983) 2020-06-05 15:38:01 +05:30
Rishichandra Wawhal
aaab6d3eb6
console: add scheduled triggers support (#4732) 2020-06-05 13:40:08 +05:30
soorajshankar
1b3f5b8fcf
console: fix regression in editing permissions manually (fix #4683) (#4826) 2020-06-04 20:51:01 +05:30
Aleksandra Sikora
45c8699e23
console: dependencies cleanup (#4705) 2020-06-02 13:44:45 +05:30
Aleksandra Sikora
af0d4d8f08
console: replace remote schema url in tests (#4964) 2020-06-02 12:41:14 +05:30
Marek Dano
61349c091a
console: migrate ErrorBoundary to TS (#4542) 2020-05-29 19:10:17 +05:30
Kshitiz Kumar
a2a492e5d9
console: migrate CollapsibleToggle to TS (#4697) 2020-05-29 18:34:28 +05:30
Rishichandra Wawhal
6b590cb4f8
console: remote joins code improvements (#4920) 2020-05-29 18:00:37 +05:30
Aleksandra Sikora
41b3be82fb
workflow: add lint and format action for console (#4501) 2020-05-29 16:45:43 +05:30
Rishichandra Wawhal
ea2f1679eb
console: require async globals before render; track runtime errors (#4449) 2020-05-29 15:15:33 +05:30
soorajshankar
d2aac3732a
console: allow entering big int values (close #3667) (#4775) 2020-05-29 14:40:02 +05:30
soorajshankar
b2fd57a8e2
console: fix visiting view modify page overwriting raw sql content (close #4798) (#4810) 2020-05-29 14:11:02 +05:30
Aleksandra Sikora
bc16668ff6
console: remove deprecated better-npm-run (#4819) 2020-05-29 12:09:58 +05:30
Rikin Kachhia
594b387263
console: add Help button and move About page to settings (#4848) 2020-05-27 21:43:04 +05:30
Tirumarai Selvan
c0d2bc6653
Remote Joins: Create relationships across database and remote schemas (#2392)
add remote joins: Create relationships across database and remote schemas (#2392)

Co-authored-by: Aleksandra Sikora <ola.zxcvbnm@gmail.com>

Co-authored-by: Chris Done <chrisdone@gmail.com>
Co-authored-by: Chris Done <github@chrisdone.com>
Co-authored-by: wawhal <rishichandra.wawhal@gmail.com>
Co-authored-by: Aravind Shankar <aravind@hasura.io>
Co-authored-by: Brandon Simmons <brandon.m.simmons@gmail.com>
Co-authored-by: Rishichandra Wawhal <rishi@hasura.io>
Co-authored-by: Brandon Simmons <brandon@hasura.io>
Co-authored-by: nizar-m <19857260+nizar-m@users.noreply.github.com>
Co-authored-by: Praveen Durairaju <praveend.web@gmail.com>
Co-authored-by: rakeshkky <12475069+rakeshkky@users.noreply.github.com>
Co-authored-by: Anon Ray <rayanon004@gmail.com>
Co-authored-by: Shahidh K Muhammed <shahidh@hasura.io>
Co-authored-by: soorajshankar <soorajshankar@users.noreply.github.com>
Co-authored-by: Sooraj Sanker <sooraj@Soorajs-MacBook-Pro.local>
Co-authored-by: Karthikeyan Chinnakonda <karthikeyan@hasura.io>
Co-authored-by: Aleksandra Sikora <ola.zxcvbnm@gmail.com>
2020-05-27 20:32:58 +05:30
Aleksandra Sikora
c1197be208
console: fix dependency vulnerabilities (#4677) 2020-05-27 16:04:38 +05:30
Raj Anand
1b442fc2dd
console: migrate cypress tests to TypeScript (#4550) 2020-05-27 14:56:29 +05:30
Ryan Dsouza
b088db6ed7 console: migrate Container.js to TypeScript (#4724) 2020-05-27 14:20:26 +05:30
ryo
fb807843c9
console: migrate Button to TypeScript (#4570) 2020-05-27 13:25:40 +05:30
Aleksandra Sikora
f7cb3c1f19
Merge branch 'master' into migrate-sidebar-to-ts 2020-05-25 19:29:16 +02:00
Vamshi Surabhi
ff99b24031 fix a security issue with 1.2 2020-05-22 14:40:57 +05:30
Marek Dano
289ff5e737
console: migrate VoyagerView to TS (#4734) 2020-05-20 15:33:19 +05:30
ryo
fffc65f153
console: migrate switch button and spinner to TypeScript (#4504) 2020-05-19 17:47:33 +05:30
Rikin Kachhia
7a7ff29e08
console: fix undercores not being displayed in raw sql (close #4754) (#4799) 2020-05-18 13:46:08 +05:30
Aleksandra Sikora
78aa346d72
console: fix displaying boolean values in Edit Row tab (#4682) 2020-05-15 14:36:45 +05:30
Rishichandra Wawhal
5a39143518
console: add more themes to ace editor for supporting syntax highlighting (#4600) 2020-05-14 23:27:56 +05:30
Ryan Dsouza
619d167329
console: migrate HTML helpers, route hooks helpers and version utils to TypeScript (#4641) 2020-05-14 19:30:05 +05:30
Aleksandra Sikora
8a2d90cfb1
console: fix bulk selected rows state in data browser (close #4654) (#4673) 2020-05-14 18:55:57 +05:30
Irshad Ansari
d039c12e1d
console: migrate Common/Modal to TypeScript (#4532) 2020-05-14 18:09:28 +05:30
Fadi Khadra
a94012b1b1
console: migrate WarningSymbol and TextInput to TypeScript (#4562) 2020-05-14 17:30:49 +05:30
Marek Dano
ced1b4d001
console: migrate TelemetryFilter file to TS (#4579) 2020-05-14 16:50:40 +05:30
gnyani
5d2b082194
console: trim column name input values (fix #4526) (#4545) 2020-05-14 16:20:12 +05:30
Aleksandra Sikora
1cbb765acd
console: fix rows limit display in permissions editor if set to zero (fix #4559) (#4750) 2020-05-14 15:35:00 +05:30
Tirumarai Selvan
cc8e2ccc78
Scheduled triggers (close #1914) (#3553)
server: add scheduled triggers 

Co-authored-by: Alexis King <lexi.lambda@gmail.com>
Co-authored-by: Marion Schleifer <marion@hasura.io>
Co-authored-by: Karthikeyan Chinnakonda <karthikeyan@hasura.io>
Co-authored-by: Aleksandra Sikora <ola.zxcvbnm@gmail.com>
2020-05-13 18:03:16 +05:30
Antoine Leblanc
201dcca59a
console: restore partial support for foreign tables (fix #4714) (#4742) 2020-05-12 17:18:35 +05:30
Jigyasu Arya
f993a6c907
console: fix checkbox for forwarding client headers in actions (close #4595) (#4669) 2020-05-12 15:22:23 +05:30
Fadi Khadra
cd1c562073
console: allow modifying default value for PK (close #4075) (#4679) 2020-05-12 11:46:48 +05:30
Marek Dano
cd1f43397c Replace react-router-dom by react-router version 3. 2020-05-08 19:57:02 +01:00
Rikin Kachhia
c2fdcd0471
console: optimise count fetch in data browser (#4692)
* in table-browse-rows, make intelligent count

* update changelog

* simplify getting estimatedCount

* prevent doubled requests

* hide estimated count

* update changelog

* Update CHANGELOG.md

Co-authored-by: Rishichandra Wawhal <rishi@hasura.io>
Co-authored-by: Aleksandra Sikora <ola.zxcvbnm@gmail.com>
2020-05-06 23:37:56 +05:30
Marek Dano
dbafb92a07 Replace 'any' in the Sidebar component and fix eslint issue. 2020-05-06 13:36:30 +01:00
Marek Dano
17a4b98e9a Migrate Sidebar to tsx. 2020-05-06 12:44:52 +01:00
Marek Dano
1e2c05426d Remove react-router and replace it with react-router-dom in the console project. 2020-05-06 12:44:15 +01:00
surendran82
5998d22231
console: add read replica support section to pro popup (#4118) 2020-05-02 14:41:40 +05:30
Aleksandra Sikora
43f12db1d3
console: update @babel/core and @babel/preset-env (#4628) 2020-05-01 18:34:52 +05:30
Aleksandra Sikora
09d3c89d4c
console: fix data browser css issue in safari (close #4632) (#4634) 2020-05-01 05:31:22 +05:30
Aleksandra Sikora
220338d5d7
console: pin dependency versions (#4612) 2020-04-30 13:09:17 +05:30
Rikin Kachhia
c2df714e5d
docs: update migrations docs (#3403) 2020-04-29 13:30:26 +05:30
Rishichandra Wawhal
74563402d4
console: update and freeze graphiql explorer to support operation transforms (#4567) 2020-04-27 16:46:09 +05:30
Aleksandra Sikora
4746be2018
console: fix table columns type comparision during column edit (close #4125) (#4393) 2020-04-27 16:13:22 +05:30
Fadi Khadra
d9b9c21198
console: migrate GqlCompabilityWarning to TS (#4544) 2020-04-27 15:42:34 +05:30
Muhammad Ubaid Raza
08aecff498
console: migrate graphql, sql, main utils to TS (#4522) 2020-04-27 15:14:02 +05:30
Aleksandra Sikora
79a3b6131d
console: make graphiql panel use whole height (#4553) 2020-04-27 14:32:39 +05:30
Antoine Leblanc
66e18b7dee
console: support materialized views (close #91) (#4270) 2020-04-24 15:13:42 +05:30
Rakesh Emmadi
d52bfcda4e
backend only insert permissions (rfc #4120) (#4224)
* move user info related code to Hasura.User module

* the RFC #4120 implementation; insert permissions with admin secret

* revert back to old RoleName based schema maps

An attempt made to avoid duplication of schema contexts in types
if any role doesn't possess any admin secret specific schema

* fix compile errors in haskell test

* keep 'user_vars' for session variables in http-logs

* no-op refacto

* tests for admin only inserts

* update docs for admin only inserts

* updated CHANGELOG.md

* default behaviour when admin secret is not set

* fix x-hasura-role to X-Hasura-Role in pytests

* introduce effective timeout in actions async tests

* update docs for admin-secret not configured case

* Update docs/graphql/manual/api-reference/schema-metadata-api/permission.rst

Co-Authored-By: Marion Schleifer <marion@hasura.io>

* Apply suggestions from code review

Co-Authored-By: Marion Schleifer <marion@hasura.io>

* a complete iteration

backend insert permissions accessable via 'x-hasura-backend-privilege'
session variable

* console changes for backend-only permissions

* provide tooltip id; update labels and tooltips;

* requested changes

* requested changes

- remove className from Toggle component
- use appropriate function name (capitalizeFirstChar -> capitalize)

* use toggle props from definitelyTyped

* fix accidental commit

* Revert "introduce effective timeout in actions async tests"

This reverts commit b7a59c19d6.

* generate complete schema for both 'default' and 'backend' sessions

* Apply suggestions from code review

Co-Authored-By: Marion Schleifer <marion@hasura.io>

* remove unnecessary import, export Toggle as is

* update session variable in tooltip

* 'x-hasura-use-backend-only-permissions' variable to switch

* update help texts

* update docs

* update docs

* update console help text

* regenerate package-lock

* serve no backend schema when backend_only: false and header set to true

- Few type name refactor as suggested by @0x777

* update CHANGELOG.md

* Update CHANGELOG.md

* Update CHANGELOG.md

* fix a merge bug where a certain entity didn't get removed

Co-authored-by: Marion Schleifer <marion@hasura.io>
Co-authored-by: Rishichandra Wawhal <rishi@hasura.io>
Co-authored-by: rikinsk <rikin.kachhia@gmail.com>
Co-authored-by: Tirumarai Selvan <tiru@hasura.io>
2020-04-24 14:40:53 +05:30
Rishichandra Wawhal
2e7e54fc2e
console: preserve the returning field set in a derived action (#4530) 2020-04-23 18:27:42 +05:30