[PR #4588] [MERGED] Simplify summary prompt editing and native widget deletion #6434

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

📋 Pull Request Information

Original PR: https://github.com/Pasta-Devs/Marinara-Engine/pull/4588
Author: @SpicyMarinara
Created: 8/4/2026
Status: ✅ Merged
Merged: 8/4/2026
Merged by: @SpicyMarinara

Base: staging ← Head: agent/summary-prompt-widget-confirmation


📝 Commits (2)

  • d79528a Start summary prompt and widget confirmation fixes
  • 86b1856 Simplify summary prompts and widget deletion

📊 Changes

3 files changed (+18 additions, -15 deletions)

View changed files

📝 packages/client/src/components/chat/SummaryPopover.tsx (+5 -11)
📝 packages/client/src/components/game/GameWidgetPanel.tsx (+12 -4)
📝 packages/client/src/localization/locales/en.json (+1 -0)

📄 Description

Why

Roleplay Summary Prompt editing repeats the active prompt in multiple read-only and editable fields, which makes the editor harder to understand. Game starting-widget deletion also relies on the browser confirmation API, which Firefox users can permanently suppress for the session and then lose the ability to delete more widgets.

Changes

  • simplify Roleplay Summary Prompt edit mode so the read-only preview is hidden while templates and the current editable prompt are shown
  • remove the duplicated prompt heading and read-only prompt body from the template editor
  • replace starting-widget browser confirmation with Marinara Engine native destructive confirmation dialog

Validation

  • focused ESLint for SummaryPopover.tsx and GameWidgetPanel.tsx
  • localization catalog and static JSX localization audits
  • git diff --check

Test plan

  • Manually verify the Roleplay Summary Prompt read-only preview appears only outside edit mode
  • Manually verify template selection, creating a template, editing, saving, and cancelling still work
  • Manually verify deleting a Game starting widget uses the native confirmation dialog
  • Manually verify confirming deletes the widget and cancelling preserves it

Closes #4587
Closes #4584


🔄 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/4588 **Author:** [@SpicyMarinara](https://github.com/SpicyMarinara) **Created:** 8/4/2026 **Status:** ✅ Merged **Merged:** 8/4/2026 **Merged by:** [@SpicyMarinara](https://github.com/SpicyMarinara) **Base:** `staging` ← **Head:** `agent/summary-prompt-widget-confirmation` --- ### 📝 Commits (2) - [`d79528a`](https://github.com/Pasta-Devs/Marinara-Engine/commit/d79528aa9b4df541f44548b7eadb79a6d9333201) Start summary prompt and widget confirmation fixes - [`86b1856`](https://github.com/Pasta-Devs/Marinara-Engine/commit/86b1856fb3351a0cb3aa34d1b67ab50f9bee994e) Simplify summary prompts and widget deletion ### 📊 Changes **3 files changed** (+18 additions, -15 deletions) <details> <summary>View changed files</summary> 📝 `packages/client/src/components/chat/SummaryPopover.tsx` (+5 -11) 📝 `packages/client/src/components/game/GameWidgetPanel.tsx` (+12 -4) 📝 `packages/client/src/localization/locales/en.json` (+1 -0) </details> ### 📄 Description ## Why Roleplay Summary Prompt editing repeats the active prompt in multiple read-only and editable fields, which makes the editor harder to understand. Game starting-widget deletion also relies on the browser confirmation API, which Firefox users can permanently suppress for the session and then lose the ability to delete more widgets. ## Changes - simplify Roleplay Summary Prompt edit mode so the read-only preview is hidden while templates and the current editable prompt are shown - remove the duplicated prompt heading and read-only prompt body from the template editor - replace starting-widget browser confirmation with Marinara Engine native destructive confirmation dialog ## Validation - focused ESLint for `SummaryPopover.tsx` and `GameWidgetPanel.tsx` - localization catalog and static JSX localization audits - `git diff --check` ## Test plan - [ ] Manually verify the Roleplay Summary Prompt read-only preview appears only outside edit mode - [ ] Manually verify template selection, creating a template, editing, saving, and cancelling still work - [ ] Manually verify deleting a Game starting widget uses the native confirmation dialog - [ ] Manually verify confirming deletes the widget and cancelling preserves it Closes #4587 Closes #4584 --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
bsakaguchi 2026-10-23 04:10:23 +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#6434
No description provided.