feat: Open hidden apps from settings, hold OK to unhide #26

Merged
namillis merged 1 commit from feat/hidden-apps-launch into main 2026-11-24 17:01:31 +00:00
Owner

On the Hidden apps settings page, OK unhid the app. The only way to open a hidden app was to unhide it, launch it and hide it again. A comment on #43 asked for OK to open the app and a long press to unhide it.

Fix: OK opens, holding OK unhides.

  • OK closes settings and opens the app. The app stays hidden.
  • Hold OK for 600 ms unhides it, the same hold time the home tiles use for Move. Mouse and touch long-press work too.
  • The page hint reads ↑↓ Move · OK Open · Hold OK Unhide · Back, and the per-row "Unhide" label is gone.
  • SettingsSheet now handles OK as a full key event. A row with a hold action (onLongActivate) runs its OK action on release instead of on press. Every other row works exactly as before.

The hidden-apps instrumentation test now sends real OK key events: the first key-down only arms, a repeat 700 ms later unhides, and the key-up after does nothing more. Adds an entry under Unreleased in the changelog.

Rebased onto main after the Control Center and tvOS grid work (#30-#32). Build, 276 unit tests and lint pass, and the instrumentation tests compile. They weren't re-run after the rebase (no emulator on the build host). Before the rebase all 41 passed on an API 30 emulator. Not yet tried on the onn 4K Pro.

On the Hidden apps settings page, OK unhid the app. The only way to open a hidden app was to unhide it, launch it and hide it again. [A comment on #43](https://github.com/namillis/GlassLauncherTV/issues/43#issuecomment-6620187889) asked for OK to open the app and a long press to unhide it. **Fix:** OK opens, holding OK unhides. - **OK** closes settings and opens the app. The app stays hidden. - **Hold OK for 600 ms** unhides it, the same hold time the home tiles use for Move. Mouse and touch long-press work too. - The page hint reads `↑↓ Move · OK Open · Hold OK Unhide · Back`, and the per-row "Unhide" label is gone. - `SettingsSheet` now handles OK as a full key event. A row with a hold action (`onLongActivate`) runs its OK action on release instead of on press. Every other row works exactly as before. The hidden-apps instrumentation test now sends real OK key events: the first key-down only arms, a repeat 700 ms later unhides, and the key-up after does nothing more. Adds an entry under Unreleased in the changelog. Rebased onto main after the Control Center and tvOS grid work (#30-#32). Build, 276 unit tests and lint pass, and the instrumentation tests compile. They weren't re-run after the rebase (no emulator on the build host). Before the rebase all 41 passed on an API 30 emulator. Not yet tried on the onn 4K Pro.
On the Hidden apps page, OK now opens the app and leaves it hidden.
Holding OK (600 ms, same as the home tiles) unhides it. Requested on #43.
namillis force-pushed feat/hidden-apps-launch from bead834ab9 to 6278964b34 2026-11-24 16:28:43 +00:00 Compare
namillis deleted branch feat/hidden-apps-launch 2026-11-24 17:01:31 +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/GlassLauncherTV!26
No description provided.