aboutsummaryrefslogtreecommitdiffstats
path: root/desktop/modules/notifications/NotificationsModule.qml
AgeCommit message (Collapse)AuthorFilesLines
5 daysnotifications: write gsettings only when the theme changedDanilo M.1-7/+10
From the final review. Every save ran gsettings set, so saving a timeout on a first run, with no soundTheme in the file, silently reset a system theme set elsewhere to freedesktop; the page now writes it only when the draft's theme differs from the file's, and flags any other mismatch as before. An exit code outside 0-3, a save killed mid-run, now reads as an error rather than a partial success. The player's comment no longer claims the balloon's expiry check, which it does not need. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
5 daysdesktop: report save results in the SaveBar, not at the page's footDanilo M.1-5/+9
A save's outcome sat at the bottom of the page, out of sight on a long one, while "unsaved changes" was already in the header. SaveBar gains notice, shown once the page is clean, and error, shown in red over the unsaved mark, since a refused or failed write leaves the draft dirty. Wired for notifications, HyprIdle, Sunset, Wallpaper and the four Mail pages, with their longer messages shortened to fit the header. Messages that are not save results stay in their pages: the icon theme's immediate apply, Sunset's location detection, the assistant restart. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
5 daysdesktop: notification sounds on the settings pageDanilo M.1-7/+41
A sound per urgency chosen with the widget file dialog, previewed with pw-play, and the sound theme for apps' sound-name hints. Save writes the theme to gsettings as well, and the page reads gsettings back on every open so a change made elsewhere is shown, with a button to adopt it, rather than overwritten. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
5 daysdesktop: notification page follows the file, saves once, keeps nested keysDanilo M.1-8/+19
From the final review. An edit broke the draft's binding to Notify.config and Discard assigned a plain value, so a later change to the file read as unsaved edits; discard and refresh now restore the binding. Save stays disabled while the write runs, since a second click killed the first mid-write. Unknown keys inside timeouts and balloons are merged rather than replaced, as the spec asks. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
5 daysdesktop: notifications settings pageDanilo M.1-0/+73
Edits notifyd's config.json as a draft behind the SaveBar and runs notifyctl reload after the write; a stopped daemon is reported as saved but not applied, since it reads the file at its next start. Muting offers the apps already seen in the queue and history. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>