Commit Graph

1464 Commits

Author SHA1 Message Date
Rikin Kachhia
4baf9542c1 console: send DB initial state telemetry
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/7389
GitOrigin-RevId: 963673eeee6d2eee3b4ed0aa7c903004f1838005
2023-01-09 08:37:04 +00:00
Stefano Magni
019e9ac20f console: Set the NPM version
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/7436
GitOrigin-RevId: ea8475ef3c6afd86eea2f46d45e739ad1c313be4
2023-01-07 08:26:04 +00:00
Varun Choudhary
5726ef56fe console/fix: creating async action from UI gets created as a sync action
[GS-347]: https://hasurahq.atlassian.net/browse/GS-347?atlOrigin=eyJpIjoiNWRkNTljNzYxNjVmNDY3MDlhMDU5Y2ZhYzA5YTRkZjUiLCJwIjoiZ2l0aHViLWNvbS1KU1cifQ

PR-URL: https://github.com/hasura/graphql-engine-mono/pull/7432
GitOrigin-RevId: 4b27329ee84a51566b451e7a921d493f8659241d
2023-01-06 13:21:00 +00:00
Luca Restagno
d2e9a2d643 Add VS Code setting to correctly show TailwindCSS rem units in pixels
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/7453
GitOrigin-RevId: afb78ebf5a2de34f164e338a93f030a43119cdb2
2023-01-06 10:33:10 +00:00
Vijay Prasanna
f3bdd3d11d fix (console): react table header offset in Run SQL result UI
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/7454
GitOrigin-RevId: 79a3e825c0dbc20cf25039de64a5bb776010015d
2023-01-06 05:44:42 +00:00
Erik Magnusson
31ab5bfc65 console: browse row truncation and row details dialog
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/7314
Co-authored-by: Vijay Prasanna <11921040+vijayprasanna13@users.noreply.github.com>
GitOrigin-RevId: bd6fe7eb80f0b7296519a6c3bcea74e051ad84c3
2023-01-05 11:33:46 +00:00
Abhijeet Khangarot
f896b1ad22 console: one click deployment
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/7022
Co-authored-by: nevermore <31686586+OjasWadhwani@users.noreply.github.com>
Co-authored-by: Rishichandra Wawhal <27274869+wawhal@users.noreply.github.com>
GitOrigin-RevId: f174a5260bc65273fdb45d6bc25a79b74b3e8207
2023-01-05 05:36:18 +00:00
Luca Restagno
7b48088898 Fix the import of a function
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/7433
GitOrigin-RevId: 47766e730804fc77115bec47d50a16554c75e3d1
2023-01-05 02:40:12 +00:00
Varun Choudhary
237dbee415 console: fix indefinite loading state when modifying rest endpoints with null comments that created by older Hasura version
[GS-347]: https://hasurahq.atlassian.net/browse/GS-347?atlOrigin=eyJpIjoiNWRkNTljNzYxNjVmNDY3MDlhMDU5Y2ZhYzA5YTRkZjUiLCJwIjoiZ2l0aHViLWNvbS1KU1cifQ

PR-URL: https://github.com/hasura/graphql-engine-mono/pull/7421
GitOrigin-RevId: 67671b8a1974f0c5c937005355ab335153bf37ce
2023-01-04 11:20:45 +00:00
Abhijeet Khangarot
3f87bb0aba console: remove global cursor disabled bootstrap style
[GT-403]: https://hasurahq.atlassian.net/browse/GT-403?atlOrigin=eyJpIjoiNWRkNTljNzYxNjVmNDY3MDlhMDU5Y2ZhYzA5YTRkZjUiLCJwIjoiZ2l0aHViLWNvbS1KU1cifQ

