Skip to content

feat: swipe gestures in Soup#784

Merged
peterchinman merged 29 commits intomainfrom
peter/mob-26-gesture-control-to-mark-soup-items-as-done
Jan 6, 2026
Merged

feat: swipe gestures in Soup#784
peterchinman merged 29 commits intomainfrom
peter/mob-26-gesture-control-to-mark-soup-items-as-done

Conversation

@peterchinman
Copy link
Copy Markdown
Contributor

@peterchinman peterchinman commented Jan 5, 2026

Implements swipe gestures to mark as done for Soup entities.

Marking as Done now also collapses the Entity Row on Desktop.

Introduces new tailwind selectors touch: and mobile-width:

Introduces new utilities for checking which input modality is currently being used.

Starts to correctly differentiate between cases where we want to gate based on: is native mobile app vs is primarily touch device vs is mobile width

Simulator.Screen.Recording.-.iPhone.16.Pro.-.2026-01-05.at.17.12.44.mov

@peterchinman peterchinman requested a review from a team as a code owner January 5, 2026 22:16
@linear
Copy link
Copy Markdown

linear bot commented Jan 5, 2026

unifiedListContext.collapseEntity!(entity.id)
)
);
}
Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This could be done more robustly by generically animating Entity's removal from the DOM. Worth doing?

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is complicated because we are using virtualized lists. I have an idea for this that I will try out in another PR. For now, this works.

@peterchinman peterchinman merged commit 4679bc9 into main Jan 6, 2026
19 checks passed
@peterchinman peterchinman deleted the peter/mob-26-gesture-control-to-mark-soup-items-as-done branch January 6, 2026 22:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants