[PR #5402] [MERGED] Fix/summary pop over closing #6752

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

📋 Pull Request Information

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

Base: staging ← Head: fix/SummaryPopOverClosing


📝 Commits (4)

  • 1ecc50d fix: summarypopover always closed when clicking on the 'summary-deletion' confirmation popup, even with cancel. No more.
  • 2eb4923 prettier
  • 9e7c513 changelog.md
  • f34c14c Merge branch 'staging' into fix/SummaryPopOverClosing

📊 Changes

2 files changed (+4 additions, -0 deletions)

View changed files

📝 CHANGELOG.md (+1 -0)
📝 packages/client/src/components/chat/SummaryPopover.tsx (+3 -0)

📄 Description

Important

Contributions target staging. Only SpicyMarinara may promote this repository's staging branch or a same-repository hotfix/* branch to main.
Outside and first-time contributors also require an approving review from SpicyMarinara.

Linked issue

Closes #5401

Why this change

  • The previous behaviour had the Chat Summaries Window always close when tapping anywhere on the Confirmation Pop Up, that appeared when trying to delete a summary. This happened even when pressing 'Cancel', tapping the pop-up itself, or hitting delete. This was annoying whether you wanted to continue editing your summaries, or just accidentally fat-fingered the 'trash icon/delete summary button'.

What changed

  • Added safeguards that protect the confirmation popup from the 'tap outside' functionality of the SummaryPopover, including hitting ESC, tapping the popup, or even tapping outside of it.

  • Now, if you simply tap the popup, the Chat Summaries Window stays open behind it, and nothing happens.

  • If you press ESC, tap cancel/delete, or tap OUTSIDE the Confirmation Popup, the Popup closes, but the Chat Summaries Window stays open.

Validations

  • pnpm check passes locally. (My pnpm check still always fails on prettier, but it fails in the same spot as on staging. I think it's something with CRLF and LF, since i'm on windows, but that's beside the point. I think it should be fine.)
  • Container (Docker / Podman) built and ran without issue
  • Ran the app, clicked through the changes manually
  • Checked edge cases (light + dark mode, mobile viewport, empty states, error paths)
  • Above manual verification completed (describe below)
  • Read and followed CONTRIBUTING.md

Manual verification notes

  • Tested it out on my browser on windows 11, as seen in the attached mp4, as well as on my android phone using Samsung Browser.

Docs and release impact

  • No docs changes needed
  • Updated docs (README / CONTRIBUTING / android/README / CHANGELOG) as needed
  • Translated docs on the docs-i18n branch updated to match, or a [docs-i18n] follow-up issue opened (see CONTRIBUTING.md § Translated documentation)
  • Version/release files updated (only if this PR includes a version bump)

UI evidence (if applicable)

https://github.com/user-attachments/assets/68c29484-4644-49e4-8548-622cc80a38d0

https://github.com/user-attachments/assets/66956159-f650-4294-8e86-04d1feafeaad

Summary by CodeRabbit

  • Bug Fixes
    • Chat Summaries popovers now remain open when interacting with the summary deletion confirmation dialog.
    • Selecting Cancel, Delete, or interacting with the confirmation dialog no longer unintentionally closes the popover.

🔄 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/5402 **Author:** [@ylli-selmani](https://github.com/ylli-selmani) **Created:** 8/22/2026 **Status:** ✅ Merged **Merged:** 8/22/2026 **Merged by:** [@SpicyMarinara](https://github.com/SpicyMarinara) **Base:** `staging` ← **Head:** `fix/SummaryPopOverClosing` --- ### 📝 Commits (4) - [`1ecc50d`](https://github.com/Pasta-Devs/Marinara-Engine/commit/1ecc50dfc6825748bac211412920e7d65f6c2b1f) fix: summarypopover always closed when clicking on the 'summary-deletion' confirmation popup, even with cancel. No more. - [`2eb4923`](https://github.com/Pasta-Devs/Marinara-Engine/commit/2eb49239547727611e1386ce7b67193b3b68ced2) prettier - [`9e7c513`](https://github.com/Pasta-Devs/Marinara-Engine/commit/9e7c513458c0b7619a61b6f24f878d1712707db7) changelog.md - [`f34c14c`](https://github.com/Pasta-Devs/Marinara-Engine/commit/f34c14cc8100cf7594c96e69e2b6526ae2385e88) Merge branch 'staging' into fix/SummaryPopOverClosing ### 📊 Changes **2 files changed** (+4 additions, -0 deletions) <details> <summary>View changed files</summary> 📝 `CHANGELOG.md` (+1 -0) 📝 `packages/client/src/components/chat/SummaryPopover.tsx` (+3 -0) </details> ### 📄 Description > [!IMPORTANT] > Contributions target `staging`. Only `SpicyMarinara` may promote this repository's `staging` branch or a same-repository `hotfix/*` branch to `main`. > Outside and first-time contributors also require an approving review from `SpicyMarinara`. <!-- See CONTRIBUTING.md § Branches. --> ## Linked issue Closes #5401 ## Why this change - The previous behaviour had the Chat Summaries Window always close when tapping anywhere on the Confirmation Pop Up, that appeared when trying to delete a summary. This happened even when pressing 'Cancel', tapping the pop-up itself, or hitting delete. This was annoying whether you wanted to continue editing your summaries, or just accidentally fat-fingered the 'trash icon/delete summary button'. ## What changed - Added safeguards that protect the confirmation popup from the 'tap outside' functionality of the SummaryPopover, including hitting ESC, tapping the popup, or even tapping outside of it. - Now, if you simply tap the popup, the Chat Summaries Window stays open behind it, and nothing happens. - If you press ESC, tap cancel/delete, or tap OUTSIDE the Confirmation Popup, the Popup closes, but the Chat Summaries Window stays open. ## Validations - [ ] `pnpm check` passes locally. (My pnpm check still always fails on prettier, but it fails in the same spot as on staging. I think it's something with CRLF and LF, since i'm on windows, but that's beside the point. I think it should be fine.) - [ ] Container (Docker / Podman) built and ran without issue - [x] Ran the app, clicked through the changes manually - [ ] Checked edge cases (light + dark mode, mobile viewport, empty states, error paths) - [x] Above manual verification completed (describe below) - [x] Read and followed `CONTRIBUTING.md` ### Manual verification notes - Tested it out on my browser on windows 11, as seen in the attached mp4, as well as on my android phone using Samsung Browser. ## Docs and release impact - [ ] No docs changes needed - [x] Updated docs (README / CONTRIBUTING / android/README / CHANGELOG) as needed - [ ] Translated docs on the `docs-i18n` branch updated to match, or a `[docs-i18n]` follow-up issue opened (see CONTRIBUTING.md § Translated documentation) - [ ] Version/release files updated (only if this PR includes a version bump) ## UI evidence (if applicable) https://github.com/user-attachments/assets/68c29484-4644-49e4-8548-622cc80a38d0 https://github.com/user-attachments/assets/66956159-f650-4294-8e86-04d1feafeaad <!-- This is an auto-generated comment: release notes by coderabbit.ai --> ## Summary by CodeRabbit * **Bug Fixes** * Chat Summaries popovers now remain open when interacting with the summary deletion confirmation dialog. * Selecting **Cancel**, **Delete**, or interacting with the confirmation dialog no longer unintentionally closes the popover. <!-- end of auto-generated comment: release notes by coderabbit.ai --> --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
bsakaguchi 2026-10-23 04:13: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#6752
No description provided.