madprops / grasshopper

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

Waypoint up and down commands #114

Closed N3C2L closed 1 week ago

N3C2L commented 1 week ago

Thanks for this new commands! But what do they do exactly ? I have this waypoints up/down command in the footer scroll wheel buttons. (thanks for that feature!) Is this waypoint command suppose to cycle through the recent tabs? But in my case it cycles only through some random pinned tabs and the last tab in the list on the bottom.

madprops commented 1 week ago

Sorry for it being so cryptic. I recently added commands to go to the first pin, the last pin, the first normal, the last normal. So I thought I'd add a command that cycled through all of those in a single action. So "waypoints" are the edges of pins and normals. Maybe I should change the name to Edge Down etc.

Also i'll upload a new version in some minutes.

N3C2L commented 1 week ago

Ah, thanks for this clarification.

madprops commented 1 week ago

New version. Renamed Waypoints to Edge.

Also added Next Unread command to go to the next unread tab.

Recently added commands to cycle between pins, and cycle between normals.

Also removed Jump from most jump commands, but they do the same thing.

Instead of Jump Header Down you'll see Header Down etc.

Because it's shorter.

madprops commented 1 week ago

Changing to to playing to Playing Up and Playing Down Unread Up , Unread Down All these are done with a centralized Jump function which is handy.

N3C2L commented 1 week ago

Very useful, thanks. I'd appreciate also "recent up" and "recent down" for quickly go to last/prev. recent tabs. 😁

madprops commented 1 week ago

Hmm that's tricky. Recent Tabs uses a temporary list of the last visited tabs and travels through it until it gets exhausted. Also I don't know what 'up' or 'down' would be in this case. If 'up' means the most recent tab that is above the current tab I guess it's doable.

madprops commented 1 week ago

What I'm gonna do is something akin to Next Recent which I don't know why it doesn't exist yet Or maybe I'll try to make it Up/Down, I guess I can compare the date of all tabs

N3C2L commented 1 week ago

I think there are some shortcuts by sidebery plugin Active tabs history: Back Active tabs history: Forward Maybe you can look in the source code there

madprops commented 1 week ago

Alright I'm adding that. The limitation is it has a timeout that resets the used list after 2 seconds of inactivity. So you can do back and forward but if you stop using those after 2 seconds the list gets re-fetched. But I guess it's still useful. An idea could be to map it to wheel up and down on favorites empty top. Also I'm changing the middle click of Step Back button to Recent Forwards.

I'm gonna make that 2 second delay a setting at the top of More.

N3C2L commented 1 week ago

Excellent! I also have these commands now mapped on wheel up/down in the favorites empty top space. Many thanks for these implementations! I think I can close this issue.