android-app icon indicating copy to clipboard operation
android-app copied to clipboard

Improve article tags managing screen

Open di72nn opened this issue 3 years ago • 6 comments

  • [ ] Sort tags by frequency.

di72nn avatar Jul 18 '20 09:07 di72nn

I do find the tag screen a bit clunky.

Here are some mockups that I think would improve the UI. [This is using the salt wireframe language of PlantUML, which I just discovered and was looking for an excuse to use, so here goes!]

The UI is currently like this: wallabag-current-tags

wallabag-current-tags
@startsalt
{
  { [<&chevron-left>] | Manage tags}  | [<&check>]
  Selected Tag 1 | [<&trash>]
  Selected Tag 2 | [<&trash>]
  ..
  Add more tags:
  "Tag entry" | [Add]
  Tag suggestion 1
  Tag suggestion 2
  ...
}
@endsalt
  1. Title bar and validation
  2. List of tags (could be many)
  3. Entry box for a new tag (could be outside of the viewport)
  4. Tag suggestion

One issue is that after entering a new tag in 3, one needs to move their finger all the way back up to 1. to validate.

Instead, we could have something like the following, putting all the input widgets and buttons at the top, and just a simple list of selected tags in the rest of the view.

wallabag-proposed-tags

wallabag-proposed-tags
@startsalt
{
  { [<&chevron-left>] | "Tag entry" | [Add] } | [<&check>]
  Selected Tag 1 | [<&trash>]
  Selected Tag 2 | [<&trash>]
  ...
  ...
}
@endsalt

Suggested tags would pop out of the new tag entry when typing. wallabag-proposed-tags-completion

wallabag-proposed-tags-completion
@startsalt
{
  { [<&chevron-left>] | {* Tag entry
 Tag entry | Tag suggestion 1 | Tag suggestion 2 } | [Add] } | [<&check>]
  Selected Tag 1 | [<&trash>]
  Selected Tag 2 | [<&trash>]
  ...
  ...
}
@endsalt

shtrom avatar Sep 25 '20 13:09 shtrom

@shtrom thanks for the suggestion!

I considered doing something like that in #998, but for some reason I didn't finish it. I'll try to give it another go sometime.

di72nn avatar Oct 01 '20 10:10 di72nn

@di72nn is the PR accepted yet? I have this issue and it makes tagging articles quite hard.

Thanks for your work so far!

KhaaL avatar Jul 27 '22 11:07 KhaaL

@KhaaL there's no PR for this yet. And I have no idea when I'll be able to work in this, unfortunately.

di72nn avatar Aug 01 '22 20:08 di72nn

No worries, life tends to keep one busy :-) thanks for replying.

KhaaL avatar Aug 02 '22 05:08 KhaaL

Was just about to create an issue about tag sorting in the tag suggestions/completions when adding a new article. I would find an ordering by most-recently-used useful wheneadding multiple articles about the sam topic. I could al imagine a "hotness" algorithm combining both recency and frequency (e.g. using exponential decay) but would't overengineer that.

meliache avatar Jun 21 '23 16:06 meliache