strongbox-password-safe / Strongbox

A KeePass/Password Safe Client for iOS and OS X
https://strongboxsafe.com
GNU Affero General Public License v3.0
1.35k stars 102 forks source link

Sorting of items and groups #698

Open slalabs opened 1 year ago

slalabs commented 1 year ago

It would be a nice enhancement to have more customized sorting options.

For myself, I have groups like Logins, Credit Cards, Passwords and so on. The "Logins" Group should be the first item in the list. If I enable custom sorting, my entries are not alphabetical anymore :(

A option for sorting groups separate from the entries would be nice 😀

strongbox-mark commented 1 year ago

Hi @slalabs - You should already be able to do this. I presume you mean on iOS? If so, checkout the "Keep Groups on Top" in sort menu when you are on the Groups tab.

You can change ordering by choosing "Custom Sort" order in the sort menu, and then choosing "Select" from the "More" button (circle with 3 dots) menu. This will allow you to re-arrange/re-order items.

If this isn't helpful, you'll need to provide much more detail. Thanks!

slalabs commented 1 year ago

Thanks for your explanation, mark! But that is not exactly it, let me visualize:

Database Root

That's my structure. In every group are entries, also some in Root. Your recommendation sets the entries in Root under the groups in the list, but the list is alphabetically too:

Database Root

I wish there was a setting that respects my custom group order, while ordering my entities (in the groups) alphabetically :)

strongbox-mark commented 1 year ago

Hi, would you be able to say if this is on iOS or macOS and provide a screenshot with an example of what you're seeing (Create a new Database if you like), v difficult to know what you mean and where. Thanks.

slalabs commented 1 year ago

Hi Mark,

I have custom sorting enabled, to leave my group-structure like it is.

IMG_3194

With custom enabled, my entries in the groups are not alphabetically

IMG_3190

I found out, apple is the last because it is the last created. In the view in the group, I would need an alphabetically sorting.

IMG_3193

If I enable alphabetically, my groups in the database root are messed up.

IMG_3189

Sort groups custom, sort entries alphabetically. In this example, there are only 3 groups and entries. My main DB has around 1000 entries and 23 groups. This is really a mess. In the official KeePassXC Desktop App they leave my groups alone, I could only sort the entries (alphabetically, has notes, username, URL and so on).

You could get my demo here, the password is strongbox

strongbox-mark commented 1 year ago

Hi @slalabs - Got it now... ok, yeah, interesting use case, it makes sense that you can do this in the Desktop app because there is a separate pane for entries.

Could be a nice addition to our sort options on the Groups tab... will add it to the list.