mirror of
https://github.com/MarekWo/mc-webui.git
synced 2026-07-27 03:52:29 +02:00
233b967032
Time range and the filter bar reset on every open, so a working set like "Last 1 day + 2/3-byte" had to be re-entered each time. The controls are now stored in localStorage - a personal working set, not device state, so it stays out of the database. Only user-driven changes are stored: programmatic ones, such as the deep-link widening the range to 7 days to find an older message, must not overwrite the saved set. Restoring is skipped entirely when arriving via a deep link, where a saved filter could hide the very message the user clicked through to. The Routes segment length rides along - same "set it again every visit" annoyance. A stored value for an option that no longer exists is ignored. Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>