Skip to content

Choosing the focused pane's own floating session opens its card #690

Open

Description

@SSFSKIM

What this is

A gap found while building the chat bar over an artifact (ticket 688). When a session's chat floats over an expanded artifact as the bar and the keyboard is in the bar, the focused pane is still that session's pane. Choosing the same session in the sidebar, or pressing its own tab, then changes nothing: the rule that opens the float's card reacts to the focused pane moving to the session, and here it does not move. The pill that exists today behaves the same after Expand, so this is not a regression of ticket 688.

The design's table says the session chosen in the sidebar or by its tab opens the card from the bar. Ticket 688 builds that row for every state in which the artifact's pane is focused (after the card's Close, after Hide chat, after a click into the artifact) and records the narrowing in its document.

Statement of work

Choosing a session that is already the focused pane's floating session, while its float is not the card, opens the card: from the sidebar's row, from the session's tab, and from any other way of choosing a session that goes through the same act. One place decides it (the layout store's act of showing a session, or the float's store given a signal from that act), not one edit per caller. The keyboard goes where the card's opening puts it today.

Proof

Unit cases in the float's and the layout's suites: from the bar with the bar focused, each way of choosing the session opens the card; choosing another session behaves as before; a hidden chat follows the rule the design's table gives for hidden. One scene in the panel group.

Depends on

Ticket 688 on master.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementpriority:P3status:ready-for-implementer

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions