Commit Graph

1155 Commits

Author SHA1 Message Date
Luca Restagno
1f7eed1bc5 console: fix row-level permission restrictions with boolean fields for bigquery
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/5322
GitOrigin-RevId: 3609585c4cf735aeb98747a5b701bfaa88cb46ba
2022-08-04 11:22:41 +00:00
paritosh-08
f6067cb977 server/console: add metadata API set_apollo_federation_config
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/5294
Co-authored-by: Varun Choudhary <68095256+Varun-Choudhary@users.noreply.github.com>
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
GitOrigin-RevId: 274d76ff92970ecffa43943125313ba84b07c495
2022-08-04 09:38:02 +00:00
Abhijeet Khangarot
c705f9fd17 console/heap: redact user sensitive data from title html tag
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/5312
GitOrigin-RevId: 35508cdf78cfdc1445ca052675558ba2153dbc7a
2022-08-03 15:44:00 +00:00
Luca Restagno
af97da8496 Console: jest tests files regexp + refactoring
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/5308
GitOrigin-RevId: cd057218397e724ea7a92cdd025fae508d5774a7
2022-08-03 14:53:24 +00:00
Nicolas Inchauspe
a1fc55ec89 console: React bootstrap tooltip migration
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/4959
GitOrigin-RevId: b8c8a620baeaa3228e92d058a917dbf3350d48ec
2022-08-03 12:39:30 +00:00
Stefano Magni
e22642f315 console: Define a testing strategy
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/5063
GitOrigin-RevId: 95bd682c646d104989e5756021494049cc2ac084
2022-08-03 11:35:17 +00:00
Daniele Cammareri
8040c91b1b console: upgrade to node 16 and npm 8
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/5035
Co-authored-by: Nicolas Beaussart <7281023+beaussan@users.noreply.github.com>
GitOrigin-RevId: fa80b49bc18d8aaee85ad6fc146fef3b318c51f9
2022-08-02 13:52:53 +00:00
Vijay Prasanna
274f6fb7ae refactor (console): modify file structure for the Datasource feature
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/5229
Co-authored-by: Luca Restagno <59067245+lucarestagno@users.noreply.github.com>
GitOrigin-RevId: 793e4657e7d1fd23682b403e0541808d9412b458
2022-08-02 06:53:51 +00:00
Matt Hardman
b88b3b9586 console (feat): create suggested relationship component
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/4916
Co-authored-by: mattwhaleblue <97981123+mattwhaleblue@users.noreply.github.com>
Co-authored-by: Vijay Prasanna <11921040+vijayprasanna13@users.noreply.github.com>
GitOrigin-RevId: 84c97049c809653049596976aa62cad60c4e1db8
2022-08-01 14:36:28 +00:00
Stefano Magni
ec2549095d console: Link the most important resources in the README
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/4949
GitOrigin-RevId: d29aba0140d74bdbd5e04f34ca9eb3b0cd208389
2022-08-01 08:19:20 +00:00
Nicolas Inchauspe
bc2480fb98 console: add horizontal variants for form fields wrapper CON-403
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/5147
GitOrigin-RevId: 83b13be7fc969687e5d7ea2f0ad9f56b0ca9947b
2022-07-29 18:12:59 +00:00
Varun Choudhary
9dcf73daee console: add custom names for streaming subscriptions
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/5243
GitOrigin-RevId: 08932303b6e411e306b29f0052c9f141a794b3f9
2022-07-29 11:15:40 +00:00
Abhijeet Khangarot
b0bd7883cc feature (console): add cron triggers new UI with rest connectors
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/4933
GitOrigin-RevId: a3c44c370cac016e0d1287ed4c86390f63bd67db
2022-07-28 12:13:26 +00:00
Nicolas Inchauspe
770a16c22d Replace :focus with :focus-visible for new form components
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/5203
GitOrigin-RevId: bb9d39b6a0049d8f24aa985040a5184629811b53
2022-07-27 15:52:56 +00:00
Sooraj
1f574c6eaf console: show correct GQL query when user click on "Open In GraphQL" from REST endpoints
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/5216
GitOrigin-RevId: 00516b3f5067c82b2ea2ccb60fae97766f503c5a
2022-07-27 12:58:18 +00:00
Matt Hardman
a71007566b console: update relationships forms
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/4955
Co-authored-by: Varun Choudhary <68095256+Varun-Choudhary@users.noreply.github.com>
GitOrigin-RevId: e0e54a54293779c9e1d66d1aa4ad6b24b55e0ddc
2022-07-26 15:05:45 +00:00
Sooraj
e243fccc62 console: create a hook to fetch table definition from URL
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/5007
GitOrigin-RevId: f3232d966bd97e7cc6e249c40a753fa5072265b5
2022-07-26 12:07:25 +00:00
Matt Hardman
83882bf558 console: implement clone permissions
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/4838
GitOrigin-RevId: 1cc7abc977c1296f1a2bccfcdead75fd20039d1a
2022-07-26 10:59:04 +00:00
Daniele Cammareri
b9010f1025 console: fix broken table relationship query on non-default schema
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/5132
Co-authored-by: Varun Choudhary <68095256+Varun-Choudhary@users.noreply.github.com>
GitOrigin-RevId: e034eb015405396e8359d9b81e0af4e73c3e0dd9
2022-07-26 10:25:30 +00:00
Luca Restagno
5f3e355a9f console: common track table hook
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/5040
Co-authored-by: Vijay Prasanna <11921040+vijayprasanna13@users.noreply.github.com>
GitOrigin-RevId: d4c38f6baf785a8dafb96463c595d1dc33d63959
2022-07-25 17:10:07 +00:00
Abhijeet Khangarot
a4652848e1 console: improve storybook folder structure
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/5167
GitOrigin-RevId: 384f86dda2ae7e759659a920aba2263cf36e0310
2022-07-25 08:47:07 +00:00
Vijay Prasanna
a13655080f fix (console): allow table customisation for BigQuery
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/5148
Co-authored-by: Varun Choudhary <68095256+Varun-Choudhary@users.noreply.github.com>
GitOrigin-RevId: 122d2d73d65a35126e8496a4f497adfd8059e76b
2022-07-22 12:49:04 +00:00
Matt Hardman
3c2af43817 console: add new suggested relationships hook
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/4877
Co-authored-by: mattwhaleblue <97981123+mattwhaleblue@users.noreply.github.com>
GitOrigin-RevId: d13cba6079b409cbd32f3085c816df6a9319b8ca
2022-07-22 11:47:46 +00:00
Varun Choudhary
b2cbd343bd feature (console): Single Table Tracking Customization
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/5122
Co-authored-by: Luca Restagno <59067245+lucarestagno@users.noreply.github.com>
GitOrigin-RevId: 8a630e44b6ae34925b59220920275055018e223f
2022-07-22 09:14:25 +00:00
Varun Choudhary
69d4d8c6df console: e2e test for graphql customization while adding data source
Use this docker-compose file while running the connect DB cypress test

