Skip to content

Confirm before exporting without a field ROI - #430

Open
RufanMelfor wants to merge 1 commit into
reco-project:mainfrom
RufanMelfor:feat/export-roi-confirm
Open

Confirm before exporting without a field ROI#430
RufanMelfor wants to merge 1 commit into
reco-project:mainfrom
RufanMelfor:feat/export-roi-confirm

Conversation

@RufanMelfor

@RufanMelfor RufanMelfor commented Jul 16, 2026

Copy link
Copy Markdown
Contributor

Start Export now checks the existing has-roi flag and, if no field ROI
is set, shows a confirm/cancel dialog ("No field ROI set" / "Export
Anyway") instead of silently starting. AI framing/tracking rely on the
ROI to stay on the pitch, so a missing one previously only produced a
passive hint in the calibration panel — easy to miss before kicking off a
long export that then frames poorly for its whole duration.

Pure Slint UI change: has-roi and its calibration-sync sites already
existed, so no Rust logic changed — confirmed via git diff origin/main --stat showing only main.slint touched. Mirrors the existing
bug-dialog-open modal pattern (same backdrop/panel/button structure).

Verified: build clean, cargo test -p reco-gui (6/6 passed).

afbeelding

@github-actions

github-actions Bot commented Jul 16, 2026

Copy link
Copy Markdown

All contributors have signed the CLA. Thank you!
Posted by the CLA Assistant Lite bot.

Start Export now checks the existing has-roi flag and, if no field ROI
is set, shows a confirm/cancel dialog instead of silently exporting.
AI framing/tracking rely on the ROI to stay on the pitch, so a missing
one previously only produced a passive hint text in the calibration
panel - easy to miss before kicking off a long export.

The confirmation dialog is declared after the Export dialog block so
it stacks on top of it (Slint renders siblings in source order) -
Start Export is clicked from inside the Export dialog, so the warning
must render above it, not underneath.
@RufanMelfor

Copy link
Copy Markdown
Contributor Author

I have read the CLA Document and I hereby sign the CLA

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

Labels

None yet

Projects

Status: In review

Development

Successfully merging this pull request may close these issues.

2 participants