githubnext/chopinPublic

Let's compose rich plans together

Put Chat sidebar controls at the pane edges #269

MergedMaggieAppletonmerged 3 commits intomainfromrefs/pull/269/head
  1. MA

    ## What changed

    The Chat header keeps its chat icon and name on the left. Hovering or focusing anywhere in that header reveals **Close sidebar** on the right, where the control is easier to find. On touch screens the close control stays visible.

    When Chat is closed, a small chat button remains just before the Document and Decisions tabs. It changes to the sidebar icon on hover or focus, and reopens Chat without discarding a draft.

    ## Why

    The previous close control replaced the Chat icon on the opposite side of the header. The new placement gives people a consistent place to close and reopen the pane while keeping the document tabs available.

    ## Visual check

    Actual browser UI from the integration fixture, with the open header hovered and the sidebar then closed:

    ![Open Chat sidebar, with Close sidebar at the right edge and its tooltip](https://github.com/user-attachments/assets/3da85037-351f-4fda-9c2e-6bca1bb659f4)

    ![Closed Chat sidebar, with a chat icon before the document tabs](https://github.com/user-attachments/assets/575d3477-eef0-4d51-bfc5-40898dc71cdd)

    ## Verification

    - 55 focused unit tests and 7 focused Chromium integration tests passed, including draft and focus behavior. - TypeScript checks, build, formatting, lint, and token checks passed. - A separate agent reviewed the implementation and found no actionable issue.

  2. MaggieAppletonauto-rebase-enabledlast month on GitHub

  3. MaggieAppletonreferenced this in Rest the chat composer at two lines and grow with content #278last month on GitHub

  4. MaggieAppletonreferenced this in Adapt tablet navigation to the measured workspace #288last month on GitHub

  5. MaggieAppletonreferenced this in Make archived documents read plainly as archived #280last month on GitHub

  6. lavaman131referenced 37b349613954last month on GitHub

  7. MaggieAppletonmerged f32592ec1647last month on GitHub

  8. MaggieAppletonclosedlast month on GitHub

  9. MaggieAppletonhead-ref-deletedlast month on GitHub