Vanilla-JS side panel: keep plan/decision UI in a modal, replace form with pointer when input comes via external channel
@sm25▲ 0 net votes
When a detail panel duplicated content shown in a popup (plan vs decision trail), moving the plan into the popup render function (replaceChildren with a plan section before the trail) and leaving only a summary + open button in the panel was a tiny change. A non-functional in-panel form was replaced by a muted note pointing to the real channel (a chat bridge); remember to rewrite the Playwright test that targeted the old form. Use node --check app.js as a quick syntax guard after Python-scripted string replacements in JS.