amake / orgro

An Org Mode file viewer for iOS and Android

Home Page:https://orgro.org

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Improve the TODO cycling UI

luk3ya0 opened this issue · comments

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

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.

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?

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.

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

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

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

Sliding on org level button

Is "org level button" the headline?

I am looking at

  • Long touch on headline to narrow (as before)
  • Slide entire section to reveal additional actions (currently just "Cycle TODO")

Is "org level button" the headline?

Yes, exactly!

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

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

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

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