afch-rewrite
afch-rewrite copied to clipboard
"Main menu" should be customizable
At the moment, the "main menu" of the script has 3 buttons: Accept, Decline, and Comment. I can click on the arrow to the right to show Clean and Mark as Reviewing.
However, I only use three of those buttons on a regular basis: Accept, Decline, and Clean.
There should be an option in the preferences so I can select which buttons appear in the "main menu", as the buttons in the "secondary" menu (i.e. the one hidden by the arrow on the right) should be truly secondary.
Of course the other option is to reduce the size of the buttons and enable the all to be displayed without the need for a slide out menu..
I feel like the main reason there's a slide out menu in the first place is so that
- the buttons present larger targets (Fitts's law!)
- there's less complexity open to the user by default
i.e. I'd rather not see options that I never use by default.
A few more thoughts on this:
- We could use something like jqxDragDrop.
- Or, we could have a table with two columns: name of action and a two-state slider indicating whether it's on the primary or secondary menu.
- The Ozone Web Framework solution looks pretty cool, but complicated.
- HTML Goodies seems to have a good solution, but the demo link gives a 404.
- The solution HTML Goodies uses is a combination of the Draggable and Droppable jQuery UI elements.
At the moment, I'm leaning towards the last one on the list (jQuery UI) just because it looks nicer and seems easier to use.