githubnext/chopinPublic

Let's compose rich plans together

Show an inline @chopin mention instead of the To Chopin label #396

MergedMaggieAppletonmerged 2 commits intomainfromrefs/pull/396/head
  1. MA

    ## Why Maggie reviewed the "To Chopin" meta line and dislikes it. It was extra chrome, and its once-per-run and persistent-mode suppression made the addressing inconsistent.

    ## What changed - Removed the "To Chopin" row and its suppression logic, including the `talkingToChopin` prop. - Every member message with `to === "planner"`, including queued items, now starts with an inline `@chopin` mention. This applies in Chat mode and Chopin mode, and inside grouped runs. - The mention is drawn from the `to` field, so a typed leading `@chopin` is not shown twice. References are re-offset, and `data-chat-raw` is unchanged. - The style is the composer's mention style (brand colour, weight 600), via `.chat-mention` in `markdown.css`. It has no underline, since an underline would read as a link in the transcript. - A message that is only `@chopin` now renders just the mention instead of "Ask Chopin". The e2e filter is updated to match.

    ## Screenshots

    Chopin mode, before and after:

    ![Before](https://github.com/user-attachments/assets/48d487bd-0444-498c-98af-98795704b516) ![After](https://github.com/user-attachments/assets/9787ed75-212b-402b-9717-071f38fbad25)

    Grouped run, before and after:

    ![Before grouped](https://github.com/user-attachments/assets/d0395679-d781-47ce-b74c-b77e5ed26c53) ![After grouped](https://github.com/user-attachments/assets/db4f0d14-fea1-4241-afd0-2e88fad63e4b)

    Phone, before and after:

    ![Before phone](https://github.com/user-attachments/assets/1cbe812e-ba18-482f-bd1c-aacfa235f978) ![After phone](https://github.com/user-attachments/assets/508b5e70-a263-4e57-8aab-da66df550949)

    ## Verification

    - On the prepared local stack, the two feature commits remain patch-identical. Focused chat transcript tests: 22 passed. - `bun run fix`, `bun run ci`, `bun run types`, and `bun run build` passed; the reviewed `markdown.tsx` design hash is renewed. - The prepared build's initial JavaScript is 251,596 B raw / 79,423 B gzip, 4,404 bytes below the raw limit. Fresh GitHub CI will be confirmed after publication.

  2. MaggieAppletonauto-rebase-enabledlast month on GitHub

  3. MaggieAppletonauto-merge-disabledlast month on GitHub

  4. MaggieAppletonhead-ref-force-pushed 1d0c4ad2c1d0last month on GitHub

  5. MaggieAppletonmerged f5599b9ca86dlast month on GitHub

  6. MaggieAppletonclosedlast month on GitHub

  7. MaggieAppletonhead-ref-deletedlast month on GitHub