speed up mock

This commit is contained in:
2026-03-13 00:39:06 +01:00
parent bec76d6796
commit 80dccdb38a
4 changed files with 95 additions and 75 deletions

View File

@@ -13,6 +13,12 @@ uv run -m frontend
## Navigation
- L: left press
- LL: left long press
- R: right press
- RL: right long press
- LB: long left and right press
```mermaid
stateDiagram-v2
[*] --> Main
@@ -28,34 +34,34 @@ stateDiagram-v2
state "Edit Step Value Entry<br>(morse input)" as ValueEntry
state "Edit Step Goal Time Entry<br>(morse input)" as GoalTime
Main --> Menu : both long press
Main --> RecipeSelection : right long press
Main --> Menu : LB
Main --> RecipeSelection : RL
Menu --> Main : left long press [back]
Menu --> BTPairing : right long press [BT Pair]
Menu --> Main : LL [back]
Menu --> BTPairing : RL [BT Pair]
BTPairing --> Menu : left long press [cancel]
BTPairing --> Menu : LL [cancel]
RecipeSelection --> Main : left long press
RecipeSelection --> DoRecipe : right long press [on recipe → run]
RecipeSelection --> EditRecipe : both long press [on recipe → edit]<br>or right long press [on + → add]
RecipeSelection --> Main : LL
RecipeSelection --> DoRecipe : RL [on recipe → run]
RecipeSelection --> EditRecipe : LB [on recipe → edit]<br>or RL [on + → add]
DoRecipe --> Main : left long press [back]<br>or right press [last step → done]
DoRecipe --> Main : LL [back]<br>or R [last step → done]
EditRecipe --> RecipeSelection : left long press [back]<br>or right long press [on save]
EditRecipe --> TypeSelect : right long press [on step]<br>or right long press [on + → add step]
EditRecipe --> ValueEntry : right long press [on name]
EditRecipe --> MoveMode : both long press [on step]
EditRecipe --> RecipeSelection : LL [back]<br>or RL [on save]
EditRecipe --> TypeSelect : RL [on step]<br>or RL [on + → add step]
EditRecipe --> ValueEntry : RL [on name]
EditRecipe --> MoveMode : LB [on step]
MoveMode --> EditRecipe : both long press [confirm]<br>or left long press [cancel]
MoveMode --> EditRecipe : LB [confirm]<br>or LL [cancel]
TypeSelect --> ValueEntry : right long press [type with value]
TypeSelect --> EditRecipe : right long press [type w/o value → saved]<br>or right long press [delete → deleted]<br>or left long press [back]
TypeSelect --> ValueEntry : RL [type with value]
TypeSelect --> EditRecipe : RL [type w/o value → saved]<br>or RL [delete → deleted]<br>or LL [back]
ValueEntry --> EditRecipe : left long press [save]<br>or left press [cancel]
ValueEntry --> GoalTime : left long press [WEIGH_WITH_TIMER]
ValueEntry --> EditRecipe : LL [save]<br>or L [cancel]
ValueEntry --> GoalTime : LL [WEIGH_WITH_TIMER]
GoalTime --> EditRecipe : left long press [save]<br>or left press [cancel]
GoalTime --> EditRecipe : LL [save]<br>or L [cancel]
```
## Tools