Load and serialize rich descriptions
Categories
(Calendar :: Calendar Frontend, task)
Tracking
(Not tracked)
People
(Reporter: arschmitz, Assigned: arschmitz)
References
(Blocks 2 open bugs)
Details
(Whiteboard: [calendar-ui-create-edit])
Attachments
(2 external files)
Summary:
Map persisted event descriptions into the rich-description draft and serialize the final draft through the existing Save and read-dialog boundaries.
Links:
-
Zeplin description subview: https://app.zeplin.io/project/66dd0f2b2fe8f1b63cda36f1/screen/6a106e77af1fc66a2ce8e12d
-
Interaction guide: Create > Description sub menu: https://docs.google.com/document/d/15OpMthOHmBGyPpDBNRW8vp6uCxeoitBp8n7Fti3LD10/edit?tab=t.why4m6lqup0#heading=h.gaemt67fq00c
-
Planning: Rich Text Editor - Calendar Editor Needs
Acceptance criteria:
- Loading converts supported formatted content into the plain serializable editor-document representation selected by Bug 2061996, removing unsupported HTML while preserving formatting.
- A route/session replacement rejects obsolete updates.
- The existing Save controllers convert the final plain editor-document draft into formatted HTML when formatting is present, and also generate the plain-text fallback by removing formatting and unsupported HTML.
- HTML/plain conversion and
calIEventproperty mutation occur only at the existing transaction boundary. - Add focused tests for formatted-property priority, unsupported-HTML removal, supported-format preservation, plain serializable source/draft mapping, stale-session rejection, stored HTML and plain fallback, Save-time transaction mapping, readiness before show, correct read-dialog display, and axe coverage where supported.
Out of scope:
- Choosing editor technology, toolbar/editor controls, generic sanitization infrastructure outside the selected description format, read-dialog inline editing, a shared cross-dialog draft, and direct event mutation outside Save.
| Assignee | ||
Updated•1 month ago
|
| Assignee | ||
Comment 1•10 days ago
|
||
Load stored HTML into the Description draft. Fall back to literal plain text.
Updated•10 days ago
|
| Assignee | ||
Comment 2•10 days ago
|
||
Apply the sanitized document to the draft. Keep the latest stored description when the draft leaves it
unchanged.
Updated•8 days ago
|
Updated•8 days ago
|
Updated•8 days ago
|
Updated•7 days ago
|
| Assignee | ||
Updated•7 days ago
|
Updated•7 days ago
|
Updated•7 days ago
|
| Assignee | ||
Updated•6 days ago
|
Pushed by jtracey@thunderbird.net:
https://hg.mozilla.org/comm-central/rev/2b8904d2e142
Load rich Calendar descriptions. r=aleca
https://hg.mozilla.org/comm-central/rev/37d678d44db1
Save rich Calendar descriptions. r=aleca
Description
•