Feature: Indentation list via touch right/left
- Dominant language
- TypeScript
- Stars
- 23.9k
- Forks
- 2.2k
- Avg merge
- 1d 16h
- Merged PRs (30d)
- 61
Description
## Description
I would like to be able to set indents for lists by swiping left or right on mobile devices (only `touch` events trigger)
## Impact
A similar pattern is implemented, for example, in Apple Notes.
https://github.com/user-attachments/assets/e6687a48-4b15-4e7a-bb6d-3ba708abbd45
I would also suggest adding the ability to parameterize this behavior, but enable it by default. This parameter would allow the user to roll back and disable the touch event trigger if it suddenly becomes an issue.
Contributor guide
Research direction
Start by locating Lexical's list indentation handling and the entry points for touch events on mobile devices. Trace how left and right swipes could change list nesting, then determine where the behavior can be parameterized. Done means swiping changes indentation as shown in the attached example and users can disable the touch trigger.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- typescript
- Domain
- frontend
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Quiet
- Clarity
- Mostly clear
- Newbie friendliness
- 48/100