Skip to content

Dashboard Integration

  • A new Dashboard.page.js file should be created under the app/pages folder
  • A new folder of graphql should be created under app folder
  • A new file with name dashboard.queries.js should be created under app/graphql folder
  • This file should contain all the queries, mutations and subscriptions (schemas) needed for the Dashboard page like:
  • Dashboard.page.js should take advantage of useQuery and useMutation from @apollo/client for the execution of the above queries

Until the actual UI become ready the Dashboard.page.js should return a dummy div.
An example of a connected page is like here https://gitlab.coko.foundation/ketida/ketida/-/blob/websocket-locks/packages/client/app/components/wax/src/EditorPageWithData.js

Edited by Alexandros Georgantas