Open Bug 2062066 Opened 3 months ago Updated 7 days ago

Implement attachments subview shell

Categories

(Calendar :: Calendar Frontend, task)

task
Points:
3

Tracking

(Not tracked)

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:

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.
Blocks: 2062067
Type: enhancement → task
Points: --- → 3
You need to log in before you can comment on or make changes to this bug.