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

Add option for disabling tag grouping #735

Merged
merged 2 commits into from
May 17, 2024

Conversation

vslinko
Copy link
Contributor

@vslinko vslinko commented May 14, 2024

No description provided.

@@ -289,6 +298,19 @@ def create_tag_groups(tags: Set[Tag]):
groups.append(cjk_group)
return groups

@staticmethod
def _create_tag_groups_disabled(tags: Set[Tag]):
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This creates one "group" for each tag, which effectively results in each tag using one row. From my experience most people tend to add more tags rather than less, so they end up with lots of them (there are cases with more than a thousand tags). As a default, I think it makes more sense to display tags as inline elements from left to right, and then let them break into new lines when necessary. If your intention was to have one tag per row, you should still be able to make that work with custom CSS.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Done

@sissbruecker sissbruecker changed the title Configurable tag grouping Add option for disabling tag grouping May 17, 2024
@sissbruecker sissbruecker merged commit e03f536 into sissbruecker:master May 17, 2024
2 checks passed
@vslinko vslinko deleted the tag-grouping-settings branch May 18, 2024 08:22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants