Skip to content

Commit 46c5c1e

Browse files
author
DavidQ
committed
Add user preferences and persistence for overlays.
PR Details: - Enables saving and restoring overlay configuration - Supports personalization across sessions
1 parent 025b821 commit 46c5c1e

8 files changed

Lines changed: 391 additions & 26 deletions

File tree

docs/dev/CODEX_COMMANDS.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,9 @@ MODEL: GPT-5.4
22
REASONING: medium
33

44
COMMAND:
5-
Implement adaptive UI behavior for overlays:
6-
- Add rule system for adaptive UI (visibility, size, emphasis)
7-
- React to gameplay + overlay context + telemetry
8-
- Respect layout constraints and safe zones
9-
- Do not modify existing rendering pipeline unnecessarily
5+
Implement overlay user preferences and persistence:
6+
- Store preferences (visibility, layout, keybind profile)
7+
- Restore preferences on runtime load
8+
- Ensure compatibility with adaptive UI and contextual input
9+
- Use lightweight storage (local or existing state system)
1010
- Update roadmap status only

docs/dev/COMMIT_COMMENT.txt

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
Add adaptive UI behavior to overlay system.
1+
Add user preferences and persistence for overlays.
22

33
PR Details:
4-
- Introduces runtime adaptive UI rules
5-
- Enhances responsiveness of overlays
4+
- Enables saving and restoring overlay configuration
5+
- Supports personalization across sessions
Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
1-
[ ] UI adapts to gameplay state
2-
[ ] No layout conflicts
3-
[ ] Stable rendering
1+
[ ] Preferences save correctly
2+
[ ] Preferences restore correctly
3+
[ ] No regression in behavior
4+
[ ] Compatible with adaptive UI
45
[ ] Roadmap updated

docs/dev/roadmaps/MASTER_ROADMAP_HIGH_LEVEL.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -638,6 +638,7 @@
638638
- [x] Level 22 gesture abstraction added for overlays (tap/hold/swipe mapped to runtime actions with explicit gameplay-safe gating)
639639
- [x] Level 22 contextual input mapping added (active overlay/layer stack-aware resolution across keybind and gesture actions)
640640
- [x] Level 22 adaptive overlay UI rules added (visibility/size/emphasis responsive to gameplay state, overlay context, and telemetry)
641+
- [x] Level 22 overlay preferences persistence added (visibility, layout overrides, and keybind profile restored on runtime load)
641642

642643
### Sample Phase Tracks
643644
- [x] 3D phase normalized

docs/pr/BUILD_PR.md

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,21 +1,21 @@
1-
# BUILD_PR_LEVEL_22_4_OVERLAY_ADAPTIVE_UI_BEHAVIOR
1+
# BUILD_PR_LEVEL_22_5_OVERLAY_USER_PREFERENCES_AND_PERSISTENCE
22

33
## Purpose
4-
Enable overlays to adapt their UI behavior dynamically based on runtime conditions.
4+
Persist user preferences for overlay behavior and customization.
55

66
## Roadmap Improvement
7-
Extends Level 22 into adaptive UI systems layered on contextual input.
7+
Completes Level 22 by adding persistence and personalization.
88

99
## Scope
10-
- Define adaptive UI rules (visibility, size, emphasis)
11-
- React to gameplay state, overlay stack, and telemetry
12-
- Avoid conflicts with layout constraints and safe zones
10+
- Store user preferences (visibility, layout, keybind profile)
11+
- Restore preferences on load
12+
- Ensure compatibility with adaptive UI and contextual input systems
1313

1414
## Test Steps
15-
1. Trigger different gameplay states
16-
2. Verify UI adapts (size/visibility/emphasis)
17-
3. Confirm no layout violations
15+
1. Modify overlay preferences
16+
2. Reload runtime
17+
3. Verify preferences persist
1818

1919
## Expected
20-
- UI responds dynamically to context
21-
- No overlap or instability
20+
- Preferences saved and restored
21+
- No regression in overlay behavior

0 commit comments

Comments
 (0)