Clean up the tree view listbox code for the about3Pane
Categories
(Thunderbird :: Folder and Message Lists, enhancement)
Tracking
(thunderbird111 fixed)
Tracking | Status | |
---|---|---|
thunderbird111 | --- | fixed |
People
(Reporter: aleca, Assigned: aleca)
References
(Blocks 1 open bug)
Details
(Whiteboard: [Supernova3p])
Attachments
(1 file)
48 bytes,
text/x-phabricator-request
|
wsmwk
:
approval-comm-beta+
|
Details | Review |
Here's a good place we can use for exploring how to improve the performance of our new TreeViewListbox.
These are some fairly low hanging fruit we can start adding:
- If we're dealing with the
subjectCol
, usecellTextForColumn
only once to set the text in the column and thearia-label
for the row. Fetching the subject text twice is expensive. - We should have a single
<template>
with all the cells of the message thread, and when constructing the row onconnectedCallback()
, extract those cells from the template and add them to aDocumentFragment
based on theColumns::ordinal
, and then append it all at once. Avoid replacing or creating newDOM.Nodes
inside theset index()
method.
Anything else that comes to mind?
Assignee | ||
Updated•2 years ago
|
Assignee | ||
Comment 1•2 years ago
|
||
Updated•2 years ago
|
Assignee | ||
Comment 2•2 years ago
|
||
Pushed by geoff@darktrojan.net:
https://hg.mozilla.org/comm-central/rev/26f62abc23bf
Clean up the tree view listbox code for the about3Pane. r=darktrojan
Comment 4•2 years ago
|
||
Comment on attachment 9317172 [details]
Bug 1814320 - Clean up the tree view listbox code for the about3Pane. r=darktrojan
[Approval Request Comment]
Regression caused by (bug #): Supernova
Comment 5•2 years ago
|
||
Comment on attachment 9317172 [details]
Bug 1814320 - Clean up the tree view listbox code for the about3Pane. r=darktrojan
[Triage Comment]
Approved for beta
Comment 6•2 years ago
|
||
bugherder uplift |
Thunderbird 111.0b1:
https://hg.mozilla.org/releases/comm-beta/rev/1b17ec1019be
Updated•2 years ago
|
Assignee | ||
Comment 7•2 years ago
|
||
Converting this into a meta bug to avoid crossing versions.
Blockers of this have been added and Geoff is tackling the most obvious downfalls.
Assignee | ||
Updated•2 years ago
|
Assignee | ||
Updated•2 years ago
|
Updated•2 years ago
|
Description
•