Open alltheseas opened 1 year ago
Started experimenting the drag to open side menu to get an idea of how to best implement this.
I spent some time on this, and I found that implementing the dragging gesture to open the side menu is not very difficult, but there is a big problem.
There is a dragging conflict when trying to drag the side menu on the home tab. It seems that SwiftUI allows my custom drag gesture to happen only for a brief moment and then the gesture gets canceled in favour of doing the drag gesture for the tab view itself.
I have searched and tried several strategies to give the side menu drag gesture priority over swiping between pages on the home view when at the leftmost page, but none of them seem to work. It seems that we currently have 4 options for this ticket. I can either:
@jb55, @alltheseas, which option do you prefer?
Does the complex solution 3. eat up a disproportionate amount of your time?
If yes, I would prioritize rest of sprint and https://github.com/damus-io/damus/issues/67 per todays conversations.
To add, if we learn something through the course of a ticket that changes the balance of the sprint plan (for instance increased complexity), that's OK. With this info we can plan subsequent sprints, and we do not have to stick to such a ticket.
user story
As a pleb Damus user who utilizes multiples timelines, I would like to be able to swipe left from posts view to the side menu view and vice versa, so that I can easily and more quickly swap between different views.
acceptance criteria
related & complementary to
https://github.com/damus-io/damus/issues/1182
origin: tanel https://damus.io/note16umtl7ff085x6v2gf2f04q3fg73pkdqqm4mdfd6umcrqmhyj64hs8tdye4