Skip to content

[FEATURE]: Discord-like swipe gestures #85

Description

@trueberryless

❓ Is your feature request related to a problem?

Having to click the back buttons at the very top of the screen on mobile is very annoying especially for one-hand users. Discord has solved this problem quite cleanly by introducing swipe gestures everyone got used to already, so I suggest adapting their UX.

✨ Describe the solution you'd like

When I am in a channel, I want to be able to swipe to the right, so that the channel list appears from the left. Similarly, when the channel list is visible, a left swipe should cleanly navigate me to the last opened channel.

🛣️ Describe alternatives you've considered

Moving the back button down would potentially also work, but it ruins the already clean design.
And because of similarities to Discords design I would expect a swipe gesture nonetheless, so I think it would be very beneficial this way or another.

💡 Additional context

This is a very tricky transition to get right for ideal UX. I implemented a plugin for Starlight with swipe gestures some time ago (but more as a fun challenge than anything serious), where you can take inspiration if you want. But there are surely much more elegant solutions: https://github.com/trueberryless-org/starlight-sidebar-swipe/blob/main/packages/starlight-sidebar-swipe/overrides/MobileMenuToggle.astro

🤝 Participation

  • I am willing to help implement this feature.

Metadata

Metadata

Assignees

Labels

acceptedThis feature request has been accepted and will be implementedenhancementNew feature or request

Type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions