Closed Bug 2061592 Opened 3 months ago Closed 11 days ago

Implement video row and video setup entry behavior

Categories

(Calendar :: Calendar Frontend, task)

task

Tracking

(Not tracked)

RESOLVED FIXED
163 Branch

People

(Reporter: arschmitz, Assigned: jcharlton)

References

(Blocks 3 open bugs)

Details

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

Attachments

(1 external file)

Summary:

Implement the main-dialog Video row with serializable video draft state.

Links:

Acceptance criteria:

  • Presents a chevron entry to the Video setup subview.
  • Enabling Video dispatches one narrow updateSection({ section: "video", patch }) action.
  • The enabled row renders the current draft custom URL, and uses the common expansion behavior from Bug 2061586.
  • An edit-mode source with existing video details initializes the row enabled Create mode begins with video disabled.
  • A route/session replacement invalidates pending row interaction; stale toggle or account-context work cannot patch the newer session’s video draft.
  • Use the row enabled state added in Bug 2061214. Turning Video off keeps the account ID, custom URL, and input values. Turning it on uses those same values. Save excludes disabled Video values and removes old video details on edit, without clearing the draft.
  • Check off/on value preservation, default selection only when no value is retained, disabled Video on create/edit Save, and state/value preservation after failed Save.

Minimum test coverage:

  • Add focused tests for valid-account and no-account entry states, default/last-used account-ID selection, existing custom-URL display, edit hydration, serializable draft patches, stale-session protection, initial readiness, expansion, meeting-link limitation text, Description handoff, and axe coverage where supported.

Out of scope:

  • Account selection UI, custom-URL editing or removal, Settings navigation, account/provider setup, asynchronous account-discovery architecture, direct event mutation outside Save, and meeting-link generation or verification. The Video setup subview owns those interactions in Bug 2061593.
Blocks: 2061593
Type: enhancement → task

Note that this is no longer blocked by https://bugzilla.mozilla.org/show_bug.cgi?id=2061586 as the toggleable-row component has been created and merged in.

Assignee: nobody → klamping
Status: NEW → ASSIGNED
Assignee: klamping → jcharlton
Attachment #9685934 - Attachment description: WIP: Bug 2061592 - Implement the Video row in the calendar event dialog. r=#thunderbird-front-end-reviewers → Bug 2061592 - Implement the Video row in the calendar event dialog. r=#thunderbird-front-end-reviewers
Blocks: 2095241
Target Milestone: --- → 163 Branch

Pushed by jtracey@thunderbird.net:
https://hg.mozilla.org/comm-central/rev/95b7fa3370c2
Implement the Video row in the calendar event dialog. r=arschmitz,tobyp

Status: ASSIGNED → RESOLVED
Closed: 11 days 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: