Skip to content

feat(calibration): add Fullscreen mode during calibration#114

Open
Sufiyan-MSA wants to merge 1 commit intoruxailab:mainfrom
Sufiyan-MSA:fix/issue-100-fullscreen-calibration
Open

feat(calibration): add Fullscreen mode during calibration#114
Sufiyan-MSA wants to merge 1 commit intoruxailab:mainfrom
Sufiyan-MSA:fix/issue-100-fullscreen-calibration

Conversation

@Sufiyan-MSA
Copy link
Copy Markdown

What this fixes

Limits user interaction and navigation to fullscreen during calibration so the app can capture the relative position of every screen border accurately.

Fixes #100

What I changed

  • src/views/DoubleCalibrationRecord.vue: When the calibration record view mounts and the user is not already in fullscreen, the existing "Go fullscreen" dialog is shown and the new attemptAutoFullscreen() method is called. It requests fullscreen once; if the browser grants it, the dialog is closed and calibration runs in fullscreen without an extra click. If the request fails (e.g. no user gesture), the dialog remains and the user can still click "Enter fullscreen". No other flows or UI were changed.

How I tested it

  • Went through calibration setup and camera, then "Start Calibration" to reach the record view.
  • With a browser that allows programmatic fullscreen after navigation, fullscreen was requested automatically and the dialog closed when fullscreen was entered.
  • With a browser that blocked the automatic request, the "Go fullscreen" dialog stayed and "Enter fullscreen" still worked.
  • Confirmed existing behavior: fullscreen is still required before/during training and validation, and exiting fullscreen during calibration still re-opens the dialog and stepper.

Notes

Automatic request is best-effort; when it is blocked, the existing dialog remains the fallback. No new dependencies or config were added.

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.

feat(calibration): add Fullscreen mode during calibration

1 participant