[PR #1863] [MERGED] Add Branch from here action to Convo messages #5322

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

📋 Pull Request Information

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

Base: refactor ← Head: feat/issue-1853-convo-branch


📝 Commits (2)

  • d2f6269 Add Convo branch-from-message action
  • 1d40572 Refresh PR checks after metadata update

📊 Changes

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

View changed files

📝 src/features/modes/conversation/components/ChatConversationSurface.tsx (+3 -0)
📝 src/features/modes/conversation/components/ConversationMessage.tsx (+17 -0)
📝 src/features/modes/conversation/components/ConversationModeRoute.tsx (+1 -0)
📝 src/features/modes/conversation/components/ConversationView.tsx (+10 -0)

📄 Description

Linked issue

Closes #1853

Why this change

Convo mode did not expose the existing per-message branch workflow, so users had to export, edit, and re-import chat files to branch from an earlier point.

What changed

  • Threaded the existing shared chat branch handler into Convo mode's message surface.
  • Added a Branch from here action to Convo message toolbars.
  • Kept branch creation/storage behavior on the existing chat_branch pipeline.

Refactor impact

Primary owner:

Chat mode / shared mode UI

Impact areas reviewed:

  • Convo route/surface prop flow
  • Convo regular message toolbar
  • Convo split-message group toolbar
  • Existing shared branch mutation and storage behavior

Boundary notes:

  • Feature UI calls the existing timeline branch handler.
  • No new shared API, engine, or Rust storage routing was added in this PR.
  • Existing storage regression coverage already verifies future summary metadata is pruned from message-scoped branches.

Pressure points touched:

  • Convo mode message rendering
  • Shared timeline branch action wiring

Validation

  • Matching validation command passes locally (for example pnpm typecheck, pnpm build, pnpm check:architecture, pnpm check:docs, or full pnpm check when warranted)
  • Full pnpm check passes before PR push/handoff
  • Human/manual validation completed by contributor or reviewer

Manual verification notes

Codex ran:

  • pnpm typecheck
  • cargo test --manifest-path src-tauri\Cargo.toml branch_chat_prunes_future_summary_metadata_from_new_branch
  • pnpm check

Manual/browser click-through was not captured before opening the draft PR.

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:

  • N/A for this PR: this exposes the existing branch workflow in Convo's existing per-message toolbar, matching the roleplay/shared message action pattern rather than adding a new top-level feature surface.

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 screenshots captured. The visible change is a new Branch from here icon action in the existing Convo message hover/tap toolbar.


🔄 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/1863 **Author:** [@cha1latte](https://github.com/cha1latte) **Created:** 6/1/2026 **Status:** ✅ Merged **Merged:** 6/1/2026 **Merged by:** [@cha1latte](https://github.com/cha1latte) **Base:** `refactor` ← **Head:** `feat/issue-1853-convo-branch` --- ### 📝 Commits (2) - [`d2f6269`](https://github.com/Pasta-Devs/Marinara-Engine/commit/d2f6269c1c7e6b204596631b1b473d8d6fc03b42) Add Convo branch-from-message action - [`1d40572`](https://github.com/Pasta-Devs/Marinara-Engine/commit/1d405727259a89e3801c705ae04bb6f7aee22379) Refresh PR checks after metadata update ### 📊 Changes **4 files changed** (+31 additions, -0 deletions) <details> <summary>View changed files</summary> 📝 `src/features/modes/conversation/components/ChatConversationSurface.tsx` (+3 -0) 📝 `src/features/modes/conversation/components/ConversationMessage.tsx` (+17 -0) 📝 `src/features/modes/conversation/components/ConversationModeRoute.tsx` (+1 -0) 📝 `src/features/modes/conversation/components/ConversationView.tsx` (+10 -0) </details> ### 📄 Description <!-- Target branch: `refactor`. Change the base to `refactor` before submitting unless a maintainer explicitly asked for another base. --> <!-- Keep all checkboxes unchecked until a human has actually verified them. --> ## Linked issue Closes #1853 ## Why this change Convo mode did not expose the existing per-message branch workflow, so users had to export, edit, and re-import chat files to branch from an earlier point. ## What changed - Threaded the existing shared chat branch handler into Convo mode's message surface. - Added a `Branch from here` action to Convo message toolbars. - Kept branch creation/storage behavior on the existing `chat_branch` pipeline. ## Refactor impact Primary owner: Chat mode / shared mode UI Impact areas reviewed: - Convo route/surface prop flow - Convo regular message toolbar - Convo split-message group toolbar - Existing shared branch mutation and storage behavior Boundary notes: - Feature UI calls the existing timeline branch handler. - No new shared API, engine, or Rust storage routing was added in this PR. - Existing storage regression coverage already verifies future summary metadata is pruned from message-scoped branches. Pressure points touched: - Convo mode message rendering - Shared timeline branch action wiring ## Validation - [ ] Matching validation command passes locally (for example `pnpm typecheck`, `pnpm build`, `pnpm check:architecture`, `pnpm check:docs`, or full `pnpm check` when warranted) - [ ] Full `pnpm check` passes before PR push/handoff - [ ] Human/manual validation completed by contributor or reviewer ### Manual verification notes Codex ran: - `pnpm typecheck` - `cargo test --manifest-path src-tauri\Cargo.toml branch_chat_prunes_future_summary_metadata_from_new_branch` - `pnpm check` Manual/browser click-through was not captured before opening the draft PR. ## 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. - [x] 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: - N/A for this PR: this exposes the existing branch workflow in Convo's existing per-message toolbar, matching the roleplay/shared message action pattern rather than adding a new top-level feature surface. ## 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 screenshots captured. The visible change is a new `Branch from here` icon action in the existing Convo message hover/tap toolbar. --- <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:14 +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#5322
No description provided.