Julian
c4ddb0e1f5
Display only local relationships in permissions builder
...
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/9996
GitOrigin-RevId: 8ce5c5546370fe41d6d1eb9a89bcd9ae92ecf974
2023-08-03 14:00:26 +00:00
Julian
5453617cd1
Permission tests
...
They cover the basic scenario of creating permissions.
We need to increase the amount of tests covering happy paths to prevent regressions, so this is a step forward in that direction.
This does not change logic in any way.
Adds data-testid when needed
Remove broken stories
Updates mocks
Pointing this against https://github.com/hasura/graphql-engine-mono/pull/9974 because it's based off of it. I recommend reviewing them together since they're related.
Jira ticket: https://hasurahq.atlassian.net/browse/DSF-496
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/10000
GitOrigin-RevId: 6b452684e029669b9094796bf04bd09c24d00a8f
2023-08-03 12:40:22 +00:00
Daniele Cammareri
6df45b37bf
fix: fix "Create Rest endpoint" feature for edge cases
...
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/10025
GitOrigin-RevId: e47e15797863ed461e2b6d10d51b3195894fefe8
2023-08-03 10:24:16 +00:00
Luca Restagno
24e19ac113
Fix Remote Relationship relation visualization
...
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/10030
GitOrigin-RevId: 02f26c9670bb8203ebb0750a01367ada3f4c477f
2023-08-02 16:10:54 +00:00
Vijay Prasanna
b3a5d19919
console: improvements to the stored procedure UI (error handling, empty states, prompts)
...
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/10016
GitOrigin-RevId: b44c73f9fcdfa9d51c98c5131bda02c802172dee
2023-08-02 05:31:53 +00:00
Luca Restagno
6a352555f7
Fix default value for array columns
...
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/9969
GitOrigin-RevId: 26b0af011501d49d26ab0e4657bc7d76af23e307
2023-08-01 09:50:54 +00:00
Matthew Goodwin
51c1faec08
console: Fix react query decorator cache invalidation strategy
...
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/9998
GitOrigin-RevId: 53343f6f55ff2d7354759ec81b9c66a01d893256
2023-07-31 18:14:35 +00:00
Matthew Goodwin
4290c87861
console: upgrade typescript to 5.x
...
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/9997
GitOrigin-RevId: 0730212c3f1fdab134be0d097f3e4364e3aa4e85
2023-07-31 16:07:46 +00:00
Nicolas Inchauspe
3f5e38ac5a
Console should show a clear warning when a connection string is stored in metadata
...
[DSF-459]: https://hasurahq.atlassian.net/browse/DSF-459?atlOrigin=eyJpIjoiNWRkNTljNzYxNjVmNDY3MDlhMDU5Y2ZhYzA5YTRkZjUiLCJwIjoiZ2l0aHViLWNvbS1KU1cifQ
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/9874
GitOrigin-RevId: dbe1f785d70af0d34e37764bef5c994db58b83fa
2023-07-31 14:26:11 +00:00
Nicolas Inchauspe
fcefba5349
console: propose materialized views for tracking for postgres datasource
...
[DSF-497]: https://hasurahq.atlassian.net/browse/DSF-497?atlOrigin=eyJpIjoiNWRkNTljNzYxNjVmNDY3MDlhMDU5Y2ZhYzA5YTRkZjUiLCJwIjoiZ2l0aHViLWNvbS1KU1cifQ
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/9983
GitOrigin-RevId: 6c9f252d51f0f2006673947401980b96ec2f9316
2023-07-31 08:19:57 +00:00
Vijay Prasanna
430274a3bb
console: fix extra subtitle in native query
...
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/9994
GitOrigin-RevId: 229aa560676bee74121421c188df8a7db0795287
2023-07-31 06:31:51 +00:00
Julian
a3deb5eff0
Group Permission editors into the same folder
...
This will make it easier to make changes and reuse code on the future.
They were grouped together by only the storybook title.
Now they are on the same folder, which is `frontend/libs/console/legacy-ce/src/lib/Permissions`.
Since now they are together, removed the title to all storybook stories.
Important: I did not make any behavior changes. Only moved code around. I need this for a separate PR but I thought it was good to create this isolated PR with non behavioral changes so it's easy to review (it has a lot of files changed).
Jira ticket: https://hasurahq.atlassian.net/browse/DSF-496
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/9974
GitOrigin-RevId: 940020d06e0144eac95c614f84aea122852396b9
2023-07-28 19:13:28 +00:00
Nicolas Inchauspe
d2192eca9d
console: fix query filter and sort validation
...
[DSF-488]: https://hasurahq.atlassian.net/browse/DSF-488?atlOrigin=eyJpIjoiNWRkNTljNzYxNjVmNDY3MDlhMDU5Y2ZhYzA5YTRkZjUiLCJwIjoiZ2l0aHViLWNvbS1KU1cifQ
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/9965
GitOrigin-RevId: d3fe971677033dcd3296e8f75896a57658197a8c
2023-07-28 10:02:29 +00:00
Vijay Prasanna
3aa56fc05f
console: remove comments that contain internal doc links
...
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/9978
GitOrigin-RevId: f16e82fe466039665abef1f633a82236f6288a43
2023-07-28 08:20:25 +00:00
Vijay Prasanna
929773d5b4
console: modify getTableColumns
SQL for postgres DAL method to include materialized views
...
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/9966
GitOrigin-RevId: 16fc6f7bd1c1308e27511fa6387b51564c0b9dbf
2023-07-26 14:18:55 +00:00
Julian
c00fd3d735
Permission comment cache fixes
...
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/9955
Co-authored-by: Vijay Prasanna <11921040+vijayprasanna13@users.noreply.github.com>
GitOrigin-RevId: 8efac3be27525069998556489451f2afc2eed44b
2023-07-26 10:49:16 +00:00
Luca Restagno
cf214f087d
console: show array pg data types in the drop down while creating/modifying columns
...
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/9930
GitOrigin-RevId: 32c1a2ab7ea90b06303fa0e499788a2b37bccd0b
2023-07-26 10:12:37 +00:00
Varun Choudhary
059c3e3876
console: fix headers for mutation input validation
...
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/9898
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
GitOrigin-RevId: 4e1a36b498c65a6ad9bcbe98a1dd9e87f288ac06
2023-07-26 06:39:15 +00:00
Brandon Simmons
f0441a3d61
INFRA-833: OpenTelemetry exporter for metrics
...
I scratched out some changes to support this in the front end, mostly to test it easily, maybe this can be used without much rework (validation seems to work correctly, but the tests need to be extended and probably fixed):
<img width="648" alt="fd" src="https://github.com/hasura/graphql-engine-mono/assets/68095256/e5873a90-ef83-43c3-9d54-cfc0a693baca ">
-------
## Fake OTel collector for testing
ChatGPT spit this out, and it's what I used to test, if it's useful to others:
``` python
from flask import Flask, request
from opentelemetry.proto.collector.trace.v1.trace_service_pb2 import ExportTraceServiceRequest
from opentelemetry.proto.collector.metrics.v1.metrics_service_pb2 import ExportMetricsServiceRequest
import google.protobuf.json_format as json_format
app = Flask(__name__)
@app.route("/v1/traces", methods=["POST"])
def handle_traces():
if request.method == 'POST':
binary_trace = request.get_data()
trace_request = ExportTraceServiceRequest()
trace_request.ParseFromString(binary_trace)
print("Received trace data:\n")
print(json_format.MessageToJson(trace_request, indent=2, preserving_proto_field_name=True))
return "Trace data received", 200
@app.route("/v1/metrics", methods=["POST"])
def handle_metrics():
if request.method == 'POST':
binary_metric = request.get_data()
metric_request = ExportMetricsServiceRequest()
metric_request.ParseFromString(binary_metric)
print("Received metrics data:\n")
print(json_format.MessageToJson(metric_request, indent=2, preserving_proto_field_name=True))
return "Metrics data received", 200
if __name__ == "__main__":
app.run(host="0.0.0.0", port=8080)
```
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/9552
Co-authored-by: Puru Gupta <32328846+purugupta99@users.noreply.github.com>
Co-authored-by: Toan Nguyen <1615675+hgiasac@users.noreply.github.com>
Co-authored-by: Varun Choudhary <68095256+Varun-Choudhary@users.noreply.github.com>
Co-authored-by: Daniele Cammareri <5709409+dancamma@users.noreply.github.com>
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: Rob Dominguez <24390149+robertjdominguez@users.noreply.github.com>
GitOrigin-RevId: f340bfc5c135a7bb24735b524d015e05db422fd2
2023-07-26 05:22:17 +00:00
Vijay Prasanna
1f11bd388f
console: integrate useCreateTableRelationships
and useSuggestedRelationships
hooks in the relationships tab
...
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/9939
GitOrigin-RevId: 71391115fe7403663c53dfbc0bec6e7b62019b50
2023-07-26 04:22:43 +00:00
Nicolas Inchauspe
82011af6ed
Fix and improvement on the pagination for tracked table in the new UI
...
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/9890
GitOrigin-RevId: ff1bb64321721718378de6447be9c9cc98e34c32
2023-07-25 10:41:33 +00:00
Vijay Prasanna
5681b2edff
console: fix issue with edit postgres connection when SSL settings are partially filled
...
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/9950
GitOrigin-RevId: c32eedcd9849e46207ef8125debe0c71af1922bd
2023-07-25 09:47:33 +00:00
Nicolas Inchauspe
74a0165205
console: add autocomplete off to api explorer headers editor inputs
...
[DSF-483]: https://hasurahq.atlassian.net/browse/DSF-483?atlOrigin=eyJpIjoiNWRkNTljNzYxNjVmNDY3MDlhMDU5Y2ZhYzA5YTRkZjUiLCJwIjoiZ2l0aHViLWNvbS1KU1cifQ
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/9924
GitOrigin-RevId: 93d7351610b4e72ce4147018a368667cda625f61
2023-07-25 09:20:49 +00:00
Julian
1b026af1cd
Track Mongo collections using Logical Models
...
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/9688
GitOrigin-RevId: 5523a8be0c7f4fc22cd9f3ec29527f7a714de932
2023-07-24 20:21:17 +00:00
Julian
8572f59011
Permission comments
...
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/9862
GitOrigin-RevId: cd855e584ea7bcd7b89b09e119c7b748394bfbf0
2023-07-24 19:10:36 +00:00
Julian
8bbb1bec34
Fix permission form's submit cache behavior and bug when setting relationships
...
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/9894
GitOrigin-RevId: 68587edeb5e3a923f52154d597c8002428645326
2023-07-24 18:01:37 +00:00
Vijay Prasanna
a833379b86
console (feature): add template
and timeout
props to the GDC connect UI
...
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/9883
GitOrigin-RevId: 5370b18bcab90919b94c99bd0c74c260b515a6d8
2023-07-24 15:27:30 +00:00
Vijay Prasanna
a2e15d9ae6
console (fix): use bulk_keep_going
if remote rels are present
...
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/9934
GitOrigin-RevId: 30285a2862c79de6ef57695a6739a442485b4ad2
2023-07-21 14:23:51 +00:00
nevermore
d798f74a6e
console: Schema Registry email alerts bug fix
...
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/9925
GitOrigin-RevId: 9b38a3ce347ed6d82c00303508fca0b0b9156706
2023-07-20 16:31:00 +00:00
Nicolas Inchauspe
b0c200d21b
console: prevent local storage save when SQL query > 5000 characters
...
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/9921
GitOrigin-RevId: 9d7fee122bc06639461dd2484921c4e65f852816
2023-07-20 14:17:44 +00:00
nevermore
7a3b3aa59b
console: Gt 652 email and slack alerts for schema registry
...
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/9764
GitOrigin-RevId: 4b42eb2066c5903b114ddcee3dadaa7ca7afc244
2023-07-20 08:22:57 +00:00
Matthew Goodwin
9f89096809
console: fix stale data in permission ui
...
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/9908
GitOrigin-RevId: 0c8cffde4c4285fa3d39d1c7a34a4d9234877820
2023-07-19 18:23:03 +00:00
Nicolas Inchauspe
a92bebed75
Fix adding default values while create table (SQL server) fails
...
[DSF-446]: https://hasurahq.atlassian.net/browse/DSF-446?atlOrigin=eyJpIjoiNWRkNTljNzYxNjVmNDY3MDlhMDU5Y2ZhYzA5YTRkZjUiLCJwIjoiZ2l0aHViLWNvbS1KU1cifQ
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/9855
GitOrigin-RevId: 997beda03cb6aec1c954a419fd6628cf277c0610
2023-07-19 17:51:42 +00:00
Luca Restagno
38b3c5258d
Add support for Graphql Customizations in Browse Rows
...
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/9845
Co-authored-by: Matthew Goodwin <49927862+m4ttheweric@users.noreply.github.com>
GitOrigin-RevId: c9daa739437df20daa3db7ba912dd898274e7303
2023-07-19 14:54:49 +00:00
Matthew Goodwin
1451e0ecea
storybook: remove random words to fix chromatic issues
...
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/9893
GitOrigin-RevId: d4cff0bef85d057ca896d385f2bd6d8904208293
2023-07-19 09:30:56 +00:00
Daniele Cammareri
a9468f620d
fix: mssql support for create rest endpoint feature
...
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/9876
GitOrigin-RevId: f3a027a872e70c8c94b6b6b081644c30bcfc72cb
2023-07-19 08:47:39 +00:00
Matthew Goodwin
5d9d91dbfd
console: use the refactored suggested relationships component for GDC
...
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/9878
GitOrigin-RevId: 1dcefbf82791fe1bbedb1a7bb132ef4484425781
2023-07-18 14:46:42 +00:00
Nicolas Inchauspe
0ea522ba30
console (bugfix): Fix broken highlighting of errors in the GraphiQL
tab
...
[DSF-465]: https://hasurahq.atlassian.net/browse/DSF-465?atlOrigin=eyJpIjoiNWRkNTljNzYxNjVmNDY3MDlhMDU5Y2ZhYzA5YTRkZjUiLCJwIjoiZ2l0aHViLWNvbS1KU1cifQ
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/9836
GitOrigin-RevId: d701a746a2c09436ca99c1c30b5415bd371105aa
2023-07-18 10:09:45 +00:00
Vijay Prasanna
ad64379876
console (tests): interaction tests for Native Query relationships
...
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/9831
Co-authored-by: Matthew Goodwin <49927862+m4ttheweric@users.noreply.github.com>
GitOrigin-RevId: cf488f5cc20ab77156f1e0c70ba830c3d5b6f495
2023-07-18 04:29:23 +00:00
Matthew Goodwin
4117030e09
console: suggested relationships experimental perf improvements for Postgres/MSSQL
...
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/9875
GitOrigin-RevId: 91b2a55aaa933d83ac89de1f13e0c79ca4ba40d4
2023-07-17 16:45:57 +00:00
Varun Choudhary
47d7f77976
console: add search bar to filter rest endpoints
...
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/9817
Co-authored-by: Daniele Cammareri <5709409+dancamma@users.noreply.github.com>
GitOrigin-RevId: 31f88eae3f4b4daf0fd33b8c3219eb5d08d3817b
2023-07-17 12:51:31 +00:00
Daniele Cammareri
28d5f43b9b
feat: autofill name and url in rest endpoint form
...
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/9859
GitOrigin-RevId: 5c5c43bc9f7485d5668ebc12bebea0a3e52cd9bc
2023-07-17 11:04:59 +00:00
Vijay Prasanna
8aec505707
console (feature): add support for native query relationships and editing
...
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/9523
Co-authored-by: Matthew Goodwin <49927862+m4ttheweric@users.noreply.github.com>
GitOrigin-RevId: 968a45a82cddc3d7a7d90c8edb61454768644f98
2023-07-13 16:59:47 +00:00
Daniele Cammareri
5897262d75
feat: replacement of the legacy rest endpoint details page with the new one
...
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/9821
Co-authored-by: Varun Choudhary <68095256+Varun-Choudhary@users.noreply.github.com>
GitOrigin-RevId: 7b50fc7d429c865678837e2ac9391c7b4973fa56
2023-07-13 07:58:35 +00:00
Vijay Prasanna
fbe84268d8
console (chore): update octokit
version
...
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/9850
GitOrigin-RevId: 79e1e4402e4b3fe07e441e42fd8f54c6c2b574ff
2023-07-12 14:29:39 +00:00
Luca Restagno
6ea943c4b1
[CockroachDB] Fix create manual relationships
...
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/9830
GitOrigin-RevId: f28455fa54edc65e099035c3c4dd1dd2d0ea56f7
2023-07-11 15:24:16 +00:00
Matthew Goodwin
bce4ed6f3f
console: add tab color and accent style options
...
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/9795
GitOrigin-RevId: 7aba4c497ee08df413fbb3d0da30ff751acd0064
2023-07-11 14:46:29 +00:00
Nicolas Inchauspe
b48d5640b7
Snowflake functions permissions editor
...
[DSF-408]: https://hasurahq.atlassian.net/browse/DSF-408?atlOrigin=eyJpIjoiNWRkNTljNzYxNjVmNDY3MDlhMDU5Y2ZhYzA5YTRkZjUiLCJwIjoiZ2l0aHViLWNvbS1KU1cifQ
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/9735
GitOrigin-RevId: a17582122340634cecaa16954572d46162b06a3e
2023-07-11 08:27:19 +00:00
Julian
3c330c8efc
Use boolean comparison for computed fields
...
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/9806
GitOrigin-RevId: 641d5190ec9ff8bf697834a809c51c1438df24aa
2023-07-10 18:42:38 +00:00
Matthew Goodwin
f238e7a28a
console (refactor): remove redundant metadata invalidations
...
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/9675
GitOrigin-RevId: 4a34f9f4ba09e8437824573dd3522fb4737a89d6
2023-07-10 15:27:25 +00:00
Vijay Prasanna
effbac0ffb
console: improve error message for delete all
inconsistent metadata
...
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/9803
GitOrigin-RevId: bcfba0a229c48b388ebc991088854886b27eda37
2023-07-07 16:55:07 +00:00
Luca Restagno
70ab0ec85b
Fix default metadata
...
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/9801
GitOrigin-RevId: 54b8136df4800aea583f1ae11ccadbdac4f226d0
2023-07-07 15:45:25 +00:00
Luca Restagno
f2b46f677e
Add function customization for GDC data sources
...
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/9770
GitOrigin-RevId: b27d37f02f2abbe7ec08256a5dc812c3b62e35db
2023-07-07 13:37:52 +00:00
Nicolas Inchauspe
2bc882ebc9
console: fix sticky header for table browse rows
...
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/9766
GitOrigin-RevId: 3fed2d628a3b5ce18f8e91edd6550cdd6d92c929
2023-07-07 12:45:40 +00:00
Luca Restagno
7f2fa266e6
fix: next button disabled state in paginated rows view
...
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/9791
GitOrigin-RevId: 953433a8c4bc3dfddb38a141c5e7d079a6da3618
2023-07-07 10:03:53 +00:00
Varun Choudhary
7d35304816
console: improve flow between rest and graphiql page
...
This PR adds a button on the REST page `Create REST` which will open the rest form.
Also, to select the query we have a link which will route the user to `GraphiQL` page with the `REST` button on the Nav bar highlighted.
Demo -
https://github.com/hasura/graphql-engine-mono/assets/68095256/3fab4ef2-fe21-4be6-b52d-bf8f937888aa
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/9797
GitOrigin-RevId: 848ccff74ec1489df945821f583270714ba4e770
2023-07-07 08:53:55 +00:00
Matthew Goodwin
d61d523f77
console: add missing key to component map in CardedTable
...
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/9712
GitOrigin-RevId: 531e2cfae8568326be4d5486728181c64fa82e31
2023-07-06 17:07:29 +00:00
Daniele Cammareri
9eb1097957
feat: refactor of rest endpoint details component
...
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/9783
GitOrigin-RevId: b40ef6dafd699c51da1089d0b6687c9cf934e275
2023-07-06 16:44:58 +00:00
Daniele Cammareri
e7310a1e13
feat: new design for rest endpoint form
...
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/9782
GitOrigin-RevId: 0119b9ce91f3e43bb90c62ed605dfa75c0d221e5
2023-07-06 14:27:32 +00:00
Daniele Cammareri
fa398581f5
feat: add a one-click feature to create CRUD rest endpoints from a table
...
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/9585
GitOrigin-RevId: 54757d51010a44211029d6f63714bfc08e152224
2023-07-06 09:00:23 +00:00
Nicolas Inchauspe
1a1e046b47
console: fix tree view not refreshed after SQL execution
...
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/9683
GitOrigin-RevId: 6e967052b4f8024fb1166220c777f9aa9ca3fdcf
2023-07-06 08:27:24 +00:00
nevermore
ec4ebf1e1d
console: fix schema registry heap IDs
...
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/9773
GitOrigin-RevId: 05ec9b97702a4734f28e99d36c75b420a57d7bbd
2023-07-05 13:20:00 +00:00
Luca Restagno
319e9855f9
console: add Function Custom Field Customization for Postgres
...
[DSF-449]: https://hasurahq.atlassian.net/browse/DSF-449?atlOrigin=eyJpIjoiNWRkNTljNzYxNjVmNDY3MDlhMDU5Y2ZhYzA5YTRkZjUiLCJwIjoiZ2l0aHViLWNvbS1KU1cifQ
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/9736
GitOrigin-RevId: 0f39db28f98ef1bc83b4877e4b742a9c614ec667
2023-07-05 12:32:01 +00:00
Daniele Cammareri
af51a481c2
fix request and response transform generate by import from OpenAPI wh…
...
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/9705
GitOrigin-RevId: 63c4467072d842b11fca8e0a8140b44464c4bc65
2023-07-05 11:35:08 +00:00
Nicolas Inchauspe
23d5cd2a7f
console: improve truncated column names layout
...
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/9696
GitOrigin-RevId: d13a245e1cbaab07bc73ff69aa6ebd3c2cdb0212
2023-07-03 09:41:56 +00:00
nevermore
d7f6c6cb4e
console: Schema Registry Tags
...
[GT-633]: https://hasurahq.atlassian.net/browse/GT-633?atlOrigin=eyJpIjoiNWRkNTljNzYxNjVmNDY3MDlhMDU5Y2ZhYzA5YTRkZjUiLCJwIjoiZ2l0aHViLWNvbS1KU1cifQ
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/9678
GitOrigin-RevId: fffb1bbb56a505d2c00db64cf3e15456fe6bf635
2023-07-03 07:40:14 +00:00
Matthew Goodwin
d4e05a3cbb
console: fix broken storybook tests
...
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/9716
GitOrigin-RevId: 4ce9d0f2d00c4a52e3a975c2a7044d4a5ff1be91
2023-06-30 17:10:24 +00:00
Matthew Goodwin
37dd302729
console: fixed false positives in redux syncing metadata to react-query
...
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/9713
GitOrigin-RevId: 2fe9f196282a55511f40f8d64e63d889f73381d8
2023-06-30 15:50:06 +00:00
Varun Choudhary
fb2535f088
console: fix e2e tests for event and scheduled triggers
...
Fix e2e tests for scheduled trigger and event triggers
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/9718
GitOrigin-RevId: 7fd1ed144cce96b65d824c889cd59d4163c75daf
2023-06-29 11:56:34 +00:00
Vijay Prasanna
5c0ade42e0
console: add doc link for view permissions
...
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/9717
GitOrigin-RevId: f1539ee98e5b0d1691af697a9049e7d861f7bbf1
2023-06-29 11:14:03 +00:00
Vijay Prasanna
90048c84bf
console (fix): Fix the redirect URL for partitions on the new tracking UI
...
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/9680
GitOrigin-RevId: 7db3e6f5bfd726851b35f1a11088c7027d6574ec
2023-06-29 07:00:59 +00:00
Varun Choudhary
adc8129079
console: storybook component and console integration for mutation input validation
...
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/9257
Co-authored-by: Daniele Cammareri <5709409+dancamma@users.noreply.github.com>
GitOrigin-RevId: b287e99ee0a24cc0c94529c6d31d4c43588cdf86
2023-06-28 18:31:02 +00:00
Luca Restagno
bbb466d356
fix navigation after removal of a data source
...
[DSF-450]: https://hasurahq.atlassian.net/browse/DSF-450?atlOrigin=eyJpIjoiNWRkNTljNzYxNjVmNDY3MDlhMDU5Y2ZhYzA5YTRkZjUiLCJwIjoiZ2l0aHViLWNvbS1KU1cifQ
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/9703
Co-authored-by: Vijay Prasanna <11921040+vijayprasanna13@users.noreply.github.com>
GitOrigin-RevId: 7f1a3caad428b73c7754b70a882417a2b79efd45
2023-06-28 15:09:56 +00:00
Luca Restagno
926b02755d
fix browse rows: avoid filtering columns without graphql type
...
[DSF-445]: https://hasurahq.atlassian.net/browse/DSF-445?atlOrigin=eyJpIjoiNWRkNTljNzYxNjVmNDY3MDlhMDU5Y2ZhYzA5YTRkZjUiLCJwIjoiZ2l0aHViLWNvbS1KU1cifQ
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/9682
GitOrigin-RevId: 738095c5f8f7fccd0c0798ec9c1b89eb2db0278b
2023-06-27 20:37:58 +00:00
Julian
b11203f60d
Hide relationships tab if driver does not support relationships
...
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/9660
GitOrigin-RevId: acb93f546423b99732722d6eb236f95a701c76fa
2023-06-26 18:58:36 +00:00
Matthew Goodwin
8267e88ac9
docs: add console examples for stored procedure docs
...
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/9662
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: Rob Dominguez <24390149+robertjdominguez@users.noreply.github.com>
GitOrigin-RevId: 9515b6f85c603441b2098e6d603541d6f8f44dae
2023-06-26 16:35:21 +00:00
Luca Restagno
3617aa4d8d
feat: remove gdc sources from run sql view
...
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/9659
GitOrigin-RevId: cedaf4e389b7499c2b9580f3296d54cb4b56e1ed
2023-06-26 13:52:42 +00:00
Julian
6c615fb733
Disable Permissions feature flag for native sources
...
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/9601
GitOrigin-RevId: 02b85aa80a8c3bbb88f32ba2456c8a3e558468be
2023-06-26 13:11:19 +00:00
Nicolas Inchauspe
3a81007de7
console: make browse rows table header sticky
...
[DSF-440]: https://hasurahq.atlassian.net/browse/DSF-440?atlOrigin=eyJpIjoiNWRkNTljNzYxNjVmNDY3MDlhMDU5Y2ZhYzA5YTRkZjUiLCJwIjoiZ2l0aHViLWNvbS1KU1cifQ
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/9655
GitOrigin-RevId: 5be5b6dce430a7c8066a047a3f2d4388dfb1b144
2023-06-26 09:03:21 +00:00
Vijay Prasanna
ef79d6be9f
console: UX improvement for postgres tracking UI
...
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/9578
Co-authored-by: Matthew Goodwin <49927862+m4ttheweric@users.noreply.github.com>
GitOrigin-RevId: 334a08a89a22196e8e5d11b469279690d279ed46
2023-06-23 19:06:32 +00:00
Julian
324e02b43e
Mongo: Enable browse rows and relationship tabs
...
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/9579
GitOrigin-RevId: 470b4226ce327faca4040c7b46541fc953a3cd15
2023-06-23 18:18:33 +00:00
Nicolas Inchauspe
0add59185d
console: fix line-height for table insert permissions editor inputs
...
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/9646
GitOrigin-RevId: 26859637286833646d5c74961a57143d1ad6b883
2023-06-23 17:33:26 +00:00
Luca Restagno
c0ed68886a
Add common operators for permissions
...
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/9628
GitOrigin-RevId: 2427e079353a7617fe5cdcdd9daeea5fecd4c04a
2023-06-23 16:54:00 +00:00
Nicolas Inchauspe
a7d106ec67
Generic select component
...
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/9113
Co-authored-by: Vijay Prasanna <11921040+vijayprasanna13@users.noreply.github.com>
GitOrigin-RevId: 8c2896c873053571b17a016015b9834a619cef80
2023-06-23 14:08:16 +00:00
Luca Restagno
9179135148
refactor: remove unnecessary code related to suggested relationships
...
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/9590
GitOrigin-RevId: 493707ac2b0edc567bf651b74d88f4ce19eb9735
2023-06-23 12:48:56 +00:00
Nicolas Inchauspe
3af0d49dd7
console: fix remove source cascading
...
[DSF-437]: https://hasurahq.atlassian.net/browse/DSF-437?atlOrigin=eyJpIjoiNWRkNTljNzYxNjVmNDY3MDlhMDU5Y2ZhYzA5YTRkZjUiLCJwIjoiZ2l0aHViLWNvbS1KU1cifQ
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/9642
GitOrigin-RevId: fc18f90cc328b78124b3254783b44da6cb51022e
2023-06-23 07:43:47 +00:00
nevermore
cf5de54c98
console: add lz-string as a dependency in package.json
...
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/9634
GitOrigin-RevId: 234286ca140d26e3cd906a2c97861cee5c72f330
2023-06-22 09:09:02 +00:00
Vijay Prasanna
40af05b1ee
console (fix): remove license check for Native Queries and Logical Model features on Hasura CE
...
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/9594
GitOrigin-RevId: 7c8a35b66e7d0bbeb3179d1895d1b63bccb0b588
2023-06-19 18:22:39 +00:00
Nicolas Inchauspe
92f244f9cc
console: fix operation details modal layout
...
[DSF-424]: https://hasurahq.atlassian.net/browse/DSF-424?atlOrigin=eyJpIjoiNWRkNTljNzYxNjVmNDY3MDlhMDU5Y2ZhYzA5YTRkZjUiLCJwIjoiZ2l0aHViLWNvbS1KU1cifQ
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/9495
GitOrigin-RevId: 561bb3060c7b31bafa7f9a5be8e3fe08f7462f16
2023-06-19 15:49:08 +00:00
Vijay Prasanna
530e01d458
console (refactor): common hook to create and manage table relationships
...
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/9264
GitOrigin-RevId: 0cdbaf4eefe0932bc72c852da3abf88be78de47c
2023-06-19 11:52:11 +00:00
Varun Choudhary
c55aa10515
console: fix ET e2e cypress test
...
This PR fixes the e2e tests for ET.
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/9584
GitOrigin-RevId: 39189f6a8d0819f71d09e8dddfedb8656947708d
2023-06-19 08:39:16 +00:00
Julian
e8c67b1bfc
Track nested logical models and Logical models details route
...
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/9497
GitOrigin-RevId: bd5b38b0f8ad3f1f317418631af9f85dd14b9983
2023-06-16 19:00:17 +00:00
Luca Restagno
b309fc9211
Sync redux metadata with react-query and vice versa
...
[DSF-429]: https://hasurahq.atlassian.net/browse/DSF-429?atlOrigin=eyJpIjoiNWRkNTljNzYxNjVmNDY3MDlhMDU5Y2ZhYzA5YTRkZjUiLCJwIjoiZ2l0aHViLWNvbS1KU1cifQ
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/9565
GitOrigin-RevId: 6d53d39ebd445a17186233aa056ebe4d957c386b
2023-06-16 17:00:06 +00:00
Abhijeet Khangarot
4ca19c21ac
frontend: fix neon button infinite load on error
...
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/9551
Co-authored-by: Rikin Kachhia <54616969+rikinsk@users.noreply.github.com>
GitOrigin-RevId: d9fb4842fbe4fc549ed1bb8fd5827e3b19071e99
2023-06-16 12:19:06 +00:00
Mihir A Khandekar
2fe08b6771
console: improved db latency check error handling
...
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/9563
GitOrigin-RevId: 7e7ea76cb92bd9cd0d6544467dfa01576c63241e
2023-06-16 07:37:45 +00:00
Daniele Cammareri
6f5cf01f58
chore: add useCreateRestEndpoints hook
...
## Description
This PR adds a hook to create REST endpoints for a particular table. It uses a different approach than the one used in the "Try it" feature: it uses the introspection schema query results to identify which GraphQL operations correspond to the particular rest operation we want to create. The matching is performed by looking at the comment in the graphql schema. This lets us to quickly identify the correct GraphQL operation even in the presence of schema customizations, but, on the other end, it could not work if the user disabled or changed the default comment in the schema. We evaluated that, since this is a "quick start" feature, the pros outcomes the cons.
## How to test it
- Run Storybook
- Go to the `useCreateQueryCollection ` story
- Click "Create Rest endpoint"
- look at the network tab and the changes in the metadata displayed
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/9464
GitOrigin-RevId: fc0d5f26d656a5e7f2c83ecda10703b851a88626
2023-06-15 11:01:14 +00:00
nevermore
9e5795ec0f
console: schema change alerts UI
...
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/9443
Co-authored-by: Rishichandra Wawhal <27274869+wawhal@users.noreply.github.com>
GitOrigin-RevId: a4eb6bd7922792743fe21bb6a806a5a3e3379ede
2023-06-14 19:30:10 +00:00
Vijay Prasanna
07cefed779
console: enable logical model & native query features on OSS console (only for postgres)
...
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/9540
GitOrigin-RevId: e414ba07d32d457d51bcd6f2179256c4d57234d8
2023-06-14 17:57:08 +00:00
Abhijeet Khangarot
ad5b499d06
frontend: fix neon error on database already exists
...
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/9542
GitOrigin-RevId: ffca4699d298dfc00d711661ab6705881e1fbecf
2023-06-14 16:27:56 +00:00
Philip Lykke Carlsen
5d76f9cabf
Feat: No feature flags for Native Queries and Stored Procedures
...
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/9541
GitOrigin-RevId: 81a33de3a35405c6e45cb5bad160ad00871745eb
2023-06-14 13:21:37 +00:00