PR-URL: https://github.com/hasura/graphql-engine-mono/pull/7402
GitOrigin-RevId: b4fecaefb89e820e61a1c6c76bebc93d563025b3
2023-01-04 10:25:21 +00:00
Varun Choudhary
7671759010 console: feature flag banner is hide behind ace editor
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/7369
GitOrigin-RevId: 3d6a3e279bbf8fdf52eeaeca29e20a3ab0f63c0b
2023-01-03 08:45:23 +00:00
Stefano Magni
a60f7116d0 console: Introduce the OpenTelemetry form components in Storybook
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/7093
GitOrigin-RevId: a0b164c4411d5e20075069ea46d9d0a2ba15a461
2023-01-02 14:20:08 +00:00
Nicolas Inchauspe
eb0c9d563e console: fix wrong illustration is displayed for Prometheus enabled screen
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/7383
GitOrigin-RevId: 78c4cc9a1fe95c7c889423ad85f853ba4f255379
2022-12-30 11:08:23 +00:00
Julian@Hasura
523500ef97 console: Interaction tests for TrackedTables GDC-296
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/7220
Co-authored-by: Julian <843342+okjulian@users.noreply.github.com>
GitOrigin-RevId: d6e96f813126802e384e13e7b824b29a87e64795
2022-12-23 13:06:17 +00:00
Stefano Magni
78936fd78b console: Add the OpenTelemetry banners in Storybook
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/7361
GitOrigin-RevId: 0a098000acf94b7957c67af6178d0b3d22ab46a6
2022-12-23 09:55:57 +00:00
Julian@Hasura
082f83fc20 Allow user to view their table's foreign key info
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/7130
Co-authored-by: Julian <843342+okjulian@users.noreply.github.com>
GitOrigin-RevId: f2e015ff317edd71d628b58f8eaebad3cf2a3c69
2022-12-22 15:12:32 +00:00
Luca Restagno
bcb46c863d [GCU-50] Export to CSV or JSON
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/7359
GitOrigin-RevId: d0ebde91206e5ba750301151ddd2ee283fb31be4
2022-12-22 14:30:41 +00:00
Rikin Kachhia
73e333a412 clarify computed field fns need not be tracked
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/6151
Co-authored-by: Sean Park-Ross <94021366+seanparkross@users.noreply.github.com>
GitOrigin-RevId: e5afbf12bdf2ed7439e535e168152e876a6260cb
2022-12-22 10:51:45 +00:00
Daniele Cammareri
a8a36bf7ee console: use new cron trigger form
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/7236
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
GitOrigin-RevId: 2b32f418258d1cd6ba269de3e88fee939d1b640b
2022-12-22 09:36:29 +00:00
Matthew Goodwin
3e54787035 console: new drop down menu [GCU-49]
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/7269
Co-authored-by: Luca Restagno <59067245+lucarestagno@users.noreply.github.com>
GitOrigin-RevId: e3625001b4196171d2f62920f56451a1984f9377
2022-12-21 13:12:34 +00:00
Erik Magnusson
e94440f397 console: user notitications for slowly running queries
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/7319
GitOrigin-RevId: 3ef719bb2097d744e39965a458466ceb184619bd
2022-12-21 12:28:26 +00:00
Daniele Cammareri
70e9d3c21b fix: fix actionWithTransform e2e test
## Description

This PR fixes the test `actionWithTransform.e2e.test.ts`, failing only on CI (not on local builds). I've added some timeout when clearing the text areas; this probably fixes some issues due to debounce time.

PR-URL: https://github.com/hasura/graphql-engine-mono/pull/7254
GitOrigin-RevId: 98052fa8e4ffd261f1944845d7eef2fcc1c6db37
2022-12-20 11:45:00 +00:00
Daniele Cammareri
6d64c67b4a fix: fix performance issue for event triggers invocation logs
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/7155
GitOrigin-RevId: c72512a1638944d64354b36e57dd4ca77626f276
2022-12-20 09:48:50 +00:00
Daniele Cammareri
209895988a test: fix one-off event e2e test
This PR fixes the one-off trigger failing e2e test.

PR-URL: https://github.com/hasura/graphql-engine-mono/pull/7323
GitOrigin-RevId: 44f1e4ce316ec488985d0c17b2da75719515fa94
2022-12-19 17:10:07 +00:00
Stefano Magni
9ab0aecc06 console: Unify all the Analytics stories
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/7274
GitOrigin-RevId: 8f9f3f750d564411385c4d74552554d8e8e54afb
2022-12-19 11:34:35 +00:00
hasura-bot
6270ff4d0d [GQL-19] #8537 Move the scroll/count of rows facility to a position that is above the table, not below as currently
GITHUB_PR_NUMBER: 8708
GITHUB_PR_URL: https://github.com/hasura/graphql-engine/pull/8708

