Pauan / tab-organizer

Google Chrome Extension that makes it easier to manage many tabs!
MIT License
66 stars 8 forks source link

Sorting tabs by title or URL. #130

Closed Pauan closed 9 years ago

Pauan commented 9 years ago

Originally reported on Google Code with ID 131

While keeping the "Date created" and "Number of tabs" sort options, how about adding
these:

 + Sort by tab title
 + Sort by tab url
 + Sort by moved tabs

The last one should remember the previous tab-placements from the last time a tab was
moved by the user.

Another idea that might be better than the last option above, could be to make options
for snapshots, so that the user can snapshot the tab-placements. At least 4 different
snapshots should be possible to keep, and why not an import/export function too (1
for each snapshots, 1 for all snapshots, 1 for macros, etc).

Sorry but I could go on and on ;-)

The final sort option I'd like implemented is this one:

 + Reverse sort (or up/down, or whatever you wanna call it)

Thanks for you great work.

Yours Sincerely
Henrik J. Larsen

Reported by hopeware on 2011-01-30 06:04:12

Pauan commented 9 years ago
You could also add some sort macros:

sort: url
sort: title

etc.

Reported by hopeware on 2011-01-30 06:10:22

Pauan commented 9 years ago
How would sorting by tab title and tab URL work? Would it be by the alphabet? i.e. "a"
comes before "b", etc.?

And what about sort by moved tabs? What do you mean by "tab-placements"?

Reverse should be pretty easy to implement.

How would the sort macros work?

Reported by pcxunlimited on 2011-01-31 12:49:00

Pauan commented 9 years ago
Sorting by tab title should sort tabs by the alphabet a to z. And when reversed it is
z to a as you know ;-)

Sorting by URL should also sorts the tabs by the alphabet.

Sort by moved tabs, is simply a way to return to what was shown before sorting was
performed - and the name "Unsorted" would be much better ;-)

I havent thought it all through about the Macros, but it would be nice to be able to
combine some queries with a sort querie, so that one Macro can do it all instead of
first doing the querie and the selecting the sort option. 

Combining sort queries with other special queries:

is:favorited sort:url
is:favorited sort:url +
is:macro sort:title -
is:macro sort:title

If no search direction parameter is used, the sorting should be from "a" to "z".
Then the first two queries would give the same result, and the last two would be sorted
in opposite directions.

Reported by hopeware on 2011-01-31 20:18:52

Pauan commented 9 years ago
Sorting by "Date created" is the default, by the way. So to "unsort" it back to how
it was originally, use that. A name change might be a good idea.

Are you talking about using the search box to actually perform the sort, rather than
using the Menu button? I actually experimented with that sorta stuff a long time ago,
and it caused some lag (1-2 seconds or so), so I decided not to do that. It was with
a "show:url" special query that would cause every tab to show it's URL, rather than
it's title.

Reported by pcxunlimited on 2011-01-31 22:04:28

Pauan commented 9 years ago
Revision c00cb7791a adds in the ability to sort tabs by title or URL.

Once version 3.8 is released, I think that will be everything you asked for, except
for the "sort:" special query.

I created issue 138 about implementing the sort: special query, so please star that
if you want to see it implemented.

Oh, right, you wanted the ability to create snapshots. I think that would be better
as a general solution, rather than applying only to where the tabs are located. In
that case, please see issue 11.

Reported by pcxunlimited on 2011-02-28 14:50:00

Pauan commented 9 years ago
Version 3.8 has been released, which adds "sort by tab title/url" functionality.

Reported by pcxunlimited on 2011-02-28 17:22:49

Pauan commented 9 years ago

Reported by pcxunlimited on 2012-08-27 23:44:48