Open
Bug 2062066
Opened 3 months ago
Updated 7 days ago
Implement attachments subview shell
Categories
(Calendar :: Calendar Frontend, task)
Calendar
Calendar Frontend
Tracking
(Not tracked)
NEW
People
(Reporter: arschmitz, Unassigned)
References
(Depends on 1 open bug, Blocks 3 open bugs)
Details
(Whiteboard: [calendar-ui-create-edit])
Summary:
Implement the Attachments secondary-view shell for the Zeplin Standard, Editing link, and Empty variants.
Links:
- Zeplin attachments subview variants: https://app.zeplin.io/project/66dd0f2b2fe8f1b63cda36f1/screen/6a10755c53407333ac9af282
- Figma attachment/reminder wireframe area: https://www.figma.com/design/RUdiasA8tpxWMbw0h8QcQ3/TBDesktop_2024_Q3_Calendar_v0.2?node-id=6555-8969&t=6ogemYueILoxyoZc-1
- Interaction guide: Proposed features: https://docs.google.com/document/d/15OpMthOHmBGyPpDBNRW8vp6uCxeoitBp8n7Fti3LD10/edit?tab=t.3g6ozuwquqfq#heading=h.lm26t0ay4a75
- SOW: In Scope: https://docs.google.com/document/d/1ZVLX8VjxaYsSBuywLyFsXf27Q-Pf55g8QxT8G9z0eZ4/edit?tab=t.0#heading=h.bz8l40hwl6cr
Acceptance criteria:
- The Attachments secondary view renders the designed header, accessible Back control, content area, and empty, standard, and editing-link shell variants.
- The shell accepts supplied plain attachment view models only. A model contains only stable ID, kind, display text, optional URL, and optional file-type/icon metadata; it contains no attachment object, file handle, binary data,
calIEvent, calendar object, or DOM value. - Given supplied link items, each URL is truncated to one line while its full accessible name remains available.
- Given supplied file items, each row exposes file, download, and delete affordance slots, icons should come from later file data.
- Editing-link state supplies an editable-field handoff only; input editing and save/cancel behavior belong to the attachment-actions story.
- Active-subview state, focus restoration, scrolling, and locked subview dimensions remain dialog-controller-local. Back preserves supplied draft state and restores focus to the Add attachment row.
- Long supplied item lists scroll within the established subview overflow region rather than growing or re-positioning the dialog. The shell does not call
PositionedDialog. - A route/session replacement resets the obsolete shell and prevents its Back action from affecting a newer dialog session.
- Add focused tests for header and Back semantics, empty/standard/editing-link variants, supplied link/file rendering, URL truncation and accessible names, binary-icon treatment, shell-only affordances, scroll containment, route replacement, and axe coverage where supported.
Out of scope:
- Loading persisted attachments, attachment add/edit/remove/download actions, source options, file selection, upload or storage, attachment-draft mutation, Save persistence, read-dialog updates, and direct calendar mutation.
| Reporter | ||
Updated•1 month ago
|
Type: enhancement → task
| Reporter | ||
Updated•10 days ago
|
Points: --- → 3
| Reporter | ||
Updated•7 days ago
|
Blocks: tb-cal-edit-event-dialog
You need to log in
before you can comment on or make changes to this bug.
Description
•