Commit Graph

1312 Commits

Author SHA1 Message Date
nevermore
33a44ae14a console: Change Experiment Client to a React Query based approach
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/6595
Co-authored-by: Abhijeet Khangarot <26903230+abhi40308@users.noreply.github.com>
GitOrigin-RevId: afb52cbbb16a37b88d6e6d651b331412185bdb88
2022-11-07 07:26:13 +00:00
Vijay Prasanna
c447044020 fix (console): view database launches wrong route
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/6747
GitOrigin-RevId: bc59aacff64bedd5a97ee03c0ff8783f0bd42b15
2022-11-04 19:07:54 +00:00
Stefano Magni
691caf63db console: Update the Analytics docs
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/6667
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
GitOrigin-RevId: 4a063fccb895ad129e91708ac9b6c3bdbcc3ca7e
2022-11-04 16:09:27 +00:00
Rishichandra Wawhal
52b11b3bbb console: add a standardised lux client and setup type autogeneration for control plane graphql types
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/6621
GitOrigin-RevId: b96641106f7f179ee7a61eaceec019f654af4bd9
2022-11-04 11:16:41 +00:00
Sooraj
278cb94004 console/actions: add tracking events on import types
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/6688
GitOrigin-RevId: 6b6c3e74e8ad91f02761691f64a97758d43a1227
2022-11-03 12:32:51 +00:00
Karthikeyan Chinnakonda
d7609233c4 Rename get_event_invocations to get_scheduled_event_invocations
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/6513
Co-authored-by: Varun Choudhary <68095256+Varun-Choudhary@users.noreply.github.com>
GitOrigin-RevId: 172ba6152ed77b90eeec9183a3fb4c6f177e45b3
2022-11-03 10:23:11 +00:00
Erik Magnusson
a9515cdb68 console: replace redux fetching logic with react query for insert row tab
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/6644
GitOrigin-RevId: ae7809e702edeafa84075bcad1ba37236bdb1d1a
2022-11-03 09:14:39 +00:00
Erik Magnusson
d17b27e91f fixed button margin handling
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/6685
GitOrigin-RevId: ac5c34854966510f1ba0f074893bb4b11cf345e8
2022-11-03 08:43:19 +00:00
Vijay Prasanna
c930e2a4d1 feature (console): add support for enum type inputs in the OpenApi3 config schema
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/6652
Co-authored-by: Matthew Goodwin <49927862+m4ttheweric@users.noreply.github.com>
GitOrigin-RevId: c4410dd220dee0f18989065dc932abdbf8ef167b
2022-11-02 22:05:15 +00:00
Matt Hardman
89f639b40b console: add permissions for GDC to console
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/6592
Co-authored-by: Vijay Prasanna <11921040+vijayprasanna13@users.noreply.github.com>
GitOrigin-RevId: 67a72f9b76604c50f647113d170e6e1778c9f7b9
2022-11-02 19:55:12 +00:00
Stefano Magni
bf551be20f console(platform): Respect the Heap custom events convention
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/6520
GitOrigin-RevId: afbf6139fe4bee0e17a90ee1b7a22c8442a75e28
2022-11-02 10:10:40 +00:00
Varun Choudhary
bb0b95dd77 console: fix gql try it button
This PR fix the issue with `GraphIQL Try` button. The issue is when we create a new schema other then public and try the gql operation using the `GraphIQL Try` button, it give the query and all but the query field is just only table name not the schemaName_table name so it will give me an error saying that query_field doesn’t exist

