Skip to content

feat: show the most used tags as a cloud on the dashboard - #694

Open
Mario-Mohar wants to merge 1 commit into
anoopcodehack:mainfrom
Mario-Mohar:feat/tag-cloud
Open

Mario-Mohar wants to merge 1 commit into
anoopcodehack:mainfrom
Mario-Mohar:feat/tag-cloud

Conversation

@Mario-Mohar

Copy link
Copy Markdown
Contributor

Closes #578

Adds a "Top Tags" strip below the activity heatmap that shows the 12 most used tags, sized by how many tasks carry them. Clicking a tag sets the existing tag filter (the same one the tags on the cards use), clicking it again clears it. The selected tag is highlighted.

A few details:

  • The counts come from allTasks, not the filtered tasks, so the cloud stays the same while a tag filter or search is active.
  • Font size is scaled between 11 and 18 px relative to the most and least used tag in the list, so one very popular tag can't blow up the layout.
  • A tag listed twice on one task counts once.
  • The strip is collapsible like the heatmap and hidden when no task has tags.

Tested in the browser against the local API with 8 tasks: sizes and counts match, filtering by #ui shows the 2 matching cards, clicking again brings all 8 back, no console errors.

Top Tags strip with #ui selected

This branch has not been deployed

No deployments
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.

Add word cloud of most used tags on dashboard 🌐

1 participant