Skip to content

The Workspace rail column steps discretely when a voice call ends (#2640 follow-up) #2676

Closed

Description

@dolho

Follow-up from the #2640 review. #2640 animated two of the three columns; the rail is the third and it still steps.

What happens

PortalRail.vue's <aside> carries no width transition in either state (the only transition in the file is on the icon buttons), and it is a shrink-0 flex sibling of <main> in the same row. It is mounted by a plain v-if, gated behind voiceCanvasLeaving so it arrives once the canvas column has finished shrinking.

So on End call the rail appears at its full width in a single frame and <main> loses that width in the same frame:

  • 48px with the rail collapsed,
  • 384px open,
  • or whatever --ws-rail was dragged to (ent#492), which can be much larger.

On a wide, open rail that single-frame jump can be bigger than the 211px snap #2640 set out to remove. The AC's "one continuous motion" is two-thirds met.

Why it was not fixed in #2640

The honest fix is to give the rail column an explicitly animatable width so it can ramp 0 -> w complementary to the canvas's flex-grow ramp — CSS cannot transition to auto, so a max-width trick or a class toggle will not do it properly.

That width is owned by ent#492's --ws-rail / column-resize work, not by the voice-call code. Doing it from #2640 means either introducing a wrapper element in the row or holding the rail mounted through a call, and both are decisions for whoever owns that column — taken with a real browser to verify, not the node-env source scan that is all src/frontend/tests/unit can offer.

Acceptance

  • Ending a call moves the rail column continuously rather than in one frame, on both a collapsed and an open rail, and at a dragged --ws-rail width.
  • Starting a call is symmetric — the rail does not vanish in one frame while the canvas ramps in.
  • prefers-reduced-motion stays instant: both motion-reduce:transition-none and motion-reduce:duration-0, per the bug(workspace): starting a voice call jumps the column layout, and the orb renders squashed because its canvas never resizes with its box #2640 review finding (transition-none alone leaves transitionDuration at .3s, which is what Vue's getTransitionInfo reads).
  • The exclusivity invariant holds: the canvas and the rail must never both claim the column at full width. Any overlap is only legitimate while their widths are complementary.

Recorded as a Known Limitation in docs/memory/feature-flows/workspace-voice-conversation.md.

Activity

  1. added
    priority-p3
    type-bug
    theme-ui-ux
    complexity-low
    on Sep 10, 2026
  2. dolho commented on Sep 10, 2026

    @dolho
    ContributorAuthor

    /claim

  3. added
    status-in-progress
    on Sep 10, 2026
  4. github-actions commented on Sep 10, 2026

    @github-actions

    Claimed by @dolho. Label status-in-progress added.

    Next steps:

    1. Create branch: feature/2676-<short-slug>
    2. Implement the feature
    3. Open a PR with Fixes #2676
  5. removed
    status-in-progress
    on Sep 10, 2026
  6. dolho commented on Sep 10, 2026

    @dolho
    ContributorAuthor

    PR up: #2677.

    Stacked on #2647 (it changes that PR's code), so merge #2647 first.

    Fix: the width moves onto a wrapper this view owns — the sidebar column's existing shape (shrink-0 overflow-hidden + an explicit --ws- width) — and ramps through Vue enter/leave classes rather than an always-on transition-[width], because --ws-rail is rewritten on every pointermove of a drag and a permanent transition would make dragging rubber-band by 300ms.

    It also retires voiceCanvasLeaving: a rail entering from zero width is complementary to a canvas leaving towards zero grow, so the three-columns-in-a-row-sized-for-two hazard that flag guarded is gone by construction, and the two motions now overlap instead of running back to back.

    Measured in headless Chromium against the built stylesheet: mid-transition 322 of 384 (interpolating), instant under prefers-reduced-motion, and a post-transition drag lands in the same frame.

    The 8px resize handle still pops in one frame — accepted and recorded, since animating it means a second animated element whose only content is a 1px line.

  7. added
    status-in-dev
    on Sep 11, 2026
  8. 1 remaining item

  9. removed
    status-in-dev
    on Sep 17, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

complexity-lowpriority-p3theme-ui-uxtype-bug

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions