Skip to content

Pause graph during training#827

Merged
microbit-matt-hillsdon merged 2 commits intobetafrom
apps-pause-graph-on-training
Mar 30, 2026
Merged

Pause graph during training#827
microbit-matt-hillsdon merged 2 commits intobetafrom
apps-pause-graph-on-training

Conversation

@microbit-matt-hillsdon
Copy link
Copy Markdown

@microbit-matt-hillsdon microbit-matt-hillsdon commented Mar 30, 2026

Essentially @glastonbridge's #825 but modified to pause the graph at the help dialog.

Fixes #798

In order to stop visual flicker as the page changes out-of-step with the state machine for the training dialogs, I push the close dialog event onto the back of the event stack after a navigate, so it does not pre-emptively redraw the old page before hitting the navigate action.

glastonbridge and others added 2 commits March 30, 2026 11:19
- Remove NavigatingToTesting enum value, keep stage as TrainingInProgress
- Pause the SmoothieChart via a prop instead of unmounting LiveGraph
- Remove "Training…" overlay text and its i18n string
- Extend pause to cover the pre-train help dialog
@microbit-matt-hillsdon
Copy link
Copy Markdown
Author

I'll merge this into apps once it's in (we'll hit conflicts, but I just fixed them in reverse so should be fine).

@github-actions
Copy link
Copy Markdown

Copy link
Copy Markdown

@microbit-grace microbit-grace left a comment

Choose a reason for hiding this comment

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

LGTM

@microbit-matt-hillsdon microbit-matt-hillsdon merged commit 5b5279b into beta Mar 30, 2026
2 checks passed
@microbit-matt-hillsdon microbit-matt-hillsdon deleted the apps-pause-graph-on-training branch March 30, 2026 11:11
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.

3 participants