Commit bec047f
SettingsActivity: document ui_options label mapping for value-label row
Companion to MicroPythonOS#137 (framework change). Explains the
(label, value) tuple semantics: label shown in picker AND in the
settings-list row's value label; value is what gets stored.
Adds a new "Display Labels for ui_options" section to settings-activity.md
covering:
- The (label, value) tuple format
- Initial-render + post-save behavior
- Fall-through for stale stored values not in current ui_options
- Tips for choosing labels vs values (don't change values without
a migration; labels are free to change)
setting-activity.md gets a one-line cross-reference to the new section
on the parent doc, since the same (label, value) contract applies in
the picker UI as well.
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>1 parent 6a478a8 commit bec047f
2 files changed
Lines changed: 24 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
37 | 37 | | |
38 | 38 | | |
39 | 39 | | |
40 | | - | |
| 40 | + | |
41 | 41 | | |
42 | 42 | | |
43 | 43 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
36 | 36 | | |
37 | 37 | | |
38 | 38 | | |
39 | | - | |
| 39 | + | |
40 | 40 | | |
41 | 41 | | |
42 | 42 | | |
| |||
107 | 107 | | |
108 | 108 | | |
109 | 109 | | |
| 110 | + | |
| 111 | + | |
| 112 | + | |
| 113 | + | |
| 114 | + | |
| 115 | + | |
| 116 | + | |
| 117 | + | |
| 118 | + | |
| 119 | + | |
| 120 | + | |
| 121 | + | |
| 122 | + | |
| 123 | + | |
| 124 | + | |
| 125 | + | |
| 126 | + | |
| 127 | + | |
| 128 | + | |
| 129 | + | |
| 130 | + | |
| 131 | + | |
110 | 132 | | |
111 | 133 | | |
112 | 134 | | |
| |||
0 commit comments