Skip to content

fix: add dashboard asset filter panel with URL-persisted state#344

Merged
Mosas2000 merged 1 commit into
StellaBridge:mainfrom
Yusufolosun:fix/dashboard-asset-filter-panel
Apr 29, 2026
Merged

fix: add dashboard asset filter panel with URL-persisted state#344
Mosas2000 merged 1 commit into
StellaBridge:mainfrom
Yusufolosun:fix/dashboard-asset-filter-panel

Conversation

@Yusufolosun
Copy link
Copy Markdown
Contributor

Closes #269

Summary

Adds a dashboard filter panel supporting asset multi-select, bridge filtering, status filtering, time range presets, saved filter presets, clear-all, URL-persisted state, and responsive accessible controls.

Root Cause

The dashboard page only implemented a local status dropdown and lacked the broader filter panel/state behavior required for narrowing dashboard data by asset, bridge, status, and time range.

Fix

  • Added a dedicated dashboard filter hook with URL parsing/serialization and local preset persistence
  • Added a new filter panel component under frontend/src/components/Filters
  • Wired filter state into dashboard asset and bridge widget rendering
  • Preserved existing widget customization and sorting behavior
  • Documented filter behavior and URL parameter format

Testing

  • ✅ Focused tests added and passing for filter parsing/serialization and time-range logic
  • ✅ All changed files are error-free in editor diagnostics

@drips-wave
Copy link
Copy Markdown

drips-wave Bot commented Apr 24, 2026

@Yusufolosun Great news! 🎉 Based on an automated assessment of this PR, the linked Wave issue(s) no longer count against your application limits.

You can now already apply to more issues while waiting for a review of this PR. Keep up the great work! 🚀

Learn more about application limits

@Mosas2000
Copy link
Copy Markdown
Contributor

Resolve the conflict

@Yusufolosun Yusufolosun force-pushed the fix/dashboard-asset-filter-panel branch from 5ed629d to d071787 Compare April 28, 2026 22:41
@Yusufolosun
Copy link
Copy Markdown
Contributor Author

@Mosas2000 Conflicts resolved

@Mosas2000
Copy link
Copy Markdown
Contributor

huh

@Yusufolosun Yusufolosun force-pushed the fix/dashboard-asset-filter-panel branch from d071787 to ec0bc42 Compare April 29, 2026 06:15
@Yusufolosun
Copy link
Copy Markdown
Contributor Author

@Mosas2000 Conflicts resolved

@Mosas2000 Mosas2000 merged commit 2faaf95 into StellaBridge:main Apr 29, 2026
11 of 14 checks passed
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.

Build Asset Filter Panel

2 participants