01a09c2f - Filter the inbox by Direct, Contact, or Damus - #178
Conversation
8cf239b to
2e78b60
Compare
49253b8 to
172a46c
Compare
0aac4ae to
b8f6016
Compare
774ffd2 to
986f8b3
Compare
65ffc86 to
65c796e
Compare
ef8dc9c to
02b14ce
Compare
02b14ce to
3628339
Compare
The Nachrichten list prefixes the viewer's last message with You:/Du: instead of attributing it to the counterpart. Thread bubbles for fromMe messages sit on the right and show You. Incoming last text is unchanged.
Tailwind class order and the sent-preview ternary must match the repo Prettier config so lint stays green.
The list prefix is only visible on the conversation list. The post test now clears ?c= and rerenders after All conversations so lastFromMe can be observed.
The loader post test asserts the sent bubble (You, data-from-me) on the thread. The You: list prefix is covered by InboxScreen tests.
Only fromMe messages get ml-8 self-end. Incoming cards stay the previous full-width class so Linux visual baselines do not change.
The mock GET /conversations drops empty and outbound-only threads to match the api. You: still prefixes lastFromMe on listed two-way rows.
member_platform rows with any message stay listed so ContactLoader can open ?c= after send. Outbound-only Direct threads stay omitted.
POST /contact and ContactLoader look up member_platform, so a Direct chat named 21.gifts is not reused and still listed after send.
Linux Chromium goldens now show You: on the list and a right-aligned You bubble in the thread, in all four viewport/theme combos.
Incoming thread bubbles stay muted and left; sent bubbles and list previews use filled app-btn on the right so direction is obvious.
Incoming thread cards stay full width so contact-success pixels do not move. Only sent bubbles, sent-preview chips, and thread goldens change. CONTRIBUTING forbids incidental baseline diffs.
The default Nachrichten baseline is the inbox overview: a private Direct thread, the official Contact ticket, and Damus.
The Nachrichten list has a chooser at the top. Default Direct shows private PMs only; Contact and Damus are separate.
Linux thread snapshots follow the unified design-system chrome on develop.
The screen-variant catalog listed member profile variants twice. Contact send again asserts the official thread URL and body.
Empty inbox copy is per origin and the Direct/Contact/Damus control stays visible, same as the forum mode switcher.
The lastFromMe behavior spec omitted location on /me, so accountSchema parse failed and hid the filter, then clicked Contact on the Direct default. Use a Direct Bob row with lastFromMe, matching sent-preview. Split the inbox empty-state table so Prettier accepts docs/ui.md.
ec05279 to
c45c4e4
Compare
|
EN: DE: DetailsHead Pass 1 (previous head): empty-state table overflowed Prettier; lastFromMe e2e omitted Paired API PR is 21gifts/api#130 and should merge first. Human merge only. |
EN:
The Nachrichten list is incoming threads only. At the top you choose Direct, Contact, or Damus so private PMs and official tickets are not mixed. Sent bubbles stay filled on the right.
DE:
Die Nachrichten-Liste zeigt nur eingehende Threads. Oben wählt man Direkt, Kontakt oder Damus, damit private PNs und offizielle Tickets nicht gemischt sind. Gesendete Blasen bleiben rechts gefüllt.
Details
Paired API PR 21gifts/api#130. Default filter Direct. Linux goldens:
screen-messages(Direct),state-messages-contact,state-messages-damus, sent-preview, empty.state-contact-successunchanged.