feat(app): link memory to source session with focus-scroll navigation
Add a clickable session link in MemoryList detail panel that navigates to the source session and scrolls to the originating message. Refactor SessionDetail focus logic into a reusable focusPendingMessage() that reads ?focus=<uuid> from the route query, scrolls the target into view, and applies a pulse animation that fades out.
This commit is contained in:
@@ -448,6 +448,12 @@
|
||||
.msg.is-focused {
|
||||
border-color: var(--accent);
|
||||
box-shadow: 0 0 0 1px var(--accent), 0 0 22px var(--accent-glow);
|
||||
animation: focus-pulse 2s ease-out forwards;
|
||||
}
|
||||
@keyframes focus-pulse {
|
||||
0% { box-shadow: 0 0 0 2px var(--accent), 0 0 30px var(--accent-glow); }
|
||||
70% { box-shadow: 0 0 0 1px var(--accent), 0 0 15px var(--accent-glow); }
|
||||
100% { box-shadow: none; border-color: var(--asst-bubble-border); }
|
||||
}
|
||||
.msg-head {
|
||||
display: flex; align-items: center; gap: 8px;
|
||||
|
||||
Reference in New Issue
Block a user