Closed Bug 2062019 Opened 3 months ago Closed 39 minutes ago

Implement Add attachment row

Categories

(Calendar :: Calendar Frontend, task)

task
Points:
2

Tracking

(thunderbird164 fixed)

RESOLVED FIXED
164 Branch
Tracking Status
thunderbird164 --- fixed

People

(Reporter: arschmitz, Assigned: klamping)

References

(Blocks 3 open bugs)

Details

(Whiteboard: [calendar-ui-create-edit])

Attachments

(1 external file)

Summary:

Implement the main-dialog Add attachment row as a read-only route to the Attachments secondary view.

Links:

Acceptance criteria:

  • The main dialog provides an accessible Add attachment row with the designed label, attachment icon.
  • The row is presentational: it does not subscribe to Redux, use a store-pulling getter, load attachment data, derive attachment summaries, or own attachment state.
  • Activating the row emits a typed request to navigate to the Attachments secondary view. The dialog/subview controller owns active-subview state, focus handoff, and dimensions.
  • The row contains no attachment object, file handle, binary data, or DOM value.
  • Back from the Attachments secondary view restores focus to the initiating row without losing the current attachment draft.
  • A route/session replacement invalidates obsolete row interaction so an old entry event cannot affect a newer dialog session.
  • Add focused tests for label/icon/chevron rendering, keyboard activation, navigation request, Back-focus contract, absence of attachment-loading side effects, route replacement, and axe coverage where supported.

Out of scope:

  • Attachment source loading, item rendering, attachment summary derivation, add/edit/remove/download actions, source options, Save persistence, read-dialog updates, and direct calendar mutation.
Blocks: 2062066
Type: enhancement → task
Points: --- → 2

This is functionality for the row only, not for the subview. However, I did add a subview, just to wire it up. Tests for the subview navigation will be in a follow on patch.

Assignee: nobody → klamping
Status: NEW → ASSIGNED
Target Milestone: --- → 164 Branch

Pushed by toby@thunderbird.net:
https://hg.mozilla.org/comm-central/rev/bb1dc7a10259
Add Attachments row to new Create/Edit event dialog. r=tobyp,vineet

Status: ASSIGNED → RESOLVED
Closed: 39 minutes ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: