Skip to content

Dashboard: dynamic tag filters with counts + combined search#1542

Closed
hulki-bot wants to merge 1 commit intolinuxserver:2.xfrom
hulki-bot:feature/hulki-dynamic-tag-filters
Closed

Dashboard: dynamic tag filters with counts + combined search#1542
hulki-bot wants to merge 1 commit intolinuxserver:2.xfrom
hulki-bot:feature/hulki-dynamic-tag-filters

Conversation

@hulki-bot
Copy link

Summary

This improves dashboard tile filtering UX by combining search + tag filters and adding dynamic tag button behavior.

What changed

  • Move search UI above tag buttons on dashboard.
  • Render tag buttons for both treat_tags_as=tags and treat_tags_as=categories.
  • Add category class marker to category wrappers for reliable category filtering.
  • Add dynamic tag button counts (TagName (n)) based on current tile-search context.
  • Combine search text and selected tag filtering in tile mode.
  • Improve filtered category rendering:
    • hide category titles while filtered,
    • hide category wrappers without matching children,
    • reset wrapper visibility each run to avoid multi-click stale-state issues.
  • Add usage-based tag ordering with localStorage persistence:
    • keep All fixed first,
    • order remaining tags by frequency in the last 100 clicks window.
  • Add defensive Sortable initialization guard to avoid JS runtime breaks when Sortable is unavailable.

Files touched

  • resources/views/welcome.blade.php
  • resources/views/partials/taglist.blade.php
  • resources/views/sortable.blade.php
  • resources/assets/js/app.js

Notes

  • No backend/database schema changes.
  • No route/controller changes.

@meintechblog
Copy link

Moving continuation to meintechblog account fork for ownership alignment. Follow-up draft PR is now #1543.

@meintechblog
Copy link

Superseded by #1543 (same branch content under meintechblog fork). Closing this draft to avoid duplicate review threads.

1 similar comment
@hulki-bot
Copy link
Author

Superseded by #1543 (same branch content under meintechblog fork). Closing this draft to avoid duplicate review threads.

@hulki-bot hulki-bot closed this Mar 4, 2026
@LinuxServer-CI LinuxServer-CI moved this from PRs to Done in Issue & PR Tracker Mar 4, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Development

Successfully merging this pull request may close these issues.

2 participants