Tergite Frontend


[2024.12.1]

released on: 20th of December 2024

Added

  • Dashboard:

    • Added run-nginx.sh script to help initialize/update the variables like cookie names API urls and the like in docker prebuilt containers.

Changed

  • Updated the Github actions to push the ‘:latest’ tag along side the version tag to docker registry
  • Updated prebuilt-docker-compose.yml to pick relevant values from the environment as well as from mss-config.toml for the dashboard docker compose service

Fixed

  • Fixed the ‘parent-folder’ image not found error in the Github actions for the dashboard

[2024.12.0]

released on: 11th of December 2024

Added

  • Added the admin pages for managing user access in the tergite-dashboard app.

    • Added the tokens list page for viewing, editing and deleting tokens of current user
    • Added the projects list page for viewing, requesting QPU time and deleting projects for current user
    • Added admin page for viewing, and approving user requests
    • Added admin page for viewing, editing, deleting and creating new projects
    • Added close button on the job detail drawer on the home page
  • Added user access endpoints to the v2 API version of the tergite-mss app.

    • Added GET /v2/me endpoint to get current user info
    • Added DELETE /v2/me/projects/{id} endpoint to delete project current user administers
    • Added GET /v2/admin/qpu-time-requests endpoint to get all user requests to increase QPU seconds on a project
    • Added POST /v2/admin/qpu-time-requests endpoint for project members to request for more QPU seconds
    • Added GET /v2/admin/user-requests endpoint for admins to retrieve a list of user requests
    • Added PUT /v2/admin/user-requests/{id} endpoint for admins to update (e.g. approve/reject) as user request
    • Added POST /v2/admin/projects/ endpoint for admins to create a new project
      • Creates new empty user if non-existent emails are passed as user_emails or admin_email
    • Added GET /v2/admin/projects/ endpoint for admins to retireve a list of projects
    • Added GET /v2/admin/projects/{id} endpoint for admins to view a project of given id
    • Added PUT /v2/admin/projects/{id} endpoint for admins to update a project of given id
      • Creates new empty user if non-existent emails are passed as user_emails or admin_email
    • Added DELETE /v2/admin/projects/{id} endpoint for admins to soft delete a project
    • Added the PUT /auth/me/app-tokens/{token_id} endpoint for extending app token’s lifetimes
    • Added the PUT /v2/me/tokens/{token_id} endpoint for extending app token’s lifetimes
    • Added user access endpoints to the v2 API version of the tergite-mss app.
  • Added the MSS_PORT environment variable to the .env.example to configure the port on which tergite-mss runs on in docker compose.

  • Added the NETWORK_MODE environment variable to the .env.example to configure the network_mode to use in docker compose file

Fixed

  • tergite-mss

    • Fixed the not found error when deleting expired app tokens
    • Fixed httpx version to 0.27.2 as 0.28.0 removes many deprecations that we were still dependent on in FastAPI testClient

Changed

  • tergite-dashboard

    • Changed devices page to show ‘no devices found’ when no devices are available.
    • Changed to show sidebar placeholder on admin user requests page when no user request is selected

[2024.09.1]

released on: 24th of September 2024

Added

  • Added example scopes in the mss_config.example.toml in tergite-mss
  • Added units ‘Hz’ and ‘s’ to calibration data schema

Fixed

  • Fixed CORS error when dashboard and MSS are on different domains or subdomains
  • Fixed ‘AttributeError: ’NoneType’ object has no attribute ‘resource_usage’’ on GET /v2/me/jobs

Changed

  • Removed archives folder in tergite-mss
  • Removed dev folder in tergite-mss
  • Changed all calibration v2 properties optional
  • Normalized calibration data to have frequencies in GHz and durations in microseconds in the dashboard

[2024.09.0]

released on: 2nd of September 2024

Added

  • Added the tergite-dashboard app. It included:
    • Device summary list on the dashboard home
    • Jobs list on the dashboard home
    • Jobs detail drawer on the dashboard home
    • Device list page
    • Device detail page
    • Error page
  • Added v2 endpoints on Tergite MSS including
    • /v2/me/projects/ to GET, POST current cookie user’s projects
    • /v2/me/projects/{project_id} to GET, PUT current cookie user’s single project
    • /v2/me/tokens/ to GET, POST current cookie user’s application tokens
    • /v2/me/tokens/{token_id} to GET, PUT current cookie user’s application token
    • /v2/me/jobs/ to GET current cookie user’s jobs (with option of specifying project id)
    • /v2/auth/providers to GET the available Oauth2 provider corresponding to a given email domain
    • /v2/auth/{provider}/authorize to POST Oauth2 initialization request for given provider
    • /v2/auth/{provider}/callback to handle GET redirects from 3rd party Oauth2 providers after successful login
    • /v2/auth/logout to handle POST requests to logout the current user via cookies
    • /v2/calibrations/ to GET, POST calibration data for all devices. POST is available for only system users.
    • /v2/calibration/{device_name} to GET calibration data for the device of the given device_name
    • /v2/devices to GET, PUT (upsert) all devices. PUT is available for only system users.
    • /v2/devices/{name} to GET, PUT the device of a given name. PUT is available for only system users.

Changed

  • Removed the tergite-landing-page app
  • Removed the tergite-webgui app

[2024.04.1]

released on: 28th of May 2024

Initial Public Release

Changed

  • Updated the contribution guidelines and government model statements
Back to top