Commit Graph

784 Commits

Author SHA1 Message Date
Sameer Kolhar
2b0b4ec3a4 console: improve functions permissions messages in case of missing table's select permissions
Co-authored-by: Aleksandra Sikora <9019397+beerose@users.noreply.github.com>
GitOrigin-RevId: 52007786113622c15bd719cbea6b041c27ebd675
2021-05-05 14:55:35 +00:00
Aleksandra Sikora
dffe785543 console: read-only modify page for mssql
Co-authored-by: Sooraj <8408875+soorajshankar@users.noreply.github.com>
Co-authored-by: Vijay Prasanna <11921040+vijayprasanna13@users.noreply.github.com>
GitOrigin-RevId: f3fe2e313b39310bac95e3118e6e14f645627769
2021-05-04 14:41:54 +00:00
Vamshi Surabhi
3dfc50e3ac console/mssql: do not use deprecated sysusers to fetch schema list
On certain MSSQL sources (Azure serverless databases), `sysusers` is not supported.

From [MSSQL docs](https://docs.microsoft.com/en-us/sql/relational-databases/system-compatibility-views/sys-sysusers-transact-sql?view=sql-server-ver15):
> This SQL Server 2000 system table is included as a view for backward compatibility. We recommend that you use the current SQL Server system views instead

Co-authored-by: Ikechukwu Eze <22247592+iykekings@users.noreply.github.com>
GitOrigin-RevId: 6d8a91afa66569cc30b7b83a0c7813a3850c4c9a
2021-05-04 12:41:40 +00:00
Ikechukwu Eze
512c3008b6 console: filter out partitions from track table list and display partition info
### Description
Resolves #1128

### Changelist
- [x] Removed partitions from list of untracked tables (clean up awaits)
- [x] Display table definition at modify table like that of `psql \d+ tableName`
- [x] Fix broken console error when reloading console on `Modify` and `Relationships` tab for any other schema than default redirect schema.
- [x] Fetch table partition info only at /table/modify

### Screenshots
<img width="700" alt="Screenshot 2021-05-04 at 12 57 30" src="https://user-images.githubusercontent.com/9019397/116993856-4c6c2000-acd8-11eb-8a61-cd2b45d6e7ac.png">

### Changelog
- [x] Console

Co-authored-by: Vijay Prasanna <11921040+vijayprasanna13@users.noreply.github.com>
Co-authored-by: Aleksandra Sikora <9019397+beerose@users.noreply.github.com>
GitOrigin-RevId: 3a6e527839daf52af101c2ce1803eefba600d29e
2021-05-04 11:20:31 +00:00
Vijay Prasanna
f015234ef6 console: fix allSourcesSchemas mapping when there are sources with no tables
**How to repro this bug:**
1. Create another source, in addition the existing `default source`
2. this new source has one or more tables while the `default` has none.
3. If you check the Redux State object, the `allSourcesSchemas` attribute has the wrong mapping of objects
```JSON
allSourcesSchemas:
default: {}
```

This results in the table_types not being mapped properly.

For example in the below screenshot, I have 2 db objects, one is a view and the other is a table. Since the `allSourcesSchemas` is not mapped properly, the table_type is not available to `DataSubSidebar.js`
![Screenshot 2021-05-04 at 11 22 27 AM](https://user-images.githubusercontent.com/11921040/116965274-065c8f80-accb-11eb-9a4f-c1fedced8e6a.png)

GitOrigin-RevId: d728f08306ce7a8770d7d08a6236b76cd379f140
2021-05-04 09:54:19 +00:00
Aleksandra Sikora
99ec0aeab6 console: fix missing headers for get_event_invocations request
GitOrigin-RevId: 19d344d6b8b4a407c7f8fa787b95bc210b5bf84f
2021-04-29 17:54:26 +00:00
Abhijeet Singh Khangarot
65097131ff console: add error notification on invalid query / mutation in rest endpoints
Co-authored-by: Aleksandra Sikora <9019397+beerose@users.noreply.github.com>
GitOrigin-RevId: 9e1d8fb5250ceadfb5ec698f224f764b11a1e67d
2021-04-26 13:49:18 +00:00
hasura-bot
3fbc4c3b63 console: quote postgres table name when creating one with a comment
GITHUB_PR_NUMBER: 6761
GITHUB_PR_URL: https://github.com/hasura/graphql-engine/pull/6761

Co-authored-by: Ross Gardiner <565371+rossng@users.noreply.github.com>
GitOrigin-RevId: 9fbe6d53724028329b639441b98dff685e5e067e
2021-04-23 15:02:29 +00:00
Sooraj
c1e3829365 console: optimise init queries
GitOrigin-RevId: fdfff1857733d5fb247d9e698ea6ccfc9e3853a2
2021-04-21 12:53:36 +00:00
Abhijeet Singh Khangarot
ff2bd82623 console: update metadata in console's store after new metadata import
GitOrigin-RevId: 26e6cddec51d2a42f5a7ec6bac82a2b7e1611d2f
2021-04-21 11:39:37 +00:00
Ikechukwu Eze
c82d4de0cb console: column comparison feature
This PR changes column operators to be an array of strings that follows what was specified in this [RFC](https://github.com/hasura/graphql-engine-mono/blob/rfc/column-comparison-improvements/rfcs/column-comparison-improvements.md)
The RFC also provides a good schema for testing this feature.

The server PR for this is at https://github.com/hasura/graphql-engine-mono/pull/504

---

### Preview

#### Before
![comparison-before](https://user-images.githubusercontent.com/22247592/112810281-c45c8000-9072-11eb-9bab-9e2f3b85c547.gif)

#### After
![column](https://user-images.githubusercontent.com/22247592/113628210-77713e80-965c-11eb-9da3-474773f1d8b0.gif)

#### Todo

- [x] Refactoring and cleanup
- [x] Find and fix errors

Co-authored-by: Karthikeyan Chinnakonda <15602904+codingkarthik@users.noreply.github.com>
Co-authored-by: Aleksandra Sikora <9019397+beerose@users.noreply.github.com>
GitOrigin-RevId: 22d35c1d886f8b40b1ae7ad7bf214eefd50bbe6e
2021-04-19 19:26:00 +00:00
Vijay Prasanna
e3fd4d395a console: bigquery support
Co-authored-by: Abhijeet Singh Khangarot <26903230+abhi40308@users.noreply.github.com>
Co-authored-by: Aleksandra Sikora <9019397+beerose@users.noreply.github.com>
GitOrigin-RevId: 177f57bde4694ab22798e2afd97d489af875e6f7
2021-04-16 17:22:07 +00:00
Vijay Prasanna
7f17b2683d console: redirect to default schema
Co-authored-by: Aleksandra Sikora <9019397+beerose@users.noreply.github.com>
GitOrigin-RevId: 4ac0243b8ff6fd8a64d54c46f742778d0a5605cd
2021-04-16 14:59:41 +00:00
Sameer Kolhar
b03aeb673a console: add live preview for rest endpoints
Co-authored-by: Abhijeet Singh Khangarot <26903230+abhi40308@users.noreply.github.com>
Co-authored-by: Aleksandra Sikora <9019397+beerose@users.noreply.github.com>
GitOrigin-RevId: 918b9f76492085e8ded68070c90eaaae4d424476
2021-04-13 16:21:53 +00:00
Aleksandra Sikora
e1195fc55e console: misc fixes
1. closes https://github.com/hasura/graphql-engine/issues/6693
2. Fixes insert/edit row input types

GitOrigin-RevId: 2474cb179c485bad240a4e5dbea2779cec2acc6e
2021-04-13 14:58:22 +00:00
Vishnu Bharathi
7821b34a2c ci,console,pro-console: build pro console using local oss console
Co-authored-by: Aleksandra Sikora <9019397+beerose@users.noreply.github.com>
GitOrigin-RevId: f9a918422a0d22bc1775fabedb603c3311673afb
2021-04-12 18:50:02 +00:00
Abhijeet Singh Khangarot
0f7c273873 console: remote schema permissions add default values for input object
GitOrigin-RevId: 52f9bc30150f9ff932e40001bd5d492bad431f95
2021-04-09 08:22:57 +00:00
Varun Choudhary
8a77bac164 console: add details button to the success notification to see inserted row
Closes: https://github.com/hasura/graphql-engine/issues/6362

Description:

Add a `detail` button on the success notification while inserting row. We can see row added on clicking `detail` button.
![Screenshot from 2021-03-26 17-37-45](https://user-images.githubusercontent.com/68095256/112629281-1c6c6a00-8e5a-11eb-962a-42143d9501fe.png)

<img width="1051" alt="Screenshot 2021-04-08 at 14 14 10" src="https://user-images.githubusercontent.com/9019397/114024775-bda0ea80-9874-11eb-9ae7-f3ce90e4492e.png">

Effected components:

[x] - Console

Co-authored-by: Aleksandra Sikora <9019397+beerose@users.noreply.github.com>
GitOrigin-RevId: 88257687a2c989369b62115c238aa318ea9780ca
2021-04-08 20:41:29 +00:00
Abhijeet Singh Khangarot
ac4c4d53d1 console: pass information about table type for mssql
Co-authored-by: Vijay Prasanna <11921040+vijayprasanna13@users.noreply.github.com>
GitOrigin-RevId: b757f999687f716cc5312d1b73548f237efc06f4
2021-04-08 18:02:58 +00:00
hasura-bot
96ee013179 console: use details and summary html tags for CollapsibleToggle component
This PR was migrated from https://github.com/hasura/graphql-engine/pull/6416

Co-authored-by: alex argunov <10955264+troglotit@users.noreply.github.com>
GitOrigin-RevId: 59a2391900d7aa4a612d596bb61165185f51cd53
2021-04-08 17:22:13 +00:00
Varun Choudhary
c52bf1728c console: update the heading and tooltip message for actions
Closes: https://github.com/hasura/graphql-engine/issues/6142

Description:

This PR updates the heading and tool-tip message of derived action

Affected component:

[x] - Console

GitOrigin-RevId: ce7709379fb7b1cc29e6518e1f8e357e8df2cc06
2021-04-08 16:39:32 +00:00
Vijay Prasanna
706f51c0b1 console: add webpack plugin to enforce case sensitivity on import paths
Fixes issue #578

GitOrigin-RevId: 0e4a3f4d5b93b88978984830558ef50d43eb53c3
2021-04-08 15:49:51 +00:00
Aleksandra Sikora
88a60325b7 console: support metadata resource version
This change is backwards compatible.

Server PR: https://github.com/hasura/graphql-engine-mono/pull/474

<img width="448" alt="Screenshot 2021-04-08 at 12 35 23" src="https://user-images.githubusercontent.com/9019397/114014360-d2778100-9868-11eb-9b74-e574b5f40168.png">

https://user-images.githubusercontent.com/9019397/114014868-5df11200-9869-11eb-8fac-baf42723fca1.mp4

GitOrigin-RevId: ef7c02eb1fe2d41507b458166f7e8bf2be5ce6d5
2021-04-08 13:30:43 +00:00
Abhijeet Singh Khangarot
834c324d47 console: update sidebar loading state after table rename error
GitOrigin-RevId: 4b837af9ca0bc09823170611234c0e15fd22c344
2021-04-08 12:01:15 +00:00
Vijay Prasanna
218c8afe89 console: replace ui kit loader with common loader
GitOrigin-RevId: 5988619e8169b18a6561993809f49872c69462bb
2021-04-07 15:10:00 +00:00
Sooraj
9130fa8b8f console/ci: add unit tests
GitOrigin-RevId: 01c9328a298dc6e53b910fa05d7587614c324f20
2021-04-07 13:28:13 +00:00
Ikechukwu Eze
7db125adc6 console: add custom_column_names to track_table request with replaced invalid characters
This PR allows the use invalid identifiers allowed in SQL server to be used in column names. fixes #954

### Todo
- [x] Track (all) table(s)
- [x] Fetch rows in browse rows
    - [x] Process fetching query
    - [x] Process sort and where clauses
    - [x] Process fetch results

Co-authored-by: Aleksandra Sikora <9019397+beerose@users.noreply.github.com>
GitOrigin-RevId: 7930a2064080156ae067a396523274768f37f17d
2021-04-07 09:12:48 +00:00
Vijay Prasanna
a93135d1b1 console: fix for manually added relationships
GitOrigin-RevId: de609849f14882c4c97a4676e73f396ce7c9d767
2021-04-05 19:46:16 +00:00
Abhijeet Singh Khangarot
8274fee00f console: data sidebar bug fixes and improvements
Co-authored-by: Vijay Prasanna <11921040+vijayprasanna13@users.noreply.github.com>
GitOrigin-RevId: 169894ff1c4faabc7abee7d0e1e9c3259d5497cc
2021-04-05 15:40:44 +00:00
Aleksandra Sikora
f822bd8ef0 pro-console: update oss package version
GitOrigin-RevId: 4bac0e96cc89085512a80dabeaa22212643ef174
2021-04-05 14:49:39 +00:00
Ikechukwu Eze
eb5a0d4c46 console: sort untracked tables list
Sorts untracked tables/views list by name. Resolves #967

#### Before
<img width="852" alt="Screenshot 2021-03-29 at 11 15 49" src="https://user-images.githubusercontent.com/22247592/112825665-f32f2200-9083-11eb-85c5-522d86cf9b29.png">

#### After
<img width="851" alt="Screenshot 2021-03-29 at 11 31 24" src="https://user-images.githubusercontent.com/22247592/112825709-ffb37a80-9083-11eb-9552-a72314556d6c.png">

GitOrigin-RevId: 8fd00c4de49e54dfea6adab3faaf2bc7267059a8
2021-04-05 12:38:30 +00:00
Vijay Prasanna
bc4551da2f console: data sources code improvements
Co-authored-by: Ikechukwu Eze <22247592+iykekings@users.noreply.github.com>
GitOrigin-RevId: 225403edaf39e3c845249829b2b9c2aca229c021
2021-04-05 11:48:14 +00:00
Vijay Prasanna
0b9f2993aa console: fix parse errors while fetching mssql foreign keys
GitOrigin-RevId: 650e7acd2c207c1282f1775862d1d583a94c691c
2021-03-30 19:59:15 +00:00
Abhijeet Singh Khangarot
412194ad13 console: don't show permissions pane before selecting operation
GitOrigin-RevId: 4f3cb5b5b91eacd644462c4909400c971a50d4ea
2021-03-30 10:56:25 +00:00
Aleksandra Sikora
33f7fa9550 console: upgrade typescript
GitOrigin-RevId: 6daee605820497c4f3c687aa589a2c8799e52566
2021-03-26 12:14:21 +00:00
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