<details>
<summary>Docker-compose file</summary>

```yaml
version: '3.6'
services:
  postgres:
    image: postgres:12
    restart: unless-stopped
    ports:
      - '5432:5432'
    volumes:
      - db_meta:/var/lib/postgresql/data
    environment:
      POSTGRES_PASSWORD: postgrespassword
  postgres12:
    image: postgres:12
    restart: unless-stopped
    ports:
      - '4432:5432'
    volumes:
      - db_pg12_data:/var/lib/postgresql/data
    environment:
      POSTGRES_PASSWORD: postgrespassword
  msserver:
    image: 'mcr.microsoft.com/mssql/server:2019-latest'
    ports:
      - '1435:1435'
    restart: unless-stopped
    environment:
      SA_PASSWORD: 'testPassword123'
      ACCEPT_EULA: 'Y'
  graphql-engine:
    image: hasura/graphql-engine:v2.8.1
    ports:
      - '8080:8080'
    depends_on:
      - 'postgres'
    restart: unless-stopped
    environment:
      HASURA_GRAPHQL_DATABASE_URL: postgres://postgres:postgrespassword@postgres:5432/postgres
      TEST_MSSQL_DATABASE_URL: DRIVER={ODBC Driver 17 for SQL Server};SERVER=msserver;Uid=SA;Pwd=testPassword123
      ## enable the console served by server
      HASURA_GRAPHQL_ENABLE_CONSOLE: 'true' # set to "false" to disable console
      ## enable debugging mode. It is recommended to disable this in production
      ## HASURA_GRAPHQL_CONSOLE_ASSETS_DIR: /srv/console-assets
      HASURA_GRAPHQL_DEV_MODE: 'true'
      HASURA_GRAPHQL_ENABLED_LOG_TYPES: startup, http-log, webhook-log, websocket-log, query-log
      ## uncomment next line to set an admin secret
      # HASURA_GRAPHQL_ADMIN_SECRET: myadminsecretkey
      HASURA_GRAPHQL_ENABLE_REMOTE_SCHEMA_PERMISSIONS: 'true'
      HASURA_GRAPHQL_EXPERIMENTAL_FEATURES: naming_convention
volumes:
  db_pg12_data:
  db_meta:
# Connect to second PG using env var DB2
# Connect to metadata PG using HASURA_GRAPHQL_METADATA_DATABASE_URL
# Connect to mssql server using connection string (not env)
# DRIVER={ODBC Driver 17 for SQL Server};SERVER=msserver;Uid=SA;Pwd=testPassword123
# PG 12 : postgres://postgres:postgrespassword@postgres12:5432/postgres
```

