madprops / grasshopper

Advanced Tab Manager For Firefox
https://addons.mozilla.org/firefox/addon/grasshopper-urls/
GNU General Public License v3.0
55 stars 2 forks source link

Reverse Sorting only for Selected Tabs possible? #100

Closed eLionsson closed 5 months ago

eLionsson commented 5 months ago

Hello madprops.

I have been using your Grasshopper for a long time and am very impressed with the many options this add-on offers. Now I have a request: was it possible to implant a function that reverses the sorting of order of marked tabs? This currently doesn't seem possible to me, or am I perhaps overlooking this?

CU Lionsson

madprops commented 5 months ago

I don't know what you mean by marked tab.

eLionsson commented 5 months ago

Wow: what a fast answer! Thank you very much for that. I will try to describe:

There are e.g. 20 open tabs. I open the Grasshopper sidebar. Then I mark the last 5 tabs in the sidebar. Perhaps „I select“ is the correct expression, sorry my perhaps wrong wording. I then want to reverse the order of those 5 tabs. For example by a right klick > sort > reverse order. They currently show up in the order of having been opened.

Hope this is more understandable… CU Lionsson

madprops commented 5 months ago

Ah I see. I'd have to add a Reverse command. I'll see if it's doable. But I can see it being useful.

eLionsson commented 5 months ago

And again: thank you very much. I'm very much charged with tension to see whether you will be able to manage this. This function would make my work with Firefox much easier. CU Lionsson

madprops commented 5 months ago

Added Reverse, Sort Asc, and Sort Desc

Added these to the item menu:

reversemenu

(These are only visible when multiple items are selected)

Added a warn setting to enable/disable the confirm dialog:

warn234

eLionsson commented 5 months ago

That simply works. I Don#t know what to say. I am very impressed. Thank you very very much. Mille grazie. CU Lionsson

eLionsson commented 5 months ago

I will check in my every-day-work the next time, and if there are any complications I will let you know. What I already tried: closing and opening both the window in question, and the entire Firefox. The reversed order stays. Great! CU Lionsson