docs(requirements): 095 to 099 and the 094 closer binding
095 compact agent message box, 096 silent reject of expired Match cards, 097 Match show filter in the right-click menu, 098 docked speech bubbles with avatar and skip, 099 Match card headline capped at 120 characters. 094 gains the live test result, the 5 s close criterion and decision 6: closes are bound to a per-session closer token. README describes the 094 hook protocol and the uncapped prune list. 🎯 Fix: 97 % 💥 Break: 1 % 💸 Tokens: – ⏱️ Velocity: – 🛡️ Security: 100 % 🏆 Score: 96 🚦 Gate: ✅ 90/5, tokens and velocity <= 100, security 100 % Created-with: https://s.veen.world/skills Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
1 parent
6323f087bc
commit
38788b54a5
8 files changed
+383
-5
No files matched your search
@@ -0,0 +1,73 @@
|
||||
# 098 - Docked Speech Bubbles with Avatar and Close
|
||||
|
||||
## User Story
|
||||
|
||||
As the operator, I want a speech bubble that sits at the bottom screen edge
|
||||
to show who speaks by their avatar and to close with one click, so that I
|
||||
know the speaker without an avatar on screen and can skip a message I do not
|
||||
need.
|
||||
|
||||
## Decisions (operator-confirmed 2026-11-28; do not re-litigate)
|
||||
|
||||
1. **Avatar inside the docked bubble**: a bubble that has no visible avatar
|
||||
to point at sits in the bottom bar (`.bubble-bar`); there it shows the
|
||||
speaker's avatar (the same `face()` as everywhere in the hub) on the left,
|
||||
next to the name. A bubble anchored to an avatar keeps its tail and shows
|
||||
neither the avatar nor the close icon. Rejected: avatar only without close;
|
||||
a chat dock with history; a mini avatar in the top bar as anchor.
|
||||
2. **Close icon on every docked bubble**: a visible × button (not only on
|
||||
hover, so touch works), keyboard reachable, with a tooltip naming what it
|
||||
does. Rejected: × on hover only; one × for the whole bar.
|
||||
3. **× skips the message**: on the bubble being read aloud the voice stops
|
||||
that message and goes on with the next; a silent bubble leaves with the
|
||||
usual fade (086); a queued one leaves the queue. Rejected: hide the bubble
|
||||
while the voice reads on; stop all speech.
|
||||
4. **Own requirement**: 052 (bubbles beside modes) stays as it is.
|
||||
|
||||
## Approach
|
||||
|
||||
```mermaid
|
||||
flowchart TD
|
||||
subgraph P["🧭 0 · Preparation"]
|
||||
P1["📋 Write requirement"] --> P2{"✅ Operator approves?"}
|
||||
P2 -- "✏️ corrections" --> P1
|
||||
end
|
||||
P2 -- "🤖 yes" --> A1
|
||||
subgraph A["💬 A · Docked bubble"]
|
||||
A1["🧑 Avatar in the docked bubble"] --> A2["✖️ Close button skips the message"]
|
||||
A2 --> A3{"🧪 Unit and E2E green?"}
|
||||
A3 -- "🔴 no: fix" --> A1
|
||||
A3 -- "🟢 yes" --> AF{"💬 Operator feedback on screenshots?"}
|
||||
AF -- "✏️ changes" --> A1
|
||||
end
|
||||
AF -- "👍 fits" --> D1["🏁 Review, commit with operator OK, hand-over"]
|
||||
```
|
||||
|
||||
## Acceptance Criteria
|
||||
|
||||
### Avatar
|
||||
|
||||
- [ ] A bubble in `.bubble-bar` shows the speaker's `.avatar[data-face]`
|
||||
left of the name.
|
||||
- [ ] A bubble anchored to an avatar shows no avatar and no close button.
|
||||
- [ ] The avatar inside a bubble is never used as an anchor for a bubble.
|
||||
|
||||
### Close
|
||||
|
||||
- [ ] Every docked bubble has a `button` with an accessible name and a
|
||||
tooltip; it takes clicks although the bubble layer ignores the pointer.
|
||||
- [ ] A click on × of the message being read aloud stops its audio, and the
|
||||
next pending message starts.
|
||||
- [ ] A click on × of a silent bubble removes it through `vanish()`, and it
|
||||
does not come back on the next poll.
|
||||
- [ ] A click on × of a queued message removes it from the queue.
|
||||
|
||||
### Tests
|
||||
|
||||
- Unit:
|
||||
- [ ] The skip of the current, a queued and a silent item (node).
|
||||
- Integration:
|
||||
- n/a: no server change.
|
||||
- E2E:
|
||||
- [ ] `tests/e2e/test_bubble_dock_e2e.py`: a docked bubble shows avatar
|
||||
and ×, an anchored one neither, × removes the silent bubble.
|
||||
Reference in new issue
Block a user