</details>

1. Here is the [Video](https://www.loom.com/share/bfe8b4da59ae48dca3fc9877b440c360) of the running connect db e2e test
2. We write test only for connect Postgres DB not for mssql because mssql container doesn't work on CI and on M1 laptops. Moreover, the value provided was low because we tested the same path Postgres (this was team agreement)
3. We installed @testing-library/cypress to leverage the same helper functions (we used `findByText` and `findByPlaceholderText`)
4. We used `withIn` to target a section on a page and find an element inside
5. We used a procedural approach and we added `cy.log` to improve the debugging of the test.
6. We created new helper function to test notifications -

`cy.expectSuccessNotification()`
`cy.expectSuccessNotificationWithTitle(title: string)`
`cy.expectSuccessNotificationWithMessage(message: string)`
`cy.expectErrorNotification()`
`cy.expectErrorNotificationWithTitle(title: string)`
`cy.expectErrorNotificationWithMessage(message: string)`

PR-URL: https://github.com/hasura/graphql-engine-mono/pull/4960
Co-authored-by: Luca Restagno <59067245+lucarestagno@users.noreply.github.com>
Co-authored-by: Brandon Simmons <210815+jberryman@users.noreply.github.com>
Co-authored-by: Samir Talwar <47582+SamirTalwar@users.noreply.github.com>
Co-authored-by: Divi <32202683+imperfect-fourth@users.noreply.github.com>
Co-authored-by: Karthikeyan Chinnakonda <15602904+codingkarthik@users.noreply.github.com>
Co-authored-by: Erik Magnusson <32518962+ejkkan@users.noreply.github.com>
Co-authored-by: Vishnu Bharathi <4211715+scriptnull@users.noreply.github.com>
Co-authored-by: Jesse Hallett <9622+hallettj@users.noreply.github.com>
Co-authored-by: Abby Sassel <3883855+sassela@users.noreply.github.com>
Co-authored-by: David Overton <7734777+dmoverton@users.noreply.github.com>
Co-authored-by: Daniel Chambers <1214352+daniel-chambers@users.noreply.github.com>
Co-authored-by: Lyndon Maydwell <92299+sordina@users.noreply.github.com>
Co-authored-by: paritosh-08 <85472423+paritosh-08@users.noreply.github.com>
Co-authored-by: Gil Mizrahi <8547573+soupi@users.noreply.github.com>
Co-authored-by: Benoit Ranque <25712958+BenoitRanque@users.noreply.github.com>
Co-authored-by: Daniel Harvey <4729125+danieljharvey@users.noreply.github.com>
Co-authored-by: Tom Harding <6302310+i-am-tom@users.noreply.github.com>
Co-authored-by: Solomon <24038+solomon-b@users.noreply.github.com>
Co-authored-by: Antoine Leblanc <1618949+nicuveo@users.noreply.github.com>
Co-authored-by: Evie Ciobanu <1017953+eviefp@users.noreply.github.com>
Co-authored-by: Vijay Prasanna <11921040+vijayprasanna13@users.noreply.github.com>
Co-authored-by: Naveen Naidu <30195193+Naveenaidu@users.noreply.github.com>
Co-authored-by: Abhijeet Khangarot <26903230+abhi40308@users.noreply.github.com>
Co-authored-by: Rob Dominguez <24390149+robertjdominguez@users.noreply.github.com>
Co-authored-by: Puru Gupta <32328846+purugupta99@users.noreply.github.com>
Co-authored-by: Daniele Cammareri <5709409+dancamma@users.noreply.github.com>
Co-authored-by: Marion Schleifer <5722022+marionschleifer@users.noreply.github.com>
GitOrigin-RevId: a50879ee790d3409c0b97c87a0e3d2b793c9ff37
2022-07-21 09:31:55 +00:00
Daniele Cammareri
b326fd978a pro: remove ssr from pro console
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/5047
GitOrigin-RevId: 82a21c7286943870ff64b3a21520f8217cd24c48
2022-07-21 06:16:06 +00:00
Daniele Cammareri
359d421819 console(local-dev): remove ssr for local development
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/4976
GitOrigin-RevId: 94b0b87911375996b03d7532ce2ae36cccc8da71
2022-07-20 16:05:04 +00:00
Abhijeet Khangarot
214ec9aa5d console: move request headers component to new components and add stories
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/4956
GitOrigin-RevId: 7d9530889067389684330c886276502b398ef813
2022-07-20 10:26:02 +00:00
Vijay Prasanna
9e9dff763b feature (console): Add navigation tree for GDC sources
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/5016
GitOrigin-RevId: 062a7a90ff9db90dbbddda16e0568d9ab3ba51ad
2022-07-19 06:12:32 +00:00
Varun Choudhary
c34885c8dc console: fix remote schemas UI bugs
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/5002
GitOrigin-RevId: 5a80418aa7e7cec8d426007953bddeef014ffe49
2022-07-14 09:20:38 +00:00
paritosh-08
25a027ba79 server/console: use root_field_namespace as prefix for remote schema
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/5000
GitOrigin-RevId: 6427691e1609e939b4245d90cff20de72b18e99a
2022-07-13 05:30:04 +00:00
Benoit Ranque
6532a658eb console: fix analyze button staying in analyzing state after analyze failed (close #4440)
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/4441
Co-authored-by: Sooraj <8408875+soorajshankar@users.noreply.github.com>
Co-authored-by: Varun Choudhary <68095256+Varun-Choudhary@users.noreply.github.com>
GitOrigin-RevId: 80f01ccb82a4899ed2f7f601cf122c57fdd558eb
2022-07-12 14:40:49 +00:00
Varun Choudhary
6d2c8f1ec3 console: fix UI bugs on edits row
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/5009
GitOrigin-RevId: 9cac0fa9fbe527b34e97a1b8091d498c132b896f
2022-07-12 10:21:23 +00:00
Erik Magnusson
387285b8f1 refactor (console): migrate api section to tailwind
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/4820
GitOrigin-RevId: 541b15e64cc15f5db444304cbc02f75ff93577a4
2022-07-06 14:48:03 +00:00
Stefano Magni
fc753ffb42 console: Update Cypress to v10 and run the migration guide
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/4849
GitOrigin-RevId: 10e0fd62344a0c5c7028ad480b747b7f64c9c773
2022-07-05 08:51:35 +00:00
Varun Choudhary
4a129042fa console: implement new design for naming convention and edit functionality for Graphql Field Customization
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/4859
Co-authored-by: Rikin Kachhia <54616969+rikinsk@users.noreply.github.com>
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: Matt Hardman <28978422+mattshardman@users.noreply.github.com>
GitOrigin-RevId: ebe25491b90caf9d1de091072727503d666469fe
2022-07-01 13:00:06 +00:00
Abhijeet Khangarot
87080bffe2 console: fix tracking items failed error when creating a BigQuery table via the console
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/4834
GitOrigin-RevId: 9928cd61b122647eeaa4624057080e246e73d00d
2022-07-01 07:26:17 +00:00
Nicolas Inchauspe
c8aa0f3e42 console: migrate REST endpoint form to new components
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/4701
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
GitOrigin-RevId: eb1948254eeface1da2eb58257a74e06e1263c7e
2022-06-30 14:17:52 +00:00
Luca Restagno
ea89170c06 console: fix pro-cli user access issue on security tab and read replica configuration
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/4744
GitOrigin-RevId: e40903fe4942f042f4778ba0fffab68af89b032c
2022-06-30 13:39:55 +00:00
Luca Restagno
27398f40f4 console: fix cloud console header active tab highlighting
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/4799
Co-authored-by: Nicolas Beaussart <7281023+beaussan@users.noreply.github.com>
GitOrigin-RevId: bc5b1c99f555ec39a43fbad5407461e8419003fa
2022-06-30 08:07:15 +00:00
Stefano Magni
07875ace0f console: Fix the Action with Transform E2E test
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/4883
GitOrigin-RevId: 37344cd834cf53b127b3f69a0952f81486aca9b1
2022-06-29 17:22:05 +00:00
Abhijeet Khangarot
2fc1bafb40 console: fix supported features tracking flag not disabling tracking
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/4872
GitOrigin-RevId: 94d81621861dca944dc7d6702775a74ff6edcf3a
2022-06-29 08:57:18 +00:00
Abhijeet Khangarot
4d21f4d86b console: update connect database form to show helper text for SSL certificates fields
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/4870
GitOrigin-RevId: c7117855d3acc5f8e097b2331228d163473bee82
2022-06-28 13:12:09 +00:00
Rishichandra Wawhal
e617dccec5 console: ux fixes for sample database experiment
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/4875
GitOrigin-RevId: c1aedc5fae78b74165d612534392808b86becb9a
2022-06-28 11:45:04 +00:00
Vijay Prasanna
3d2ad8fdbb feat (console): add connect db UI that works via the data abstraction layer
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/4763
GitOrigin-RevId: 6fae278b86d7cc56d4f7980ddeb5bea7afd55f1a
2022-06-28 09:33:58 +00:00
Stefano Magni
fb1dc2e0ba console: improve actions E2E tests with rest connectors
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/4520
GitOrigin-RevId: 24d9176dc5f93747e4b3a12ed08171064e75900e
2022-06-28 05:40:36 +00:00
Rishichandra Wawhal
d70ba47f5f console: on clicking "Use Sample DB", toast helper text for the subsequent action
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/4856
GitOrigin-RevId: 19ff9f46f1ba255980ff5e54e1a0669c5b111ba9
2022-06-27 12:22:15 +00:00
Stefano Magni
5cfec727ec console: Remove the Pro Console E2E tests
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/4511
Co-authored-by: Vishnu Bharathi <4211715+scriptnull@users.noreply.github.com>
GitOrigin-RevId: 916efec269f067ca628df739e0e7cb6cd26d20f2
2022-06-24 16:02:09 +00:00
Rishichandra Wawhal
b42bfe2c10 console, pro-console: allow trying sample read-only database in cloud console
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/4833
GitOrigin-RevId: edc0550336b1edc9cf8706753e3ac6b336fa6a2c
2022-06-24 14:34:03 +00:00
Stefano Magni
717cf4fa86 console: Refactor the Action With Transform E2E tests
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/4519
GitOrigin-RevId: 1bcef6b5525e3bf361000ca1905e04cebe18542a
2022-06-24 13:38:34 +00:00
Stefano Magni
899ea09d8b console: Refactor the Query Action E2E tests
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/4513
GitOrigin-RevId: 72ef55a79cfca193d81c8998324f94b37e575438
2022-06-23 14:58:59 +00:00
Varun Choudhary
866164357c console: support naming convention in source customization for postgres DB [CON-297]
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/4823
GitOrigin-RevId: a6a3bfcb9c7e16dd551d14dde3d424d07b8f1d15
2022-06-23 06:51:16 +00:00
Abhijeet Khangarot
d704103d8b console: fix notifications not getting displayed on pro console
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/4795
GitOrigin-RevId: f23f89683729092ace107f00515a3b90573e8f03
2022-06-22 19:20:01 +00:00
Varun Choudhary
1082b6f54d console: update connection settings UI on connect db page [CON-273]
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/4803
GitOrigin-RevId: d16ae487426c96ef1593f93524172a55837e2291
2022-06-22 13:14:59 +00:00
Varun Choudhary
d8304fcbaa console: hide hdb_catalog from data section sidebar for SQL Server DB
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/4804
GitOrigin-RevId: 3144e04fc69c691e760dc0c2c4735573bb0990c4
2022-06-22 13:14:49 +00:00
Benoit Ranque
e6614db17b console: Hide timescaledb internal schema from data tab
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/4439
Co-authored-by: Sooraj <8408875+soorajshankar@users.noreply.github.com>
GitOrigin-RevId: 49c746e8d23b87363462942d4823c7ab9de2744e
2022-06-22 07:38:38 +00:00
Stefano Magni
1aa71145ba console: Unify the Mutation Action E2E tests
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/4509
GitOrigin-RevId: e5b579988b426cb44575c9674056f4b2e539c165
2022-06-20 21:40:07 +00:00
Erik Magnusson
bcc34fa7e6 style (console): migrate settings page to tailwind [CON-261]
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/4680
GitOrigin-RevId: 45048baf3233904d2688f9f7a0b304ad8d0cd16a
2022-06-20 08:40:46 +00:00
Sooraj
210caf4cba console: fix storybook interaction tests
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/4780
Co-authored-by: Vishnu Bharathi <4211715+scriptnull@users.noreply.github.com>
GitOrigin-RevId: 73bf516f731d3e096a26d8a6ea65176fd83851d3
2022-06-20 07:27:20 +00:00
Varun Choudhary
b2bcb03824 console: disable edit, delete and select row from browse rows for mssql db
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/4741
GitOrigin-RevId: 31c7190a961e17003c240e320d99a169d0428bc2
2022-06-20 05:25:08 +00:00
Stefano Magni
b2103cda61 console: Refactoring the Mutation Actions-related E2E tests
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/4482
GitOrigin-RevId: bd628911e607ab41399b31f7dd8fe9c361e0f052
2022-06-17 14:07:16 +00:00
Sooraj
b099ee5d66 console: add new table relationships tab to console
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/4582
Co-authored-by: Matt Hardman <28978422+mattshardman@users.noreply.github.com>
GitOrigin-RevId: 3b362076a60b2dee73ee84945de23a0e7c1bcef0
2022-06-16 18:11:38 +00:00
Stefano Magni
d769800086 console: Halt collecting the E2E tests code coverage CON-203
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/4510
GitOrigin-RevId: 2fff40627278e6e8eb48bc4d466ce499e7669ca7
2022-06-16 16:18:26 +00:00
Erik Magnusson
21f9a614d2 fix: fixed isolated solution to failed bootstrap migration dropdown
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/4740
GitOrigin-RevId: 2244e9834d3e979a0ffc1c6ed0774dd72cfa301e
2022-06-16 15:38:51 +00:00
Abhijeet Khangarot
132dffe4cf console: add support for mssql event triggers
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/4558
Co-authored-by: Vijay Prasanna <11921040+vijayprasanna13@users.noreply.github.com>
GitOrigin-RevId: 003710bc198caaf32a0c982d59aee9046d92aaf8
2022-06-15 14:56:37 +00:00
Luca Restagno
31fb04e201 console: GQL field customization while adding databases
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/4703
Co-authored-by: Rikin Kachhia <54616969+rikinsk@users.noreply.github.com>
Co-authored-by: Daniel Harvey <4729125+danieljharvey@users.noreply.github.com>
GitOrigin-RevId: 885d7f9c459a0eb1e01f534a859465552ae76343
2022-06-15 11:09:40 +00:00
Vijay Prasanna
888126ecb4 fix (console): breaking modify tab for mssql
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/4718
GitOrigin-RevId: 1a350c756fbac73c334546f4a3adbcc27ed1b73c
2022-06-14 14:15:33 +00:00
Erik Magnusson
40ba20f7f7 console: migrate events to tailwind
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/4552
GitOrigin-RevId: 7b4d54ec00c3ed7e8c48a3a6f0c4569ee38966e5
2022-06-13 09:25:07 +00:00
Rikin Kachhia
7d8fa3a5ee console: add support for computed fields with session arg in permission builder
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/4417
GitOrigin-RevId: 5fc528c9a3ab87a885ad2b85c3b2bde557ab6a22
2022-06-13 06:53:14 +00:00
Vijay Prasanna
e4fc6a868e feat (console): setup a simple data abstraction layer
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/4640
GitOrigin-RevId: 003cbce502f196deed03960af139617876f5e76f
2022-06-09 09:01:00 +00:00
Benoit Ranque
525361d3d2 escape sql underscores in LIKE expressions (close #8435)
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/4596
GitOrigin-RevId: 48f143b8e6bbc60371656cc4bfbae1a5864f9921
2022-06-08 18:54:19 +00:00
Sooraj
1840e527b7 feat (console): show local DB relationships in the relationships table
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/4626
GitOrigin-RevId: b54e9b546ae29c42b17b4957ffcd29a3ddabd48b
2022-06-08 12:54:17 +00:00
Erik Magnusson
a170ac26e2 refactor (console): migrate data tab modify section to tailwind
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/4638
GitOrigin-RevId: bbcbf3bc4e86e3bfc0294ee486e4a6fd91224664
2022-06-08 12:07:54 +00:00
Erik Magnusson
cb638e7168 refactor (console): migrate insert rows tab to tailwind
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/4599
GitOrigin-RevId: c78bcf061fd935b0c566466135f673175cd11cf7
2022-06-08 08:00:15 +00:00
Erik Magnusson
f3278de0a7 refactor (console): migrate old browse rows' css to tailwind
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/4609
Co-authored-by: Puru Gupta <32328846+purugupta99@users.noreply.github.com>
GitOrigin-RevId: 4e89125550c24ff058eadd53c0769893c8087936
2022-06-07 10:42:56 +00:00
Erik Magnusson
74fdabf4e2 Con 229 migrate remote schemas to tailwind
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/4565
GitOrigin-RevId: dbba6febf20c850a41ba9e54358d32f1c84f8ab3
2022-06-07 09:57:22 +00:00
Matt Hardman
0390bd449b console: integrate relationships table component to Data tab
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/4353
GitOrigin-RevId: 558b4d02be04e932c02dee885d7c7d4dea983a33
2022-06-05 06:51:56 +00:00
Samir Talwar
807fdd7347 console: Automatically install node_modules.
When running `npm run server-build`, this step will make sure that `npm
ci` is run first if necessary.

It will run whenever _package.json_ or _package-lock.json_ are changed.

PR-URL: https://github.com/hasura/graphql-engine-mono/pull/4624
GitOrigin-RevId: ac3fb326938746e50ad743504493896011d45f0f
2022-06-03 12:40:27 +00:00
Samir Talwar
ccbeea0e8b console: Factor out downloading assets.
This pulls the script to download the common assets out of the
`server-build` Makefile target into its own target. Because we use the
output directory name as the target, we allow `make` to decide whether
it's necessary.

As there are no inputs to the target, it will only be done once.

Behavior should be unaffected.

PR-URL: https://github.com/hasura/graphql-engine-mono/pull/4617
GitOrigin-RevId: 15d64467c92be761f2738d179b1b027abe8bd8ca
2022-06-03 07:23:52 +00:00
Vijay Prasanna
2fe553df47 fix (console): fixes broken alignment in manage database table
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/4623
GitOrigin-RevId: 426336272835c680d3ec675588d30e925369a11f
2022-06-03 06:01:59 +00:00
Varun Choudhary
09333e3e47 console: add recommendation note to add remote schema via env vars
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/4615
GitOrigin-RevId: a74fb7eaf8115a67916cedeb58a73c2529b15de4
2022-06-02 11:39:57 +00:00
Nicolas Beaussart
5abd0a8b81 remove font awesome and fix the setting gears
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/4595
Co-authored-by: Varun Choudhary <68095256+Varun-Choudhary@users.noreply.github.com>
GitOrigin-RevId: 8c735dad289e619c4b79141043c76c14ebfd24be
2022-06-02 09:22:54 +00:00
Varun Choudhary
55ab5c1d48 console: allow users to add remote schema URL from env var [CON-191]
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/4561
Co-authored-by: Vijay Prasanna <11921040+vijayprasanna13@users.noreply.github.com>
GitOrigin-RevId: 835c476082abcb16cdfaafa4679d6870c445f395
2022-06-02 08:31:05 +00:00
Naveen Naidu
11867b50a4 server: extend backend_only setting for update and delete permissions
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/4530
Co-authored-by: Karthikeyan Chinnakonda <15602904+codingkarthik@users.noreply.github.com>
Co-authored-by: Rikin Kachhia <54616969+rikinsk@users.noreply.github.com>
GitOrigin-RevId: c4c1a3bd9736ec275e77c6f55c76049c550443f9
2022-05-31 14:42:14 +00:00
Matt Hardman
f611ee232a CON-151-create-db-to-local-relationship-hook-for-object-and-array-relationships
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/4472
GitOrigin-RevId: e10abcfa861067ba101348d0cd4e670b8dcbadf8
2022-05-31 11:44:41 +00:00
Varun Choudhary
2447b43017 CON-190-add tooltip message to header section of remote schema
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/4559
GitOrigin-RevId: d4edd80e5b38930f43172bb00392102a26812196
2022-05-31 06:50:30 +00:00
Abhijeet Khangarot
b09bb602bd console: add support for application/x-www-form-urlencoded in rest connectors
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/4354
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: 44dc48f3f226c57aac4393133245bf70d5f68acd
2022-05-30 13:51:15 +00:00
Varun Choudhary
37ee2bfe53 console: remote schema relationships improvements
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/4542
Co-authored-by: Rikin Kachhia <54616969+rikinsk@users.noreply.github.com>
Co-authored-by: Sooraj <8408875+soorajshankar@users.noreply.github.com>
GitOrigin-RevId: 1def55bb692d8bb075525231c153d1aa1463a5bb
2022-05-27 09:57:05 +00:00
Erik Magnusson
3f479481c8 console: migrate action tab to tailwind
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/4531
GitOrigin-RevId: 98b8ae2433207c8983b057a53028621130ff296e
2022-05-25 14:20:34 +00:00
Varun Choudhary
41955bf86f CON-185-Remove any icons left in the CE codebase
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/4527
GitOrigin-RevId: 6cb3bda20811b05415f1a35b8bb767be88b44a46
2022-05-25 12:11:43 +00:00
Alberto Francesco Motta
4929d3135a [CON-209] Fix regression with ExpandButton icon on Browse rows
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/4515
GitOrigin-RevId: 8b298c819fb8c8071edb8f61605c8413b145247b
2022-05-20 08:07:08 +00:00
Vijay Prasanna
cca5c548a7 console: clean up useMetadataMigration hook
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/4479
GitOrigin-RevId: 35e583b879be7eb65a1495ee8b7c9d3335889ca8
2022-05-12 13:25:30 +00:00
Abhijeet Khangarot
936ee990c2 console: fix console crash on adding pg sources with connection params
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/4485
GitOrigin-RevId: 00230fd2563fae9dcbdc03af5927dfeb1a82b965
2022-05-12 12:15:53 +00:00
Varun Choudhary
43622f3011 CON-161-Swap to react icons in the events + actions tab
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/4461
GitOrigin-RevId: 6668cfc6cf97d9e8c4c78705f5d26893e006085e
2022-05-12 11:08:20 +00:00
Varun Choudhary
aadf87aec6 CON-160-Swap to react icons in the data tab
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/4456
GitOrigin-RevId: 1d68c9f18cd330d640dfc33f0f7e4b6a98e410b1
2022-05-12 10:11:19 +00:00
Matt Hardman
ff32795894 CON-125-update-the-relationships-table-component-to-use-the-metadata-selector
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/4312
Co-authored-by: Varun Choudhary <68095256+Varun-Choudhary@users.noreply.github.com>
GitOrigin-RevId: c195a292e85e2904e0f3d6506dfce08f740c3ac6
2022-05-12 07:30:51 +00:00
Varun Choudhary
8a03abaf0b CON-159-Swap to react icons in the main layout (/main + /login)
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/4455
GitOrigin-RevId: bfbef97761174182bbab13d2390d0646b848ac17
2022-05-10 12:49:11 +00:00
Vijay Prasanna
db07dcf60d console: new "add remote schema" page (with GQL customization)
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/4428
GitOrigin-RevId: d8f82ffe86fd59abb43afa195b40c2fdafabb847
2022-05-10 11:32:32 +00:00
Varun Choudhary
f7b4d32941 CON-162-Swap to react icons in the remote schemas + settings + feature flag
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/4462
GitOrigin-RevId: 57c43f73603a63641363e578e3a8440eb1d3b586
2022-05-10 07:38:04 +00:00
Varun Choudhary
dcb8f7a4c9 CON-158-Swap to react icons in the common folder of oss codebase
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/4434
Co-authored-by: Nicolas Beaussart <7281023+beaussan@users.noreply.github.com>
GitOrigin-RevId: 1b7b7beb30b6ee7f6a4960801a011c5deea620cc
2022-05-06 10:38:32 +00:00