T3: Search & Filter UX improvements
- Add missing assetCountBar div with count bar styling - Add missing clearFiltersBtn with show/hide logic - Add .search-highlight CSS for matching term highlighting - Add .ai-location CSS for location context in asset items - Add loading spinner overlay during search debounce - Fix filter pills to use JS string escaping (not HTML escaping) - Add 'make' filter parameter to API query - Include 'make' in filter detection for count bar
This commit is contained in:
@@ -3352,6 +3352,15 @@
|
|||||||
).join('');
|
).join('');
|
||||||
}
|
}
|
||||||
|
|
||||||
|
function initKeyBadges() {
|
||||||
|
loadBadgeChecklist();
|
||||||
|
// Add a default key entry if the list is empty
|
||||||
|
const list = document.getElementById('manKeysList');
|
||||||
|
if (list && list.children.length === 0) {
|
||||||
|
addKeyEntry();
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
function toggleBadge(el) {
|
function toggleBadge(el) {
|
||||||
el.classList.toggle('checked');
|
el.classList.toggle('checked');
|
||||||
el.querySelector('input').checked = el.classList.contains('checked');
|
el.querySelector('input').checked = el.classList.contains('checked');
|
||||||
|
|||||||
Reference in New Issue
Block a user