Commit cad2ea2
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 41dda22 commit cad2ea2
2 files changed
Lines changed: 24 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
39 | 39 | | |
40 | 40 | | |
41 | 41 | | |
42 | | - | |
| 42 | + | |
43 | 43 | | |
44 | 44 | | |
45 | 45 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
36 | 36 | | |
37 | 37 | | |
38 | 38 | | |
39 | | - | |
| 39 | + | |
40 | 40 | | |
41 | 41 | | |
42 | 42 | | |
| |||
132 | 132 | | |
133 | 133 | | |
134 | 134 | | |
| 135 | + | |
| 136 | + | |
| 137 | + | |
| 138 | + | |
| 139 | + | |
| 140 | + | |
| 141 | + | |
| 142 | + | |
| 143 | + | |
| 144 | + | |
| 145 | + | |
| 146 | + | |
| 147 | + | |
| 148 | + | |
| 149 | + | |
| 150 | + | |
| 151 | + | |
| 152 | + | |
| 153 | + | |
| 154 | + | |
| 155 | + | |
| 156 | + | |
135 | 157 | | |
136 | 158 | | |
137 | 159 | | |
| |||
0 commit comments