[PR #19289] Include Profile.BellSound as a media resource #31784

Open
opened 2026-01-31 09:49:32 +00:00 by claunia · 0 comments
Owner

Original Pull Request: https://github.com/microsoft/terminal/pull/19289

State: closed
Merged: Yes


I legitimately cannot figure out how I forgot this. Bell should support all the same validation as other media resources! Technically this means you can set bellSound to desktopWallpaper, but... we'll pretend that makes sense.

I reworked the viewmodel to be a little more sensible. It no longer requires somebody else to check that its files exist. The settings UI now also displays File not found in the preview for the bell if it is a single file which failed validation!

**Original Pull Request:** https://github.com/microsoft/terminal/pull/19289 **State:** closed **Merged:** Yes --- I legitimately cannot figure out how I forgot this. Bell should support all the same validation as other media resources! Technically this means you can set `bellSound` to `desktopWallpaper`, but... we'll pretend that makes sense. I reworked the viewmodel to be a little more sensible. It no longer requires somebody else to check that its files exist. The settings UI now also displays `File not found` in the _preview_ for the bell if it is a single file which failed validation!
claunia added the pull-request label 2026-01-31 09:49:32 +00:00
Sign in to join this conversation.
No Label pull-request
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/terminal#31784