Skip to content

feat(memory): show a cue when memory forms - #2739

Merged
webbrain-one merged 9 commits into
webbrain-one:mainfrom
fly1d:codex/memory-update-effect
Aug 11, 2026
Merged

feat(memory): show a cue when memory forms#2739
webbrain-one merged 9 commits into
webbrain-one:mainfrom
fly1d:codex/memory-update-effect

Conversation

@fly1d

@fly1d fly1d commented Aug 11, 2026

Copy link
Copy Markdown
Contributor

Summary

  • distinguish genuinely new auto-captured memories from updates, deduplicated adds, and archives
  • notify the visible side panel only after the new memory is persisted and live memory state is refreshed
  • show a localized, accessible cue in both Chrome and Firefox, with reduced-motion support

Tests

  • memory-focused assertions in node test/run.js: pass
  • npm run test:toolbar-guard: 33 passed
  • npm run test:security: 60/60 passed
  • full npm test: 1610 passed, with 2 failures already present on main because version 28.0.0 has no matching changelog entry or tracked Chrome 28.0.0 zip yet

Fixes #2733

@vercel

vercel Bot commented Aug 11, 2026

Copy link
Copy Markdown

@fly1d is attempting to deploy a commit to the esokullu's projects Team on Vercel.

A member of the Team first needs to authorize it.

@esokullu

Copy link
Copy Markdown
Collaborator

Great! Thanks! I'll try this to see the actual visual effect.

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Adds an accessible visual cue when a genuinely new memory is automatically persisted.

Changes:

  • Distinguishes new memories from updates, archives, and deduplicated additions.
  • Broadcasts the cue after persistence and memory-state synchronization.
  • Adds localized toast styling, animation, reduced-motion support, and tests.

Reviewed changes

Copilot reviewed 9 out of 9 changed files in this pull request and generated no comments.

Show a summary per file
File Description
test/run.js Tests creation detection and cue wiring.
src/firefox/styles/sidepanel.css Styles and animates the Firefox cue.
src/firefox/src/ui/sidepanel.js Displays the Firefox cue.
src/firefox/src/background.js Publishes Firefox creation notifications.
src/firefox/src/agent/user-memory.js Reports newly created Firefox memories.
src/chrome/styles/sidepanel.css Styles and animates the Chrome cue.
src/chrome/src/ui/sidepanel.js Displays the Chrome cue.
src/chrome/src/background.js Publishes Chrome creation notifications.
src/chrome/src/agent/user-memory.js Reports newly created Chrome memories.

馃挕 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.

@webbrain-one
webbrain-one merged commit 26280c0 into webbrain-one:main Aug 11, 2026
1 of 2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Memory update effect

4 participants