Current State
Board and settings state are currently tracked with many parallel boolean fields on RopyBoard and SettingsEditor. Related concerns like preview visibility, delete flow, clear-confirm visibility, search filters, and settings toggles are spread across top-level structs, which makes the ownership of each state slice harder to read and maintain.
Target State
Group related state into focused structs and enums such as UiState, FilterState, and nested settings editor state objects, while preserving existing board behavior and wiring.
Rationale
This refactor reduces top-level field sprawl, makes call sites read in terms of domain state instead of raw flags, and leaves a clearer path for future expansion if any of these slices need more than two states.
Scope
gui
Safety Net
Current State
Board and settings state are currently tracked with many parallel boolean fields on
RopyBoardandSettingsEditor. Related concerns like preview visibility, delete flow, clear-confirm visibility, search filters, and settings toggles are spread across top-level structs, which makes the ownership of each state slice harder to read and maintain.Target State
Group related state into focused structs and enums such as
UiState,FilterState, and nested settings editor state objects, while preserving existing board behavior and wiring.Rationale
This refactor reduces top-level field sprawl, makes call sites read in terms of domain state instead of raw flags, and leaves a clearer path for future expansion if any of these slices need more than two states.
Scope
gui
Safety Net