Skip to content

armgit / Pulse

Public Imported from GitHub
0

Real-time monitoring dashboard for Proxmox VE, PBS, Docker, Kubernetes, TrueNAS and vSphere. Self-hosted, with alerts for failed backups, full disks, unhealthy containers and offline nodes.

Restore focus indicator on FilterBar search inputs

rcourtmanbbbc8b0b93ef
diff --git a/frontend-modern/src/components/shared/FilterBar/AddFilterMenu.tsx b/frontend-modern/src/components/shared/FilterBar/AddFilterMenu.tsx
index e9a30f4c5a..49166044c2 100644
--- a/frontend-modern/src/components/shared/FilterBar/AddFilterMenu.tsx
+++ b/frontend-modern/src/components/shared/FilterBar/AddFilterMenu.tsx
@@ -248,7 +248,7 @@ export const AddFilterMenu: Component<AddFilterMenuProps> = (props) => {
onKeyDown={handleSearchKeyDown}
placeholder={activeFilter() ? 'Search values...' : 'Search filters...'}
aria-label={activeFilter() ? 'Search values' : 'Search filters'}
- class="w-full bg-transparent py-1.5 pl-7 pr-2 text-xs text-base-content placeholder-muted outline-none"
+ class="w-full bg-transparent py-1.5 pl-7 pr-2 text-xs text-base-content placeholder-muted outline-none focus-visible:ring-2 focus-visible:ring-blue-500 focus-visible:rounded"
/>
</div>
diff --git a/frontend-modern/src/components/shared/FilterBar/FilterChip.tsx b/frontend-modern/src/components/shared/FilterBar/FilterChip.tsx
index 8f6b98ce8c..bdb117ab61 100644
--- a/frontend-modern/src/components/shared/FilterBar/FilterChip.tsx
+++ b/frontend-modern/src/components/shared/FilterBar/FilterChip.tsx
@@ -162,7 +162,7 @@ export const FilterChip: Component<FilterChipProps> = (props) => {
onKeyDown={handleSearchKeyDown}
placeholder="Filter values..."
aria-label={`Filter ${props.filter.label} values`}
- class="w-full bg-transparent py-1.5 pl-7 pr-2 text-xs text-base-content placeholder-muted outline-none"
+ class="w-full bg-transparent py-1.5 pl-7 pr-2 text-xs text-base-content placeholder-muted outline-none focus-visible:ring-2 focus-visible:ring-blue-500 focus-visible:rounded"
/>
</div>
<div class="max-h-64 overflow-y-auto py-1">