Skip to content

Converts UI into a web based one.#17

Open
DominicOram wants to merge 5 commits intomainfrom
14_move_to_web_ui
Open

Converts UI into a web based one.#17
DominicOram wants to merge 5 commits intomainfrom
14_move_to_web_ui

Conversation

@DominicOram
Copy link
Copy Markdown
Contributor

@DominicOram DominicOram commented Mar 26, 2026

Fixes #14

Apologies for the massive diff but I think most of it is VITE + React boilerplate

To Test

  • Follow the instructions for running the UI in the readme (both as a developer and using the docker container)
  • Confirm that the UI works (it should be self-evident how to use it)

@DominicOram DominicOram mentioned this pull request Mar 26, 2026
Copy link
Copy Markdown

@noemifrisina noemifrisina left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

In general, looks okay but I couldn't fully test it because of:

  • When running uvicorn main:app --reload, got
raise RuntimeError(f"Directory '{directory}' does not exist")
RuntimeError: Directory 'static' does not exist

Seen these both as dev and in container.

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This file and the react.svg can be removed

pip install -e .

cd calibration_ui
module load node
Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Unfortunately at the moment the default version of node on dls workstation is 21.#.# which is unsupported by some of the packages being installed. To avoid issues, I would change this to node/latest

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Move calibration to web and tidy

2 participants