PR-URL: https://github.com/hasura/graphql-engine-mono/pull/5127
Co-authored-by: GitStart <1501599+gitstart@users.noreply.github.com>
Co-authored-by: Vijay Prasanna <11921040+vijayprasanna13@users.noreply.github.com>
Co-authored-by: Erik Magnusson <32518962+ejkkan@users.noreply.github.com>
GitOrigin-RevId: e9fb1fb8e8ae272f6095a4bf4e1fda934a90026f
2022-12-19 04:32:04 +00:00
Luca Restagno
a7d34b030b Create the hook to fetch the table rows from the server and download as CSV/JSON
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/7292
GitOrigin-RevId: 65ee45e8b21b5bb4be23f046e69d0442f03559d7
2022-12-19 04:01:18 +00:00
Vijay Prasanna
32b56723a9 fix (console): Invalidate metadata global hook cache after tracking/untracking GDC tables
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/7308
GitOrigin-RevId: bdb81c162bb6bf489464201907e75571920b129f
2022-12-16 15:13:59 +00:00
Nicolas Beaussart
55307f1797 ci: introduce frontend related ci
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/6991
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: Nicolas Inchauspe <710410+nicoinch@users.noreply.github.com>
GitOrigin-RevId: 88173064e50d3e05cd1606f7c2a5b9edf1d5857b
2022-12-16 14:37:27 +00:00
Stefano Magni
9fd0a2a773 console: Skip some flaky E2E tests
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/7284
GitOrigin-RevId: 045ad9e03f68d598255221d7253ad39659b8d876
2022-12-16 06:52:21 +00:00
Varun Choudhary
0e9c7c4ab9 console: integrate new one-off scheduled event form with console
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/7283
GitOrigin-RevId: f29c20b8b2f49415b948198086ff0aafa5b39e81
2022-12-15 14:44:10 +00:00
Sameer Kolhar
ebe94ea11d console: fix issues with MRAU feature(s)
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/7211
GitOrigin-RevId: 6dff9629b413f692e248582cd08e9ad2fb49a407
2022-12-15 13:44:43 +00:00
Nicolas Beaussart
df7234fe7d frontend: upgrade to jest 27
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/7208
Co-authored-by: Rishichandra Wawhal <27274869+wawhal@users.noreply.github.com>
Co-authored-by: Nicolas Inchauspe <710410+nicoinch@users.noreply.github.com>
GitOrigin-RevId: 52f4fb7e17a27bd181ad6bb030e5947c9ce4f819
2022-12-14 16:00:54 +00:00
Nicolas Inchauspe
1579e334cb Fix/form component
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/7124
GitOrigin-RevId: fbaaa9f2e4377ebefccacc399472ead6a64927c6
2022-12-14 15:13:14 +00:00
Varun Choudhary
cd3942f15e console: refactor one-off scheduled event
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/7252
GitOrigin-RevId: 4c463aa0c88879363c7a5d57c64f7444e2e59c15
2022-12-14 11:51:32 +00:00
Rishichandra Wawhal
82be6f0b3b console: add control plane ws url to endpoints; minor refactor
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/7233
GitOrigin-RevId: 62d92c9021030d6ae23116f9ef8f5a664e5750ff
2022-12-14 09:14:42 +00:00
Vijay Prasanna
6648621fbe fix(console): update read replica payload to contain ssl_configuration, isolation_level and use_prepared_statements
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/7253
GitOrigin-RevId: d55fb3e6fbd98ce8f1031fa2292e030057b6b8f7
2022-12-14 05:40:03 +00:00
Vijay Prasanna
941179bfee fix (console): handle case sensitive SQL generation for table schema and names
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/7224
GitOrigin-RevId: cbfa88a278282bcf12a5d19219093a34d93c830c
2022-12-13 08:08:41 +00:00
Matthew Goodwin
bffdc2f930 console: refactor modify tab metadata hooks [GDC-666]
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/7165
GitOrigin-RevId: b46408b3395198ac84f62eeae31a6bde3133c65f
2022-12-12 18:47:22 +00:00
Rikin Kachhia
8eb24229f9 console: move header navbar tooltips to bottom
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/7193
Co-authored-by: Luca Restagno <59067245+lucarestagno@users.noreply.github.com>
GitOrigin-RevId: a2002d9f58e3b2a7f3f873caa34e9a1da24b5393
2022-12-12 13:29:15 +00:00
Luca Restagno
5e0bbc80de console: support alloydb
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/6764
Co-authored-by: Erik Magnusson <32518962+ejkkan@users.noreply.github.com>
GitOrigin-RevId: 091525fd86342df5371e8545bba6ebff31132d53
2022-12-12 12:13:44 +00:00
Sooraj
df5c946174 console: import generated types in actions
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/6313
Co-authored-by: Varun Choudhary <68095256+Varun-Choudhary@users.noreply.github.com>
Co-authored-by: Daniele Cammareri <5709409+dancamma@users.noreply.github.com>
GitOrigin-RevId: f522eef50e37412f2ae84f63efa08c32848ccc93
2022-12-09 18:13:39 +00:00
Brandon Martin
c0aa2e8773 super-connector: Add display_name to super-connector
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/7182
GitOrigin-RevId: 30c896a7ef52c44e90c324a4b2bb9fc5668863fa
2022-12-08 21:24:54 +00:00
Vijay Prasanna
e1064c34e0 feature (console): View browse rows relationships for GDC tables (WIP)
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/6875
GitOrigin-RevId: d905d84c3cf21790415ec22294e1efabaf93f185
2022-12-07 14:53:13 +00:00
Nicolas Inchauspe
fec3707e2e GraphiQL style bugs
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/7172
GitOrigin-RevId: 8381852fd0c9ac22dce22911d933b446f6e8de59
2022-12-06 19:30:22 +00:00
Sameer Kolhar
dc065cb98d console: hotfix minor issues in Check Database Latency feature
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/7176
GitOrigin-RevId: 8f86ee64d44c67bbea0ccfead14d0bc2cd92b03a
2022-12-06 17:28:08 +00:00
Julian@Hasura
4aee57b174 console: Use custom display name for drivers in dropdown - GDC-653
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/7098
Co-authored-by: Julian <843342+okjulian@users.noreply.github.com>
GitOrigin-RevId: cf92d6c9c5d5116ce5b0ce972e859308afe886c2
2022-12-06 12:59:05 +00:00
Varun Choudhary
d10591daf3 console: add negative badge to show inconsistent remote schema
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/7067
GitOrigin-RevId: 6eeae6945639e98fda9ab90ff05a6af5fc668454
2022-12-06 10:57:46 +00:00
Rishichandra Wawhal
7f0e4b2092 console: hide onboarding for users who onboarded before onboarding was launched
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/7168
GitOrigin-RevId: 8e119129b2a910fefd692e93a19007cdfd564bf5
2022-12-06 06:10:34 +00:00
Luca Restagno
1ce631132a console: fix scenario in which data is not ready yet
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/7161
GitOrigin-RevId: 4b03fba03b2c1b8a4d855d2db852e8ce4f82d579
2022-12-05 15:23:51 +00:00
Gil Mizrahi
f45c379866 add concurrent_bulk api for parallel processing of read-only queries
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/7087
Co-authored-by: Tom Harding <6302310+i-am-tom@users.noreply.github.com>
Co-authored-by: Luca Restagno <59067245+lucarestagno@users.noreply.github.com>
GitOrigin-RevId: 0d7a212d004908bc014def9d3828647545c9e062
2022-12-05 13:50:19 +00:00
Matthew Goodwin
12d4de57c0 console: Revisions to #6931
For context: https://github.com/hasura/graphql-engine-mono/pull/6931

