Move smart folder and virtual tag folder code from mail3pane.js to SmartServerUtils.sys.mjs
Categories
(Thunderbird :: Mail Window Front End, task)
Tracking
(Not tracked)
People
(Reporter: john, Assigned: john)
References
Details
Attachments
(1 external file)
| Assignee | ||
Updated•2 years ago
|
| Assignee | ||
Updated•2 years ago
|
| Assignee | ||
Comment 1•2 years ago
•
|
||
We currently use getSmartServer() in various code areas to create, get
and update the smart account/server/folders. The virtual tags folders
were not handled by that method and the required code was only
triggered, when the user enabled the "tags" folder mode in the UI.
The WebExtension API needs access to these tag folders even if the user
has not yet enabled that folder mode.
This patch adds a SmartMailbox class, which simplifies tasks related to
unified mailbox folders and virtual tag folders, and creates the
virtual tag folders together with the unified mailbox folders.
It renames SmartServerUtils.sys.mjs to SmartMailboxUtils.sys.mjs.
Depends on D208762
Updated•2 years ago
|
| Assignee | ||
Updated•2 years ago
|
Pushed by vineet@thunderbird.net:
https://hg.mozilla.org/comm-central/rev/d690cbee4b7f
Move smart folder and virtual tag folder code from mail3pane.js to SmartMailboxUtils.sys.mjs r=freaktechnik
| Assignee | ||
Updated•2 years ago
|
Description
•