fix(gui): add "Show beam crosshair" toggle to the camera right-click menu #236

Merged
duan_j merged 3 commits from feat/gui-statusbar-pin-right into main 2026-09-18 16:39:09 +02:00
Owner

Right-clicking the sample camera now offers a checkable "Show beam
crosshair" entry. When on, two full-frame lines through the beam center
are drawn with the same pen as the beam box, so the crosshair follows
the beam state color. Off by default so the view stays as before.

Co-Authored-By: Claude Fable 5.1 noreply@anthropic.com

Right-clicking the sample camera now offers a checkable "Show beam crosshair" entry. When on, two full-frame lines through the beam center are drawn with the same pen as the beam box, so the crosshair follows the beam state color. Off by default so the view stays as before. Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
duan_j added 1 commit 2026-09-18 11:38:07 +02:00
fix(gui): add "Show beam crosshair" toggle to the camera right-click menu
CI / lint (push) Skipped
CI / test (3.12) (push) Skipped
CI / test (3.13) (push) Skipped
CI / test-with-beamline-plugins (pxi_bec) (push) Skipped
CI / test-with-beamline-plugins (pxii_bec) (push) Skipped
CI / test-with-beamline-plugins (pxiii_bec) (push) Skipped
CI / lint (pull_request) Successful in 49s
CI / test (3.12) (pull_request) Successful in 1m10s
CI / test (3.13) (pull_request) Successful in 1m11s
CI / test (3.14) (pull_request) Successful in 1m17s
CI / test-with-beamline-plugins (pxi_bec) (pull_request) Successful in 1m13s
CI / test-with-beamline-plugins (pxii_bec) (pull_request) Successful in 1m14s
CI / test-with-beamline-plugins (pxiii_bec) (pull_request) Successful in 1m36s
CI / test-with-coverage (pull_request) Successful in 1m23s
CI / coverage-analysis (pull_request) Successful in 2m7s
b5e6159118
Right-clicking the sample camera now offers a checkable "Show beam
crosshair" entry. When on, two full-frame lines through the beam center
are drawn with the same pen as the beam box, so the crosshair follows
the beam state color. Off by default so the view stays as before.

Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>

Coverage report (automated)

Total line + branch coverage: 51%
Diff coverage vs main: 100% (minimum 80%)

Full report: coverage artifact on this run.

Coverage report (automated) Total line + branch coverage: 51% Diff coverage vs main: 100% (minimum 80%) Full report: coverage artifact on this run.
duan_j added 1 commit 2026-09-18 15:09:11 +02:00
style: have the cross hair not too long, just a small cross
CI / lint (push) Skipped
CI / test (3.12) (push) Skipped
CI / test (3.13) (push) Skipped
CI / test-with-beamline-plugins (pxi_bec) (push) Skipped
CI / test-with-beamline-plugins (pxii_bec) (push) Skipped
CI / test-with-beamline-plugins (pxiii_bec) (push) Skipped
CI / lint (pull_request) Successful in 44s
CI / test (3.12) (pull_request) Successful in 1m2s
CI / test (3.13) (pull_request) Successful in 1m10s
CI / test (3.14) (pull_request) Successful in 1m15s
CI / test-with-beamline-plugins (pxii_bec) (pull_request) Successful in 1m16s
CI / test-with-beamline-plugins (pxi_bec) (pull_request) Successful in 1m29s
CI / test-with-beamline-plugins (pxiii_bec) (pull_request) Successful in 1m27s
CI / test-with-coverage (pull_request) Successful in 1m46s
CI / coverage-analysis (pull_request) Successful in 4s
3f404af069
Anuschka and Katherine really need it
duan_j added 1 commit 2026-09-18 16:37:13 +02:00
style(gui): soften the mounted-sample HUD ink on light themes
CI / lint (pull_request) Successful in 51s
CI / test (3.12) (pull_request) Successful in 1m18s
CI / test (3.14) (pull_request) Successful in 1m15s
CI / test (3.13) (pull_request) Successful in 1m23s
CI / test-with-beamline-plugins (pxii_bec) (pull_request) Successful in 1m16s
CI / test-with-beamline-plugins (pxi_bec) (pull_request) Successful in 1m23s
CI / test-with-beamline-plugins (pxiii_bec) (pull_request) Successful in 1m38s
CI / test-with-coverage (pull_request) Successful in 1m41s
Docs build and publish / docker (push) Successful in 10s
CI / lint (push) Successful in 35s
CI / coverage-analysis (pull_request) Successful in 10s
CI / test (3.12) (push) Canceled after 48s
CI / test (3.13) (push) Canceled after 43s
CI / test (3.14) (push) Canceled after 43s
CI / test-with-beamline-plugins (pxi_bec) (push) Canceled after 38s
CI / test-with-beamline-plugins (pxii_bec) (push) Canceled after 38s
CI / test-with-beamline-plugins (pxiii_bec) (push) Canceled after 33s
CI / test-with-coverage (push) Canceled after 33s
CI / coverage-analysis (push) Canceled after 0s
Build and Publish / release (push) Successful in 20s
79bb351437
Pure black (SHADOW) over the camera image read too harsh; use the
theme text ink (TEXT) with the same white halo instead. Sunset keeps
white on black.

Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
duan_j scheduled this pull request to auto merge when all checks succeed 2026-09-18 16:38:33 +02:00
duan_j merged commit 79bb351437 into main 2026-09-18 16:39:09 +02:00
duan_j deleted branch feat/gui-statusbar-pin-right 2026-09-18 16:39:09 +02:00
Sign in to join this conversation.