This PR makes some revisions that I had originally intended to be in the code, but due to some mixup, was refactored without discussion. @vijayprasanna13 and I synced up to try and make a decision about how to resolve it, but ultimately wanted to get more eyes on it to weigh in.

For context, when I refer to "premade selectors" I am talking about [this file](8a9264b14c/console/src/features/hasura-metadata-api/selectors.ts (L34))

And when I refer to "utility functions" (or metadata utility functions), I am talking about [this file](8a9264b14c/console/src/features/hasura-metadata-api/utils.ts (L38))

The changes I am suggesting here mostly about maintaining (IMHO) clearer separation of concern for selectors vs utility functions, and improving DX.

Here's how I see it high level:

![flows (light theme)](https://user-images.githubusercontent.com/49927862/204630900-aca2aad1-d760-409d-8ec6-446942b2d6ff.png#gh-light-mode-only)
![flows (dar theme)](https://user-images.githubusercontent.com/173663/204755227-e8850dbf-1012-4c7b-8087-dd6f16e5ca23.jpg#gh-dark-mode-only)

In other words, I want to avoid using pre-made selectors within a custom selector as it creates a pattern of multiple layers of curried functions and beings to (IMHO) look confusing and blur the separation of concern.

What I am proposing is that we have a convention of doing either

1) Developer wants the entire table object of a specific table. They can easily do this using one of the **premade** selectors and pass directly into `useMetdata()`:

```ts
const { isLoading, data: metadataTable } = useMetadata(
    MetadataSelectors.findTable(dataSourceName, table)
  );
```

2) Developer wants to get a specific piece of information on a specific table. They can leverage the `findMetadataTable()` utility function within a custom inline selector like this and avoid extra currying and double selector confusion:

  ```ts
const { isLoading, data: savedComment } = useMetadata(
    m => MetadataUtils.findMetadataTable(dataSourceName, table, m)?.configuration?.comment
  );
```

