[PR #269] [MERGED] feat(long-term-memory): align button icons and localization #886

Closed
opened 2026-10-20 17:32:00 +07:00 by bsakaguchi · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/Pasta-Devs/Marinara-Agents/pull/269
Author: @Promansis
Created: 8/7/2026
Status: ✅ Merged
Merged: 8/9/2026
Merged by: @Promansis

Base: staging ← Head: feature(long-term-memory)/button-icon-localization


📝 Commits (10+)

  • 2a03952 feat(long-term-memory): align button icons and localization
  • b86d377 build(long-term-memory): refresh package artifacts
  • b2bdfa8 fix(long-term-memory): localize remaining enum labels
  • 81a7100 fix(long-term-memory): align settings and activation controls
  • d0be103 test(long-term-memory): use production switch sizing
  • ebd8544 fix(long-term-memory): make extraction grid responsive
  • 0aadb2f fix(long-term-memory): own critical control sizing
  • 49fce5f test(long-term-memory): await mobile navigation transitions
  • 06b8748 test(long-term-memory): discard inspected settings state
  • 50427ca test(long-term-memory): inspect mobile settings after sources

📊 Changes

17 files changed (+2060 additions, -578 deletions)

View changed files

📝 artifacts/long-term-memory-1.2.3.zip (+0 -0)
📝 catalog/catalog.json (+5 -5)
📝 catalog/v2/catalog.json (+5 -5)
📝 catalog/v3/catalog.json (+5 -5)
📝 packages/long-term-memory/client.js (+183 -20)
📝 packages/long-term-memory/manifest.json (+2 -2)
📝 packages/long-term-memory/src/engine/packages/client/src/features/long-term-memory/ActivityView.tsx (+11 -3)
📝 packages/long-term-memory/src/engine/packages/client/src/features/long-term-memory/ExtractionPromptTemplates.tsx (+2 -2)
📝 packages/long-term-memory/src/engine/packages/client/src/features/long-term-memory/LongTermMemoryDetail.tsx (+818 -237)
📝 packages/long-term-memory/src/engine/packages/client/src/features/long-term-memory/MemorySettings.tsx (+45 -11)
📝 packages/long-term-memory/src/engine/packages/client/src/features/long-term-memory/MemoryVault.tsx (+62 -19)
📝 packages/long-term-memory/src/engine/packages/client/src/features/long-term-memory/ReviewQueue.tsx (+23 -12)
📝 packages/long-term-memory/src/engine/packages/client/src/features/long-term-memory/SourcesWorkspace.tsx (+34 -45)
📝 packages/long-term-memory/src/engine/packages/client/src/features/long-term-memory/display-labels.ts (+135 -10)
📝 packages/long-term-memory/src/engine/packages/client/src/features/long-term-memory/locales/en.json (+154 -38)
📝 packages/long-term-memory/src/engine/packages/client/src/features/long-term-memory/shared-controls.tsx (+2 -1)
📝 tests/long-term-memory-lifecycle.regression.ts (+574 -163)

📄 Description

Pull request

Important

Contributions target staging. Only SpicyMarinara may promote this repository's staging branch to main.
Outside and first-time contributors also require an approving review from SpicyMarinara.

Linked issue

Closes #267
Closes #268
Closes #272
Closes #273
Closes #274
Closes #275
Closes #276
Closes #277

Why this change

  • Long-Term Memory exposed package-owned enum values as humanized English, several icon controls lacked aligned localized titles or decorative-icon semantics, and the Extraction/header controls rendered inconsistently across desktop and mobile.
  • The same setup-guide work also exposed unclear and duplicated onboarding copy, lost progress during settings/source handoffs, an incomplete explanation of extraction and recall internals, and inconsistent mobile action layout.

What changed

  • Localized finite Long-Term Memory labels while retaining readable fallbacks for unknown server values.
  • Aligned icon-only button titles and accessible names, preserved source context in mobile actions, and hid decorative icons from assistive technology.
  • Increased shared info glyphs to 14px and aligned Extraction labels and fields to a responsive 44px control rhythm.
  • Added visible localized Active/Inactive switch labels, contained the knob within its 44x24 track, and kept the header on one row at 390px and 320px through small distributed spacing adjustments.
  • Reworked the Professor Mari setup guide copy for clarity, removed duplicated source/review guidance, and added localized onboarding labels and punctuation.
  • Preserved the setup guide's current step across source/settings handoffs and reloads, with an explicit Close action instead of treating every handoff as completion.
  • Added an Under the Hood step explaining extraction, review, recall matching, ranking, budgets, deduplication, and cooldown behavior.
  • Reordered and stabilized source-choice controls as Chat Summary, Lorebook, and Character, kept the guide open during source handoffs, and stacked onboarding actions on mobile.
  • Rebuilt the Long-Term Memory 1.2.3 client, manifest, archive, and catalog entries and added focused artifact/localizer regression assertions.

Package and security impact

  • Affected package IDs: long-term-memory
  • Engine compatibility impact: none; existing >=2.4.1 <4.0.0 range retained
  • New or changed permissions/entrypoints: none
  • Restart, storage, update, or uninstall impact: package remains restart-required; lifecycle regression confirmed existing storage and uninstall behavior

Validation

  • node scripts/validate-catalog.mjs passes locally
  • git diff --check passes locally
  • Rebuilt every affected manifest, payload, artifact, and catalog entry
  • Installed or updated the affected package through Marinara Engine
  • Checked supported modes, restart behavior, and uninstall cleanup
  • Read and followed CONTRIBUTING.md

Manual verification notes

  • Review baseline at 367cf7684d2ed821acf073334c2b33dbdaba3aec rebuilt long-term-memory and confirmed no generated drift beyond restored catalog timestamps.
  • node scripts/test-catalog-lanes.mjs passed.
  • node scripts/validate-catalog.mjs passed for 31 packages across v2 and v3 lanes.
  • git diff --check passed.
  • Engine-hosted Playwright passed desktop and Pixel 7 checks: two-column/one-column Extraction reflow, 44px aligned labels and fields, 14px info glyphs, visible localized activation states, contained 20px knob geometry, and long-name overflow.
  • Mobile header children remain on one row without horizontal overflow at 390px and 320px; the Pixel 7 activation target measured 93.03x44 with its 44x24 track unchanged.
  • Long-Term Memory lifecycle regression passed exact-artifact install, offline restart, backup inclusion, uninstall, reinstall, and durable-byte preservation.

Documentation impact

  • No documentation changes needed
  • Updated this README catalog and package guidance
  • Updated linked Marinara Engine documentation

UI evidence (if applicable)

  • Engine-hosted Playwright computed-layout assertions cover the changed desktop, 390px Pixel 7, and 320px narrow-mobile surfaces in the exact package artifact.

Summary by CodeRabbit

  • New Features

    • Added a seven-step, resumable onboarding guide for Long-Term Memory.
    • Expanded guidance for activation, source selection, recall, review, verification, and memory states.
    • Improved responsive layouts, source workflows, activation controls, and mobile actions.
  • Localization

    • Expanded localized labels and terminology across memory, activity, review, maintenance, and source-management screens.
    • Updated onboarding and setup copy for greater clarity.
  • Accessibility & Usability

    • Improved decorative icon handling, control sizing, and localized action labels.
  • Tests

    • Expanded regression coverage for onboarding, persistence, responsive behavior, localization, and recovery workflows.

🔄 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-Agents/pull/269 **Author:** [@Promansis](https://github.com/Promansis) **Created:** 8/7/2026 **Status:** ✅ Merged **Merged:** 8/9/2026 **Merged by:** [@Promansis](https://github.com/Promansis) **Base:** `staging` ← **Head:** `feature(long-term-memory)/button-icon-localization` --- ### 📝 Commits (10+) - [`2a03952`](https://github.com/Pasta-Devs/Marinara-Agents/commit/2a0395256974a408f872c92d98227ff60602c394) feat(long-term-memory): align button icons and localization - [`b86d377`](https://github.com/Pasta-Devs/Marinara-Agents/commit/b86d377d719f962a2ae970ae4c6f034d6f79c3b5) build(long-term-memory): refresh package artifacts - [`b2bdfa8`](https://github.com/Pasta-Devs/Marinara-Agents/commit/b2bdfa8cc21d820b0a8ed9aca13f2a355ca693fe) fix(long-term-memory): localize remaining enum labels - [`81a7100`](https://github.com/Pasta-Devs/Marinara-Agents/commit/81a710048da9f8559a6f177692d8ad499cbaa2e4) fix(long-term-memory): align settings and activation controls - [`d0be103`](https://github.com/Pasta-Devs/Marinara-Agents/commit/d0be10352ceb6e18d39172d4cf6882f84cdb5ba7) test(long-term-memory): use production switch sizing - [`ebd8544`](https://github.com/Pasta-Devs/Marinara-Agents/commit/ebd85445bdf77dcc11d11ad1801bbcd9da04ab86) fix(long-term-memory): make extraction grid responsive - [`0aadb2f`](https://github.com/Pasta-Devs/Marinara-Agents/commit/0aadb2fb7e2d77a99742527ac367c5124f89feaa) fix(long-term-memory): own critical control sizing - [`49fce5f`](https://github.com/Pasta-Devs/Marinara-Agents/commit/49fce5f4b0aabcfba2a972f6180af1b43140cb2e) test(long-term-memory): await mobile navigation transitions - [`06b8748`](https://github.com/Pasta-Devs/Marinara-Agents/commit/06b8748a83463983836a84b8d972669b5e33d76f) test(long-term-memory): discard inspected settings state - [`50427ca`](https://github.com/Pasta-Devs/Marinara-Agents/commit/50427cae3391ba9f681d7b20ced67a885c25156d) test(long-term-memory): inspect mobile settings after sources ### 📊 Changes **17 files changed** (+2060 additions, -578 deletions) <details> <summary>View changed files</summary> 📝 `artifacts/long-term-memory-1.2.3.zip` (+0 -0) 📝 `catalog/catalog.json` (+5 -5) 📝 `catalog/v2/catalog.json` (+5 -5) 📝 `catalog/v3/catalog.json` (+5 -5) 📝 `packages/long-term-memory/client.js` (+183 -20) 📝 `packages/long-term-memory/manifest.json` (+2 -2) 📝 `packages/long-term-memory/src/engine/packages/client/src/features/long-term-memory/ActivityView.tsx` (+11 -3) 📝 `packages/long-term-memory/src/engine/packages/client/src/features/long-term-memory/ExtractionPromptTemplates.tsx` (+2 -2) 📝 `packages/long-term-memory/src/engine/packages/client/src/features/long-term-memory/LongTermMemoryDetail.tsx` (+818 -237) 📝 `packages/long-term-memory/src/engine/packages/client/src/features/long-term-memory/MemorySettings.tsx` (+45 -11) 📝 `packages/long-term-memory/src/engine/packages/client/src/features/long-term-memory/MemoryVault.tsx` (+62 -19) 📝 `packages/long-term-memory/src/engine/packages/client/src/features/long-term-memory/ReviewQueue.tsx` (+23 -12) 📝 `packages/long-term-memory/src/engine/packages/client/src/features/long-term-memory/SourcesWorkspace.tsx` (+34 -45) 📝 `packages/long-term-memory/src/engine/packages/client/src/features/long-term-memory/display-labels.ts` (+135 -10) 📝 `packages/long-term-memory/src/engine/packages/client/src/features/long-term-memory/locales/en.json` (+154 -38) 📝 `packages/long-term-memory/src/engine/packages/client/src/features/long-term-memory/shared-controls.tsx` (+2 -1) 📝 `tests/long-term-memory-lifecycle.regression.ts` (+574 -163) </details> ### 📄 Description # Pull request > [!IMPORTANT] > Contributions target `staging`. Only `SpicyMarinara` may promote this repository's `staging` branch to `main`. > Outside and first-time contributors also require an approving review from `SpicyMarinara`. ## Linked issue Closes #267 Closes #268 Closes #272 Closes #273 Closes #274 Closes #275 Closes #276 Closes #277 ## Why this change - Long-Term Memory exposed package-owned enum values as humanized English, several icon controls lacked aligned localized titles or decorative-icon semantics, and the Extraction/header controls rendered inconsistently across desktop and mobile. - The same setup-guide work also exposed unclear and duplicated onboarding copy, lost progress during settings/source handoffs, an incomplete explanation of extraction and recall internals, and inconsistent mobile action layout. ## What changed - Localized finite Long-Term Memory labels while retaining readable fallbacks for unknown server values. - Aligned icon-only button titles and accessible names, preserved source context in mobile actions, and hid decorative icons from assistive technology. - Increased shared info glyphs to 14px and aligned Extraction labels and fields to a responsive 44px control rhythm. - Added visible localized `Active`/`Inactive` switch labels, contained the knob within its 44x24 track, and kept the header on one row at 390px and 320px through small distributed spacing adjustments. - Reworked the Professor Mari setup guide copy for clarity, removed duplicated source/review guidance, and added localized onboarding labels and punctuation. - Preserved the setup guide's current step across source/settings handoffs and reloads, with an explicit `Close` action instead of treating every handoff as completion. - Added an `Under the Hood` step explaining extraction, review, recall matching, ranking, budgets, deduplication, and cooldown behavior. - Reordered and stabilized source-choice controls as Chat Summary, Lorebook, and Character, kept the guide open during source handoffs, and stacked onboarding actions on mobile. - Rebuilt the Long-Term Memory 1.2.3 client, manifest, archive, and catalog entries and added focused artifact/localizer regression assertions. ## Package and security impact - Affected package IDs: `long-term-memory` - Engine compatibility impact: none; existing `>=2.4.1 <4.0.0` range retained - New or changed permissions/entrypoints: none - Restart, storage, update, or uninstall impact: package remains restart-required; lifecycle regression confirmed existing storage and uninstall behavior ## Validation - [x] `node scripts/validate-catalog.mjs` passes locally - [x] `git diff --check` passes locally - [x] Rebuilt every affected manifest, payload, artifact, and catalog entry - [x] Installed or updated the affected package through Marinara Engine - [x] Checked supported modes, restart behavior, and uninstall cleanup - [x] Read and followed `CONTRIBUTING.md` ### Manual verification notes - Review baseline at `367cf7684d2ed821acf073334c2b33dbdaba3aec` rebuilt `long-term-memory` and confirmed no generated drift beyond restored catalog timestamps. - `node scripts/test-catalog-lanes.mjs` passed. - `node scripts/validate-catalog.mjs` passed for 31 packages across v2 and v3 lanes. - `git diff --check` passed. - Engine-hosted Playwright passed desktop and Pixel 7 checks: two-column/one-column Extraction reflow, 44px aligned labels and fields, 14px info glyphs, visible localized activation states, contained 20px knob geometry, and long-name overflow. - Mobile header children remain on one row without horizontal overflow at 390px and 320px; the Pixel 7 activation target measured 93.03x44 with its 44x24 track unchanged. - Long-Term Memory lifecycle regression passed exact-artifact install, offline restart, backup inclusion, uninstall, reinstall, and durable-byte preservation. ## Documentation impact - [x] No documentation changes needed - [ ] Updated this README catalog and package guidance - [ ] Updated linked Marinara Engine documentation ## UI evidence (if applicable) - Engine-hosted Playwright computed-layout assertions cover the changed desktop, 390px Pixel 7, and 320px narrow-mobile surfaces in the exact package artifact. <!-- This is an auto-generated comment: release notes by coderabbit.ai --> ## Summary by CodeRabbit - **New Features** - Added a seven-step, resumable onboarding guide for Long-Term Memory. - Expanded guidance for activation, source selection, recall, review, verification, and memory states. - Improved responsive layouts, source workflows, activation controls, and mobile actions. - **Localization** - Expanded localized labels and terminology across memory, activity, review, maintenance, and source-management screens. - Updated onboarding and setup copy for greater clarity. - **Accessibility & Usability** - Improved decorative icon handling, control sizing, and localized action labels. - **Tests** - Expanded regression coverage for onboarding, persistence, responsive behavior, localization, and recovery workflows. <!-- 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-20 17:32:00 +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-Agents#886
No description provided.