zotero / zotero-ios

Zotero for iOS
https://apps.apple.com/us/app/zotero/id1513554812
Other
225 stars 27 forks source link

Tag selector should show all currently used tags at the top, with a separator #216

Open stakats opened 3 years ago

stakats commented 3 years ago

I shouldn't have to scroll down past hundreds of unused tags to de-select a tag. And I shouldn't have to type in its name either.

dstillman commented 3 years ago

In the "Add tag" popup, you mean? As in, if you've previously added tags to an item and that tap "Add tag" to add more?

If selected ones appear at the top, what would happen if you unchecked them? Would they immediately re-sort back down to their usual position in the list?

If you check a tag in the middle of the list, does it immediately sort up to the top of the list and disappear from view?

I think the only way this makes sense is if there's a separate section at the top, and the tags selected when you enter the pane appear at the top and stay there even after unchecking them, and then they're duplicated later in the list so they still appear in alphabetical order. And even that's tricky, because if newly checked tags were duplicated into the top section, we would want to precisely adjust the scroll position to account for the new row up top (causing only the scroll bar to change, which is also sort of weird).