Implement video setup subview variants
Categories
(Calendar :: Calendar Frontend, task)
Tracking
(Not tracked)
People
(Reporter: arschmitz, Unassigned)
References
(Blocks 1 open bug)
Details
(Whiteboard: [calendar-ui-create-edit])
Summary:
Implement the Video setup subview’s account and Custom URL draft-editing states.
Links:
-
Zeplin video setup subview variants: https://app.zeplin.io/project/66dd0f2b2fe8f1b63cda36f1/screen/6a10a055b71165e1a4a21386
-
Zeplin video account dropdown: https://app.zeplin.io/project/66dd0f2b2fe8f1b63cda36f1/screen/6a0f4d7332c1fc2bb2ae4ad1
-
Zeplin custom URL return-to-empty state: https://app.zeplin.io/project/66dd0f2b2fe8f1b63cda36f1/screen/6a0f3bb9af1fc66a2ce0c4d5
-
Interaction guide: Create > Video Call: https://docs.google.com/document/d/15OpMthOHmBGyPpDBNRW8vp6uCxeoitBp8n7Fti3LD10/edit?tab=t.why4m6lqup0#heading=h.2p1nihksybxn
-
SOW: Resources: https://docs.google.com/document/d/1ZVLX8VjxaYsSBuywLyFsXf27Q-Pf55g8QxT8G9z0eZ4/edit?tab=t.0#heading=h.aj1t0daw48zh
-
Planning: Questions - Q11 Video Account And Service Integration
Acceptance criteria: -
The Video setup subview opens from the Video-row entry action and renders the Add Account, Incomplete, and Custom URL states shown in Zeplin.
-
The subview renders committed video draft state from stable
storeObserverselections. Do not use getters that pull state from the store. -
Available-account context is passed from the existing platform/controller boundary as serializable descriptors. The subview and Redux state contain no live account object, provider service,
calIEvent, calendar object, or DOM value. -
Choosing an available account dispatches one atomic video-section patch that selects its account ID and clears any custom URL. Choosing Custom URL clears the selected account ID and stores only the entered URL string.
-
Removing a Custom URL restores the no-account/empty draft state and updates the main Video-row summary through the shared video draft.
-
The Custom URL input’s composition state, caret, dropdown-open state, and active option remain local control state. The stored video draft remains plain and serializable.
-
Manage accounts opens the relevant Settings section from the UI controller for adding accounts or changing the default. It does not mutate account configuration in Redux or in a reducer.
-
Back returns to the main dialog without losing the current video draft and restores focus to the initiating Video-row entry.
-
Active-subview state and locked subview dimensions remain dialog-controller-local. The subview does not call
PositionedDialog; its post-open content follows established overflow and sizing behavior without re-anchoring the dialog. -
A route/session replacement discards pending local subview interaction; a stale account or URL event cannot patch the newer session’s video draft.
-
The subview defines only draft changes for the existing Save serializer. It performs no direct event mutation, meeting-link generation, or provider operation.
-
Bug 2061592 continues to own the main Video row, valid/no-account entry choice, and default/last-used-account selection.
-
Turning the main Video row off is not the same as removing a Custom URL. Off keeps the selected account, URL, and input values through the shared row state from Bug 2061214. Explicit Custom URL removal still deletes that value as described above. Back does not disable Video.
-
The Video Save helper must honor the row enabled state: omit disabled Video data for create, and remove old video details for edit. Do not clear retained draft values during Save preparation.
Minimum test coverage:
- Add focused tests for all setup states, atomic account/custom-URL transitions, Custom URL removal, main-row summary updates, Settings handoff, Back navigation and focus restoration, session replacement, controller-local subview state, draft preservation, and axe coverage where supported.
- Check that off/on preserves entered setup values, Back does not disable Video, explicit URL removal still deletes it, and disabled Video data is not saved.
Out of scope:
- Creating or configuring video accounts, asynchronous account discovery, provider integration, direct calendar mutation outside Save, selecting the default or last-used account, and implementation of the main Video row.
| Reporter | ||
Updated•1 month ago
|
| Reporter | ||
Updated•9 days ago
|
| Reporter | ||
Updated•1 day ago
|
Description
•