Add API to allow listening to folder events (create/delete/change)
Categories
(Thunderbird :: Add-Ons: Extensions API, enhancement)
Tracking
(thunderbird91 fixed)
| Tracking | Status | |
|---|---|---|
| thunderbird91 | --- | fixed |
People
(Reporter: buecher, Assigned: john)
Details
Attachments
(1 file)
User Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/90.0.4430.85 Safari/537.36
Steps to reproduce:
to create an updated foldertree on the MX side, inform MX side of changes in foldertree
Updated•4 years ago
|
| Assignee | ||
Comment 2•4 years ago
|
||
Note to myself:
- make sure to include global folder read/unread status in change event
| Assignee | ||
Comment 3•4 years ago
|
||
What properties would you like to be notified on changed? This is related to what folder properties should be exposed (those which are not accessible at the moment are marked with missing)
- name
- type
- number of read/unread messages (missing)
- is favorite (missing)
What else?
| Assignee | ||
Updated•4 years ago
|
what are the properties we get in the nsifolderlistenner? That has the notify functions, but does not tell for which properties.
just had a lokk at folder properites in the rightclick property menu
-indexed - subscribed - color - synced
what else from that screen and its tabs?
| Assignee | ||
Comment 5•4 years ago
|
||
Updated•4 years ago
|
| Assignee | ||
Updated•4 years ago
|
| Assignee | ||
Comment 6•4 years ago
|
||
The patch was already so big, I only added the minimum "favorite", "totalMessageCount" and "unreadMessageCount" information. In a follow-up bug I will try to add color and quota, which seem the most useful remaining information.
| Assignee | ||
Updated•4 years ago
|
| Assignee | ||
Updated•4 years ago
|
Pushed by geoff@darktrojan.net:
https://hg.mozilla.org/comm-central/rev/c9907dd3d108
Add MailFolderInfo type, onCreated, onRenamed, onDeleted, onCopied, onMoved and onFolderInfoChanged events, getFolderInfo, copy and move functions. r=darktrojan
Updated•4 years ago
|
| Assignee | ||
Comment 9•4 years ago
•
|
||
Comment on attachment 9231283 [details]
Bug 1708644 - Add MailFolderInfo type, onCreated, onRenamed, onDeleted, onCopied, onMoved and onFolderInfoChanged events, getFolderInfo, copy and move functions. r=darktrojan
[Approval Request Comment]
Regression caused by (bug #):
User impact if declined:
This is a huge addition to the folders API, which took longer than expected and which should be available to 91 ESR
Testing completed (on c-c, etc.):
Risk to taking this patch (and alternatives if risky):
Low.
Please also uplift Geoffs bustage-fix.
Comment 10•4 years ago
|
||
Comment on attachment 9231283 [details]
Bug 1708644 - Add MailFolderInfo type, onCreated, onRenamed, onDeleted, onCopied, onMoved and onFolderInfoChanged events, getFolderInfo, copy and move functions. r=darktrojan
[Triage Comment]
Approved for beta
Note "Please also uplift Geoffs bustage-fix." whatever that means.
| Assignee | ||
Comment 11•4 years ago
|
||
Note "Please also uplift Geoffs bustage-fix." whatever that means.
I meant the patch which landed in Comment 8, sorry for being unclear.
Comment 12•4 years ago
|
||
| bugherder uplift | ||
Thunderbird 91.0b3:
https://hg.mozilla.org/releases/comm-beta/rev/cd7b35970649
https://hg.mozilla.org/releases/comm-beta/rev/dc430930a140
Description
•