This is somewhat of a stylistic preference, but also one that I think makes a cleaner separation of concern in the way we are building the api and supportive pieces. In other words, premade selectors are _always_ a selector and not used to compose other selectors. It also makes available utility functions that are easy to pull of the shelf to do common metadata tasks whether in the scope of `useMetadata` or not.

## Simpler Approach?

We could also just go with **Flow # 2** and eliminate the premade selectors. The dev would then pass a custom selector into `useMetadata()` and if they prefer, use a utility function to support their task.

With that aside, whatever the team agrees makes more sense, I will gladly get on board with, but I wanted to make my case here : )

PR-URL: https://github.com/hasura/graphql-engine-mono/pull/7095
Co-authored-by: Vijay Prasanna <11921040+vijayprasanna13@users.noreply.github.com>
GitOrigin-RevId: 7ecc2db172def0d2f714cbbb2f95a4b56a528093
2022-12-02 18:28:40 +00:00
Erik Magnusson
ffdc9ceca8 console: fix clone value handling for the insert tab
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/7097
Co-authored-by: Luca Restagno <59067245+lucarestagno@users.noreply.github.com>
GitOrigin-RevId: 483ce76f24234f76f3b557c892c62d891e542eb7
2022-12-02 10:55:56 +00:00
Daniele Cammareri
5f205a3f7d test: add snapshot check to action e2e test
## Description 🔖

This PR adds snapshot testing to e2e tests. The goal is to avoid regressions that involve metadata by checking:

- the payload of requests sent
- the metadata after modification (only relevant part of the metadata)

