From 1dc89496cf292f4908fb91bb14f82d2ee64536f4 Mon Sep 17 00:00:00 2001 From: highperfocused Date: Sun, 6 Sep 2026 18:09:41 +0200 Subject: [PATCH] fix: address review feedback on the Spells app MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Per review: - Scope is now derived (forced to "discover" when signed out) rather than stored as the requested value directly, matching the Feed app's pattern — signing out mid-session can no longer leave "My Spells" selected. - resolveSpellFilter() now validates a spell's tag-filter letter (single a-zA-Z char) before using it as a "#" filter key, and clamps limit to [1, 500] instead of trusting a relay-sourced spell's number outright — a malformed or hostile spell can no longer produce a "#undefined" filter key or an enormous/NaN/zero limit. Added regression tests for all of these. - NewSpellForm's Field now renders a real