[PR #1877] [MERGED] Add notification sound editor #5332

Closed
opened 2026-10-22 04:15:19 +07:00 by bsakaguchi · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/Pasta-Devs/Marinara-Engine/pull/1877
Author: @cha1latte
Created: 6/2/2026
Status: ✅ Merged
Merged: 6/2/2026
Merged by: @cha1latte

Base: refactor ← Head: feat/issue-1869-notification-sound-editor


📝 Commits (4)

  • 22aa1da Add notification sound editor
  • fe2a461 Fix notification sound CI checks
  • 4f1ee73 Address roleplay notification sound feedback
  • 51a44c2 Tighten notification sound regression

📊 Changes

12 files changed (+462 additions, -33 deletions)

View changed files

📝 src/features/modes/conversation/components/ConversationAutonomousEffects.tsx (+3 -2)
📝 src/features/modes/conversation/components/ConversationView.tsx (+4 -3)
📝 src/features/modes/conversation/hooks/autonomous/use-background-autonomous.ts (+3 -2)
📝 src/features/runtime/generation/hooks/use-generate.test.ts (+17 -2)
📝 src/features/runtime/generation/hooks/use-generate.ts (+4 -2)
📝 src/features/shell/discovery/discovery-entries.json (+11 -0)
📝 src/features/shell/settings/components/settings/SettingControls.tsx (+143 -5)
📝 src/shared/lib/notification-sound.test.ts (+76 -2)
📝 src/shared/lib/notification-sound.ts (+184 -15)
📝 src/shared/stores/ui.store.ts (+5 -0)
📝 src/shared/stores/ui/model.ts (+7 -0)
📝 src/shared/stores/ui/persistence.ts (+5 -0)

📄 Description

Linked issue

Closes #1869

Why this change

  • Adds a notification sound picker for users who do not want the current default ping, want the legacy v1.6.1 sound, or want to use a small custom audio file.

What changed

  • Added notification sound options for the current refactor ping, the legacy v1.6.1 two-tone ding, and a custom audio file.
  • Added local settings persistence and validation for custom notification sounds.
  • Updated Conversation notification call sites to play the selected sound.
  • Added a Discover entry for notification sounds.

Refactor impact

Primary owner:

  • app shell / shared UI settings

Impact areas reviewed:

  • Settings notification controls
  • Conversation notification ping call sites
  • UI settings persistence
  • Discover metadata

Boundary notes:

  • Kept the feature client-side and used the existing UI store persistence path.
  • No engine, Rust, shared API, dependency, schema, or provider changes.

Pressure points touched:

  • Settings panel notification controls
  • Conversation active/background notification paths

Validation

  • Focused proof or matching lane command passes locally
  • Full pnpm check passes before PR push/handoff
  • Human/manual validation completed by contributor or reviewer

Manual verification notes

  • Codex ran pnpm test src/shared/lib/notification-sound.test.ts: passed, 8 tests.
  • Codex ran pnpm check: passed.
  • Manual browser/audio verification is still recommended for actually hearing Refactor, Legacy 1.6.1, and a custom file in the Settings UI.

Feature Discoverability

Check exactly one:

  • Updated src/features/shell/discovery/ because this PR adds or materially changes a user-discoverable feature, workflow, setting, mode, panel, import path, agent, media capability, or advanced tool.
  • N/A because this PR is only a bugfix, refactor, test, docs, internal wiring, visual polish, copy edit, or compatibility fix and does not add a new thing users need to find.

Reason:

  • Added notification-sounds discovery metadata for the new settings workflow.

Docs and release impact

  • No docs changes needed
  • Updated README.md
  • Updated CONTRIBUTING.md
  • Updated docs/developer/
  • Updated repo skills or AGENTS.md
  • Confirmed this PR does not restore old staging/package-workspace/release claims

UI evidence

No screenshot captured. The PR should stay draft until a human or browser pass confirms the Settings UI and audio playback behavior.


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/Pasta-Devs/Marinara-Engine/pull/1877 **Author:** [@cha1latte](https://github.com/cha1latte) **Created:** 6/2/2026 **Status:** ✅ Merged **Merged:** 6/2/2026 **Merged by:** [@cha1latte](https://github.com/cha1latte) **Base:** `refactor` ← **Head:** `feat/issue-1869-notification-sound-editor` --- ### 📝 Commits (4) - [`22aa1da`](https://github.com/Pasta-Devs/Marinara-Engine/commit/22aa1da40d8cf8210644c1f8c460e679e475d19d) Add notification sound editor - [`fe2a461`](https://github.com/Pasta-Devs/Marinara-Engine/commit/fe2a461b2889b07761ee2248db52ffdb8b11d8a4) Fix notification sound CI checks - [`4f1ee73`](https://github.com/Pasta-Devs/Marinara-Engine/commit/4f1ee73ffad7ac9b9aacf18d8360b32d716b4026) Address roleplay notification sound feedback - [`51a44c2`](https://github.com/Pasta-Devs/Marinara-Engine/commit/51a44c2b2d44e64e665c1e88c54f8b928d533350) Tighten notification sound regression ### 📊 Changes **12 files changed** (+462 additions, -33 deletions) <details> <summary>View changed files</summary> 📝 `src/features/modes/conversation/components/ConversationAutonomousEffects.tsx` (+3 -2) 📝 `src/features/modes/conversation/components/ConversationView.tsx` (+4 -3) 📝 `src/features/modes/conversation/hooks/autonomous/use-background-autonomous.ts` (+3 -2) 📝 `src/features/runtime/generation/hooks/use-generate.test.ts` (+17 -2) 📝 `src/features/runtime/generation/hooks/use-generate.ts` (+4 -2) 📝 `src/features/shell/discovery/discovery-entries.json` (+11 -0) 📝 `src/features/shell/settings/components/settings/SettingControls.tsx` (+143 -5) 📝 `src/shared/lib/notification-sound.test.ts` (+76 -2) 📝 `src/shared/lib/notification-sound.ts` (+184 -15) 📝 `src/shared/stores/ui.store.ts` (+5 -0) 📝 `src/shared/stores/ui/model.ts` (+7 -0) 📝 `src/shared/stores/ui/persistence.ts` (+5 -0) </details> ### 📄 Description ## Linked issue Closes #1869 ## Why this change - Adds a notification sound picker for users who do not want the current default ping, want the legacy v1.6.1 sound, or want to use a small custom audio file. ## What changed - Added notification sound options for the current refactor ping, the legacy v1.6.1 two-tone ding, and a custom audio file. - Added local settings persistence and validation for custom notification sounds. - Updated Conversation notification call sites to play the selected sound. - Added a Discover entry for notification sounds. ## Refactor impact Primary owner: - app shell / shared UI settings Impact areas reviewed: - Settings notification controls - Conversation notification ping call sites - UI settings persistence - Discover metadata Boundary notes: - Kept the feature client-side and used the existing UI store persistence path. - No engine, Rust, shared API, dependency, schema, or provider changes. Pressure points touched: - Settings panel notification controls - Conversation active/background notification paths ## Validation - [ ] Focused proof or matching lane command passes locally - [ ] Full `pnpm check` passes before PR push/handoff - [ ] Human/manual validation completed by contributor or reviewer ### Manual verification notes - Codex ran `pnpm test src/shared/lib/notification-sound.test.ts`: passed, 8 tests. - Codex ran `pnpm check`: passed. - Manual browser/audio verification is still recommended for actually hearing Refactor, Legacy 1.6.1, and a custom file in the Settings UI. ## Feature Discoverability Check exactly one: - [x] Updated `src/features/shell/discovery/` because this PR adds or materially changes a user-discoverable feature, workflow, setting, mode, panel, import path, agent, media capability, or advanced tool. - [ ] N/A because this PR is only a bugfix, refactor, test, docs, internal wiring, visual polish, copy edit, or compatibility fix and does not add a new thing users need to find. Reason: - Added `notification-sounds` discovery metadata for the new settings workflow. ## Docs and release impact - [ ] No docs changes needed - [ ] Updated `README.md` - [ ] Updated `CONTRIBUTING.md` - [ ] Updated `docs/developer/` - [ ] Updated repo skills or `AGENTS.md` - [ ] Confirmed this PR does not restore old staging/package-workspace/release claims ## UI evidence No screenshot captured. The PR should stay draft until a human or browser pass confirms the Settings UI and audio playback behavior. --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
bsakaguchi 2026-10-22 04:15:19 +07:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
Pasta-Devs/Marinara-Engine#5332
No description provided.