[PR #5020] [MERGED] Promote expanded editor caret fix to main #6594

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

📋 Pull Request Information

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

Base: main ← Head: staging


📝 Commits (5)

  • 71243ad chore: coordinate expanded editor caret fix
  • 3c8d76d fix: preserve expanded editor caret after quotes
  • 8dfc374 Merge pull request #5018 from Pasta-Devs/agent/5017-expanded-editor-quote-caret
  • 4349e81 Merge remote-tracking branch 'origin/main' into agent/5018-staging-main-sync
  • 7ece372 Merge pull request #5019 from Pasta-Devs/agent/5018-staging-main-sync

📊 Changes

3 files changed (+54 additions, -4 deletions)

View changed files

📝 CHANGELOG.md (+1 -0)
📝 e2e/core-flows.e2e.ts (+49 -1)
📝 packages/client/src/components/ui/MacroTextarea.tsx (+4 -3)

📄 Description

Linked issue

Refs #4656

Why this change

  • Typing a single or double quote in the middle of text in expanded Character and Persona editors could move the caret to the end.
  • The focused fix is already reviewed and green on staging.

What changed

  • Promote exact staging commit 7ece372db2 to main.
  • The production change lets parent quote normalization finish before the expanded editor mirrors the textarea value.
  • Includes focused browser coverage for both quote characters and the Unreleased changelog entry.

Validation

  • pnpm check passes locally
  • 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

  • Exact staging content passed pnpm check, focused desktop Chromium quote/caret regression, container-build-test, CodeQL, and genuine CodeRabbit review on PR #5018.
  • The intermediary ancestry sync PR #5019 changed zero files.

Docs and release impact

  • No docs changes needed
  • Updated docs as needed
  • Translated docs updated or follow-up issue opened
  • Version/release files updated

UI evidence (if applicable)

  • No visual layout or copy changes. This is a focused input-state and caret regression fix.

Summary by CodeRabbit

  • Bug Fixes
    • Fixed caret positioning when typing quotes or apostrophes in expanded Character and Persona editors.
    • Ensured typographic quote conversion preserves the selected insertion point.
  • Tests
    • Added coverage for quote conversion and caret preservation in expanded character and description editors.
  • Documentation
    • Documented the fix in the unreleased changelog.

🔄 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/5020 **Author:** [@SpicyMarinara](https://github.com/SpicyMarinara) **Created:** 8/14/2026 **Status:** ✅ Merged **Merged:** 8/14/2026 **Merged by:** [@SpicyMarinara](https://github.com/SpicyMarinara) **Base:** `main` ← **Head:** `staging` --- ### 📝 Commits (5) - [`71243ad`](https://github.com/Pasta-Devs/Marinara-Engine/commit/71243ad1345a36d0874976f413564e5685fedda3) chore: coordinate expanded editor caret fix - [`3c8d76d`](https://github.com/Pasta-Devs/Marinara-Engine/commit/3c8d76dbb05b4980772327c6b879e561a0916db7) fix: preserve expanded editor caret after quotes - [`8dfc374`](https://github.com/Pasta-Devs/Marinara-Engine/commit/8dfc374473f7155f184ad7ad66a65737845acbdb) Merge pull request #5018 from Pasta-Devs/agent/5017-expanded-editor-quote-caret - [`4349e81`](https://github.com/Pasta-Devs/Marinara-Engine/commit/4349e81081287555c6ab496cb8e6509e35ff5dd0) Merge remote-tracking branch 'origin/main' into agent/5018-staging-main-sync - [`7ece372`](https://github.com/Pasta-Devs/Marinara-Engine/commit/7ece372db251a7d5cd0369a99e57ec59b81edff2) Merge pull request #5019 from Pasta-Devs/agent/5018-staging-main-sync ### 📊 Changes **3 files changed** (+54 additions, -4 deletions) <details> <summary>View changed files</summary> 📝 `CHANGELOG.md` (+1 -0) 📝 `e2e/core-flows.e2e.ts` (+49 -1) 📝 `packages/client/src/components/ui/MacroTextarea.tsx` (+4 -3) </details> ### 📄 Description ## Linked issue Refs #4656 ## Why this change - Typing a single or double quote in the middle of text in expanded Character and Persona editors could move the caret to the end. - The focused fix is already reviewed and green on staging. ## What changed - Promote exact staging commit 7ece372db251a7d5cd0369a99e57ec59b81edff2 to main. - The production change lets parent quote normalization finish before the expanded editor mirrors the textarea value. - Includes focused browser coverage for both quote characters and the Unreleased changelog entry. ## Validation - [ ] pnpm check passes locally - [ ] 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 - Exact staging content passed pnpm check, focused desktop Chromium quote/caret regression, container-build-test, CodeQL, and genuine CodeRabbit review on PR #5018. - The intermediary ancestry sync PR #5019 changed zero files. ## Docs and release impact - [ ] No docs changes needed - [ ] Updated docs as needed - [ ] Translated docs updated or follow-up issue opened - [ ] Version/release files updated ## UI evidence (if applicable) - No visual layout or copy changes. This is a focused input-state and caret regression fix. <!-- This is an auto-generated comment: release notes by coderabbit.ai --> ## Summary by CodeRabbit * **Bug Fixes** * Fixed caret positioning when typing quotes or apostrophes in expanded Character and Persona editors. * Ensured typographic quote conversion preserves the selected insertion point. * **Tests** * Added coverage for quote conversion and caret preservation in expanded character and description editors. * **Documentation** * Documented the fix in the unreleased changelog. <!-- 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:11:54 +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#6594
No description provided.