zotero/test/tests
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
..
data Add test for 4.0 → 5.0 DB upgrade 2021-08-17 00:41:59 -04:00
.eslintrc Add separate .eslintrc for tests 2019-09-16 01:28:52 -04:00
advancedSearchTest.js
annotationsTest.js Fix annotations test 2021-06-09 18:12:05 +03:00
attachmentsTest.js Transfer annotations when converting linked files to stored files 2021-03-12 06:35:21 -05:00
bibliographyTest.js XUL -> JS tree megacommit 2021-08-21 06:58:12 -04:00
cachedTypesTest.js Fix primary item types not appearing in More menu when not in MRU list 2021-03-29 01:41:37 -04:00
citeTest.js Add test for citeproc-js disambiguation hang 2021-03-29 01:41:37 -04:00
collectionsTest.js Sort multiple levels of items when generating API JSON 2021-03-02 17:36:05 -05:00
collectionTest.js Fix descendant collections not skipping delete log 2021-05-06 03:34:09 -04:00
collectionTreeTest.js XUL -> JS tree megacommit 2021-08-21 06:58:12 -04:00
concurrentCallerTest.js
creatorsTest.js
dataDirectoryTest.js
dataObjectsTest.js Remove embedded-image attachment under annotation in test 2021-03-02 18:10:44 -05:00
dataObjectTest.js Use zotero/translate and zotero/utilities for shared code 2021-07-28 15:46:07 +03:00
dataObjectUtilitiesTest.js Fix deleted item fields reappearing on sync 2019-10-24 01:22:00 -04:00
dateTest.js Fix parsing of SQL dates without seconds 2020-09-09 23:37:02 -04:00
dbTest.js Schema integrity check improvements 2020-11-16 18:13:48 -05:00
dictionariesTest.js Dictionary handling improvements 2021-06-26 17:09:23 -04:00
duplicatesTest.js XUL -> JS tree megacommit 2021-08-21 06:58:12 -04:00
feedItemsTest.js Fix some test breakages related to .note/.getNote() changes 2021-03-02 17:58:28 -05:00
feedItemTest.js Test updates for newer Sinon 2019-09-16 01:27:30 -04:00
feedReaderTest.js Wire up new feed processor to Zotero's feed reader 2021-06-16 20:59:57 +01:00
feedsTest.js
feedTest.js Wire up new feed processor to Zotero's feed reader 2021-06-16 20:59:57 +01:00
fileInterfaceTest.js Add fileInterface test for importing into selected collection 2020-07-12 04:53:29 -04:00
fileTest.js Handle multibyte characters in Zotero.File.truncateFileName() 2021-05-20 19:25:57 -04:00
fulltextTest.js Full-text indexing improvements 2020-03-09 01:19:52 -04:00
groupsTest.js
groupTest.js
httpTest.js Add additional checks to test for HTTP.request() 5xx retry 2020-12-11 02:05:25 -05:00
importExportTest.js Add skipped test for importing related items from Zotero RDF 2019-01-14 02:36:59 -05:00
integrationTest.js Add a version of citation dialog for citing notes 2021-03-02 18:10:44 -05:00
itemFieldsTest.js
itemPaneTest.js Fix updating of attachment title in right-hand pane when changed 2021-05-31 03:26:06 -04:00
itemsTest.js Fix test failure in libraryTreeView after items test 2021-03-03 06:23:54 -05:00
itemTest.js Don't count missing annotation values as changed if empty string passed 2021-04-26 03:49:59 -04:00
itemTreeTest.js XUL -> JS tree megacommit 2021-08-21 06:58:12 -04:00
librariesTest.js Implement library.isGroup property, which was never properly implemented 2021-07-07 01:43:22 -04:00
libraryTest.js XUL -> JS tree megacommit 2021-08-21 06:58:12 -04:00
libraryTreeTest.js XUL -> JS tree megacommit 2021-08-21 06:58:12 -04:00
lookupTest.js Fix title mismatch for ISBN lookup tests 2021-01-25 03:58:04 -05:00
noteeditorTest.js Fix note editor tests 2021-03-02 17:58:28 -05:00
notifierTest.js Fix unnecessary sync looping after downloading items 2021-05-14 03:49:26 -04:00
openurlTest.js
preferences_advancedTest.js Fix test failure after 40fe85b274 2020-04-29 16:29:22 -04:00
preferences_searchTest.js
preferences_syncTest.js
profileTest.js
protocolHandlerTest.js Close window after protocol handler tests 2019-08-03 02:48:01 -04:00
proxyTest.js
quickCopyTest.js Fix invalid HTML in note from Quick Copy 2020-09-09 23:36:18 -04:00
recognizePDFTest.js Fix recognizePDF test after DOI translator change 2019-09-16 00:46:49 -04:00
relatedboxTest.js XUL -> JS tree megacommit 2021-08-21 06:58:12 -04:00
relationsTest.js Fix potential error dragging to library that hasn't been loaded 2020-09-14 23:49:22 -04:00
retractionsTest.js Reduce startup time from retraction key caching 2020-09-23 22:58:53 -04:00
schemaTest.js Add test for 4.0 → 5.0 DB upgrade 2021-08-17 00:41:59 -04:00
searchTest.js Fix Everything search after annotations 2021-03-02 17:39:39 -05:00
server_connectorTest.js XUL -> JS tree megacommit 2021-08-21 06:58:12 -04:00
serverTest.js Fix server not handling empty body in multi-part request 2020-10-12 15:06:11 -06:00
storageLocalTest.js Fix "attachmentSyncedModificationTime must be a number" sync error 2019-09-21 01:59:09 -04:00
storageRequestTest.js
styleTest.js Update test after AMA update 2020-05-09 19:30:41 -04:00
supportTest.js Massively speed up tests 2021-06-24 06:10:40 -04:00
syncAPIClientTest.js Send Zotero-Schema-Version header with API requests 2021-03-02 17:36:05 -05:00
syncedSettingsTest.js
syncEngineTest.js Show annotation widget in conflict resolution window 2021-03-21 14:36:43 -04:00
syncEventListenersTest.js Trigger auto-sync after item deletion 2021-05-14 03:49:26 -04:00
syncFullTextEngineTest.js
syncLocalTest.js Fix unnecessary sync looping after downloading items 2021-05-14 03:49:26 -04:00
syncRunnerTest.js Fix additional sync test after format=json removal 2021-03-03 08:53:28 -05:00
tagsboxTest.js Reactify item tags box 2019-11-08 06:41:06 -05:00
tagSelectorTest.js XUL -> JS tree megacommit 2021-08-21 06:58:12 -04:00
tagsTest.js Remove all colored tags on selected items if 0 is pressed 2019-10-26 16:45:04 -04:00
translateTest.js Fix Translate.ItemGetter test 2021-03-03 09:08:08 -05:00
translatorsTest.js Remove accidental .only() in test from fdcd4e51c5 2021-07-12 15:25:17 -04:00
uriTest.js
utilities_internalTest.js Update strings and add test for ADS Bibcode extraction (#2128) 2021-08-04 19:37:49 -04:00
utilities_itemTest.js Use zotero/translate and zotero/utilities for shared code 2021-07-28 15:46:07 +03:00
utilitiesTest.js Use zotero/translate and zotero/utilities for shared code 2021-07-28 15:46:07 +03:00
webdavTest.js Fix endless WebDAV loops if server has wrong mtimes but hash matches 2020-06-09 01:26:11 -04:00
zfsTest.js Improve embedded note image loading and deletion: 2021-07-28 13:49:04 +03:00
zoteroIntlTest.js Move localeCompare tests to Zotero.Intl tests 2018-08-01 15:41:54 +02:00
zoteroPaneTest.js XUL -> JS tree megacommit 2021-08-21 06:58:12 -04:00
zoteroTest.js Merge branch 'electron' 2018-08-16 19:16:46 -04:00