Release: merge dev into main #33

Merged
nezumi merged 3 commits from dev into main 2026-11-22 08:47:13 +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.4

  • Remove room code and token pairing (#32) (87db9fc)
  • Fix focus styling of phone rows in the host dialog (#31) (6bfd46b)
  • CI: fail release fast on non-x86_64 runners (#30) (4a0ccb3)

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.4 - Remove room code and token pairing (#32) (87db9fc) - Fix focus styling of phone rows in the host dialog (#31) (6bfd46b) - CI: fail release fast on non-x86_64 runners (#30) (4a0ccb3) ## 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.
CI: fail release fast on non-x86_64 runners (#30)
Some checks failed
Release PR / release-pr (push) Successful in 4s
CI / build (push) Has been cancelled
4a0ccb3134
Release run #82 on main failed: the ARM64 runner (which also carries the `amd64` label) picked up the job, built for 7 minutes, and the APK came out without AndroidManifest.xml.

This adds a first step that checks `uname -m` and stops immediately with a clear error. The real fix is removing the `amd64` label from the ARM64 runner.

Co-authored-by: nezumi <123229563+Nezumi-2711@users.noreply.github.com>
Reviewed-on: #30
Fix focus styling of phone rows in the host dialog (#31)
Some checks failed
CI / build (push) Has been cancelled
Release PR / release-pr (push) Has been cancelled
6bfd46bc25
In the host dialog (Settings → Host mode → Manage host):

- The focus ring is drawn ~4dp outside each row, but the scrolling phone list clips vertically, so the ring of the first row's top edge and the last row's bottom edge was cut off. Added 4dp vertical padding inside the scroll container.
- A focused row fills with `s3`, the same color as the avatar circle and the "Member" tag, so both disappeared on focus. They now use a lighter translucent overlay while the row is focused (the "Host" tag stays accent-colored).

Verified on the Android TV emulator with 1, 2, 3 and 4 connected phones.

Vi: Sửa lỗi viền chọn điện thoại trong Chế độ host bị cắt và avatar, nhãn bị mờ khi được chọn
Co-authored-by: nezumi <123229563+Nezumi-2711@users.noreply.github.com>
Reviewed-on: #31
Remove room code and token pairing (#32)
All checks were successful
Release PR / release-pr (push) Successful in 4s
CI / build (push) Successful in 4m50s
87db9fcb7e
There is only ever one TV per network, so the 6-digit room code and the token behind it added a pairing step without real value. Any phone on the same Wi-Fi now opens `http://<ip>:<port>/` (or scans the QR) and controls the TV right away. Optional Host mode (ADR 0006) remains the way to limit what phones can do.

## Changes
- **TV:** removed the room code row in Settings, the code and "Đổi mã" button in the QR dialog, and the code line on the splash. The QR now encodes just the address.
- **Server:** removed `/api/pair`, its rate limit, and every token check (`/api/*`, `/ws`). Host key relay is kept (`watchHostKeys`).
- **Remote:** removed the room code screen; the name screen is now first. On load, a leftover `kara.token` and a stale `?t=` from old QR links are cleaned up.
- **Compat:** old saved state with `roomCode`/`token` still decodes (`ignoreUnknownKeys`, covered by a test).
- **Docs:** protocol, CONTEXT, ADR 0004/0006 (update notes), READMEs, dev-preview and the mock server.

## Testing
- `./gradlew :app:compileDebugKotlin :app:testDebugUnitTest`: pass (new test: API and WebSocket work without a token).
- `remote`: typecheck + build pass.
- Not tried on a TV or emulator yet.

## Follow-up
- `docs/images/pair.png` still shows the old dialog with the room code; it needs a fresh screenshot.

Vi: Bỏ mã phòng, điện thoại cùng Wi-Fi mở địa chỉ TV là điều khiển được ngay
Co-authored-by: nezumi <123229563+Nezumi-2711@users.noreply.github.com>
Reviewed-on: #32
nezumi merged commit c285548623 into main 2026-11-22 08:47:13 +00:00
Sign in to join this conversation.
No reviewers
No labels
No milestone
No project
No assignees
2 participants
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!33
No description provided.