Repository navigation
fix(web): agent nodes animate in and clear sooner - #89
Merged
Merged
Conversation
…the last signal the founder found the old 40 s and 2 min holds too slow after an agent stops. server reads and the web clock timer share these constants, so both move together.
- new nodes fade, scale and unblur in over 360 ms, 60 ms apart in arrival order - each new edge draws in over 240 ms once both of its ends are in - removed nodes and edges fade out over 200 ms before they unmount - edges dropped their style, so the delay never reached the svg path - a change from the last 2 s animates when the editor mounts on it - the settle timer follows the change's own motion, not a fixed 1.6 s - the dev agent sim can end by removing its last step
--agent-outline-width and --agent-dither-scale default to the current 6 px band of 2 px cells, so a later design choice is a token change.
…immer - a 1 px agent track 2 px outside the node or card breathes over 2.8 s - a 3 px dithered segment, 18 percent of the edge, laps it every 2.4 s and twinkles - each node or card starts its lap at its own place so they do not march together - reduced motion draws the track alone, still - gap, track, segment width and length, cell scale, lap and breath are css tokens
- dithered agent noise fills the node's footprint at 15, 38, 16 then 0 percent over 340 ms - under it the node fades and lands from 0.96 scale in the same 340 ms - its edges draw in from 340 to 480 ms, then the node shows the agent outline - reduced motion stays instant with no dissolve
- a lane head is keyed by its trigger, so it slides with its lane - a new head fades in once the cards have moved, over the --agent-move token - a frame by frame check found 14 overlapping frames before and none after
wrapping the canvas in the enter context reindented the line, and the slop lint flags the chained unknown cast on changed lines.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
AGENT_NODE_HOLD_MS,AGENT_SESSION_HOLD_MS); the db reads and the web clock timer use them, so the ui fades on time with no new stream eventstyle, so the delay never reached the path; the 1600 dash drew short edges in a frame; the editor skipped a change that landed as it mounted--agent-outline-gap,--agent-outline-width,--agent-segment-width,--agent-segment-length,--agent-dither-scale,--agent-lap,--agent-breathe,--agent-moveremoveLastto show the fade out