Skip to content

Add navigation shortcuts to apps#2423

Open
joelghill wants to merge 8 commits intoInfiniTimeOrg:mainfrom
joelghill:app-shortcut
Open

Add navigation shortcuts to apps#2423
joelghill wants to merge 8 commits intoInfiniTimeOrg:mainfrom
joelghill:app-shortcut

Conversation

@joelghill
Copy link

@joelghill joelghill commented Mar 9, 2026

Summary

This PR adds swipe gestures to improve navigation:

  1. Swiping to the right will dismiss the current screen and return the user to the home screen.
  2. While on the home screen, and if an app has been previously opened, swiping to the left will return the user to the last used app.

Notes

  1. Some apps rely on swiping gestures. In these cases the app has priority in processing gestures. Example is the music app for skipping forward or back.
  2. The home screen shortcut doesn't work on the settings page since it's conceptually to the left of the home screen and it felt weird.

Joel Hill and others added 8 commits April 10, 2025 23:31
* Fix trailing whitespace in DisplayApp.h (clang-format violation)

Co-authored-by: joelghill <1980543+joelghill@users.noreply.github.com>

---------

Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
Co-authored-by: joelghill <1980543+joelghill@users.noreply.github.com>
@joelghill
Copy link
Author

This implements an idea I pitched here: #2280

@github-actions
Copy link

github-actions bot commented Mar 9, 2026

Build size and comparison to main:

Section Size Difference
text 385280B 48B
data 944B 0B
bss 22640B 0B

Run in InfiniEmu

@joelghill
Copy link
Author

joelghill commented Mar 9, 2026

I made a mistake in documenting a swipe right gesture that will navigate back to the watch face. The logic is there, but it doesn't appear to work in the simulator.

Edit
The gestures as described work on my personal device, not sure why the simulator does not have the same behavior

Edit 2
It works in the simulator too, user error haha.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants