Skip to content

fix(tv): let the D-pad leave the filter value search field - #704

Merged
Quick104 merged 1 commit into
Silo-Server:mainfrom
Rhainland:fix/1253-tv-filter-search-focus
Oct 28, 2026
Merged

Quick104 merged 1 commit into
Silo-Server:mainfrom
Rhainland:fix/1253-tv-filter-search-focus

Conversation

@Rhainland

@Rhainland Rhainland commented Oct 27, 2026 •

Copy link
Copy Markdown
Contributor

Problem

Related issue: Silo-Server/silo-server#1253
Validation tasks: unblocks #350 C12 (also C1)

On Android TV, Browse → Filter → Author, Narrator or Series has a search field. After typing a name, the D-pad can't leave the field: Up and Down stay inside it, so the matching name can't be selected and the filter can't be used with a remote.

The field now lets Up/Down move focus to the results and back.

Approach

The search field uses the TV app's existing text-field helper (tvShowImeOnSelect), as other TV text fields do: Select opens the keyboard, Up/Down move focus out of the field, and focusing the field no longer opens the keyboard by itself.

Validation

  • No unit test: the change is focus handling only.
  • TV unit tests and lint for the touched module, debug build: pass.
  • Android TV emulator (Android 14), remote only, twice: before, after typing "ben" (Narrator) or "ada" (Author) and confirming, Down stayed in the field. After, Down lands on Ben Okafor / Ada Lane, Select applies it, and Up returns to the field.

Evidence

Evidence: https://evidence.siloserver.org/r/silo-android/pr-704/

Surface and build: Android TV, Audiobooks → Browse → Filter → Narrator and Author; before on origin/main e9c410096, after on this branch; same synthetic library. Phone and tablet don't use this screen.

Risks

None identified.

Checklist

  • I read and can explain the complete diff.
  • This pull request addresses one concern.
  • Each test this pull request adds meets "Decide what to test" in CONTRIBUTING.md.
  • The Evidence section shows every change a user can see, or says there is none.

AI Disclosure

  • Harness: Claude Code (T3 Code)
  • Tool(s): Claude Code, Codex CLI, GitHub CLI, Gradle, Android Emulator, adb
  • Model(s): claude-opus-5-5; gpt-6.1-sol (review)
  • Involvement: Fully AI-generated, human verified
  • Adversarial review: Independent Claude Opus 5.5 and GPT 6.1 Sol reviews of the branch diff (correctness, repo standards, the bug as described). Neither found anything.

The Author, Narrator and Series filter pages use a plain text field.
It kept vertical D-pad presses for caret moves, so after typing a
search the remote could not reach the matching names below it.

Use the TV text-field idiom (tvShowImeOnSelect): Select opens the
keyboard, and Up/Down move focus out of the field.
@silo-kody

silo-kody Bot commented Oct 27, 2026 •

Copy link
Copy Markdown

Silo Kody — review complete

Review finished. Check the inline comments for findings and verify each suggestion against the code and tests.

Reviewing changes in Silo
  • Include the related issue, expected behavior, and validation steps in the PR description.
  • For API changes, describe the effect on Apple and Android clients and Jellyfin compatibility.
  • For plugin changes, identify the affected SDK contract, plugin, and catalog entry.
  • Follow this repository's AGENTS.md and CONTRIBUTING.md.
  • Request another review with @kody start-review in a PR comment.
  • React with 👍 or 👎 to give feedback on individual suggestions.
Review settings
Review Options

The following review options are enabled or disabled:

Options Enabled
Bug ✅
Performance ✅
Security ✅
Business Logic ❌

@coderabbitai

coderabbitai Bot commented Oct 27, 2026

Copy link
Copy Markdown

Warning

Review limit reached

This review ran on the open-source allowance, not this organization's plan, because the pull request author doesn't have an assigned seat. Waiting won't change this — ask an organization admin to assign them a seat, or add seats in Billing if every seat is already assigned, then retry.

Next included review available in 59 minutes.

Check out review usage here.

View limit details

Limit details: You’ve used the included review currently available.

Learn how review limits work.

Review configuration:

Run configuration
  • Source mode: Auto
  • Repository: Unavailable
  • Branch: Unavailable
  • File: No configuration file from this repository applied
  • Commit: Unavailable
  • Layers: Organization UI
  • Review profile: CHILL
  • Plan: Advanced
  • Run ID: 9349d1a9-6286-4c17-b30f-c465c6bb89d3
Commits

Reviewing files that changed from the base of the PR and between 548617c and 1420866.

Files selected for processing: 1
  • androidTvApp/src/androidMain/kotlin/org/siloserver/silo/tv/ui/screens/library/TvLibraryBrowseControls.kt
  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

Comment @coderabbitai help to get the list of available commands.

@silo-triage silo-triage Bot added size/S 0–49 added + deleted lines (all files); change volume, not priority. bug Something isn't working impact: usability Core flow broken or severely blocked priority: P2 Limited scope, workaround exists, or polish labels Oct 27, 2026
@Quick104
Quick104 merged commit c5a3976 into Silo-Server:main Oct 28, 2026
10 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working impact: usability Core flow broken or severely blocked priority: P2 Limited scope, workaround exists, or polish size/S 0–49 added + deleted lines (all files); change volume, not priority.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants