fix: reliably intercept extension update/uninstall + polish backup screen #245

Merged
jmiller merged 2 commits from fix/extension-intercept-ui into dev 2026-07-12 21:08:34 +00:00
Owner

Capture-phase click interception for the com_installer web-component toolbar buttons (update.update / manage.remove), restoring cid[] selection + boxchecked on resume. Full-bleed Atum-coloured progress bar on the runbackup screen.

https://claude.ai/code/session_01WbGBN9VyRK61zczYWcCQ2i

Capture-phase click interception for the com_installer web-component toolbar buttons (update.update / manage.remove), restoring cid[] selection + boxchecked on resume. Full-bleed Atum-coloured progress bar on the runbackup screen. https://claude.ai/code/session_01WbGBN9VyRK61zczYWcCQ2i
jmiller added 2 commits 2026-07-12 21:08:24 +00:00
@
Universal: Pre-Release / Build Pre-Release (${{ inputs.stability || github.ref_name }}) (push) Successful in 15s
4bc8b47d05
fix: reliably intercept extension update/uninstall + polish backup screen

The full-screen pre-action backup did not fire for extension
updates/uninstalls because Joomla 6 renders the com_installer toolbar
Update/Uninstall buttons as `<button task="update.update">` web
components, not inline onclick="Joomla.submitbutton(...)". Wrapping
Joomla.submitbutton never caught them.

installer-backup.js now uses a capture-phase document click listener on
any `[task]` element matching update.update / manage.remove(/uninstall),
so it runs before the toolbar web component. It captures the checked
cid[] selection, runs the full-screen backup, and on return restores the
selection, sets the boxchecked list-guard field, and re-fires the real
toolbar button with __msbResuming set so it is not re-intercepted.

Also polishes the runbackup screen: the progress bar is now a full-bleed
strip along the bottom edge of the card (edge-to-edge, clipped to the
rounded corners) instead of a boxed bar crowding the status text, and it
is coloured from the Atum template CSS custom properties
(--template-link-color / --template-special-color / --template-success-color
/ --template-danger-color) with Bootstrap and literal fallbacks.

Claude-Session: https://claude.ai/code/session_01WbGBN9VyRK61zczYWcCQ2i
@
chore(version): pre-release bump to 02.58.30-dev [skip ci]
Branch Cleanup / Delete merged branch (pull_request) Has been cancelled
RC Revert / Rename rc/ back to dev/ (pull_request) Has been cancelled
9aab873750
jmiller merged commit 44ed98d3c3 into dev 2026-07-12 21:08:34 +00:00
jmiller deleted branch fix/extension-intercept-ui 2026-07-12 21:08:34 +00:00
Sign in to join this conversation.