Closed
Bug 1806882
Opened 2 years ago
Closed 2 years ago
Create a MutationObserver to ensure the new event and tasks creation buttons get disabled when needed
Categories
(Calendar :: Calendar Frontend, task)
Calendar
Calendar Frontend
Tracking
(thunderbird_esr102 unaffected)
RESOLVED
FIXED
111 Branch
Tracking | Status | |
---|---|---|
thunderbird_esr102 | --- | unaffected |
People
(Reporter: aleca, Assigned: solange, Mentored)
References
(Blocks 1 open bug)
Details
Attachments
(1 file)
(deleted),
text/x-phabricator-request
|
Details |
The new "New Event" and "New Task" button implemented in bug 1803403 should be disabled and enabled dynamically depending if the we have a calendar and it supports tasks.
In the current UI, XUL buttons use the command
method to automatically toggle the enabled state of those buttons.
For HTML buttons, we need to implement a MutationObserver
to make sure we're aware of those changes.
We also need to implement tests to cover these new pieces of UI.
Updated•2 years ago
|
Status: NEW → ASSIGNED
Updated•2 years ago
|
Attachment #9312293 -
Attachment description: WIP: Bug 1806882 - Create a MutationObserver to ensure the new event and tasks creation buttons get disabled when needed → WIP: Bug 1806882 - Create a MutationObserver to ensure the new event and tasks creation buttons get
Updated•2 years ago
|
Attachment #9312293 -
Attachment description: WIP: Bug 1806882 - Create a MutationObserver to ensure the new event and tasks creation buttons get → Bug 1806882 - Create a MutationObserver to ensure the new event and tasks creation buttons get disabled when needed. r=aleca
Updated•2 years ago
|
Attachment #9312293 -
Attachment description: Bug 1806882 - Create a MutationObserver to ensure the new event and tasks creation buttons get disabled when needed. r=aleca → Bug 1806882 - Dynamically ensure the new event and tasks creation buttons get disabled when needed. r=aleca
Keywords: checkin-needed-tb
Target Milestone: --- → 111 Branch
Pushed by thunderbird@calypsoblue.org:
https://hg.mozilla.org/comm-central/rev/71d97fbd9195
Dynamically ensure the new event and tasks creation buttons get disabled when needed. r=aleca
Updated•2 years ago
|
You need to log in
before you can comment on or make changes to this bug.
Description
•