[PR #1972] [MERGED] Fix continuity checklist selected action #5366

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

📋 Pull Request Information

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

Base: refactor ← Head: fix/issue-1951-continuity-accept


📝 Commits (2)

  • ade4b19 Fix continuity checklist selected action
  • fb5b866 Clarify selected continuity filter state

📊 Changes

2 files changed (+88 additions, -9 deletions)

View changed files

➕ src/features/catalog/agents/components/ContinuityIssueChecklist.test.tsx (+78 -0)
📝 src/features/catalog/agents/components/ContinuityIssueChecklist.tsx (+10 -9)

📄 Description

Linked issue

Closes #1951

Why this change

  • Continuity Checker showed an Accept selected button, but the handler only toggled a local selected-only filter. Because every finding starts selected, clicking the default button left the list unchanged and looked like a broken/apply-nothing action.

What changed

  • Renamed the misleading action to Hide unselected, matching the behavior the checklist actually supports.
  • Disabled the action when all findings are already visible or when the selected-only view is already active, preventing the old enabled no-op.
  • Added a focused jsdom React regression test for the all-selected no-op path and the narrowed selected-only path.

Refactor impact

Primary owner:

Catalog agents UI.

Impact areas reviewed:

  • AgentThoughtBubbles render path for floating agent activity.
  • RoleplayHUDActionsMenu render path for the roleplay Agents activity tab.

Boundary notes:

  • Feature UI only. No engine, shared API, Rust storage, prompt, provider, or remote-runtime boundary changes.

Pressure points touched:

  • None. The change stays inside the existing Continuity Checker checklist component.

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 test src/features/catalog/agents/components/ContinuityIssueChecklist.test.tsx: 1 file passed, 2 tests passed.
  • Codex ran pnpm typecheck: passed.
  • Codex ran pnpm check: passed, including line endings, architecture, frontend, Rust, docs, discovery, and unused-code checks.
  • Codex ran a Vite-served browser fixture for the real checklist component and saved local screenshots:
    • scratch/continuity-checklist-default-disabled.png
    • scratch/continuity-checklist-selected-only.png
  • GitHub-renderable image upload is not embedded in this draft because gh gist create rejected binary PNG uploads in this environment.
  • Full provider-generated Continuity Checker chat replay was not run; the verified claim is the checklist affordance itself.

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:

  • Bugfix to an existing Continuity Checker UI affordance; no new discoverable feature or 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

  • Local proof screenshots are listed in the validation notes. This draft does not embed GitHub-renderable screenshots because CLI binary upload was unavailable.

🔄 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/1972 **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:** `fix/issue-1951-continuity-accept` --- ### 📝 Commits (2) - [`ade4b19`](https://github.com/Pasta-Devs/Marinara-Engine/commit/ade4b1923e556da82259c1ec715e0e754e7fe980) Fix continuity checklist selected action - [`fb5b866`](https://github.com/Pasta-Devs/Marinara-Engine/commit/fb5b86626f10b48a6574572b27839ce2bf37d15a) Clarify selected continuity filter state ### 📊 Changes **2 files changed** (+88 additions, -9 deletions) <details> <summary>View changed files</summary> ➕ `src/features/catalog/agents/components/ContinuityIssueChecklist.test.tsx` (+78 -0) 📝 `src/features/catalog/agents/components/ContinuityIssueChecklist.tsx` (+10 -9) </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 <!-- Every user-facing PR should reference a feature request or issue report when practical. --> Closes #1951 ## Why this change <!-- What user problem, bug, refactor goal, or maintenance need does this solve? --> - Continuity Checker showed an `Accept selected` button, but the handler only toggled a local selected-only filter. Because every finding starts selected, clicking the default button left the list unchanged and looked like a broken/apply-nothing action. ## What changed <!-- List the key changes in this PR. --> - Renamed the misleading action to `Hide unselected`, matching the behavior the checklist actually supports. - Disabled the action when all findings are already visible or when the selected-only view is already active, preventing the old enabled no-op. - Added a focused jsdom React regression test for the all-selected no-op path and the narrowed selected-only path. ## Refactor impact Primary owner: <!-- Examples: app shell, catalog, chat mode, roleplay mode, game mode, runtime generation, world-state, shared API, engine generation, Rust storage, imports, remote runtime. --> Catalog agents UI. Impact areas reviewed: - `AgentThoughtBubbles` render path for floating agent activity. - `RoleplayHUDActionsMenu` render path for the roleplay Agents activity tab. Boundary notes: <!-- Note engine/shared-api/feature/Rust/remote-runtime boundaries. Say "none" only if you checked. --> - Feature UI only. No engine, shared API, Rust storage, prompt, provider, or remote-runtime boundary changes. Pressure points touched: <!-- Mention ModeSurface, GameSurface, shared mode UI, src-tauri/src/lib.rs command registration, or import modules if touched. --> - None. The change stays inside the existing Continuity Checker checklist component. ## Validation <!-- Check only what you personally ran or manually verified. Treat unchecked items as explicit TODOs. --> <!-- Do not submit *.test.ts or *.test.tsx files as PR proof; cite existing checks, command output, app/browser/Tauri verification, or manual notes instead. --> - [ ] 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 <!-- Describe exact commands and manual steps, including typecheck/build/docs/architecture/Rust/browser/remote-runtime checks when they apply. If an AI agent filled this out, verify it yourself before ticking boxes. --> - Codex ran `pnpm test src/features/catalog/agents/components/ContinuityIssueChecklist.test.tsx`: 1 file passed, 2 tests passed. - Codex ran `pnpm typecheck`: passed. - Codex ran `pnpm check`: passed, including line endings, architecture, frontend, Rust, docs, discovery, and unused-code checks. - Codex ran a Vite-served browser fixture for the real checklist component and saved local screenshots: - `scratch/continuity-checklist-default-disabled.png` - `scratch/continuity-checklist-selected-only.png` - GitHub-renderable image upload is not embedded in this draft because `gh gist create` rejected binary PNG uploads in this environment. - Full provider-generated Continuity Checker chat replay was not run; the verified claim is the checklist affordance itself. ## 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: - Bugfix to an existing Continuity Checker UI affordance; no new discoverable feature or 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 <!-- Add before/after screenshots or recordings for visible UI changes. --> - Local proof screenshots are listed in the validation notes. This draft does not embed GitHub-renderable screenshots because CLI binary upload was unavailable. --- <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:40 +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#5366
No description provided.