mirror of
https://github.com/Pasta-Devs/Marinara-Agents.git
synced 2026-12-03 18:55:07 +07:00
[GH-ISSUE #1588] [Issue]: Long-Term Memory UI audit follow-ups: focus, results, narrow panels, speed, warnings and docs #1558
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#1558
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/1588
Originally assigned to: @Promansis on GitHub.
Summary
The 2026-10-22 code audit of the Long-Term Memory screens found eight patterns of smaller faults, after the five blockers that shipped first in #1584 (PR #1587, 1.4.85). They touch the same few screen files, so separate PRs would conflict with each other and each add a release and a zip. They ship together: one branch and one pull request, one commit per item.
One branch and one pull request for these related changes. Each item is implemented, tested and reviewed on its own before it is committed.
Affected package
long-term-memory1.4.85DESIGN.mdanddocs/UI.mdExpected behavior
Actual behavior
aria-describedbyoraria-invalid; some render behind a modal or in another pane. Sources posts onerole="alert"per failure.sm:/md:classes and@media (min-width: 48rem)follow the window, so a narrow docked panel on a wide window keeps the wide layout. The Review and Sources batch bars scroll away.100vh - 12remcaps in Vault and Sources break at zoom and on landscape phones.<summary>toggles, checkboxes and their labels, text-style buttons and the Back button are under 2.75rem.warningtone has no styling, and no Engine defines a warning color, so warnings look like plain notes.DESIGN.mdlacks the Micro-label size, names a nonexistenteditor-warningtoken and a stale rule.docs/UI.mdstill describes lazy-loaded destinations, an onboarding Close that suspends, and a "retention" settings group. One activation label uses 0.8125rem, off the type scale.Steps to reproduce
Found by reading the code; details and line references are in the audit report. Two examples:
Each item adds a browser regression case where its behavior changes.
Minimal fix
One PR, patch bump. One commit per item with a
Bundle-Item: <n>trailer; the changelog is written once at the end. F =packages/long-term-memory/src/engine/packages/client/src/features/long-term-memory.aria-disabledplus a ref guard, focus restored infinally) to the actions listed above. Tie errors to fields witharia-describedbyandaria-invalid, in the field's pane. One polite summary replaces Sources' per-failure alerts. Files:F/review/ReviewQueue.tsx,F/vault/MemoryVault.tsx,F/sources/SourcesWorkspace.tsx,F/LtmWorkspace.tsx(onboarding),F/settings/ActivityView.tsx, settings panels.role="status"for progress,role="alert"only for danger. Files:LongTermMemoryDetail.tsx,ReviewQueue.tsx,SourcesWorkspace.tsx,MaintenancePanel.tsx.docs/UI.md); batch bars stay in view; drop the100vh - 12remcaps; 2.75rem targets. Files:ReviewQueue.tsx,SourcesWorkspace.tsx,MemoryVault.tsx,LtmWorkspace.tsx,shared-controls.tsx.Intl.RelativeTimeFormat; debounce Sources search and keep the previous results while it loads; memoize Review's per-row work; cap picker lists. Measure first: split a screen only above about 100 ms per keystroke. Vault is already fine. Files:ActivityView.tsx,SourcesWorkspace.tsx,ReviewQueue.tsx, picker components.warningtone, modelled on the two shell health banners, so every warning picks it up. Files:shared-controls.tsxand any call site that fakes its own warning look.F/DESIGN.md: add Micro-label and the compact ChatSettings sizes, describe item 5's warning treatment, removeeditor-warningand the stale rule.packages/long-term-memory/docs/UI.md: no lazy loading, onboarding Close records complete, settings rail Recall, Extraction, Maintenance, Debug. Snap the 0.8125rem activation label inLongTermMemoryDetail.tsxto the scale.Every item keeps the host-styles guard green, adds no raw colors, and puts every new string in all locales.
Not included: the five blockers (shipped in #1584); a new warning color token or Engine changes; screen splits under the 100 ms threshold; raising the ChatSettings sizes; the 1.5.0 transcript release.
Environment
engine.min2.4.1)Logs, screenshots, or video
None; the audit was code-only. Each item's regression case records the behavior.
Additional context
Template check
Please uncheck (untick) the box below before submitting so we know you read the template. It is intentionally pre-checked: