Skip to content

Added new move on click plan#1637

Open
adaudon wants to merge 4 commits into
mainfrom
ui86-move_on_click
Open

Added new move on click plan#1637
adaudon wants to merge 4 commits into
mainfrom
ui86-move_on_click

Conversation

@adaudon

@adaudon adaudon commented Feb 19, 2026

Copy link
Copy Markdown
Contributor

Fixes DiamondLightSource/mx-daq-ui#86

Instructions to reviewer on how to test:

  1. Do thing x
  2. Confirm thing y happens

Checks for reviewer

  • Would the PR title make sense to a user on a set of release notes

@codecov

codecov Bot commented Feb 19, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 93.08%. Comparing base (95cdd8a) to head (6df88a3).

Additional details and impacted files
@@           Coverage Diff           @@
##             main    #1637   +/-   ##
=======================================
  Coverage   93.08%   93.08%           
=======================================
  Files         164      164           
  Lines        8989     8997    +8     
=======================================
+ Hits         8367     8375    +8     
  Misses        622      622           
Components Coverage Δ
i24 SSX 77.16% <ø> (ø)
hyperion 98.77% <ø> (ø)
other 98.17% <100.00%> (+<0.01%) ⬆️
🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@adaudon adaudon added the web ui label Feb 19, 2026
@adaudon
adaudon marked this pull request as ready for review February 19, 2026 10:47
@adaudon
adaudon requested a review from a team as a code owner February 19, 2026 10:47

@noemifrisina noemifrisina left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Thanks, a couple of things to do...

I think we may need to run this on the beamline to be totally sure it does the same as the old one

Comment thread src/mx_bluesky/beamlines/i24/web_gui_plans/oav_plans.py Outdated
Comment thread src/mx_bluesky/beamlines/i24/web_gui_plans/oav_plans.py
@adaudon
adaudon force-pushed the ui86-move_on_click branch 5 times, most recently from 069450e to 83199cc Compare March 10, 2026 16:50
@adaudon
adaudon requested a review from noemifrisina March 10, 2026 16:54
@adaudon
adaudon force-pushed the ui86-move_on_click branch from 9074afc to 80c0b04 Compare March 30, 2026 10:17
@adaudon
adaudon enabled auto-merge (squash) April 10, 2026 10:30
def test_move_on_oav_view_click(
coordinates, expected_x, expected_y, oav, pmac, run_engine
):
def fake_rd(_signal):

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Would be nice to parametrize here on a couple of different values of microns per pixel x/y just to ensure that the calculation does actually use them correctly

@rtuck99 rtuck99 left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Looks good, only one minor comment, take it or leave it

@adaudon
adaudon force-pushed the ui86-move_on_click branch from f7817ee to 6df88a3 Compare July 17, 2026 16:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

I24 SSX: Get beam centre from config server

3 participants