Rikin Kachhia
a1b2882c70
console: fix API explorer headers action icons alignment
...
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/6525
GitOrigin-RevId: 535e7d74ae0397fa34fc2aefcb99fc2377e6a498
2022-10-25 16:04:56 +00:00
Erik Magnusson
e40b10b428
console: added ssl mode information to cockroach db
...
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/6522
GitOrigin-RevId: aa5f1d881522c304d424d6927477d063d52467dc
2022-10-25 14:01:01 +00:00
Vijay Prasanna
f5c7eac7fd
feature (console): allow user to edit column comments and custom GQL field names for GDC tables
...
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/6469
GitOrigin-RevId: b08f45788966e7bf1636adf55939308432d64397
2022-10-25 12:16:48 +00:00
Erik Magnusson
4c216cd2e7
removed dependency of needing gdc to be enabled to reach connect db page
...
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/6516
GitOrigin-RevId: 8c9a42fd87b16b48d0b296a7160566df129b3b80
2022-10-25 09:57:03 +00:00
Luca Restagno
49e9c47db3
Docs: improve Console contributing instructions
...
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/6471
GitOrigin-RevId: bec885589e9e8e631e73dc288dea60375d5e9248
2022-10-25 08:14:52 +00:00
Erik Magnusson
3fee21f2a0
console: disable connection parameters field for cockroachdb
...
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/6495
GitOrigin-RevId: e23a1212c3e35bc2dec5dccca5a8eda0a1636402
2022-10-25 06:25:58 +00:00
Stefano Magni
040a281392
platform(console): Refactor everything Analytics
...
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/6153
GitOrigin-RevId: e0dea3acf995d8f73eed8fabae374e215ebcd964
2022-10-24 08:30:01 +00:00
Samir Talwar
c3afa0fdd7
Install and use ODBC Driver 18 for SQL Server (msodbcsql18).
...
This installs the ODBC Driver 18 for SQL Server in all our shipped Docker images, and update our tests and documentation accordingly.
This version supports arm64, and therefore can run natively (or via Docker) on macOS on aarch64.
`msodbcsql17` is still installed in production-targeted Docker images so that users do not _have_ to migrate to the new driver.
Nix expressions are packaged for the new driver, as it is not yet available in nixpkgs.
In this version, [the default encryption setting was changed from "no" to "yes"](https://techcommunity.microsoft.com/t5/sql-server-blog/odbc-driver-18-0-for-sql-server-released/ba-p/3169228 ). In addition, "mandatory" and "optional" were added as synonyms for "yes" and "no" respectively.
I have therefore modified all connection strings in tests to specify `Encrypt=optional` (and changed some from `Encrypt=no`). I chose "optional" rather than "no" because I feel it's more honest; these connection strings will work with or without an encrypted connection.
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/6241
GitOrigin-RevId: 959f88dd1f271ef06a3616bc46b358f364f6cdfd
2022-10-21 16:25:04 +00:00
Luca Restagno
b591d68d81
Console: refactor the table Modify tab
...
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/6419
GitOrigin-RevId: 620e37be5275e339bff2d3da6758d894f035987f
2022-10-21 09:52:06 +00:00
Erik Magnusson
631f3994c2
console: added cloned row values to payload if they exist
...
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/6447
GitOrigin-RevId: 23e7dd1e5a4cd3c79835f750fff1404fdf134da2
2022-10-20 14:36:50 +00:00
Vijay Prasanna
a9c887cd16
tests (console): add tests for getTableName
util function
...
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/6375
GitOrigin-RevId: 82acd22d60a878c6619158637290c923cd8b43f0
2022-10-20 11:35:16 +00:00
Nicolas Inchauspe
c274cb8a44
console: Prometheus settings in console
...
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/5743
GitOrigin-RevId: 6c6a10cabaf70437508b377fc9bb30b40537429e
2022-10-20 10:35:27 +00:00
Matthew Goodwin
afa1b27969
GDC Modify Tab - Table Comment and Table Columns
...
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/6349
Co-authored-by: Vijay Prasanna <11921040+vijayprasanna13@users.noreply.github.com>
GitOrigin-RevId: 6053990f341b1fcc4e20371f14fa60dccc4c40f0
2022-10-20 05:18:47 +00:00
Nicolas Beaussart
dd493c1781
ci: bump memory to 4gb for node related pipelines
...
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/6436
GitOrigin-RevId: 4dd6779bdfbbba40e47de88b05be30f62b545d22
2022-10-19 21:01:34 +00:00
Vijay Prasanna
ff94621ea0
chore (console): format changes on mockServiceWorker.js
...
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/6431
GitOrigin-RevId: ff59eaab924e3884ac65badeb3283e9307d8d753
2022-10-19 10:16:34 +00:00
Daniele Cammareri
e91cba835b
fix remote schema permissions with null default value
...
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/6414
GitOrigin-RevId: 1b902b1ac7c541bdd79f933ef6fc008f875b517a
2022-10-19 06:46:55 +00:00
Vijay Prasanna
67087043c9
feature (console): allow user to view and update existing filter/sort(s) on GDC browse rows
...
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/6344
GitOrigin-RevId: 5118ca2299753a0c8742662e5493bb97baf16d9c
2022-10-19 03:46:22 +00:00
Daniele Cammareri
e13ff5babe
fix remote schema permissions with interfaces
...
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/6417
GitOrigin-RevId: c3df729df040ea11ec61cf75536c8dec6b7cdbed
2022-10-18 21:21:29 +00:00
Daniele Cammareri
fbb0fbbe0b
fix remote schema permmission when there are arguments
...
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/6407
Co-authored-by: Varun Choudhary <68095256+Varun-Choudhary@users.noreply.github.com>
GitOrigin-RevId: faa0d05bcee2ad033c7a610d5c6cf27bd6af09bf
2022-10-18 13:53:38 +00:00
Vijay Prasanna
2298c21ae0
feature (console): add storybook components for local relationships for GDC
...
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/6290
GitOrigin-RevId: aadac5dc29db2d1fa6550a604e04a6baa3b7c661
2022-10-18 04:58:13 +00:00
Abhijeet Khangarot
49a2822dbe
console: UI fixes for neon banner in connect db page
...
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/6376
Co-authored-by: Rishichandra Wawhal <27274869+wawhal@users.noreply.github.com>
GitOrigin-RevId: 8f2ec961be370097b48b684211606d34dbaa002d
2022-10-17 19:04:52 +00:00
Erik Magnusson
63ef6e722c
console: refactor the data pages edit tab
...
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/6380
GitOrigin-RevId: 15a96fd2f743d84570026aeeb75efbcbd9386c2a
2022-10-17 16:10:42 +00:00
Varun Choudhary
3757731228
console: Implemented batch_size
API limit to tackle GraphQL batching attacks
...
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/6337
Co-authored-by: Daniele Cammareri <5709409+dancamma@users.noreply.github.com>
GitOrigin-RevId: 826bbbf33ad9608db7807d919ba685d1b15c4e32
2022-10-17 12:39:02 +00:00
Varun Choudhary
b60b38d70b
console: show total max connections
in pool settings fields for CE/EE/Cloud
...
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/6080
GitOrigin-RevId: aafa8350f8d00d3f8ddb6e51964f06a25455aac5
2022-10-17 10:38:34 +00:00
Vijay Prasanna
f15e3f0148
feature (console): use list_source_kinds
to get available drivers for the connect DB page
...
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/6359
GitOrigin-RevId: 2d75899258d1581c840ef14b161532f0f10a7b5e
2022-10-17 09:05:34 +00:00
Nicolas Inchauspe
c3578869be
console: fix frequently used columns dropdown
...
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/6340
GitOrigin-RevId: 242b7c1e21d2d800697b8748b794a086a756d2ae
2022-10-13 14:37:46 +00:00
Vijay Prasanna
ea1ed79280
fix (console): introspection type name with customization breaks getTableColumns
...
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/6319
GitOrigin-RevId: eb2d33b564695285970ca5b07d526e96a749326c
2022-10-13 13:30:14 +00:00
Erik Magnusson
b2f89f6685
console: configure currently supported cockroach features
...
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/6323
GitOrigin-RevId: 7c5929ef8f6d3d933c361c67dd99c7a5ce051f03
2022-10-13 11:28:19 +00:00
Luca Restagno
cf672a1a59
console: Enable SSL Certificates Configuration in the Console for CDB
...
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/6325
GitOrigin-RevId: 9f6e381dda3e2fcf60bb97c30732a46abb05242f
2022-10-13 08:04:32 +00:00
Nicolas Beaussart
391d8570a1
platform: rework css import to prepare the nx migration
...
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/6272
GitOrigin-RevId: 43d52508dac9687184f6702d312a21232051503e
2022-10-12 12:47:51 +00:00
Luca Restagno
950836849d
console: fix alter primary key for cockroachdb
...
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/6292
GitOrigin-RevId: 0f449e08837c174627fb69ee611411b44ba88b62
2022-10-11 16:09:58 +00:00
Vijay Prasanna
690c05d33a
feature (console): Enable browse rows for GDC sources (supports pagination, filter, limit & sort)
...
Adds a browse rows component for GDC sources
Cleans up the implementation of the FilterSection and additonal refactoring
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/6178
GitOrigin-RevId: 82c3f729edb05778e81b08254608797617b45aaf
2022-10-11 14:17:42 +00:00
Tom Harding
4fdbda05ec
Enable Postgres enums for Cockroach
...
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/6232
GitOrigin-RevId: cc29e4932c3a24039efaf28f890a3dad97b51c3e
2022-10-11 09:09:26 +00:00
Matthew Goodwin
ae00089cd4
Add GQL Customization to connect DB form [GDW-333]
...
## Description 🔖
This adds the ability to edit **GraphQL Field Customization** when either connecting or editing a db connection for an agent.
This was implemented using the newest form and form components:
<img width="548" alt="Screen Shot 2022-09-29 at 3 42 16 PM" src="https://user-images.githubusercontent.com/49927862/193155139-c0eb71fb-4829-42d9-8ec1-90582fe8054a.png ">
## Solution and Design 🎨
This is a fairly minimal addition that makes use of the existing `react-hook-form` compatible `Form` and components. I had to edit the zod schema with the correct properties from the spec for GQL Sources.
I created a new dir for the `CustomizationForm` and implemented it in both the Connect and Edit components.
A quick note on a directory convention I am using here:
It's fairly common to have a components folder, and then within that, have sub-directories for more complicated components.
In that model, I have found it useful to use a `parts` directory as a next level of granularity within a component directory.
This helps to avoid cluttered components folder, by optionally adding a `parts` folder inside a component's folder for pieces that you want to break out but are NOT shared with anything else.
I've done this here with a fairly simple component `src/features/ConnectDB/components/Customization/parts/SectionHeader.tsx`, but one that benefits from having it's own component.
## Review Setup 💻
Video of feature:
https://www.loom.com/share/d737afca4be04da28f6943c1c8164d6f
### Tests
Added new customization form to storybook here ->> http://localhost:6006/?path=/story/data-connect-graphql-field-customization--primary
### Note on commit history
We had some issues trying to fix my accidental commital of a package-lock.json file and ended up doing some song and dance which involved @solomon-b ending up with credit for the first few commits. Just as a note for history, his name is on them, but it's my code, so if there's something to comment on, direct it to me.
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/6134
Co-authored-by: Solomon <24038+solomon-b@users.noreply.github.com>
GitOrigin-RevId: 0c8891e246e5d048e70b6a8a91331f21049d1c8c
2022-10-11 07:49:03 +00:00
Vijay Prasanna
2835a1aa98
fix (console): tree nav auto-select when table/database is present in the route
...
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/6205
GitOrigin-RevId: 61d89f4dbd2fac0fca58c0c7eefe735856637a42
2022-10-10 12:47:01 +00:00
Abhijeet Khangarot
948ace94e7
console: Neon integraiton design updates
...
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/6212
Co-authored-by: nevermore <31686586+OjasWadhwani@users.noreply.github.com>
Co-authored-by: Rishichandra Wawhal <27274869+wawhal@users.noreply.github.com>
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
GitOrigin-RevId: 71cc4923a2dda178839464d91b3214456fd207fa
2022-10-10 09:48:37 +00:00
Erik Magnusson
00c01197ef
console: added update_many field to table field customization component
...
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/6203
GitOrigin-RevId: 1559f1b8d4b40d2286d12aa9d8b0582915299bb5
2022-10-07 13:10:55 +00:00
Luca Restagno
b0569e0eb7
console: fix e2e tests
...
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/5557
GitOrigin-RevId: 5b07d94e7199b75546455e5702e6eaabfa5e1f7f
2022-10-06 14:13:30 +00:00
Varun Choudhary
4b79dfcb8d
console: disable url field on view remote schema page
...
## Description 🔖
Disable URL field on view remote schema page. Earlier we are able to edit the URL name from the view remote schema page. ([VIDEO](https://user-images.githubusercontent.com/68095256/194233185-1c93722a-e8bb-4a78-9d8e-05a0eef572c3.mov ))
## Related issue
https://hasurahq.atlassian.net/browse/GS-170
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/6224
GitOrigin-RevId: 7a3a43a3648d6f88e66e886d34357939477bcc88
2022-10-06 11:38:22 +00:00
Varun Choudhary
bb5c1ad4d0
console: add response_transform in update_action api call
...
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/6223
Co-authored-by: Daniele Cammareri <5709409+dancamma@users.noreply.github.com>
GitOrigin-RevId: 6687188c3fe1dc025273aa8f3bb0bac20b605a7d
2022-10-06 11:04:14 +00:00
Erik Magnusson
8fb1c1f344
console: added an error notification when successful gql response contains err…
...
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/6204
GitOrigin-RevId: ab3135525a7cbb0d2efbd8a65b2b84942014b367
2022-10-06 10:31:43 +00:00
Luca Restagno
1fb32bc2d4
console: isolate redux logic for the insert row tab
...
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/6195
GitOrigin-RevId: c65e08266fb0a4946bbe4c37e89070fb02eba9f8
2022-10-06 08:00:54 +00:00
Rishichandra Wawhal
8613af582e
console: update onboarding messages for the new template schema
...
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/6221
GitOrigin-RevId: 1276a6208e34f20e735daaf856a1e099e52d3338
2022-10-06 06:12:28 +00:00
Daniele Cammareri
bfca6d782d
console: add types generator in add new action form
...
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/6092
GitOrigin-RevId: 993de137c99d2af186d8f5088b3db6dfcb46a1e1
2022-10-04 18:44:26 +00:00
Sooraj
31c94f3180
console: Hide cumulative max connections
...
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/6182
GitOrigin-RevId: 3cd58995ed418f6fdf9e09747b382f717f7ecfae
2022-10-04 13:26:53 +00:00
Varun Choudhary
761bcf6883
console: show event trigger invocation logs if only event logs are cleaned
...
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/6169
GitOrigin-RevId: e89e798bcb9a754ddef258fc58e2ad35046e1141
2022-10-04 12:52:17 +00:00
Abhijeet Khangarot
52873dba95
console: add reload metadata call to useInstallMetadata
hook
...
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/6168
GitOrigin-RevId: f8f72ab47898594d6aa8327d44215c760756a160
2022-10-03 14:12:59 +00:00
Varun Choudhary
1635ddd607
console: fix UI for auto-cleanup event trigger on modify page
...
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/6164
GitOrigin-RevId: c1683c72f487d17e2fc46677b205cde862fe9663
2022-10-03 11:57:11 +00:00
Daniele Cammareri
4342151099
console: fix local object relationship deletion
...
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/6147
Co-authored-by: Varun Choudhary <68095256+Varun-Choudhary@users.noreply.github.com>
GitOrigin-RevId: 2995cf3fabf651f40b8db50dfc93f25b42f02944
2022-10-03 10:25:47 +00:00
Nicolas Inchauspe
f4ec8ed1f1
console: rollback remote schema permission edition buttons migration
...
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/6127
GitOrigin-RevId: f290daa147715918df194dc94cb1132aa50671b1
2022-10-03 08:13:36 +00:00