Release: merge dev into main #19

Merged
nezumi merged 3 commits from dev into main 2026-11-22 02:57:24 +00:00

Merge dev into main to publish the next release. This PR is opened and refreshed automatically on every push to dev.

Changes since v1.0.0

  • Add English language support alongside Vietnamese (#18) (7eb3fbb)
  • Remove now-playing CTA and update chip from the top bar (#17) (cb6d7a6)

Release notes

  • Merge with a merge commit (not squash) so the changelog keeps every commit from dev.
  • Merging triggers the Release workflow, which bumps the patch version. For minor/major, put [skip release] in the merge commit title and run Actions > Release > Run workflow on main with the bump you want.
Merge `dev` into `main` to publish the next release. This PR is opened and refreshed automatically on every push to `dev`. ## Changes since v1.0.0 - Add English language support alongside Vietnamese (#18) (7eb3fbb) - Remove now-playing CTA and update chip from the top bar (#17) (cb6d7a6) ## Release notes - Merge with a **merge commit** (not squash) so the changelog keeps every commit from `dev`. - Merging triggers the `Release` workflow, which bumps the **patch** version. For minor/major, put `[skip release]` in the merge commit title and run Actions > Release > Run workflow on `main` with the bump you want.
Remove now-playing CTA and update chip from the top bar (#17)
All checks were successful
CI / build (push) Successful in 1m57s
cb6d7a6bbd
Removes the now-playing / start-singing button and the update-available chip from the top-right of the TV shell. The update dialog and the Settings "check for updates" entry are unchanged.

Co-authored-by: nezumi <123229563+Nezumi-2711@users.noreply.github.com>
Reviewed-on: #17
Add English language support alongside Vietnamese (#18)
All checks were successful
CI / build (push) Successful in 1m57s
7eb3fbb04f
Adds English to the TV app, the phone remote and the release notes. Vietnamese stays the default everywhere.

## TV app
- New "Ngôn ngữ / Language" setting under Appearance, persisted with the other settings. It defaults to Vietnamese regardless of the system locale.
- The language switches live. `KaraRoot` provides a localized `Context`, `Configuration` and `Resources`; `stringResource` reads `LocalResources` in Compose 1.13.
- `values-en/strings.xml` translates every UI string. Brand names and author info are marked `translatable="false"`.
- The domain layer emits codes (`NoticeCode`, `FailReason`) instead of hardcoded Vietnamese text.
- The home suggestions query is now `"karaoke"`.
- The phone dialog drops the server, network and self-test diagnostics. The error line and Retry button only appear when the server failed.
- The settings button is pinned to the right edge of the top bar.

## Protocol (backward compatible)
- WebSocket toasts and HTTP errors carry a `code` (`already_queued`, `wrong_room_code`, `rate_limited`, `unauthorized`, `search_failed`, `suggest_failed`).
- `message` / `error` keep the Vietnamese text, so older remotes still work. Documented in `docs/protocol.md`.

## Remote web
- Each phone has its own VI/EN toggle, stored in `localStorage` (`kara.lang`). It defaults to Vietnamese.
- Toasts and errors are translated by `code`, falling back to the server text.

## Release notes
- `release-prepare.sh` writes a bilingual body with `<!-- lang:vi -->` / `<!-- lang:en -->` markers.
- The Vietnamese lines come from an optional `Vi:` commit trailer and fall back to the English subject. Renovate commits collapse into "Cập nhật thư viện" in the Vietnamese section.
- The update dialog shows only the chosen language's bullet lines. Bodies without markers from older releases are shown whole.

## Testing
- `testDebugUnitTest` passes: 54 tests, including new `releaseNotesFor` and settings-migration tests. `lintDebug` is clean.
- `pnpm typecheck` and `pnpm build` pass for the remote.
- On the Android TV emulator:
  - The language switches live and is kept after a restart.
  - The EN remote shows "Wrong room code".
  - The TV shows the "added by" toast in the current language.
  - A duplicate add sends `code: already_queued`.
  - The phone dialog and the settings button position look right.

Co-authored-by: nezumi <123229563+Nezumi-2711@users.noreply.github.com>
Reviewed-on: #18
CI: auto-open the dev -> main release PR on every push to dev [skip release]
All checks were successful
Release PR / release-pr (push) Successful in 3s
CI / build (push) Successful in 1m59s
000a265d5a
nezumi merged commit 723ee5509d into main 2026-11-22 02:57:24 +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
nezumi/kara-tv-app!19
No description provided.