d9cee322cd
- Use react-virtualized to render tags on demand, reducing the number of DOM elements from potentially tens of thousands to <100. This requires tags to be absolutely positioned, so sizing and positioning need to be precomputed rather than relying on CSS. - Avoid unnecessary refreshes, speed up tag retrieval, and optimize sorting - Debounce reflowing when resizing tag selector Also: - Scroll to top when changing collections - Allow tags to take up full width of tag selector without truncation Closes #1649 Closes #281
25 lines
529 B
Text
25 lines
529 B
Text
{
|
|
"compact": false,
|
|
"retainLines": true,
|
|
"presets": [
|
|
"@babel/preset-react"
|
|
],
|
|
"ignore": [
|
|
"chrome/content/zotero/include.js",
|
|
"chrome/content/zotero/xpcom/citeproc.js",
|
|
"resource/react.js",
|
|
"resource/react-dom.js",
|
|
"resource/react-virtualized.js",
|
|
"test/resource/*.js"
|
|
],
|
|
"plugins": [
|
|
"@babel/plugin-proposal-class-properties",
|
|
"@babel/plugin-proposal-object-rest-spread",
|
|
[
|
|
"transform-es2015-modules-commonjs",
|
|
{
|
|
"strictMode": false
|
|
}
|
|
]
|
|
]
|
|
}
|