[UI] Add search bar to dashboard as cannot use browser search
Bug #1757312 reported by
Michael Iatrou
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
MAAS |
Fix Released
|
Wishlist
|
Unassigned |
Bug Description
Given that for performance we no longer render all objects in the dashboard, we need a search bar.
[Original bug report]
MAAS version: 2.3.1
The network discovery dashboard (/MAAS/#/dashboard) even in relatively simple environments can be several pages long.
The browser "Search" function doesn't work, if the matching string is outside of the current viewing page section.
Tested with Firefox and Chrome.
Related branches
~steverydz/maas:dashboard-search
Merged
into
maas:master
- Björn Tillenius: Approve
- MAAS Lander: Approve
- Caleb Ellis (community): Approve
-
Diff: 444 lines (+363/-5)4 files modifiedsrc/maasserver/static/js/angular/controllers/dashboard.js (+117/-4)
src/maasserver/static/js/angular/controllers/tests/test_dashboard.js (+162/-0)
src/maasserver/static/js/angular/filters/nodes.js (+12/-0)
src/maasserver/static/partials/dashboard.html (+72/-1)
tags: | added: ui ux |
Changed in maas: | |
importance: | Undecided → Wishlist |
Changed in maas: | |
status: | Triaged → Fix Committed |
Changed in maas: | |
milestone: | 2.4.x → 2.6.0alpha2 |
Changed in maas: | |
status: | Fix Committed → Fix Released |
To post a comment you must log in.
Hi Michael,
This bug in itself is a 'won't fix' provided that it is expected that browser search not to work because, for performance, we do virtual scrolling, which doesn't load all devices.
That said, there was a bug to add a search bar on the dashboard, but I cannot find it. So I'm going to re-use this for such purpose.