zotero/chrome/content/zotero-platform/mac
Adomas Venčkauskas cbbff600a6 XUL -> JS tree megacommit
- Just a single huge commit. This has been developed over too long a
time, required many tiny changes across too many files and has seen too
many iterations to be separated into separate commits.
The original branch with all the messy commits will be kept around for
posterity
bb220ad0f2...adomasven:feature/react-item-tree
- Replaces XUL <tree> element across the whole zotero client codebase
with a custom supermegafast virtualized-table inspired by
react-virtualized yet mimicking old XUL treeview API. The
virtualized-table sits on top on a raw-to-the-metal,
interpreted-at-runtime JS based windowing solution inspired by
react-window. React-based solutions could not be used because they were
slow and Zotero UI needs to be responsive and be able to
display thousands of rows in a treeview without any slowdowns.
- Attempts were made at making this screen-reader friendly, but yet to
be tested with something like JAWS
- RTL-friendly
- Styling and behaviour across all platforms was copied as closely as
possible to the original XUL tree
- Instead of row-based scroll snapping this has smooth-scrolling. If
you're using arrow keys to browse through the tree then it effectively
snap-scrolls. Current CSS snap scroll attributes do not seem to work in
the way we would require even on up-to-date browsers, yet alone the ESR
version of FX that Zotero is on. JS solutions are either terrible for
performance or produce inexcusable jitter.
- When dragging-and-dropping items the initial drag freezes the UI for
a fairly jarring amount of time. Does not seem to be fixable due to
the synchronous code that needs to be run in the dragstart handler.
Used to be possible to run that code async with the XUL tree.
- Item tree column picker no longer has a dedicated button. Just
right-click the columns. The column preferences (width, order, etc) are
no longer handled by XUL, which required a custom serialization and
storage solution that throws warnings in the developer console due to
the amount of data being stored. Might cause temporary freezing on HDDs
upon column resize/reorder/visibility toggling.
- Context menu handling code basically unchanged, but any UI changes
that plugins may have wanted to do (including adding new columns) will
have to be redone by them. No serious thought has gone into how plugin
developers would achieve that yet.
- Opens up the possibility for awesome alternative ways to render the
tree items, including things like multiple-row view for the item tree,
which has been requested for a long while especially by users switching
from other referencing software
2021-08-21 06:58:12 -04:00
..
standalone Fx60: Fix empty Window menu on Linux (and maybe Windows) 2019-08-27 01:59:41 -04:00
attachmentbox.css Modifications to notes and attachments box appearances: 2011-02-13 06:16:06 +00:00
integration.css Fix visual bugs in progress bar and Quick Format dialog on macOS 2021-03-02 18:12:25 -05:00
itembox.css Use 1.25dppx for HiDPI icon threshold 2018-03-19 13:46:50 -07:00
itemPane.css Fix feed item add-to button appearance on OS X 2016-04-05 02:24:36 -04:00
noteeditor.css - show title in separate notes window 2011-02-13 08:50:24 +00:00
overlay.css XUL -> JS tree megacommit 2021-08-21 06:58:12 -04:00
panebutton-active.png Fx60: Restore prefwindow bindings 2019-08-27 00:47:39 -04:00
panebutton-inactive.png Fx60: Restore prefwindow bindings 2019-08-27 00:47:39 -04:00
preferences.css Fx60: Restore prefwindow bindings 2019-08-27 00:47:39 -04:00
tab.css - Put all Zotero buttons in one contiguous toolbar. This seems to be the only way to get a unified window on OS X. It also means that if the window is too small, the search box pushes over the metadata pane buttons, instead of getting truncated. 2011-02-13 03:51:24 +00:00
tagselector.css - Restore item pane and tag selector font size to default 2009-09-14 06:58:59 +00:00
treesource-collection.png UI improvements on OS X 2009-09-02 08:26:24 +00:00
treesource-collection@2x.png Add missing 2x Mac collection/search icons and fix 2x sync icon size 2017-10-18 06:05:51 -04:00
treesource-search.png UI improvements on OS X 2009-09-02 08:26:24 +00:00
treesource-search@2x.png Add missing 2x Mac collection/search icons and fix 2x sync icon size 2017-10-18 06:05:51 -04:00
zotero-z-16px-australis.png Toolbar icon tweaks 2016-02-10 03:33:01 -05:00
zotero-z-32px-australis.png Toolbar icon tweaks 2016-02-10 03:33:01 -05:00
zotero.css Align advanced feed settings dropmarker on OSX 2016-12-13 18:16:38 +02:00