agent-zero/webui/components/settings
Alessandro 92168a1b04 css polish and modal close fix
When you close a modal, the DOM element is physically removed from the document tree, which is what triggers x-destroy. Using Alpine's $dispatch('event'), the event fires from the detached element and cannot bubble up to the window where our x-on:plugin-modal-closed.window listener is waiting to refresh the list of plugins.

To fix this so it works 100% of the time, I've bypassed the bubbling entirely by explicitly dispatching the event directly on the window object using native JS inside the x-destroy directive.

Now, the moment the modal closes the listener catches it, and the list refreshes automatically, showing the "Advanced" button right away, so you can go back to the Advanced toggling modal to do edits without having to refresh.
2026-02-26 10:54:09 +01:00
..
a2a plugins - frontend PoC 2026-02-16 20:01:25 +01:00
agent refactor memory to standalone config and unify plugin UI 2026-02-20 09:10:16 +01:00
backup fix compatibility warning 2026-02-06 14:24:07 +01:00
developer Settings polishing, logout button 2026-02-05 22:02:49 +01:00
external plugins - frontend PoC 2026-02-16 20:01:25 +01:00
mcp plugins - frontend PoC 2026-02-16 20:01:25 +01:00
plugins css polish and modal close fix 2026-02-26 10:54:09 +01:00
secrets v0.9.5-pre cleanup, polishing, bugfixing 2025-08-25 09:59:44 +02:00
skills polish skills import, bugfixes 2026-02-06 13:41:56 +01:00
speech api cleanup, microphone permission 2025-07-15 21:04:56 +02:00
tunnel Merge branch 'pr/855' into development 2026-01-07 09:42:36 +01:00
settings-store.js workdir outside project, gitkeeps 2026-02-08 14:54:49 +01:00
settings.html Settings polishing, logout button 2026-02-05 22:02:49 +01:00