fix(spelling): Favorites, in American spelling #16

Merged
namillis merged 1 commit from fix/favorites-spelling into main 2026-11-11 16:15:32 +00:00
Owner

Switches the app to American spelling for favorites, as Gabriel asked (LiveWireTV did the same in #31).

What changed

  • Every user-facing string: the Favorites chip, Settings → Favorites, "Add to favorites" / "Remove from favorites", and the "No favorites yet" empty states on Watch and the Guide.
  • The code names to match: favorites, ChannelGroup.favorites, isFavorite, toggleFavorite, clearFavorites, and the comments (AppModel, GuideSearch, GuideView, OtherTabs, Providers, RootView, WatchView).
  • README.md.

Saved favorites are kept. They're stored under the UserDefaults key favourites.<provider id>, which the first releases wrote. The key string stays as it was (a comment on AppModel.key says why), so nobody loses their list on update. The old design mockups in design/ are left as they were, since they record what was shown at the time.

Intent: only the spelling. Not a goal: other British spellings such as "programme", which are left for a separate change if wanted.

Testing

iPhone 18 Pro Simulator, tv3:

  • With the build from main installed, I saved 3 favorites (-fav). The plist shows favourites.6CFA… => [1016982684, 2604, 2606].
  • After installing this build over it and launching without -fav, Watch opened on the Favorites chip with the same 3 ESPN channels, and Settings → Favorites read "3 channels".
  • grep -ri favourit LiveWire README.md now finds only the 7 stored-key strings.
  • 61 unit tests pass.
Switches the app to American spelling for favorites, as Gabriel asked (LiveWireTV did the same in #31). ## What changed - Every user-facing string: the Favorites chip, Settings → Favorites, "Add to favorites" / "Remove from favorites", and the "No favorites yet" empty states on Watch and the Guide. - The code names to match: `favorites`, `ChannelGroup.favorites`, `isFavorite`, `toggleFavorite`, `clearFavorites`, and the comments (`AppModel`, `GuideSearch`, `GuideView`, `OtherTabs`, `Providers`, `RootView`, `WatchView`). - `README.md`. **Saved favorites are kept.** They're stored under the UserDefaults key `favourites.<provider id>`, which the first releases wrote. The key string stays as it was (a comment on `AppModel.key` says why), so nobody loses their list on update. The old design mockups in `design/` are left as they were, since they record what was shown at the time. Intent: only the spelling. Not a goal: other British spellings such as "programme", which are left for a separate change if wanted. ## Testing iPhone 18 Pro Simulator, tv3: - With the build from `main` installed, I saved 3 favorites (`-fav`). The plist shows `favourites.6CFA…` => [1016982684, 2604, 2606]. - After installing this build over it and launching without `-fav`, Watch opened on the **Favorites** chip with the same 3 ESPN channels, and Settings → Favorites read "3 channels". - `grep -ri favourit LiveWire README.md` now finds only the 7 stored-key strings. - 61 unit tests pass.
Saved favorites stay under the old 'favourites' UserDefaults key so nobody loses them.
namillis deleted branch fix/favorites-spelling 2026-11-11 16:15:32 +00:00
Sign in to join this conversation.
No reviewers
No labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
namillis/LiveWireiOS!16
No description provided.