Commit dc1e669
committed
Add Fat/Protein order change banner and flag
Introduce a persisted flag (hasSeenFatProteinOrderChange) to track whether the user has acknowledged that the order of Fat and Protein inputs changed. Show a dismissible banner in TreatmentsRootView when the flag is unset, and mark the flag when dismissed. Set the flag during onboarding completion so new users won't see the banner. Add the new flag to FileProtectionFixer cleanup list and add a localization key for the banner text. Can be removed after 1 year (March 2027).1 parent 09472ec commit dc1e669
File tree
5 files changed
+31
-1
lines changed- Trio/Sources
- Helpers
- PropertyWrappers
- Localizations/Main
- Modules/Treatments/View
- Services/OnboardingManager
5 files changed
+31
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
23 | 23 | | |
24 | 24 | | |
25 | 25 | | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
26 | 29 | | |
Lines changed: 2 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
122 | 122 | | |
123 | 123 | | |
124 | 124 | | |
125 | | - | |
| 125 | + | |
| 126 | + | |
126 | 127 | | |
127 | 128 | | |
128 | 129 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
230207 | 230207 | | |
230208 | 230208 | | |
230209 | 230209 | | |
| 230210 | + | |
| 230211 | + | |
| 230212 | + | |
230210 | 230213 | | |
230211 | 230214 | | |
230212 | 230215 | | |
| |||
Lines changed: 22 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
24 | 24 | | |
25 | 25 | | |
26 | 26 | | |
| 27 | + | |
27 | 28 | | |
28 | 29 | | |
29 | 30 | | |
| |||
198 | 199 | | |
199 | 200 | | |
200 | 201 | | |
| 202 | + | |
| 203 | + | |
| 204 | + | |
| 205 | + | |
| 206 | + | |
| 207 | + | |
| 208 | + | |
| 209 | + | |
| 210 | + | |
| 211 | + | |
| 212 | + | |
| 213 | + | |
| 214 | + | |
| 215 | + | |
| 216 | + | |
| 217 | + | |
| 218 | + | |
201 | 219 | | |
202 | 220 | | |
203 | 221 | | |
| |||
391 | 409 | | |
392 | 410 | | |
393 | 411 | | |
| 412 | + | |
| 413 | + | |
| 414 | + | |
| 415 | + | |
394 | 416 | | |
395 | 417 | | |
396 | 418 | | |
| |||
Lines changed: 1 addition & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
24 | 24 | | |
25 | 25 | | |
26 | 26 | | |
| 27 | + | |
27 | 28 | | |
28 | 29 | | |
29 | 30 | | |
| |||
0 commit comments