mirror of
https://github.com/smittix/intercept.git
synced 2026-04-24 06:40:00 -07:00
fix: prevent silent muting from hiding pager messages
The "Mute" button on pager cards persists muted addresses to localStorage with no visible indicator, making it easy to accidentally hide an address and forget about it. This caused flag fragment messages on RIC 1337 to silently disappear. - Add "X muted source(s) — Unmute All" indicator to sidebar - Stop persisting hideToneOnly filter across sessions so the default (show all) always applies on page load - Remove default checked state from Tone Only filter checkbox Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
@@ -3663,7 +3663,11 @@
|
||||
const saved = localStorage.getItem('pagerFilters');
|
||||
if (saved) {
|
||||
try {
|
||||
pagerFilters = JSON.parse(saved);
|
||||
const parsed = JSON.parse(saved);
|
||||
// Only persist keywords across sessions.
|
||||
// hideToneOnly defaults to false every session so users
|
||||
// always see the full traffic stream unless they opt-in.
|
||||
if (Array.isArray(parsed.keywords)) pagerFilters.keywords = parsed.keywords;
|
||||
} catch (e) {
|
||||
console.warn('Failed to load pager filters:', e);
|
||||
}
|
||||
@@ -3964,6 +3968,7 @@
|
||||
|
||||
// Load pager message filters
|
||||
loadPagerFilters();
|
||||
if (typeof SignalCards !== 'undefined') SignalCards.updateMutedIndicator();
|
||||
|
||||
// Initialize dropdown nav active state
|
||||
updateDropdownActiveState();
|
||||
|
||||
Reference in New Issue
Block a user