![image](https://user-images.githubusercontent.com/8408875/204244610-4486b689-d220-40ab-bc1d-9c7b1a1b232f.png)

We implemented this feature for one test, `actionWithTransform.e2e.test.ts` but this approach can be potentially used for other tests as well.

## Review checklist. 📋

- [ ] Run e2e tests

PR-URL: https://github.com/hasura/graphql-engine-mono/pull/7058
Co-authored-by: Varun Choudhary <68095256+Varun-Choudhary@users.noreply.github.com>
GitOrigin-RevId: 618147fad3f7d6849a0815b16c077efddef751ca
2022-12-02 10:03:39 +00:00
Daniele Cammareri
eec886da7b fix(console): fix action with transform e2e test
## Description

This PR fixes the test `actionWithTransform.e2e.test.ts`, failing only on CI (not on local builds). I've added some timeout when clearing the text areas; this probably fixes some issues due to debounce time.

PR-URL: https://github.com/hasura/graphql-engine-mono/pull/7109
GitOrigin-RevId: 30efbc32bb804cc11d3e4af0f70b552512c6ded1
2022-12-01 09:49:16 +00:00
Abhijeet Khangarot
1d9d48a165 console: update heap custom tracking event names
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/7115
GitOrigin-RevId: 4017f0aec418d78f24f78e0a5b0cc28faa7b45d8
2022-12-01 05:28:38 +00:00
Erik Magnusson
e084126c73 console: upgrade nudging for oss users wanting to use ssl cockroach db
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/7084
Co-authored-by: Luca Restagno <59067245+lucarestagno@users.noreply.github.com>
GitOrigin-RevId: 4706cb52d46e22cfd3396233e6222f83dbc43cf7
2022-11-30 11:42:15 +00:00
sfarqu
5b95e4f778 console: Remove x-hasura-admin-secret header from DB latency requests
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/7101
GitOrigin-RevId: 48dd66ded2cfd7c440db67f8edb267196757c75c
2022-11-30 07:19:14 +00:00
Sandeep Raj Kumar
3c3c8d6895 Add Login with SSO option to EE lite
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/6881
GitOrigin-RevId: d4603a0252c2924851c09fff9debe4d699a20fca
2022-11-30 05:21:35 +00:00
Daniele Cammareri
16561d2c9a feat(console): add import single endpoint from openAPI
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/6970
GitOrigin-RevId: 14bbca9efbda6fa71f6b00ab5d45062d71abd794
2022-11-29 19:09:53 +00:00
Luca Restagno
8a45b4d075 console: fix nested browse rows run query
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/7072
GitOrigin-RevId: cf3aa7588c1dbf4dbb225491ab36fba35535b0d1
2022-11-29 15:06:35 +00:00
Varun Choudhary
88fd90d0e5 console: show roles created from from allow list on data, RS and action permission tables
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/7059
GitOrigin-RevId: 9ccdbf14ed7066f44cd9bd568101e6ec566c1762
2022-11-29 14:01:14 +00:00
Abhijeet Khangarot
1e1622053a console: track console load custom event on heap
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/7086
GitOrigin-RevId: 838fc52e603324f2df0b234be898033eb76a0766
2022-11-29 12:48:29 +00:00
Erik Magnusson
459aa73d2b console: fix filtering using nullish values
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/7076
GitOrigin-RevId: 369a8abc2fd871e0e67d07c9ef299f689c01d81a
2022-11-29 09:33:04 +00:00
Varun Choudhary
ff223ab938 console: clean up response transform code base
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/6782
Co-authored-by: Daniele Cammareri <5709409+dancamma@users.noreply.github.com>
GitOrigin-RevId: 57f4731d2d5eb74950e6e9c3a41a2a71f162c394
2022-11-29 09:03:49 +00:00
Erik Magnusson
a4d669a71e console: added checks to hide previously removed sources
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/6996
GitOrigin-RevId: 3467b68521b50afd364c7842c7e69fbe9bd7f90f
2022-11-29 08:06:28 +00:00
Luca Restagno
e27ed1eb5b fix: show the accelerate project box on the cloud console only
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/7060
GitOrigin-RevId: 6718c5412d8541f0ab19f4d53e6afa20543b9e8c
2022-11-28 13:00:47 +00:00
Nicolas Inchauspe
25cc0b75d6 console: fix REST endpoint creation form width
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/7061
GitOrigin-RevId: 6fa530518051fab25443889c261b8ae879e8af8f
2022-11-28 11:07:39 +00:00
Erik Magnusson
6980054a35 console: removed unnecessary null defaulting from input fields
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/6988
Co-authored-by: Luca Restagno <59067245+lucarestagno@users.noreply.github.com>
GitOrigin-RevId: 0b56327130bd268403054479c9cfd725b65dfb72
2022-11-28 10:35:35 +00:00
Varun Choudhary
b74c2952dd console: enable naming convention check to enable/disable naming convention carded radio button
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/6897
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: Rikin Kachhia <54616969+rikinsk@users.noreply.github.com>
GitOrigin-RevId: 9dba07b1febf44fe10426e6c383cc8f3e0b799a6
2022-11-28 07:36:27 +00:00
Nicolas Beaussart
b01a9e2784 frontend: re import code into new mono
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/6966
GitOrigin-RevId: 92a8909a3d316f6a6d5dc512057e60995389383d
2022-11-24 17:21:59 +00:00
Varun Choudhary
3061f7a90c console: forwardClientHeader is not saved while creating action
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/7012
GitOrigin-RevId: 3c343a794a581033cfbf1e2759e08694b4839e74
2022-11-24 12:54:25 +00:00
Stefano Magni
fdb2d87174 console: Fix the RequestHeadersSelector interaction tests
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/6963
GitOrigin-RevId: 5e6b56d5536d82cb93189b5b33c7cb14bc88d899
2022-11-24 12:16:08 +00:00
Luca Restagno
4c109f9b85 Console: retain filters and sorts conditions while moving from one tab to the other
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/6905
Co-authored-by: Abby Sassel <3883855+sassela@users.noreply.github.com>
Co-authored-by: Auke Booij <164426+abooij@users.noreply.github.com>
Co-authored-by: Erik Magnusson <32518962+ejkkan@users.noreply.github.com>
Co-authored-by: Daniel Harvey <4729125+danieljharvey@users.noreply.github.com>
Co-authored-by: Vishnu Bharathi <4211715+scriptnull@users.noreply.github.com>
Co-authored-by: Brandon Simmons <210815+jberryman@users.noreply.github.com>
Co-authored-by: awjchen <13142944+awjchen@users.noreply.github.com>
Co-authored-by: Krushan Bauva <31391329+krushanbauva@users.noreply.github.com>
GitOrigin-RevId: 889feeb75b8119f94d9d5da071c50374ac59f589
2022-11-24 10:11:43 +00:00
Stefano Magni
c50cfad476 console: Improve the analytics docs
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/7015
GitOrigin-RevId: 66e461f20173d5e669056f3d818821a1f1384bb4
2022-11-23 16:04:30 +00:00
Matthew Goodwin
7a1dc37bf6 refactor (console): create global metadata hooks that use the new metadata types
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/6931
Co-authored-by: Vijay Prasanna <11921040+vijayprasanna13@users.noreply.github.com>
GitOrigin-RevId: e57ed8bf14f2b855c6f4c20e072ecd25a784d08b
2022-11-23 13:18:15 +00:00
Varun Choudhary
8a35522970 console: console crashes on searching special character on table and action search bar
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/7008
GitOrigin-RevId: 29e445da8d4be0daba60b02eb8a40c640086df2b
2022-11-23 12:07:23 +00:00
Sameer Kolhar
42d2e9bf10 console: add UI to show DB connection latency reports on cloud console
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/6808
GitOrigin-RevId: 2768bdf3611ecaf40ed1b967d27c57aa3d80034a
2022-11-23 11:08:29 +00:00
Varun Choudhary
489d1fe493 console: browse back from allow list using browser back button
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/6990
GitOrigin-RevId: 1c99dbdb7098dee57839cd98e4d19c19edd470b9
2022-11-23 07:53:45 +00:00
Nicolas Inchauspe
0ebb4a04ec console: fix code exporter style
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/6952
GitOrigin-RevId: 269cff9788a12a02f13f89c2d98793b8aa50ca25
2022-11-23 07:53:36 +00:00
Erik Magnusson
55715f7074 console: added styling for relationship legacy tabs
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/6938
GitOrigin-RevId: 644364a3e47bd23a5740aaf9e3b294a1f453f2c1
2022-11-21 17:07:45 +00:00
Erik Magnusson
42832cdc84 console: fallback for editing expanded text fields
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/6951
GitOrigin-RevId: fa0d2b8538b612ec86b1f9fa180188bb8d55b289
2022-11-21 10:59:47 +00:00
Luca Restagno
02c21d21aa console: fix the condition to show the custom table tracking modal
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/6944
GitOrigin-RevId: bfacd2dcf1aad95feb323db9686c7d9d15ebdaba
2022-11-21 10:29:48 +00:00
Nicolas Inchauspe
4df205197a console: prevent react-ace to use a service worker
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/6778
GitOrigin-RevId: 0a00b924bcc7b9dc0c7b465dc4d05a67549fd329
2022-11-18 16:39:53 +00:00
Luca Restagno
6e091bae30 console: E2E test to verify DB compatibility
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/6867
GitOrigin-RevId: be5803fd3b3436fc38c75ae70aa8d3e6a7f38402
2022-11-17 17:00:58 +00:00
Vijay Prasanna
980813c4c5 refactor (console): relationship tab components for GDC, local types & stories
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/6801
GitOrigin-RevId: d1e97752bc52633a3a853a8d474efb6c437ba5dd
2022-11-16 12:58:25 +00:00
Daniele Cammareri
0a73187c8d console: add a generic mock that emulates metadata api
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/6194
GitOrigin-RevId: f58c98b16ab156e742ab8a446124136fb4b0e638
2022-11-15 09:29:56 +00:00
Erik Magnusson
4164f36bca hotfix: add functionality to make data tab filter read url values
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/6854
Co-authored-by: Luca Restagno <59067245+lucarestagno@users.noreply.github.com>
GitOrigin-RevId: 1e09591ecd6ef3c59e9ac157547c93a9eb7ac39e
2022-11-14 13:59:06 +00:00
Stefano Magni
681f2baf3e console(platform): Generate the source maps for the Cloud Console
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/6734
GitOrigin-RevId: d14db3a59fcfb7c99e40fe5aa57baa451e238ecd
2022-11-14 10:01:36 +00:00
Matthew Goodwin
d829585e9c console: InputField clear button
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/6767
GitOrigin-RevId: 2d6a68507a7e7970b68d4eb25ea665c9269a49af
2022-11-10 17:00:01 +00:00
Nicolas Beaussart
e084dea9f8 console: cleenup makefiles
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/6830
GitOrigin-RevId: 15f8f8f47dcb0f94d83fc8b9274a7b20af6f4a9b
2022-11-10 14:26:41 +00:00
Varun Choudhary
bc594e0554 console: e2e test for response transform
This PR adds e2e tests for actions response transform

### Related Issues ✍

https://hasurahq.atlassian.net/browse/GS-247

### Steps to test and verify ✍

1. run console locally from this branch
2. run cypress test (actions -> actionWithTransform)

### Limitations, known bugs & workarounds ✍
Didn't add any negative test cases because there is no validation error from server side for response transform.

PR-URL: https://github.com/hasura/graphql-engine-mono/pull/6781
GitOrigin-RevId: da1986dba1cb12073b9d6052341906d3350997e9
2022-11-10 13:46:48 +00:00
Varun Choudhary
12da55a1b7 console: show total max connection for cloud only and some UX improvements
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/6820
GitOrigin-RevId: 36cd55c7e57244771d3ffa5d0e2f12c2f713a31e
2022-11-10 12:40:50 +00:00
Matthew Goodwin
b8d5945f1f feat: InputField wrapper component for enabling GraphQL field sanitization
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/6714
GitOrigin-RevId: 3bad941537fb7022bd8058ec716b4d72dd876e2e
2022-11-09 16:47:03 +00:00
Varun Choudhary
3b5736495a console: ui improvement for total max connection
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/6802
Co-authored-by: Daniele Cammareri <5709409+dancamma@users.noreply.github.com>
GitOrigin-RevId: b33e483c7849ce80e516a4fc6830776f1765eb5c
2022-11-09 13:33:49 +00:00
Varun Choudhary
10815580fa console: add Toggle All button to select all columns for update Event Triggers operation
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/6723
GitOrigin-RevId: aeba65030c52de5492b4eb187ef6607528c7dc15
2022-11-09 12:09:13 +00:00
Erik Magnusson
d16924f50f console: refactored browse rows to refetch on every table name change
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/6800
GitOrigin-RevId: 139ab75efff584baf1619bde46dc55e7e6d3250f
2022-11-09 10:06:54 +00:00
Luca Restagno
c43c89eccf console: fix modify tab visibility when insert is selected
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/6790
GitOrigin-RevId: cc133f83719abac485977e2b171f874ebb76493a
2022-11-09 08:50:56 +00:00
Matthew Goodwin
063500d750 replace athena with Amazon Athena for agent name in ddl
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/6793
Co-authored-by: Matt Hardman <28978422+mattshardman@users.noreply.github.com>
GitOrigin-RevId: 649570e03f34291dca7e4cb731ef109b53877dee
2022-11-08 23:17:35 +00:00
Luca Restagno
ed8e81270e Console: fix export to CSV and JSON when no filter conditions are present
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/6780
GitOrigin-RevId: 09c737c170b1427e0f3ba758f85b921b7b53eab3
2022-11-08 15:49:59 +00:00