Merge pull request 'Auto-commit local changes before build (2026-01-09 13:52:15)' (#83) from v20260109-09-ellipsis-reset-on-popup-close into main

Reviewed-on: #83
This commit is contained in:
Ivo Oskamp 2026-01-13 11:35:54 +01:00
commit 79829abd70
3 changed files with 36 additions and 1 deletions

View File

@ -1 +1 @@
v20260109-08-ui-ellipsis-and-remove-objects-header v20260109-09-ellipsis-reset-on-popup-close

View File

@ -196,6 +196,20 @@
} }
} }
function collapseExpandedEllipsis(root) {
try {
if (!root || !root.querySelectorAll) return;
var expanded = root.querySelectorAll('.ellipsis-field.is-expanded');
if (!expanded || !expanded.length) return;
expanded.forEach(function (el) {
el.classList.remove('is-expanded');
setEllipsisTitle(el);
});
} catch (e) {
// no-op
}
}
function setEllipsisTitle(el) { function setEllipsisTitle(el) {
if (!el || el.classList.contains('is-expanded')) { if (!el || el.classList.contains('is-expanded')) {
return; return;
@ -248,6 +262,20 @@
if (!el || !el.classList || !el.classList.contains('ellipsis-field')) return; if (!el || !el.classList || !el.classList.contains('ellipsis-field')) return;
setEllipsisTitle(el); setEllipsisTitle(el);
}); });
// Ensure expanded fields do not persist between popup/modal openings.
document.addEventListener('show.bs.modal', function (e) {
collapseExpandedEllipsis(e.target);
});
document.addEventListener('hidden.bs.modal', function (e) {
collapseExpandedEllipsis(e.target);
});
document.addEventListener('show.bs.offcanvas', function (e) {
collapseExpandedEllipsis(e.target);
});
document.addEventListener('hidden.bs.offcanvas', function (e) {
collapseExpandedEllipsis(e.target);
});
})(); })();
</script> </script>
</body> </body>

View File

@ -64,6 +64,13 @@
- Removed the redundant "Objects" heading above the objects table (table column header remains as the single label). - Removed the redundant "Objects" heading above the objects table (table column header remains as the single label).
- Applied the detail-field truncation behavior consistently across Inbox, Deleted Mail, Run Checks, Daily Jobs, Job Detail, and Admin All Mail popups/pages where long values can occur. - Applied the detail-field truncation behavior consistently across Inbox, Deleted Mail, Run Checks, Daily Jobs, Job Detail, and Admin All Mail popups/pages where long values can occur.
---
## v20260109-09-ellipsis-reset-on-popup-close
- Reset expanded ellipsis fields when a Bootstrap modal is shown or hidden, so expanded state does not persist between openings.
- Added the same reset behavior for Bootstrap offcanvas components to keep behavior consistent across popups.
================================================================================================================================================ ================================================================================================================================================
## v0.1.19 ## v0.1.19
This release delivers a broad set of improvements focused on reliability, transparency, and operational control across mail processing, administrative auditing, and Run Checks workflows. The changes aim to make message handling more robust, provide better insight for administrators, and give operators clearer and more flexible control when reviewing backup runs. This release delivers a broad set of improvements focused on reliability, transparency, and operational control across mail processing, administrative auditing, and Run Checks workflows. The changes aim to make message handling more robust, provide better insight for administrators, and give operators clearer and more flexible control when reviewing backup runs.