Vijay Prasanna
11d66753be
console: add GraphQL customisation under Remote schema edit tab
...
https://github.com/hasura/graphql-engine-mono/pull/2302
GitOrigin-RevId: 60e420298f568779b2732a3fd90388f8adefa599
2021-09-21 07:54:02 +00:00
Nicolas Beaussart
a34f8d86cb
console: add storybook support
...
https://github.com/hasura/graphql-engine-mono/pull/2154
Co-authored-by: Matt Hardman <28978422+mattshardman@users.noreply.github.com>
GitOrigin-RevId: e3caefdd0eaa904ed2167248cc166cdb38e7722e
2021-09-20 16:31:25 +00:00
Vijay Prasanna
1afd38f887
console: add source attribute to make migration action
...
https://github.com/hasura/graphql-engine-mono/pull/2213
Co-authored-by: Kali Vara Purushotham Santhati <72007599+purush7@users.noreply.github.com>
GitOrigin-RevId: 3cf65f0062005d23aa264da744dc680417275add
2021-09-14 06:49:57 +00:00
Matt Hardman
bbed956137
console: support tracking of functions with return a single row (close#2281)
...
### Description
- Tracking functions that return a single row were unsupported, this was fixed with -> [this](https://github.com/hasura/graphql-engine/issues/4299#issuecomment-911553730 )
- This PR updates the console to list functions that return a single row as trackable
### Changelog
- [x] `CHANGELOG.md` is updated with user-facing content relevant to this PR. If no changelog is required, then add the `no-changelog-required` label.
### Affected components
- [x] Console
### Related Issues
#2281
### Solution and Design
>
### Steps to test and verify
- Create the following table
```sql
create table users (
"id" int primary key,
"name" text
);
```
- Create a function that returns one row, (don't tick track function)
```sql
CREATE OR REPLACE FUNCTION public.me()
RETURNS users
LANGUAGE sql
STABLE
AS $function$
select *
from public.users
where id = 1;
$function$
```
- click on the schema and the function should appear in untracked functions
<img width="614" alt="Screenshot 2021-09-13 at 11 18 30" src="https://user-images.githubusercontent.com/28978422/133067170-24d5adc7-73d4-44ae-941f-ed790d2d861c.png ">
---
### Kodiak commit message
Information used by [Kodiak bot](https://kodiakhq.com/ ) while merging this PR.
#### Commit title
Same as the title of this pull request
https://github.com/hasura/graphql-engine-mono/pull/2329
Co-authored-by: Ikechukwu Eze <22247592+iykekings@users.noreply.github.com>
GitOrigin-RevId: 6365a1bf35205a51e995c2b17104eb2f79563756
2021-09-14 05:29:08 +00:00
Martin Mark
e0cabef0ca
console: updated override styles for GraphiQL / React-Select
...
https://github.com/hasura/graphql-engine-mono/pull/2315
Co-authored-by: Nicolas Beaussart <7281023+beaussan@users.noreply.github.com>
GitOrigin-RevId: b1011bce3980b4ea5541ff7e68843b200fe7a6e8
2021-09-11 07:56:43 +00:00
Vijay Prasanna
f639012999
console: modify placeholder generator function
...
https://github.com/hasura/graphql-engine-mono/pull/2218
Co-authored-by: Matt Hardman <28978422+mattshardman@users.noreply.github.com>
GitOrigin-RevId: b10b791d87ca0d688638d9b0c78e1f5d2aafe2df
2021-09-09 09:09:05 +00:00
Ikechukwu Eze
dc4713b9d3
console: refactor PermissionBuilder.js to typescript
...
### Changelog
no changelog required
### Affected components
- [ ] Server
- [x] Console
- [ ] CLI
- [ ] Docs
- [ ] Community Content
- [ ] Build System
- [ ] Tests
- [ ] Other (list it)
https://github.com/hasura/graphql-engine-mono/pull/2122
GitOrigin-RevId: d12d225454659621198286c15965345c7a8a8e01
2021-09-08 14:12:04 +00:00
hasura-bot
570f9622f1
fix typo in TemplateGalleryTable
...
GITHUB_PR_NUMBER: 7518
GITHUB_PR_URL: https://github.com/hasura/graphql-engine/pull/7518
https://github.com/hasura/graphql-engine-mono/pull/2310
Co-authored-by: ghry5 <32223782+ghry5@users.noreply.github.com>
GitOrigin-RevId: 5724f604f8f59deec258b5650cec5a6752d6ac41
2021-09-08 07:03:52 +00:00
Nicolas Beaussart
1b90360bb3
console: add fixed height to html
...
https://github.com/hasura/graphql-engine-mono/pull/2073
Co-authored-by: Martin Mark <74692114+martin-hasura@users.noreply.github.com>
GitOrigin-RevId: b13f9e478b2569a5bd9b6c845c80df81a560cdc4
2021-09-03 07:36:58 +00:00
Ikechukwu Eze
8ca110b5bb
console: fix data sidebar not updated when a table is renamed
...
https://github.com/hasura/graphql-engine-mono/pull/2237
GitOrigin-RevId: 53ee0ab1b786e8364df3af73396c97c6acb5470f
2021-08-30 10:50:28 +00:00
Ikechukwu Eze
3f4dda2520
console: support computed fields in remote schema join
...
https://github.com/hasura/graphql-engine-mono/pull/2188
GitOrigin-RevId: 2d6fae62dbdcbdc7515a7b4982299dc9610a2230
2021-08-27 09:58:17 +00:00
Varun Choudhary
31fd4a3df2
console: support insecure TLS allowlist
...
https://github.com/hasura/graphql-engine-mono/pull/1985
Co-authored-by: Sooraj <8408875+soorajshankar@users.noreply.github.com>
GitOrigin-RevId: 9d71ff7624346395c91720bca260a5219622555e
2021-08-26 14:08:14 +00:00
hasura-bot
52aaf2751a
Fix typo: iconsistent -> inconsistent
...
GITHUB_PR_NUMBER: 7394
GITHUB_PR_URL: https://github.com/hasura/graphql-engine/pull/7394
https://github.com/hasura/graphql-engine-mono/pull/2091
Co-authored-by: Tyler Breisacher <244381+MatrixFrog@users.noreply.github.com>
GitOrigin-RevId: a5a4547e5e187193ab4f7a2cb4b8e85139c75967
2021-08-25 13:26:18 +00:00
Nicolas Beaussart
05c0382036
console: fix remote schema permission spacing
...
https://github.com/hasura/graphql-engine-mono/pull/2182
GitOrigin-RevId: c362e377879c3faba3857b0bdcd77a9cb586c8f5
2021-08-23 12:56:16 +00:00
Nicolas Beaussart
89dc079977
pro-console: fix pro console ui and revert package locks
...
https://github.com/hasura/graphql-engine-mono/pull/2170
GitOrigin-RevId: f5344f5729be48bb0eb1c2a87a4e5641169975a0
2021-08-20 16:28:05 +00:00
Ikechukwu Eze
f02234ee10
console: remove redux-logger
...
https://github.com/hasura/graphql-engine-mono/pull/2130
GitOrigin-RevId: 557c69f13665984e5500543dfc3eb611c234bf9c
2021-08-19 23:24:16 +00:00
Ikechukwu Eze
4330798a71
console: fix error due too rendering inconsistent object's message
...
https://github.com/hasura/graphql-engine-mono/pull/2116
GitOrigin-RevId: a2d8230bf685a201991adfe33f548c9e9c24e44b
2021-08-19 16:43:17 +00:00
Nicolas Beaussart
582ebcca9c
console: move to dart-sass
...
https://github.com/hasura/graphql-engine-mono/pull/2155
GitOrigin-RevId: 2c86a617314d9c308c295c18cdbcba8060e2075c
2021-08-19 14:36:21 +00:00
Vijay Prasanna
479c0b3980
console: add quotes to column names
...
https://github.com/hasura/graphql-engine-mono/pull/2127
GitOrigin-RevId: 6c1596ad132a400f2c2864712d7ffa3a4a7ae2f2
2021-08-18 09:33:11 +00:00
Sooraj
c0ea2b0a04
console: oss test optimisation
...
https://github.com/hasura/graphql-engine-mono/pull/1837
GitOrigin-RevId: e638ca400a275a2cba7fec64f157c989b2147b8e
2021-08-18 08:38:34 +00:00
hasura-bot
2d03920169
console: add custom timeouts to actions
...
GITHUB_PR_NUMBER: 6251
GITHUB_PR_URL: https://github.com/hasura/graphql-engine/pull/6251
https://github.com/hasura/graphql-engine-mono/pull/97
Co-authored-by: Varun Choudhary <68095256+Varun-Choudhary@users.noreply.github.com>
Co-authored-by: Sooraj <8408875+soorajshankar@users.noreply.github.com>
GitOrigin-RevId: 758c6d7edfbf3f7f3173653bceb53608b0f253d8
2021-08-17 11:59:22 +00:00
Sameer Kolhar
1243da1d54
server: fix regressions on invoking manual trigger
...
https://github.com/hasura/graphql-engine-mono/pull/2029
GitOrigin-RevId: d1a445cca8106835735c5e10cab045ea6a2e1635
2021-08-17 10:22:50 +00:00
Ikechukwu Eze
64a5c52904
console: support computed fields in permission builder
...
>
### Description
>
### Changelog
- [x] `CHANGELOG.md` is updated with user-facing content relevant to this PR. If no changelog is required, then add the `no-changelog-required` label.
### Affected components
- [x] Console
### Related Issues
closes [#7336 ](https://github.com/hasura/graphql-engine/issues/7336 )
### Steps to test and verify
- Add a scalar computed field with only table row as argument, to the table you want to use for testing
- Then head to table's permission tab, and try to use permission builder to set permissions for any role
- confirm that computed fields are listed as options along table columns
https://github.com/hasura/graphql-engine-mono/pull/2056
GitOrigin-RevId: 2cd16ca4a0e6a6288d4b62549ebe1aaaf841952b
2021-08-16 12:28:03 +00:00
Abhijeet Khangarot
5de2ef7d31
console: allow same named queries and unnamed queries on allowlist file upload
...
https://github.com/hasura/graphql-engine-mono/pull/1906
GitOrigin-RevId: bdd752f49213a2056f39050d40d3dc299dc07819
2021-08-16 09:23:12 +00:00
Sameer Kolhar
3f35a9a219
console: support creation of indexes on the console for postgres sources
...
https://github.com/hasura/graphql-engine-mono/pull/358
Co-authored-by: Ikechukwu Eze <22247592+iykekings@users.noreply.github.com>
GitOrigin-RevId: cd4a5073fb361fe1235f5d49a0dc9b025fc1379f
2021-08-11 18:02:56 +00:00
Vijay Prasanna
5d6211d3dc
console/inherited-roles: allow resolution of conflicting permissions
...
https://github.com/hasura/graphql-engine-mono/pull/2027
GitOrigin-RevId: 896759f70aa95bf4b16766cc6e4ca38cf10878e1
2021-08-11 14:21:14 +00:00
Nicolas Beaussart
e063835b83
console: fix ui for template gallery when there is no image
...
https://github.com/hasura/graphql-engine-mono/pull/1940
GitOrigin-RevId: 97fca7b6423309c22a1072b9e380ba724d7bad00
2021-08-11 11:24:04 +00:00
nevermore
05a12912aa
console: change HEROKU_DATABASE_URL to PG_DATABASE_URL while creating datasource on cloud
...
https://github.com/hasura/graphql-engine-mono/pull/2050
GitOrigin-RevId: d40b32feb2015780865ad4d74e442fbdc3da82b8
2021-08-11 09:23:19 +00:00
Nicolas Beaussart
a226d514af
console: add tailwindcss for styles
...
https://github.com/hasura/graphql-engine-mono/pull/2032
GitOrigin-RevId: d6552e990823acc3bdac829487e91ae931ac4345
2021-08-10 13:46:52 +00:00
Varun Choudhary
a4b01b2756
console: auto suggest gen_random_uuid()
while adding a default value to UUID type column in schema other than public
...
https://github.com/hasura/graphql-engine-mono/pull/1910
GitOrigin-RevId: c2ee953ca7cd72fc7cc143465be2fe84e4284636
2021-08-10 05:55:41 +00:00
Vijay Prasanna
74704801cb
console/tests: add manage db tests for mssql
...
https://github.com/hasura/graphql-engine-mono/pull/1782
Co-authored-by: Sooraj <8408875+soorajshankar@users.noreply.github.com>
GitOrigin-RevId: 1ed4c6d09d2dbd6f68faacd83e7daae916cff972
2021-08-09 14:04:54 +00:00
hasura-bot
e78bc4b0ed
console: export metadata before tracking new table ( fix #6805 ) ( fix #7221 ) ( fix #7233 )
...
GITHUB_PR_NUMBER: 7330
GITHUB_PR_URL: https://github.com/hasura/graphql-engine/pull/7330
https://github.com/hasura/graphql-engine-mono/pull/1970
Co-authored-by: Kenneth J. Miller <6822406+KloudJack@users.noreply.github.com>
GitOrigin-RevId: 9532f7b596801ebcdd15bd40a9b3ace0b9b88326
2021-08-06 09:09:34 +00:00
Kali Vara Purushotham Santhati
0341037aeb
cli-ext: fix sdl formatting
...
closes https://github.com/hasura/graphql-engine/issues/7296
https://github.com/hasura/graphql-engine-mono/pull/2012
Co-authored-by: Aravind K P <8335904+scriptonist@users.noreply.github.com>
GitOrigin-RevId: 41383e1f88c709c6cae4059a1b4fb8f2a58259e6
2021-08-06 05:01:07 +00:00
Ikechukwu Eze
2e1f0df610
console: fix untracked foreign-key relationships suggestion across schemas
...
This PR fixes untracked foreign-key relationships suggestion across schemas.
### Changelog
- [x] `CHANGELOG.md` is updated with user-facing content relevant to this PR. If no changelog is required, then add the `no-changelog-required` label.
### Affected components
- [x] Console
### Related Issues
close [#7177 ](https://github.com/hasura/graphql-engine/issues/7177 )
### Solution and Design
Previously to determine relations, we'd check the foreign keys constraint on all tables in the metadata,
but from 2.0, we filtered these tables based on schema. Therefore, relationships are only reflected if both tables are of the same schema. This PR makes sure that all tables in the metadata are considered
### Steps to test and verify
- Create two schemas and a table in each
- Create a foreign key constraint on one of the tables to the other using RawSQL
- Go the schema page of the table where the constraint was created on.
- Confirm that the console suggests to track the relationship you created in step 2 above
#### Breaking changes
- [x] No Breaking changes
https://github.com/hasura/graphql-engine-mono/pull/2000
GitOrigin-RevId: c1d5229955e731bb8019955ebd7a925d7870eb17
2021-08-05 12:32:53 +00:00
Varun Choudhary
b4e329307a
console: fix splitgraph console issue
...
Closes: https://github.com/hasura/graphql-engine-mono/issues/1746
### Description
Main problem: https://github.com/hasura/graphql-engine-mono/issues/1746#issuecomment-880492976
Solution: I ensure that there is URL encoding while routing from the data manager
The other issue that was addressed was that there was some query that was failing on the splitgraph DB that uses explicit typecasting. I removed the same from our query.
### Affected components
- [x] Console
https://github.com/hasura/graphql-engine-mono/pull/1802
GitOrigin-RevId: 8d6ebae217b07357bf147a2c881bae9de156a450
2021-08-05 10:57:38 +00:00
Varun Choudhary
121afe39fe
console: remove "UIKit" components from the console codebase
...
https://github.com/hasura/graphql-engine-mono/pull/1834
GitOrigin-RevId: 84d601072552f37740321686905e58677b5aa31c
2021-08-04 13:37:02 +00:00
Rishichandra Wawhal
fed7f71aa2
console: use the data host passed by lux to contact lux data service
...
https://github.com/hasura/graphql-engine-mono/pull/1981
GitOrigin-RevId: d9fe7d4d04afc73a8482d61de733f5ebba031144
2021-08-04 09:37:08 +00:00
Vijay Prasanna
f81741d086
console: enable aggregate permission toggle for Big Query sources
...
https://github.com/hasura/graphql-engine-mono/pull/1988
GitOrigin-RevId: db0545bafa923afb66f582d287d1595013c69490
2021-08-03 14:58:36 +00:00
Abhijeet Khangarot
bf5fe2ffe8
console: fix remote schema permission bugs
...
https://github.com/hasura/graphql-engine-mono/pull/1178
GitOrigin-RevId: 0c1d7dc5737a3f05330a30438f48033c7c01f42c
2021-08-03 07:57:01 +00:00
Nicolas Beaussart
1b10f275d2
console: add template gallery
...
https://github.com/hasura/graphql-engine-mono/pull/1923
GitOrigin-RevId: 88f8f276c79ea61ba38070c582bd02468e6593e2
2021-07-29 13:51:45 +00:00
Vijay Prasanna
76dc3ed100
console: pro console build fails
...
https://github.com/hasura/graphql-engine-mono/pull/1928
Co-authored-by: Sooraj <8408875+soorajshankar@users.noreply.github.com>
GitOrigin-RevId: e80c247840e4e29d66efc17631580b833ee0efe7
2021-07-29 06:25:48 +00:00
Sooraj
af9dfd3554
console: show error message on inconsistent objects table
...
https://github.com/hasura/graphql-engine-mono/pull/1886
GitOrigin-RevId: 074b1f54b6ed3505892b5db3466592333ba1207a
2021-07-27 06:56:52 +00:00
Ikechukwu Eze
ac10c32381
console: make specifying unique params for rate limits optional
...
### Description
Make the unique parameters to be an optional field in the form.
### Changelog
- [x] `CHANGELOG.md` is updated with user-facing content relevant to this PR. If no changelog is required, then add the `no-changelog-required` label.
### Affected components
- [x] Console
### Related Issues
Based on internal discussion: https://hasurahq.slack.com/archives/C01SQFJ7SHX/p1626948719012400
Closes #1890
### Solution and Design
This is more of adhoc solution for the unique parameters not being a required field: Using a checkbox to enable the additional unique params - if the user has not checked it, then the payload is sent without the unique params attribute.
When the additional unique parameters are not selected -
![Screenshot 2021-07-26 at 2 40 57 PM](https://user-images.githubusercontent.com/11921040/126964312-bb12b146-2644-432f-a790-88f23fb322ce.png )
When the additional unique parameters are picked -
![Screenshot 2021-07-26 at 2 42 03 PM](https://user-images.githubusercontent.com/11921040/126964545-89f41e43-c855-4290-8b15-75f03c44101e.png )
https://github.com/hasura/graphql-engine-mono/pull/1885
GitOrigin-RevId: dd16812c1c548147a47830a8a8af27c1e39a5689
2021-07-26 15:01:15 +00:00
Nicolas Beaussart
71adc6431b
console: add schema sharnig template version check
...
https://github.com/hasura/graphql-engine-mono/pull/1893
GitOrigin-RevId: 1fcb07a937ef067e4b370e49e9aade26efd90035
2021-07-26 13:50:37 +00:00
Ikechukwu Eze
760406b851
console: fix issues with replacing invalid graphql identifiers in table and column names
...
>
This PR replaces all occurrences of invalid graphql identifiers in table and column names when tracking a table from the console.
### Description
>
### Changelog
- [x] `CHANGELOG.md` is updated with user-facing content relevant to this PR. If no changelog is required, then add the `no-changelog-required` label.
### Affected components
- [x] Console
### Related Issues
Closes [7239](https://github.com/hasura/graphql-engine/issues/7239 )
https://github.com/hasura/graphql-engine-mono/pull/1888
GitOrigin-RevId: b6f719b0f1c270908a8717b08564a97c44d8c5bf
2021-07-23 16:36:06 +00:00
Abhijeet Khangarot
76d1430703
console: use escape string constants for text fields
...
https://github.com/hasura/graphql-engine-mono/pull/1797
GitOrigin-RevId: 1d0cb1e95206c444fb3bc91ddc9a3210045d29c5
2021-07-23 10:35:33 +00:00
Aleksandra Sikora
eb967e6df9
console: enable bigquery in connect db form for cloud console
...
https://github.com/hasura/graphql-engine-mono/pull/1410
GitOrigin-RevId: 8853ec4904e8d47a05e821fefc38eeffebfbb3ba
2021-07-22 11:48:12 +00:00
hasura-bot
2814934cf7
console: add pagination on rawsql results page
...
GITHUB_PR_NUMBER: 5629
GITHUB_PR_URL: https://github.com/hasura/graphql-engine/pull/5629
https://github.com/hasura/graphql-engine-mono/pull/1665
Co-authored-by: Sooraj <8408875+soorajshankar@users.noreply.github.com>
GitOrigin-RevId: 9bf8c6f9068fc04160e9e9ebce2600b30e523a90
2021-07-22 09:58:24 +00:00
Vijay Prasanna
6323f4f7b1
pro-console: fix error message alignment on api limits form
...
https://github.com/hasura/graphql-engine-mono/pull/1871
GitOrigin-RevId: 54bad11061c330554193ab0e81a66a61d92d2d73
2021-07-22 09:16:26 +00:00
Vijay Prasanna
32202e90d3
pro-console/bug: fixes broken form layout
...
https://github.com/hasura/graphql-engine-mono/pull/1870
GitOrigin-RevId: 89d0407331dbe35a569afe746ff30d9c51d6b364
2021-07-22 05:47:02 +00:00
Vijay Prasanna
89e7f26c55
pro-console/security-features: add ability to enable/disable GraphQL introspection per role
...
https://github.com/hasura/graphql-engine-mono/pull/1678
Co-authored-by: Ikechukwu Eze <22247592+iykekings@users.noreply.github.com>
GitOrigin-RevId: 9bfd8a20dfe499b2852e5809471d73ad50b1a48b
2021-07-20 16:10:15 +00:00
Abhijeet Khangarot
fe1f50d0f1
console: add/remove database persist in metadata
...
https://github.com/hasura/graphql-engine-mono/pull/1721
GitOrigin-RevId: 15ce3b966db26a88357922e45af742474a8abe19
2021-07-20 12:40:03 +00:00
Varun Choudhary
7bd32c7bb8
pro-console: fix runtime error when expanding pending/processed scheduled events
...
closes: https://github.com/hasura/graphql-engine/issues/7168
### Description
On expanding the pending and processed event on `one-off scheduled event` on pro we are getting an error because we are not passing the auth header to API request. In this PR we are passing `includeAdminHeaders` to API as `true` to fetch events.
`keyframes` imported from `styled-components` is supported on V3 only and we are using V5.0.1. So, instead of importing spinner from UIKit which we are not using anymore, we are importing spinner form other place.
### Affected components
- [x] Console
https://github.com/hasura/graphql-engine-mono/pull/1754
Co-authored-by: Sooraj <8408875+soorajshankar@users.noreply.github.com>
GitOrigin-RevId: 7550d544b2d7f4f98a793895368c964d17d0e362
2021-07-19 06:55:48 +00:00
Sooraj
08847566d8
console: support global_select_limit for bigquery sources
...
https://github.com/hasura/graphql-engine-mono/pull/1812
GitOrigin-RevId: 55785579523fcd3500486139431c4d9b3c1ace19
2021-07-16 15:05:28 +00:00
Ikechukwu Eze
175b1a86ca
console: fix issue with changing table's column name and graphQL field name simultaneously
...
This PR fixes the following errors when column name and graphql field name are modified:
1. Metadata out-of-date error -> when graphql field name is removed (set to empty on the console UI)
2. Inconsistent state error -> due to old column name used in modifying graphql field name
### Changelog
- [x] `CHANGELOG.md` is updated with user-facing content relevant to this PR.
### Affected components
- [x] Console
### Related Issues
Closes [7221](https://github.com/hasura/graphql-engine/issues/7221 )
### Solution and Design
1. Use exportMetadata function after column name rename has been completed, passing the function to rename graphql field name
2. Use new column name, instead of old column name when renaming graphql field name
### Steps to test and verify
1. Go to data tab
2. Create a table if none
3. click the table name by the side-menu and when it has loaded, click on the modify tab.
4. Then edit any column of the table:
- Change column name and graphql field name, it should work successfully without an error
- Change column name and remove graphql field name, it should work successfully without metadata out-of-date error
Does this PR add a new Metadata feature?
- [x] No
#### GraphQL
- [x] No new GraphQL schema is generated
#### Breaking changes
- [x] No Breaking changes
https://github.com/hasura/graphql-engine-mono/pull/1778
GitOrigin-RevId: edfd795fb804df71a4e07e0373ca0714ff45fda9
2021-07-14 09:46:37 +00:00
Varun Choudhary
b1013e8d6c
console: add reload all databases
checkbox to the metadata settings page
...
Closes: https://github.com/hasura/graphql-engine/issues/7146
### Description
This PR adds a `reload all databases` check box along `with` the `reload metadata` check box to reload all databases (inconsistent databases also).
![Screenshot from 2021-07-07 16-51-49](https://user-images.githubusercontent.com/68095256/124750932-af31a000-df43-11eb-88d9-b6585214a188.png )
### Affected components
- [x] Console
### Steps to test and verify
Use this for your docker image: https://235669-308610159-gh.circle-artifacts.com/0/server/image.tar
1. Go to the metadata setting page
2. If `reload all databases` check box is checked: It reloads everything by sending * in the API
3. If `reloading all databases` check box is not checked: It reloads inconsistent DB and if no inconsistent then it passes an empty string
https://github.com/hasura/graphql-engine-mono/pull/1703
GitOrigin-RevId: 2b6f029a17d40a43f5bce3680d5681c97433d78c
2021-07-14 06:16:00 +00:00
Nicolas Beaussart
cdfb71c1da
console: add a feature flag for schema sharing
...
https://github.com/hasura/graphql-engine-mono/pull/1786
GitOrigin-RevId: a35dfa98508a8ef1ea92fe8588e79fc6f8479a2d
2021-07-13 16:57:04 +00:00
Ikechukwu Eze
701f3fd304
pro-console/security features: add support for api limits
...
https://github.com/hasura/graphql-engine-mono/pull/1541
Co-authored-by: Vijay Prasanna <11921040+vijayprasanna13@users.noreply.github.com>
GitOrigin-RevId: 83f0f20a45f0f396002c53a716dd3541e82b83e1
2021-07-13 11:18:06 +00:00
Sooraj
effb221d97
console: fix test_oss_console ci errors
...
https://github.com/hasura/graphql-engine-mono/pull/1726
GitOrigin-RevId: ae87ca45a111fcdb25ba9c53c1bfd8650e1be78c
2021-07-12 10:40:50 +00:00
Nicolas Beaussart
e3e078fa42
console: add schema sharing
...
https://github.com/hasura/graphql-engine-mono/pull/1512
Co-authored-by: Varun Choudhary <68095256+Varun-Choudhary@users.noreply.github.com>
GitOrigin-RevId: 71efbb2a5a577f765b83b1fd9ee9254a292d361d
2021-07-08 08:18:25 +00:00
hasura-bot
2c2ce3972e
console: fix incorrect down migration comment blocks
...
GITHUB_PR_NUMBER: 6956
GITHUB_PR_URL: https://github.com/hasura/graphql-engine/pull/6956
https://github.com/hasura/graphql-engine-mono/pull/1392
Co-authored-by: Bob Ippolito <26596+etrepum@users.noreply.github.com>
GitOrigin-RevId: de652b37f13d0c38d497610de1c270d0b8d18160
2021-07-05 10:30:56 +00:00
Varun Choudhary
a1f25506f2
console: fix empty table list on create event triggers form
...
Closes: https://github.com/hasura/graphql-engine/issues/6903
Description:
This PR adds `Select schema` as a default text in schema drop down box on events triggers.
![Screenshot from 2021-05-12 15-39-09](https://user-images.githubusercontent.com/68095256/117958025-3d204e80-b338-11eb-9169-ec529db0bf6f.png )
Affected Components:
- [x] Console
https://github.com/hasura/graphql-engine-mono/pull/1348
GitOrigin-RevId: 28b6054addf8fcb11b80ae357cfcbe8b71a470bc
2021-07-05 08:32:19 +00:00
Varun Choudhary
2af583beb1
console: show trigger names by execution order on table's modify page
...
Closes: https://github.com/hasura/graphql-engine/issues/6737
Product Design link: https://hasura.github.io/product-design/62-console-trigger-design/v2-triggers.html
Description:
This PR
1. Group all triggers based on the `action_timing` and `event_manipulation`. (BEFORE INSERT, BEFORE UPDATE, ...)
2. Sort the names of the triggers within each of the groups
On admin panel.
![Screenshot from 2021-05-07 12-55-53](https://user-images.githubusercontent.com/68095256/117413420-943ab380-af33-11eb-9127-86c0dd789274.png )
Affected Components:
- [x] Console
https://github.com/hasura/graphql-engine-mono/pull/1311
GitOrigin-RevId: 1709dd82ce44886e1d53505d94e1e289dab73aaf
2021-07-02 15:14:36 +00:00
Sooraj
97505cf251
console: hide incorrect table comments for mssql table
...
https://github.com/hasura/graphql-engine-mono/pull/1699
GitOrigin-RevId: 0e253fd3b15f199f138413533f36d248470b99c1
2021-07-02 08:15:47 +00:00
Varun Choudhary
2b2655665c
console: show frequently used columns button on add new column view
...
closes: https://github.com/hasura/graphql-engine/issues/7148
### Description
This PR add `Frequently used columns` on modify page while adding a column to existing table.
![frequently](https://user-images.githubusercontent.com/68095256/123812895-16cb6800-d912-11eb-977e-a3247ec15525.png )
### Affected components
- [x] Console
https://github.com/hasura/graphql-engine-mono/pull/1695
GitOrigin-RevId: 1e8fa354281458dd9c7eacb963c4d54391d975a0
2021-07-02 07:30:18 +00:00
Abhijeet Khangarot
efd934f5c1
console/remote-schemas: fixes 404 errors while adding/modifying/removing remote schemas
...
https://github.com/hasura/graphql-engine-mono/pull/1674
GitOrigin-RevId: 4775830d97307fd960fc6d0857ec6431f707c68b
2021-06-28 12:20:55 +00:00
Vijay Prasanna
193ab5de44
console: update current source and schema in redux after importing metadata
...
https://github.com/hasura/graphql-engine-mono/pull/1557
GitOrigin-RevId: 3bb34f64bb4762e73f967643675b291fb6530785
2021-06-23 13:01:13 +00:00
Varun Choudhary
c2dd51b6c7
console: pass correct table name when cloning permission
...
Closes: https://github.com/hasura/graphql-engine/issues/6969
Description:
To reproduce the issue please visit the issue link.
This is happening because the request payload is using the current table name while cloning permission. This PR change makes the payload use the correct table name.
- [ ] `CHANGELOG.md` is updated with user-facing content relevant to this PR. If no changelog is required, then add the `no-changelog-required` label.
### Affected components
- [x] Console
- [x] CLI
https://github.com/hasura/graphql-engine-mono/pull/1505
GitOrigin-RevId: bfd8a67ccb55261a1bf47a9ede18e3e1cf3bff2c
2021-06-22 18:23:04 +00:00
Abhijeet Khangarot
c0fde4d1d5
console: hide postgres system schemas by default
...
>
### Description
We want to hide postgres system schemas like `pg_toast` and `pg_temp` and their variations (ex. `pg_toast_temp_35`) from showing up in console.
>
### Changelog
- [x] `CHANGELOG.md` is updated with user-facing content relevant to this PR. If no changelog is required, then add the `no-changelog-required` label.
### Affected components
- [x] Console
### Related Issues
->
https://github.com/hasura/graphql-engine/issues/6954
### Solution and Design
>
We can achieve this by updating the `schemaListSql` query for postgres datasources to filter out postgres system schemas.
### Steps to test and verify
>
1. Add a postgres datasource containing some system schemas
2. The system schemas should not show up in console
https://github.com/hasura/graphql-engine-mono/pull/1499
Co-authored-by: Aleksandra Sikora <9019397+beerose@users.noreply.github.com>
GitOrigin-RevId: 6a179b9d5cd4d061ae9fda17bf3824321cf7e96e
2021-06-22 15:24:20 +00:00
Abhijeet Khangarot
9255fcf173
console: wrap table name in quotes in add comment sql
...
>
Adding a table with a capital letter and a comment was causing SQL error, this PR fixes that issue. (in postgres and citus dbs)
### Description
>
### Changelog
- [x] `CHANGELOG.md` is updated with user-facing content relevant to this PR. If no changelog is required, then add the `no-changelog-required` label.
### Affected components
- [x] Console
https://github.com/hasura/graphql-engine-mono/pull/1617
GitOrigin-RevId: b8e911206af7ce950b5432dab98723e52992b905
2021-06-22 14:45:24 +00:00
Sameer Kolhar
608e4fbb20
server, console, docs: add update_remote_schema
API
...
https://github.com/hasura/graphql-engine-mono/pull/1546
GitOrigin-RevId: 142b0d0e0ffc35b2679c91c411868c45a8b8e221
2021-06-21 17:42:40 +00:00
Sooraj
03ecd0398b
console: improve console with read-only database
...
https://github.com/hasura/graphql-engine-mono/pull/1619
GitOrigin-RevId: 26da5b0d1b48d2158642c7efb5f1e99933a37624
2021-06-21 15:17:24 +00:00
Ikechukwu Eze
6bb8df6a26
console: add citus support
...
### Description
Add console support for Citus DB
### Changelist
- [x] Add/Remove Citus Datasource
- [x] Track/Untrack tables
- [x] Create Relationships + Tracking suggested relationships
- [x] Permissions
- [x] Browse Rows (minimal)
- [x] Insert Row (using Mutations)
- [x] Filtering Shards and Partitions (partition details are not present in Modify tab, it should work once https://github.com/hasura/graphql-engine-mono/pull/1164 is merged)
- [x] Create Table
- [x] Fixes issue https://github.com/hasura/graphql-engine/issues/6926 for Citus.
### Known Issues
- Unable to create Functions from Raw SQL, server returns 400.
- Unable to run `ALTER` SQL commands, server returns 400.
### Screenshots
![Screenshot 2021-04-21 at 7 53 23 PM](https://user-images.githubusercontent.com/11921040/115569900-468b3d80-a2db-11eb-8374-e06d5d61b2e4.png )
### Setting up a Citus Source
- Link to [docker compose](https://github.com/citusdata/docker/blob/master/docker-compose.yml )
- Create an `.envfile` and add the following
```env
COORDINATOR_EXTERNAL_PORT=<port to expose citus master>
COMPOSE_PROJECT_NAME=test
```
- run `docker-compose --file docker-compose.yml --env-file .envfile up --scale worker=2 -d`. `worker` controls the number of citus worker nodes.
- Link to [sample data](http://docs.citusdata.com/en/v10.0/get_started/tutorial_multi_tenant.html#data-model-and-sample-data )
### Changelog
- [x] console: add citus support
https://github.com/hasura/graphql-engine-mono/pull/1184
Co-authored-by: Vijay Prasanna <11921040+vijayprasanna13@users.noreply.github.com>
GitOrigin-RevId: 2500a5d5f996a2904fe8b5c656d6f3f2db707db6
2021-06-21 06:47:18 +00:00
Vijay Prasanna
fdcdc14c01
console: add default selected reference option to create table's foreign key editor
...
https://github.com/hasura/graphql-engine-mono/pull/1472
GitOrigin-RevId: e44f6bc6d819d049edd042ecd1e4e951a45f4ab8
2021-06-18 09:53:51 +00:00
Sooraj
12045a827c
console/fix: changing primary key removes the existing PK when failing to create PK
...
https://github.com/hasura/graphql-engine-mono/pull/1509
GitOrigin-RevId: b4fec58f399b21125dcacf8083b01148778f97b0
2021-06-17 16:04:02 +00:00
hasura-bot
bad2d4190d
console: catch api error, fix console getting stuck on loading screen ( close #5774 )
...
GITHUB_PR_NUMBER: 5837
GITHUB_PR_URL: https://github.com/hasura/graphql-engine/pull/5837
https://github.com/hasura/graphql-engine-mono/pull/856
Co-authored-by: Abhijeet Khangarot <26903230+abhi40308@users.noreply.github.com>
GitOrigin-RevId: 2a878ea9de0b21cf998b7a49dbfc6d99c143168e
2021-06-17 11:03:24 +00:00
Abhijeet Khangarot
240738cf60
console: fix routes for hasura cloud console
...
https://github.com/hasura/graphql-engine-mono/pull/1560
GitOrigin-RevId: 83d1825ad7ee74fd7a941376925d7e26c788baf5
2021-06-17 09:34:13 +00:00
Nicolas Beaussart
ad2f48c534
console: add testing to core requestAction
...
https://github.com/hasura/graphql-engine-mono/pull/1563
GitOrigin-RevId: 1bbd107e81a9965d0be9d35c581ca261935bfc83
2021-06-15 05:43:48 +00:00
Sooraj
8e6a8ee8c5
console: merge duplicate unit test folders ( #1561 )
...
https://github.com/hasura/graphql-engine-mono/pull/1561
GitOrigin-RevId: 635a185e456c1860fb7e596a2247657135213391
2021-06-14 10:19:59 +00:00
Varun Choudhary
a7ef558b41
console: add modify functionality on columns, primary keys & unique keys to MS SQL Server tables
...
Modify page for mssql.
Column edit, add and delete
Pk add and delete
unique key add and delete
> Known Issues
> It is not because of this PR, but evident after implementing this changes.
> Table comments section is not only showing table comments but also anything that has `SYS.EXTENDED_PROPERTIES` with the table id, we may need to fix this by adding more conditions while fetching the table comments
> issue: https://github.com/hasura/graphql-engine-mono/issues/1486
Update
> Found a common issue while testing this PR, and it happens for PG tables too, so keeping it as a different issue
https://github.com/hasura/graphql-engine/issues/7018
GitOrigin-RevId: f7883a797ce8d25034824ae35668b1f830e59c70
2021-06-10 09:09:33 +00:00
Nicolas Beaussart
651d8ce190
console: upgrade redux and add redux toolkit
...
GitOrigin-RevId: 328e28f521f6e5fa20489aaeea2be1f1cc456d56
2021-06-10 07:20:23 +00:00
Abhijeet Khangarot
75f37f69d3
console: allow input object presets in remote schema permissions
...
GitOrigin-RevId: 6a535a5b9adb0a80d8f57682618aa7dd406236b0
2021-06-09 08:52:22 +00:00
Varun Choudhary
3f19e8a3a8
console: allow tracking of custom SQL functions having composite type (rowtype) input arguments
...
Closes: https://github.com/hasura/graphql-engine/issues/6858
Description:
Following two things are done:
1. Show compatible functions in the Untracked custom functions list (i.e. even those with ROWTYPE arg)
![Screenshot from 2021-05-11 16-13-21](https://user-images.githubusercontent.com/68095256/117803100-dd606f80-b273-11eb-8d02-1ea55b31863d.png )
2. When a function with ROWTYPE argument is tracked, a confirmatory dialogue box is shown. The text reads `This function can be added as a root field or a computed field inside a table` and the buttons reflect the options: `Add as root field`, `Add as computed field` (this will take the user to the Modify -> Add a computed field section of the first-row type argument)
![Screenshot from 2021-06-03 17-28-28](https://user-images.githubusercontent.com/68095256/120641377-28dff500-c491-11eb-80ea-cc60e6f37f23.png )
Affected Component:
- [x] Console
Co-authored-by: Vijay Prasanna <11921040+vijayprasanna13@users.noreply.github.com>
Co-authored-by: Abhijeet Khangarot <26903230+abhi40308@users.noreply.github.com>
GitOrigin-RevId: 089944aadba73f7a77e220a49489846ff1cb9540
2021-06-08 15:22:24 +00:00
Vijay Prasanna
75fb945019
console/big-query: fixes broken console (browse rows) when selecting relationships
...
GitOrigin-RevId: f6871bd3abd0c85ffc35cd5884efa4b1ab5a9068
2021-06-08 11:07:56 +00:00
Vijay Prasanna
bf629db930
console: fix result parsing error in raw sql page
...
### Description
The `statementTimeout` on RawSQL is not reset after changing a datasource. This causes an error when running SQL and parsing the results for DBs that don't support statement timeout property on the console.
![timeout](https://user-images.githubusercontent.com/11921040/120473505-b6094800-c3c4-11eb-8b00-e43d9ebcb207.gif )
### Affected components
- [x] Console
### Steps to test and verify
- Open /data/manage
- Click on any SQL Server DB.
- Go to Raw SQL
- Run any query
- Verify correct result
GitOrigin-RevId: 8a0adaf308d14db17126953286173da7ef1afc1c
2021-06-07 10:54:37 +00:00
Abhijeet Khangarot
83e1f51d2c
console: bug fix cannot read property unique_constraints
of undefined
...
GitOrigin-RevId: a8eec2a8dd1ca16a453f9ec90b956032cf123398
2021-06-04 15:30:21 +00:00
Varun Choudhary
f3643f26ad
console/mssql: support CRUD operations for foreign keys
...
adds foreign key functionality to mssql tables under Modify Tab.
Steps to test:
1. Connect an MSSQL data source.
2. Create a table
3. go to modify page
4. make sure the `Add foreign key `button is visible
5. click on `Add foreign key`, and try to add FK
6. after adding the FK, we will see the `edit` and `remove` button, try to edit and remove the FK
Co-authored-by: Vijay Prasanna <11921040+vijayprasanna13@users.noreply.github.com>
GitOrigin-RevId: 63be7c4ef909503ac05096a64c686b72f7c47307
2021-06-03 11:49:21 +00:00
hasura-bot
c1381d38e0
console: show error notification for table and cloumn names exceeding 63 characters and trim migration names exceeding 255 characters
...
GITHUB_PR_NUMBER: 5785
GITHUB_PR_URL: https://github.com/hasura/graphql-engine/pull/5785
Co-authored-by: Abhijeet Khangarot <26903230+abhi40308@users.noreply.github.com>
GitOrigin-RevId: b12a729cfb708ff0622805f247473cb16b44ae0a
2021-06-02 10:23:58 +00:00
Ikechukwu Eze
9b42a52637
console: allow renaming data source
...
Before: on edit source page, changing data source name was not allowed and the input disabled.
Now: data source name can be changed on edit source page.
Note:
- ~When only the data source name is changed, a request is sent for renaming and another for updating data source even when other values of the data source configuration weren't changed.~
- This has been fixed and should be tested thus:
- run `npm run jest`
- on edit source UI, change only data source name and confirm that only `rename_source` request is being sent through network tab in dev tools
- change any other fields but the source name, and confirm that only `add_source` with `replace_configuration: true` is sent.
- change both source name and any other field in the form and confirm that both request are sent (in this order: rename request before add request) and export_metadata request only sent once after that.
- Try with bigquery, mssql and postgres
Possible Refactor:
- consider if `renameDataSource` and `addDataSource`, can be refactored or left as is
Co-authored-by: Aleksandra Sikora <9019397+beerose@users.noreply.github.com>
GitOrigin-RevId: cbb041ac8362fd94de5aa19bfa61c0cde8703459
2021-05-28 07:59:47 +00:00
Aleksandra Sikora
1b37008a0e
console: fix connect db notes content
...
GitOrigin-RevId: 75cc16950d7be7ad5b52cf266c6c010cb54d53ec
2021-05-28 06:57:55 +00:00
Sooraj
c3d7a7634f
console: add drop table functionality to ms sql server tables
...
GitOrigin-RevId: a79c864263ebdde4a9a7e1ce1354a3ac17be4098
2021-05-27 21:26:50 +00:00
Abhijeet Khangarot
9a68cb51c9
console: update connect database form with SSL certificates
...
GitOrigin-RevId: b8da60cbe1220c8f4f8ec180fd3967e326b7f3a8
2021-05-27 16:00:01 +00:00
Vijay Prasanna
1c79bb4b80
console: add create table view for mssql schemas
...
### Description
This PR adds `Create Table` view for MSSQL server schemas.
### Changelist
* [x] Add basic `create table` form view on navigating from Schema's create table action.
* [x] Hide frequently selected columns button.
* [x] Allow the user to manually add column types for now: convert `select` for columns to a `text` input .
* [x] Remove `Restrict` radio selection for foreign key constraints.
* [x] Add SQL query for Create table in MSSQL.
### Screenshot
![Screenshot 2021-03-09 at 5 22 03 PM](https://user-images.githubusercontent.com/11921040/110467030-82d45700-80fc-11eb-84af-dd228d84b135.png )
### Changelog
- [x] CHANGELOG.md is updated with user-facing content relevant to this PR. If no changelog is required, then add the no-changelog-required label.
### Modified components
- Console
Co-authored-by: Aleksandra Sikora <9019397+beerose@users.noreply.github.com>
GitOrigin-RevId: a783b5940198ecf582d1cd6ad4d4224efabf59fc
2021-05-26 15:28:32 +00:00
Aleksandra Sikora
455b5a9fd6
console/mssql: add comment and check constraints to modify page
...
GitOrigin-RevId: 0fcc9741d031ec7a74efff5437e676ea7f744922
2021-05-26 14:27:42 +00:00
Vijay Prasanna
7dbee42f64
console: add regex to highlight item in data tab nav tree
...
Adding regex expression to test `view`, `table` and `function` routes.
Fixes no highlight issue when clicking on functions in the data tab navigation tree.
GitOrigin-RevId: f278998ec1c98c98e0bfc9cd72d63d673cd74012
2021-05-26 09:43:31 +00:00
Vijay Prasanna
3acfd35d4e
console/bigquery: fix showing empty dataset name when the dataset is from a non-US region
...
Fixes [issue](https://github.com/hasura/graphql-engine/issues/6937 )
### Description
The problem lies with the `schemaListSql` for Big Query. Without a region qualifier prefixed, the SQL result contains datasets only US regions, as described in the [docs](https://cloud.google.com/bigquery/docs/information-schema-datasets ).
```
If you do not specify a regional qualifier, metadata is retrieved from the us multi-region.
```
The alternative way is to get a list of all available publicly available regions (which is `us` and `europe` atm), for example for europe -
```
SELECT * FROM region-europe.INFORMATION_SCHEMA.SCHEMATA;
```
and then perform `UNION ALL` of the results. This is approached is ditched in favour of the reason that Big Query is read-only on Hasura and new datasets cannot be added from the console (other than by modifying the metadata), we can return the datasets available in the Big Query source's metadata as the possible values of datasets needed by the console to render the data nav tree, thereby avoiding an extra API call in the process.
GitOrigin-RevId: 8117d5698dcc4e7d932362b7cf2e7c8ef34d106a
2021-05-25 18:21:48 +00:00
Abhijeet Khangarot
d0a66e5172
console: add new connection params to connect database form
...
GitOrigin-RevId: 073d30e50a196e265cd8dfb7cfb3c9af00c3fc0e
2021-05-25 13:03:08 +00:00
Aleksandra Sikora
a5ce316a96
console/mssql: simplify sql query for fetching schemas list
...
GitOrigin-RevId: 0d70973991c61b8f06efe61032bcfbfe05a89ded
2021-05-25 09:36:24 +00:00
Anon Ray
53beef47ea
server, console, docs: fix untrack_function
metadata query bug
...
Co-authored-by: Sameer Kolhar <6604943+kolharsam@users.noreply.github.com>
GitOrigin-RevId: a68a6f8b5c5243372332bfec7d9cdcd3011c001f
2021-05-24 15:57:26 +00:00
Abhijeet Khangarot
82e2e382f1
console: rearrange connect database form and add prepared statements
...
GitOrigin-RevId: 2cb84e3feabc72875c6b3f5368b55fa893ba72a9
2021-05-24 15:09:55 +00:00
Vijay Prasanna
31465c5bba
console/postgres: fix broken table view when clicking on inherited tables
...
### Description
- Fixes https://github.com/hasura/graphql-engine/issues/6926
- This is to resolve the issue where inherited tables get listed into the array that's used to filter off partitions.
- In the check, we compare if the partition's parent is a "partitioned table" or not before adding to the filter array.
### Steps to verify
- Create the following tables on a postgres db
```SQL
CREATE TABLE cities (
id SERIAL PRIMARY KEY,
name text,
population real,
elevation int -- (in ft)
);
CREATE TABLE capitals (
state char(2) UNIQUE NOT NULL
) INHERITS (cities);
```
- Navigate to the data tab, and click on the datasource > schema, and verify that both `cities` and `capitals` are present.
- Click on `capitals` and see if it loads properly.
- Create the following table and its partitions
```sql
CREATE TABLE measurement (
city_id int not null,
logdate date not null,
peaktemp int,
unitsales int
) PARTITION BY RANGE (logdate);
CREATE TABLE measurement_y2006m02 PARTITION OF measurement
FOR VALUES FROM ('2006-02-01') TO ('2006-03-01');
CREATE TABLE measurement_y2006m03 PARTITION OF measurement
FOR VALUES FROM ('2006-03-01') TO ('2006-04-01');
```
- Verify that the data tab nav does not show `measurement_y2006m02` and `measurement_y2006m03`
GitOrigin-RevId: 1cc988fff03f289e6ea36d0b1e9f8e54b8741be9
2021-05-24 11:56:28 +00:00
Ikechukwu Eze
f347d746f6
console: quote column name when updating the column
...
This fixes `column "column_name" named in key does not exist"`,
when changing editing a column to be unique in column editor. resolves [6734](https://github.com/hasura/graphql-engine/issues/6734 )
GitOrigin-RevId: 5c8f9523d6c022245cd4c1bb5d0d4a3340c455cf
2021-05-24 10:13:12 +00:00
hasura-bot
e093399305
console: don't automatically set track this
checkbox for commented sql
...
GITHUB_PR_NUMBER: 5815
GITHUB_PR_URL: https://github.com/hasura/graphql-engine/pull/5815
Co-authored-by: Abhijeet Khangarot <26903230+abhi40308@users.noreply.github.com>
GitOrigin-RevId: 7225d01eef40065a7b7ef617cd763988ef1e018d
2021-05-21 10:39:22 +00:00
Aleksandra Sikora
e7b4ad85c9
console: consistent naming for MS SQL Server, add (beta) for bigquery
...
GitOrigin-RevId: a1434cd32757c4a17b8619b2f03476350a002abc
2021-05-21 09:59:47 +00:00
Sooraj
e6b5b66edf
console: add pagination on event logs & fix data mismatch on event logs table
...
GitOrigin-RevId: 5643a0357dd11963cde53a148911844e4c754510
2021-05-21 09:07:33 +00:00
Aleksandra Sikora
ad0ecc7363
console: filter out nonsupported databases
...
GitOrigin-RevId: 151cde9843310e069d81d1690666100bfa77c37f
2021-05-19 20:19:16 +00:00
Abhijeet Khangarot
95d1ab78e1
console: add one-to-one relationships support
...
Co-authored-by: Aleksandra Sikora <9019397+beerose@users.noreply.github.com>
GitOrigin-RevId: 6177c63a0e8ac86085441cbd4ad1aab179052434
2021-05-19 12:42:45 +00:00
Nithin
62423a66da
console: update cron trigger tooltip
...
Co-authored-by: Aleksandra Sikora <9019397+beerose@users.noreply.github.com>
GitOrigin-RevId: 644447c39a553f72e471b6fcf3650e6c75686d89
2021-05-19 12:04:20 +00:00
Ikechukwu Eze
a7639145fe
console: allow editing sources configuration
...
This adds the feature to edit data sources to the console
Co-authored-by: Aleksandra Sikora <9019397+beerose@users.noreply.github.com>
Co-authored-by: Rakesh Emmadi <12475069+rakeshkky@users.noreply.github.com>
Co-authored-by: Rikin Kachhia <54616969+rikinsk@users.noreply.github.com>
Co-authored-by: Martin Mark <74692114+martin-hasura@users.noreply.github.com>
GitOrigin-RevId: 40f97a362620e9cebe97a2267cb9fb143c32af5d
2021-05-19 04:16:38 +00:00
Abhijeet Khangarot
8da98c00ba
console: show db version in manage db page and remove from about page
...
GitOrigin-RevId: 482121bb4dd29d36b87f472ec14c966d04daab2c
2021-05-19 03:36:18 +00:00
Abhijeet Singh Khangarot
f24caef627
console: add union types to remote schema permissions
...
GitOrigin-RevId: a2a8311bfee98d1d1285fe869ed2a5963f84440d
2021-05-12 16:19:22 +00:00
Ikechukwu Eze
726c3e07b3
console: fix browse rows sections failing on a table with custom name
...
Fixes browse rows sections failing on a table with custom name and also not exposing a table with custom name to GraphQL API
Resolves [#6849 ](https://github.com/hasura/graphql-engine/issues/6849 ) and also [#6647 ](https://github.com/hasura/graphql-engine/issues/6647 )
GitOrigin-RevId: 00be15c766a457efd75e15801f91d9f793450131
2021-05-12 09:21:41 +00:00
Aleksandra Sikora
8c21ca5d21
console: revert improve data/relationships e2e tests
...
The changes turned out to be flaky — tests were failing from time to time, and blocking other PRs from being merged.
Reverts hasura/graphql-engine-mono#1037
GitOrigin-RevId: 97d95156e8d348f2e89ec33e06ffaac9bf75a2f9
2021-05-12 07:37:45 +00:00
Abhijeet Singh Khangarot
ad461d9285
console: hide bigquery from connect db form dropdown in cloud console
...
GitOrigin-RevId: e71b33ce2154e0584a773de49fa41c4e0c153d13
2021-05-10 23:19:35 +00:00
Aleksandra Sikora
c46b256fff
console/mssql: fix fetching information about primary key and unique key columns
...
GitOrigin-RevId: b2796d12223c60374c553f580acc08a02df71a88
2021-05-07 14:07:28 +00:00
Ikechukwu Eze
d3887071af
console: improve data/relationships e2e tests
...
This is the first step in making our cypress test faster.
Will clean the comments up in the coming days
Running time imporves from ~7mins to ~83secs
GitOrigin-RevId: d8d2b23c5a46789a3828dac1c6652034bd0bfc1c
2021-05-06 10:20:44 +00:00
Sameer Kolhar
2b0b4ec3a4
console: improve functions permissions messages in case of missing table's select permissions
...
Co-authored-by: Aleksandra Sikora <9019397+beerose@users.noreply.github.com>
GitOrigin-RevId: 52007786113622c15bd719cbea6b041c27ebd675
2021-05-05 14:55:35 +00:00
Aleksandra Sikora
dffe785543
console: read-only modify page for mssql
...
Co-authored-by: Sooraj <8408875+soorajshankar@users.noreply.github.com>
Co-authored-by: Vijay Prasanna <11921040+vijayprasanna13@users.noreply.github.com>
GitOrigin-RevId: f3fe2e313b39310bac95e3118e6e14f645627769
2021-05-04 14:41:54 +00:00
Vamshi Surabhi
3dfc50e3ac
console/mssql: do not use deprecated sysusers to fetch schema list
...
On certain MSSQL sources (Azure serverless databases), `sysusers` is not supported.
From [MSSQL docs](https://docs.microsoft.com/en-us/sql/relational-databases/system-compatibility-views/sys-sysusers-transact-sql?view=sql-server-ver15 ):
> This SQL Server 2000 system table is included as a view for backward compatibility. We recommend that you use the current SQL Server system views instead
Co-authored-by: Ikechukwu Eze <22247592+iykekings@users.noreply.github.com>
GitOrigin-RevId: 6d8a91afa66569cc30b7b83a0c7813a3850c4c9a
2021-05-04 12:41:40 +00:00
Ikechukwu Eze
512c3008b6
console: filter out partitions from track table list and display partition info
...
### Description
Resolves #1128
### Changelist
- [x] Removed partitions from list of untracked tables (clean up awaits)
- [x] Display table definition at modify table like that of `psql \d+ tableName`
- [x] Fix broken console error when reloading console on `Modify` and `Relationships` tab for any other schema than default redirect schema.
- [x] Fetch table partition info only at /table/modify
### Screenshots
<img width="700" alt="Screenshot 2021-05-04 at 12 57 30" src="https://user-images.githubusercontent.com/9019397/116993856-4c6c2000-acd8-11eb-8a61-cd2b45d6e7ac.png ">
### Changelog
- [x] Console
Co-authored-by: Vijay Prasanna <11921040+vijayprasanna13@users.noreply.github.com>
Co-authored-by: Aleksandra Sikora <9019397+beerose@users.noreply.github.com>
GitOrigin-RevId: 3a6e527839daf52af101c2ce1803eefba600d29e
2021-05-04 11:20:31 +00:00
Vijay Prasanna
f015234ef6
console: fix allSourcesSchemas mapping when there are sources with no tables
...
**How to repro this bug:**
1. Create another source, in addition the existing `default source`
2. this new source has one or more tables while the `default` has none.
3. If you check the Redux State object, the `allSourcesSchemas` attribute has the wrong mapping of objects
```JSON
allSourcesSchemas:
default: {}
```
This results in the table_types not being mapped properly.
For example in the below screenshot, I have 2 db objects, one is a view and the other is a table. Since the `allSourcesSchemas` is not mapped properly, the table_type is not available to `DataSubSidebar.js`
![Screenshot 2021-05-04 at 11 22 27 AM](https://user-images.githubusercontent.com/11921040/116965274-065c8f80-accb-11eb-9a4f-c1fedced8e6a.png )
GitOrigin-RevId: d728f08306ce7a8770d7d08a6236b76cd379f140
2021-05-04 09:54:19 +00:00
Aleksandra Sikora
99ec0aeab6
console: fix missing headers for get_event_invocations request
...
GitOrigin-RevId: 19d344d6b8b4a407c7f8fa787b95bc210b5bf84f
2021-04-29 17:54:26 +00:00
Abhijeet Singh Khangarot
65097131ff
console: add error notification on invalid query / mutation in rest endpoints
...
Co-authored-by: Aleksandra Sikora <9019397+beerose@users.noreply.github.com>
GitOrigin-RevId: 9e1d8fb5250ceadfb5ec698f224f764b11a1e67d
2021-04-26 13:49:18 +00:00
hasura-bot
3fbc4c3b63
console: quote postgres table name when creating one with a comment
...
GITHUB_PR_NUMBER: 6761
GITHUB_PR_URL: https://github.com/hasura/graphql-engine/pull/6761
Co-authored-by: Ross Gardiner <565371+rossng@users.noreply.github.com>
GitOrigin-RevId: 9fbe6d53724028329b639441b98dff685e5e067e
2021-04-23 15:02:29 +00:00
Sooraj
c1e3829365
console: optimise init queries
...
GitOrigin-RevId: fdfff1857733d5fb247d9e698ea6ccfc9e3853a2
2021-04-21 12:53:36 +00:00
Abhijeet Singh Khangarot
ff2bd82623
console: update metadata in console's store after new metadata import
...
GitOrigin-RevId: 26e6cddec51d2a42f5a7ec6bac82a2b7e1611d2f
2021-04-21 11:39:37 +00:00
Ikechukwu Eze
c82d4de0cb
console: column comparison feature
...
This PR changes column operators to be an array of strings that follows what was specified in this [RFC](https://github.com/hasura/graphql-engine-mono/blob/rfc/column-comparison-improvements/rfcs/column-comparison-improvements.md )
The RFC also provides a good schema for testing this feature.
The server PR for this is at https://github.com/hasura/graphql-engine-mono/pull/504
---
### Preview
#### Before
![comparison-before](https://user-images.githubusercontent.com/22247592/112810281-c45c8000-9072-11eb-9bab-9e2f3b85c547.gif )
#### After
![column](https://user-images.githubusercontent.com/22247592/113628210-77713e80-965c-11eb-9da3-474773f1d8b0.gif )
#### Todo
- [x] Refactoring and cleanup
- [x] Find and fix errors
Co-authored-by: Karthikeyan Chinnakonda <15602904+codingkarthik@users.noreply.github.com>
Co-authored-by: Aleksandra Sikora <9019397+beerose@users.noreply.github.com>
GitOrigin-RevId: 22d35c1d886f8b40b1ae7ad7bf214eefd50bbe6e
2021-04-19 19:26:00 +00:00
Vijay Prasanna
e3fd4d395a
console: bigquery support
...
Co-authored-by: Abhijeet Singh Khangarot <26903230+abhi40308@users.noreply.github.com>
Co-authored-by: Aleksandra Sikora <9019397+beerose@users.noreply.github.com>
GitOrigin-RevId: 177f57bde4694ab22798e2afd97d489af875e6f7
2021-04-16 17:22:07 +00:00
Vijay Prasanna
7f17b2683d
console: redirect to default schema
...
Co-authored-by: Aleksandra Sikora <9019397+beerose@users.noreply.github.com>
GitOrigin-RevId: 4ac0243b8ff6fd8a64d54c46f742778d0a5605cd
2021-04-16 14:59:41 +00:00
Sameer Kolhar
b03aeb673a
console: add live preview for rest endpoints
...
Co-authored-by: Abhijeet Singh Khangarot <26903230+abhi40308@users.noreply.github.com>
Co-authored-by: Aleksandra Sikora <9019397+beerose@users.noreply.github.com>
GitOrigin-RevId: 918b9f76492085e8ded68070c90eaaae4d424476
2021-04-13 16:21:53 +00:00
Aleksandra Sikora
e1195fc55e
console: misc fixes
...
1. closes https://github.com/hasura/graphql-engine/issues/6693
2. Fixes insert/edit row input types
GitOrigin-RevId: 2474cb179c485bad240a4e5dbea2779cec2acc6e
2021-04-13 14:58:22 +00:00
Vishnu Bharathi
7821b34a2c
ci,console,pro-console: build pro console using local oss console
...
Co-authored-by: Aleksandra Sikora <9019397+beerose@users.noreply.github.com>
GitOrigin-RevId: f9a918422a0d22bc1775fabedb603c3311673afb
2021-04-12 18:50:02 +00:00
Abhijeet Singh Khangarot
0f7c273873
console: remote schema permissions add default values for input object
...
GitOrigin-RevId: 52f9bc30150f9ff932e40001bd5d492bad431f95
2021-04-09 08:22:57 +00:00
Varun Choudhary
8a77bac164
console: add details button to the success notification to see inserted row
...
Closes: https://github.com/hasura/graphql-engine/issues/6362
Description:
Add a `detail` button on the success notification while inserting row. We can see row added on clicking `detail` button.
![Screenshot from 2021-03-26 17-37-45](https://user-images.githubusercontent.com/68095256/112629281-1c6c6a00-8e5a-11eb-962a-42143d9501fe.png )
<img width="1051" alt="Screenshot 2021-04-08 at 14 14 10" src="https://user-images.githubusercontent.com/9019397/114024775-bda0ea80-9874-11eb-9ae7-f3ce90e4492e.png ">
Effected components:
[x] - Console
Co-authored-by: Aleksandra Sikora <9019397+beerose@users.noreply.github.com>
GitOrigin-RevId: 88257687a2c989369b62115c238aa318ea9780ca
2021-04-08 20:41:29 +00:00
Abhijeet Singh Khangarot
ac4c4d53d1
console: pass information about table type for mssql
...
Co-authored-by: Vijay Prasanna <11921040+vijayprasanna13@users.noreply.github.com>
GitOrigin-RevId: b757f999687f716cc5312d1b73548f237efc06f4
2021-04-08 18:02:58 +00:00
hasura-bot
96ee013179
console: use details and summary html tags for CollapsibleToggle component
...
This PR was migrated from https://github.com/hasura/graphql-engine/pull/6416
Co-authored-by: alex argunov <10955264+troglotit@users.noreply.github.com>
GitOrigin-RevId: 59a2391900d7aa4a612d596bb61165185f51cd53
2021-04-08 17:22:13 +00:00
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
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