200ok-ch / organice

An implementation of Org mode without the dependency of Emacs - built for mobile and desktop browsers
https://organice.200ok.ch/
GNU Affero General Public License v3.0
2.44k stars 152 forks source link

Mobile option to use long press instead of tap #994

Closed ryflamm closed 1 month ago

ryflamm commented 1 month ago

Before creating a new issue, please read the "How we work with issues" section in the documentation: https://organice.200ok.ch/documentation.html#how_we_work_with_issues

Is your feature request related to a problem? Please describe. Difficult to toggle check boxes without opening edit options modal.

Describe the solution you'd like Mobile option to use long press instead of tap

Describe alternatives you've considered

Additional context I want to be able to view files without the edit pop-up appearing so readily. My main use case is with todo lists (check boxes). I find it difficult to select the checkbox without accidentally triggering the edit modal. This could be remedied by simply adding the option to only open the edit modal on a long press. Preferably this could also be set in specific file settings.

I think this feature would make the app more functional as a mobile reader/viewer when editing is not desired.

munen commented 1 month ago

Hi @ryflamm

Thanks for getting involved with UX :pray:

On this specific topic, I don't understand the issue, though. When checking checkboxes, there is no modal. And the button for entering the modal is in the headline, not where the checkboxes are:

https://github.com/user-attachments/assets/013890ae-441a-464c-b15d-1cad8b2b37bc

Please clarify.

ryflamm commented 1 month ago

@munen, thanks for the prompt reply.

And sorry if I'm using incorrect terminology. But what I'm referring to is the menu drawer that appears below the current selected line, altering the position of the above/below lines.

While great for editing, I find that menu distracting and cumbersome when I simply want to view/read a file. In particular, when trying to go through a check list it makes it difficult to quickly check or uncheck boxes. This issue I'm referring to is probably more applicable to using the app on a phone (and perhaps other 'small' touch screen devices) where tapping is less precise than a mouse click.

As mentioned before, I think that providing the option on mobile devices to use a long-press, instead of a single tap, to 'focus' on a line and open the menu drawer would be a relatively easy way to improve the user experience for mobile platforms. Though I suppose this could also be done on a desktop (long press or maybe double click) to behave a bit more like a reader/viewer if the user wants.

And a tangential suggestion, it would be nice to be able to deselect a line. As once the menu drawer is visible there doesn't seem to be a way to make it go away.

https://github.com/user-attachments/assets/1fd9751f-b7b3-4074-95fa-e57c4701c481