Commit 1976c83
ItemTag state UI: rename Idling → Idled across the board (#54)
Aligns the user-visible "Idling" string with the underlying enum case
`Idled` and the Idled ↔ Completed parallel-tense pair (already used for
the Completed display string). Eliminates the tense mismatch where the
state badge read "IDLING" while its enum was `Idled` and its sibling
state was "COMPLETED".
Changes:
- ItemTagState.Idled.title returns "Idled" (was "Idling")
- IdlingTag composable renamed to IdledTag (file, function, preview)
- TagView text literal "IDLING" → "IDLED" (uppercase chip text matching
the existing convention used by CompletedTag)
- Three call sites updated (ItemTagListCardView, ItemTagDetailView,
ShopDetailCardView): import + composable invocation
The test method name `stateIsLoading_whenIdlingItemTag_becomesFalse`
is intentionally left as-is — it's a verb form ("the action of idling
an ItemTag") referring to the operation, not the state label.
Co-authored-by: Claude Opus 4.7 (1M context) <noreply@anthropic.com>1 parent 265695c commit 1976c83
5 files changed
Lines changed: 11 additions & 11 deletions
File tree
- app/src/main/kotlin/com/nativeapptemplate/nativeapptemplatefree/ui
- common/tags
- shop_detail
- shop_settings
- item_tag_detail
- item_tag_list
- model/src/main/kotlin/com/nativeapptemplate/nativeapptemplatefree/model
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
6 | 6 | | |
7 | 7 | | |
8 | 8 | | |
9 | | - | |
| 9 | + | |
10 | 10 | | |
11 | | - | |
| 11 | + | |
12 | 12 | | |
13 | 13 | | |
14 | 14 | | |
15 | 15 | | |
16 | 16 | | |
17 | 17 | | |
18 | 18 | | |
19 | | - | |
| 19 | + | |
20 | 20 | | |
21 | | - | |
| 21 | + | |
22 | 22 | | |
23 | 23 | | |
Lines changed: 2 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
13 | 13 | | |
14 | 14 | | |
15 | 15 | | |
16 | | - | |
| 16 | + | |
17 | 17 | | |
18 | 18 | | |
19 | 19 | | |
| |||
54 | 54 | | |
55 | 55 | | |
56 | 56 | | |
57 | | - | |
| 57 | + | |
58 | 58 | | |
59 | 59 | | |
60 | 60 | | |
| |||
Lines changed: 2 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
46 | 46 | | |
47 | 47 | | |
48 | 48 | | |
49 | | - | |
| 49 | + | |
50 | 50 | | |
51 | 51 | | |
52 | 52 | | |
| |||
194 | 194 | | |
195 | 195 | | |
196 | 196 | | |
197 | | - | |
| 197 | + | |
198 | 198 | | |
199 | 199 | | |
200 | 200 | | |
| |||
Lines changed: 2 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
16 | 16 | | |
17 | 17 | | |
18 | 18 | | |
19 | | - | |
| 19 | + | |
20 | 20 | | |
21 | 21 | | |
22 | 22 | | |
| |||
69 | 69 | | |
70 | 70 | | |
71 | 71 | | |
72 | | - | |
| 72 | + | |
73 | 73 | | |
74 | 74 | | |
75 | 75 | | |
| |||
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | 3 | | |
4 | | - | |
| 4 | + | |
5 | 5 | | |
6 | 6 | | |
7 | 7 | | |
| |||
0 commit comments