Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Tags editing dialog: quick tags and filter by prefix #24

Closed
kirillt opened this issue Aug 11, 2021 · 4 comments
Closed

Tags editing dialog: quick tags and filter by prefix #24

kirillt opened this issue Aug 11, 2021 · 4 comments
Labels
good first issue Good for newcomers

Comments

@kirillt
Copy link
Member

kirillt commented Aug 11, 2021

Would be nice to add additional selector in tags editing dialog, used for putting tags into input field.
This new selector should be located under text input field and consist of the most frequent tags across the whole storage.

When a user types text into the field, quick tags must be filtered by prefix. This filter must be reset upon entering the tags separator (comma).

@kirillt kirillt changed the title Tags editing dialog: quick tags Tags editing dialog: quick tags and auto-completion Aug 12, 2021
@kirillt kirillt added the good first issue Good for newcomers label Sep 1, 2021
@kirillt
Copy link
Member Author

kirillt commented Sep 3, 2021

This new selector should ... consist of the most frequent tags across the whole storage.

The simplest way is to make it contain only the most popular tags (the more resources a tag contains the more popular it is).

Ideally, it also should contain the most recently used tags. We need to maintain stack of tags in Room for this.
Every time a tag is used, it is placed on top of the stack. We keep maximum K tags in the stack.

Quick-tags selector would contain several tags from both the most popular and the most recent, but totaling N tags, where N > K: take the most recent tags first (from 0 to K), fill the rest with the most popular tags (from N-K to N).

@kirillt kirillt mentioned this issue Aug 30, 2023
@kirillt kirillt changed the title Tags editing dialog: quick tags and auto-completion Tags editing dialog: quick tags and filter by prefix Oct 9, 2021
@kirillt
Copy link
Member Author

kirillt commented Oct 24, 2021

See point 4 in #16 for definition of "recently used tags".

@kirillt
Copy link
Member Author

kirillt commented Nov 5, 2021

Moving the most recently used tags into separate issue: #25

@kirillt
Copy link
Member Author

kirillt commented Nov 8, 2021

Follow-up: #26

@kirillt kirillt closed this as completed Nov 8, 2021
@kirillt kirillt transferred this issue from ARK-Builders/ARK-Navigator Aug 30, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
good first issue Good for newcomers
Projects
None yet
Development

No branches or pull requests

3 participants