[Slack thread](https://hasurahq.slack.com/archives/CKATHV1J7/p1667214392972649?thread_ts=1667202504.721889&cid=CKATHV1J7)

PR-URL: https://github.com/hasura/graphql-engine-mono/pull/6635
GitOrigin-RevId: e1403db0c3e63d88d2380fe1137137329910f990
2022-11-02 06:50:43 +00:00
Vijay Prasanna
309ede358e fix (console): wrong UI form for editing local relationships
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/6645
GitOrigin-RevId: c63fa72340fe345fb1278723ad173059b7d9c540
2022-11-01 12:46:23 +00:00
Stefano Magni
f24ef6ced5 console(fix, plaftorm): Fix the E2E tests lint process
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/6550
GitOrigin-RevId: ff31b5990fc1d27e64346289a13e0dadab7883ea
2022-10-31 14:00:51 +00:00
Stefano Magni
41d31fba10 console: Avoid tracing some GraphiQL errors in Sentry
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/6603
GitOrigin-RevId: 779a6d31298ec2152d7088b31f02f00002ece226
2022-10-31 13:32:35 +00:00
Erik Magnusson
e784e33d3d console: quickfix for missing redux prop props
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/6626
GitOrigin-RevId: 9b4d014086603cb64fb89b580c4f28ad9120ee1a
2022-10-31 09:44:51 +00:00
Vijay Prasanna
ae9d1308e6 fix (console): issue with opening create relationship form
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/6611
GitOrigin-RevId: 436608571ae1d4bd2d35c93a747d6c5fe05e6529
2022-10-28 17:37:11 +00:00
Stefano Magni
2643fef930 console: Prevent using analytics-related props on React components
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/6544
GitOrigin-RevId: 9f461c73f28b9d8d310fe6dfd02f4224a33ba156
2022-10-28 16:23:47 +00:00
Matthew Goodwin
bc15959bb7 fix (console): submitting GQL table customisation fails to merge correctly for root fields
This is a small continuation of this PR. It got merged before I could get these additional fixes in:

https://github.com/hasura/graphql-engine-mono/pull/6561

This PR addresses:

- Issues correctly merging custom root fields when saving that resulted in saved changes sometimes not saving
- Implements a fix @vijayprasanna13 made to issues with saving custom column names in a slightly refactored version of the same concept.

PR-URL: https://github.com/hasura/graphql-engine-mono/pull/6575
Co-authored-by: Vijay Prasanna <11921040+vijayprasanna13@users.noreply.github.com>
GitOrigin-RevId: 161ad46a8c667e022447a89aca057fd7f07379a7
2022-10-28 13:55:50 +00:00
nevermore
f36b5697c0 console: Analytics cleanup in Neon Components
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/6539
GitOrigin-RevId: 3e257247e65a9349e76e1485a2ab36383d94bcc6
2022-10-28 07:17:46 +00:00
Erik Magnusson
03b76e40e1 console: refactor browse rows to decouple redux
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/6439
Co-authored-by: Vijay Prasanna <11921040+vijayprasanna13@users.noreply.github.com>
GitOrigin-RevId: 2088552f782faebbe3edfba8a2707733a67e89dc
2022-10-28 06:10:51 +00:00
Erik Magnusson
b19f41280b console: enabled cockroachdb as beta
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/6565
GitOrigin-RevId: 615fd753618e87662456d68c3006c79abaa210e8
2022-10-28 05:21:05 +00:00
Matt Hardman
72dbafc319 console: add permissions form to work with GDC
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/6558
Co-authored-by: Vijay Prasanna <11921040+vijayprasanna13@users.noreply.github.com>
GitOrigin-RevId: 6ec7ca366a9a1aea987ca1a2c14811d4c44e4d60
2022-10-27 21:50:16 +00:00
Erik Magnusson
fa98bfc8ee console: fixed misspelled cockroachdb in database connect form
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/6564
GitOrigin-RevId: ce19d5ec3b74cca6f34435cbe96aa0da3ca5aed7
2022-10-27 16:55:57 +00:00
Erik Magnusson
2029e20d0c updated ssl certs to only be enabled on pro/cloud versions for cockroach
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/6529
GitOrigin-RevId: 7281a213b382c5801fc4583cfdf178102b676470
2022-10-27 14:44:12 +00:00
Varun Choudhary
bdf1aee641 console: console support for actions response transform
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/6455
Co-authored-by: Sooraj <8408875+soorajshankar@users.noreply.github.com>
GitOrigin-RevId: 82040e5a05c035f3319a94cfb6dd94acb5259505
2022-10-27 14:07:25 +00:00
Vijay Prasanna
4589af44b4 fix (console): unable to remove custom_name for a GDC table's column
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/6566
GitOrigin-RevId: 518a99ae63b3157fb0331be0eec49146a8499a54
2022-10-27 12:56:53 +00:00
Abhijeet Khangarot
6b1bda87b4 console: remove feature access check for neon
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/6470
GitOrigin-RevId: 99d7ab426fedb086693af35d07958be7f7b6df75
2022-10-27 11:16:41 +00:00
Matthew Goodwin
7ecc6849e0 fix (console): submitting GQL table customisation erases other table config info on metadata
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/6561
Co-authored-by: Vijay Prasanna <11921040+vijayprasanna13@users.noreply.github.com>
GitOrigin-RevId: a72c349d74faf9ef8f55ff17fc904aed9c741798
2022-10-27 05:45:19 +00:00
Rishichandra Wawhal
68ba302bcf console: remove code related to the sample DB experiment
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/6467
GitOrigin-RevId: 5a3fbc3c7d8d3947b5e7bad66140aaf11fa6ad8d
2022-10-26 15:55:15 +00:00
Vijay Prasanna
374846b63b refactor (console): sub routes for managing gdc tables
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/6546
GitOrigin-RevId: 3876c171558dbd2b72881b79b181c52e3a331b11
2022-10-26 14:59:34 +00:00
hasura-bot
a2e6e50e27 Fix broken links
GITHUB_PR_NUMBER: 9138
GITHUB_PR_URL: https://github.com/hasura/graphql-engine/pull/9138

PR-URL: https://github.com/hasura/graphql-engine-mono/pull/6462
Co-authored-by: arpitpandey0209 <9442768+arpitpandey0209@users.noreply.github.com>
GitOrigin-RevId: 85ce1a190477803f553deb31c1c95b512fa3fca0
2022-10-26 14:22:19 +00:00
Stefano Magni
b74050db09 console(fix): Fix the frequent target.closest.querySelector error
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/6528
GitOrigin-RevId: 6895c8ecd2bc1bf6add265ab3520397c229033a9
2022-10-26 12:46:03 +00:00
Abhijeet Khangarot
9834acdb8a console: add tests for install metadata and migration template hooks
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/6110
GitOrigin-RevId: 4ea89f60ba719ae8210d700893fcf30a4c4aab0a
2022-10-26 11:04:35 +00:00
Matthew Goodwin
2a64d1a002 feature (console): allow user to update GQL configuration for GDC source tables from the Modify Tab
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/6463
Co-authored-by: Vijay Prasanna <11921040+vijayprasanna13@users.noreply.github.com>
GitOrigin-RevId: b583d1d7e4eef4e796b820903a6be9c4e32fa316
2022-10-26 08:28:12 +00:00
Matt Hardman
0ed17e543c console: implement permissions builder for GDC
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/6429
GitOrigin-RevId: ce956e93920f7edcd032814e6f7b4daad068bb77
2022-10-26 06:58:15 +00:00
Vijay Prasanna
7452472726 feature (console): allow user to add/update/delete local relationships for GDC sources
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/6443
GitOrigin-RevId: bb4537438cd256c80be10759a1475d666014a284
2022-10-25 21:31:02 +00:00
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