Customize backup notification titles and messages
Goal
Track the community contribution in PR #582: customizable titles and messages for backup success, warning, failure, skipped and overdue notifications.
User impact
Administrators can edit notification texts with supported placeholders and a live preview under Settings > Notifications. Texts apply to Unraid, email and Apprise; empty values retain the defaults.
Release-note relevance: yes. PR #582 already includes the pending release-note fragment and bilingual documentation.
Validation
Review the contribution, run the source preflight and publish a verified test-channel candidate for maintainer testing. Stable promotion remains pending explicit approval. The independent documentation-test blocker is tracked in #583.
Verified complete Unraid/Discord message candidate - waiting for maintainer testing
- PR #587 targets main and closes this issue when merged.
- Test version: 2026.10.23.1031 (supersedes 2026.10.23.0953).
- Source branch: codex/584-integrate-notification-editor
- Source commit: 0cd92c6031b3109d2edfb2e3a4940c4d6d2cc014
- Full template now resides in description and is rendered with line breaks in the Unraid sidebar, including Archived. The old first-line/long-message split is superseded because the sidebar does not display the long-message field.
- Safe HTML in one physical INI line is formatted for Unraid's API decoding and Markdown renderer. A process-local Bash startup adapter supplies the original text to agents without changing installed agent scripts or global settings. No long-message duplicate; severity remains in Priority.
- 95 focused tests and HTTP settings/assets checks passed.
- Full source preflight: 1612 passed, 0 skipped; one existing datetime deprecation warning.
- Native reader/Markdown/sanitizer/Chromium check: all seven fields occupy separate visible lines. Quotes, blank lines, HTML-like text, ampersands and Markdown punctuation retained as text.
- Official Unraid 7.3.4 Discord agent checked with local HTTP capture: exact full message once, with original newlines. No Discord message sent.
- Published snapshot: 98eac35dce57128d95d31ab64489671456831345; exactly one manifest and one package.
- Verified manifest URLs, version, downloaded package MD5, source provenance, packaged adapter bytes, release notes and JonaxScript credit.
- Package MD5: 2ef0098719a06c3978b94d3dae1d0595.
Please install this candidate and generate a new Flash notification to verify the full text in the Unraid sidebar and Discord on the maintainer's server. Stable promotion remains a separate release PR after explicit approval.
Approved UI follow-up
Implement the maintainer-approved desktop design: one shared placeholder reference with example values and insertion, selection between five backup events, and aligned title/message template and preview boxes. All example templates must use placeholders; sample data appears only in the preview/reference. Keep existing saved texts and default-text fallback. Add bilingual labels, documentation and regression coverage. User-visible; include a pending release note. Publish a new test candidate after the final source preflight.
Preview consistency follow-up
For every backup event, show an editable token template and preview that exact text. Initialize unconfigured events with the UI-language example as a draft for explicit saving; do not auto-write configuration. Translate only supplied example labels/titles, never placeholder identifiers, values or existing user-authored texts. Do not add a notification-language switch. Keep explicit empty fields and runtime fallback identifiable. User-visible; update the pending release note, tests and new test candidate.
Unraid 7.3.4 transport follow-up
Fix raw multiline descriptions being truncated in Unraid and flattened in Discord agent forwarding. The adapter currently also sends severity as the long message (-m normal). Send a single-line short description and the remaining details with Unraid-supported encoded line breaks; keep severity under -i. Preserve template text/spacing in email and Apprise. Add boundary regression coverage, verify the official Discord agent offline without sending messages, document the channel formatting, and refresh the test candidate.
Unraid sidebar visibility diagnosis
The new notification sidebar displays only description, for both unread and archived records. Its GraphQL notification model does not expose the long-message field; Item.vue renders only description through Markdown. The previous short/long split therefore does not make the remaining fields visible in this panel. The earlier archive-visibility claim in the manual and PR needs correction before completion. A full-description transport must be validated for both sidebar rendering and Discord; an exploratory Unicode U+2028 separator test did not produce visible line breaks in normal Chromium whitespace and is not a verified solution. No source change or new test candidate has been made for this follow-up yet.
Approved full-panel implementation
The maintainer requests the complete message with line breaks in both the Unraid 7.3 sidebar and Discord. Use the full description with escaped text and HTML breaks for Unraid Markdown rendering. A process-local Bash startup adapter supplies the original newline-encoded text to notification agents; no global settings or installed agent scripts are modified. Keep -m omitted to avoid duplicated Discord content. Preserve any inherited Bash startup environment for agent children. Verify the native HTML/INI/Markdown path and the official Discord agent with captured HTTP only; document the prior archive-visibility correction and build a new test candidate.