Skip to content

Real-time network monitor + outbound firewall — see & block every connection. Privacy-first, local-first, Rust fleet agent, SIEM exports, 8 languages. / Moniteur réseau temps réel + pare-feu sortant, agent de flotte Rust, exports SIEM. 100 % local.

ui: float the search/filter card above the legend bento (bottom-right)

MoneyLisa2b42068b3dde
diff --git a/frontend/src/App.jsx b/frontend/src/App.jsx
index 9c6b958..fa02764 100644
--- a/frontend/src/App.jsx
+++ b/frontend/src/App.jsx
@@ -19,6 +19,7 @@ import AuroraCurtain from './components/AuroraCurtain'
import MapView from './map/MapView'
import AppsView from './components/AppsView'
import Sidebar, { matchesFilter } from './components/Sidebar'
+import SearchBar from './components/SearchBar'
import { AlertBell, AlertPanel, AlertToasts } from './components/AlertPanel'
import { SettingsButton, SettingsPanel } from './components/Settings'
import Onboarding from './components/Onboarding'
@@ -216,7 +217,25 @@ export default function App() {
FR: Toasts flottants pour les alertes warning/critiques. */}
<AlertToasts alerts={alerts.filter(a => a.severity !== 'info').slice(0, 3)} />
- {view === 'graph' && <Legend />}
+ {/* EN: Bottom-right bento column — search/filter card floats
+ ABOVE the legend card, both over the graph.
+ FR: Colonne bento en bas à droite — la carte recherche/filtres
+ flotte AU-DESSUS de la carte légende, sur le graphe. */}
+ {view === 'graph' && (
+ <div style={{
+ position: 'absolute', bottom: 16, right: 16,
+ display: 'flex', flexDirection: 'column', gap: 8,
+ alignItems: 'flex-end', width: 230,
+ }}>
+ <div style={{
+ width: '100%', boxSizing: 'border-box',
+ background: '#0f0f0f', border: '1px solid #2a2a2a', borderRadius: 12,
+ }}>
+ <SearchBar filter={filter} onChange={setFilter} />
+ </div>
+ <Legend />
+ </div>
+ )}
</div>
<Timeline />
@@ -792,9 +811,8 @@ function Legend() {
]
return (
<div style={{
- position: 'absolute', bottom: 16, right: 16,
background: '#0f0f0f', border: '1px solid #2a2a2a',
- borderRadius: 8, padding: '10px 14px',
+ borderRadius: 12, padding: '10px 14px',
}}>
{items.map(({ Icon, color, label }) => (
<div key={label} style={{ display: 'flex', alignItems: 'center', gap: 8, marginBottom: 4 }}>
diff --git a/frontend/src/components/Sidebar.jsx b/frontend/src/components/Sidebar.jsx
index 25add4f..0aa96ff 100644
--- a/frontend/src/components/Sidebar.jsx
+++ b/frontend/src/components/Sidebar.jsx
@@ -12,7 +12,6 @@
import { Wifi, Smartphone, Monitor, Tv, Cpu, HelpCircle, ShieldOff } from 'lucide-react'
import PrivacyScore from './PrivacyScore'
import BandwidthChart from './BandwidthChart'
-import SearchBar from './SearchBar'
import { useT } from '../i18n'
// EN: Lucide icon per LAN device type. / FR: Icône Lucide par type d'appareil LAN.
@@ -123,12 +122,6 @@ export default function Sidebar({ nodes, lanDevices, packets, selected, onClose,
<span style={{ fontSize: 10, color: '#475569', letterSpacing: 1 }}>{t('tagline')}</span>
</div>
- {/* EN: Search + category chips — first card, right under the brand.
- FR: Recherche + puces de catégorie — première carte, juste sous la marque. */}
- <div style={CARD}>
- <SearchBar filter={filter} onChange={onFilterChange} />
- </div>
-
{/* EN: Quick counters + live bandwidth sparkline.
FR: Compteurs rapides + sparkline de débit en direct. */}
<div style={{ ...CARD, padding: '10px 16px' }}>