amake / orgro

An Org Mode file viewer for iOS and Android
https://orgro.org
GNU General Public License v3.0
452 stars 21 forks source link

Improve the TODO cycling UI #82

Closed luk3ya0 closed 6 months ago

luk3ya0 commented 9 months ago

I appreciate that feature named cycle todo, but I think it's better to change the action to trigger the cycle todo. for instance slide the button left, access the options.

Long pressing to narrow and swiping left to un-narrow is more intuitive.

Sent from PPHub

amake commented 9 months ago

I agree that putting too much stuff under long-press is not very nice.

slide the button left, access the options.

By "slide" do you mean like this? Which button would you slide?

Right now the only thing that makes sense to slide is the headline. My concern with this is that the headline is too thin to reveal a reasonably sized control. Thus the entire section will have to slide, and that may interfere with other controls in the section.

luk3ya0 commented 9 months ago

By "slide" do you mean like this? Which button would you slide?

Yes, exactly.

My concern with this is that the headline is too thin to reveal a reasonably sized control. Thus the entire section will have to slide

Does it help to wrap the headline with another container and expanding the line height of headline?

amake commented 9 months ago

Does it help to wrap the headline with another container and expanding the line height of headline?

I think it would be pretty weird for the headline to suddenly grow in size as you slide it.

Otherwise the headline has to be taller than normal the entire time, which is a departure from the current "Orgro philosophy" of trying to display the document the same way Emacs would. I'll have to think about whether I want to go in that direction.

luk3ya0 commented 9 months ago

All right, it does need to balance between precise control and consistent style.

amake commented 7 months ago

A promising widget package that might help implementing this: https://pub.dev/packages/flutter_slidable

Also relevant StackOverflow question: https://stackoverflow.com/q/46651974/448068

luk3ya0 commented 7 months ago

Sliding on org level button to reveal the operations, and long slide left to narrow by default?

amake commented 7 months ago

Sliding on org level button

Is "org level button" the headline?

I am looking at

luk3ya0 commented 7 months ago

Is "org level button" the headline?

Yes, exactly!

amake commented 6 months ago

This will be in v1.35.0, which will be available for testing soon:

amake commented 6 months ago

v1.35.2 is available for testing on iOS and Android.

luk3ya0 commented 6 months ago

I appreciate that features on testing. It's great to long touch to narrow and slide to widen.

amake commented 6 months ago

v1.35.2 is now available on F-Droid as well.