mirror of
https://github.com/Pasta-Devs/Marinara-Agents.git
synced 2026-12-03 18:55:07 +07:00
[GH-ISSUE #1584] [Issue]: Long-Term Memory: five keyboard and focus faults block tasks in Sources, Review, Vault and Settings #1557
Labels
No labels
agent: chess
agent: conversation-calls
agent: eightball
agent: haptic
agent: hierarchical-maps
agent: hierarchical-maps
agent: illustrator
agent: poker
agent: rock-paper-scissors
agent: tic-tac-toe
agent: uno
artifacts
bug
bugfix
build
catalog
ci
client
dependencies
docs
documentation
enhancement
feature
fixed-in-staging
in-pr
normal-scope
packages
pull-request
qol
regression
roadmap
scope-risk
server
soup
upstream
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
Pasta-Devs/Marinara-Agents#1557
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @Promansis on GitHub (Oct 22, 2026).
Original GitHub issue: https://github.com/Pasta-Devs/Marinara-Agents/issues/1584
Originally assigned to: @Promansis on GitHub.
Summary
A code audit of the Long-Term Memory screens found five faults that stop a user from finishing a task. Keyboard users cannot open an imported source. Every accepted Review draft hides the whole queue and loses the user's place. Vault dialogs can open invisible on a narrow panel and freeze the screen. The place picker's highlight scrolls out of sight. The backup file input is an invisible Tab stop. Each fix is small and local; they ship together ahead of the audit's other fixes.
Affected package
long-term-memory1.4.84Expected behavior
Actual behavior
showModal()still makes the page inert, so the screen freezes with nothing visible. Rename hits this every time at that width.Steps to reproduce
Steps 1, 2, 4 and 5 are confirmed in code. Step 3 is confirmed in code and needs one 390px browser capture to confirm the frozen screen.
Minimal fix
One PR, patch bump. C =
packages/long-term-memory/src/engine/packages/client/src/features/long-term-memory.C/sources/SourcesWorkspace.tsx(the rowClickSurfacewithonClick, around lines 1255-1266), make the row title a real<button>that opens the workbench. KeepClickSurface(C/shared-controls.tsx) as the pointer and focus-within wrapper.C/review/ReviewQueue.tsx,reviewContextBusy(around lines 355-356) includesnotes.isFetching, and accept invalidatesqueryKeys.notes(around line 1263), which prefixes the review-context key (around line 350). Hide the workspace only on first load (!notes.isSuccess), not during a background refetch (workspaceUnavailablearound line 1969, which sets thehiddenclass around line 2089). Show a quiet busy cue instead.C/vault/MemoryVault.tsx, the unsaved-changes and rename<dialog>s (around lines 2479-2598) render inside the navigator slot, whichC/LtmWorkspace.tsx(around line 241) hides when that pane is inactive. Render both dialogs as a sibling of the workspace, outside the panes.showModal(around lines 1243-1268) is unchanged.C/SourceScopeCombobox.tsx, callscrollIntoView({ block: "nearest" })on the highlighted option whenevermoveHighlight(around lines 132-142) changes it. The list ismax-h-72 overflow-y-auto(around line 311).C/settings/MaintenancePanel.tsx(around lines 563-573), give thesr-onlyfile inputtabIndex={-1}andaria-hidden="true". The visible "Choose backup" button already opens it.## Unreleased: keyboard users can open imported sources; accepting a Review draft keeps your place; Vault dialogs show on narrow panels; the place picker keeps its highlight in view; the backup file input no longer takes an invisible Tab stop.Not included
ClickSurfaceitself or to othershowModalcallers.Regression proof
tests/long-term-memory-browser.regression.ts, beside the existing 390x844 cases:hidden) and the next draft row to be in the document with focus inside the queue.tabIndex-1 andaria-hidden="true".stagingand passes with the fix. The Vault case also confirms the frozen-screen fault before the fix.tests/long-term-memory-host-styles.regression.tsstays green.Environment
upstream/staging9393553b5)Additional context
Found by a code-only
/impeccable auditof the Long-Term Memory client UI on 2026-10-22 (score 12/20). These are its five P1 findings; it found no P0. The audit readstaginga6e2b20ce(1.4.82); every file and line above was re-checked on9393553b5(1.4.84), where none of these files has changed.Template check
Please uncheck (untick) the box below before submitting so we know you read the template. It is intentionally pre-checked: