zotero/scss
abaevbog 6787dcd596
Citation dialog: do not wait for cited items to load (#5127)
Before making the dialog interactable.

Initialize loading cited items via io.getItems when the dialog appears.
Once they are loaded, itemsList is refreshed to include
cited matching items and all subsequent searches will include
them too. During the refresh immediately after cited items load,
try to preserve focused/selected state of items.

Added IOManager.preInit that is ran as soon as the dialog
is loaded. Move accept/cancel initialization there.
IOManager.init runs at the very end of onLoad because
it relies on most data and layouts being loaded,
It means if there is some delay or error during loading,
the dialog cannot be closed. To avoid it, setup
cancel/accept buttons separately in the beginning.

Also, minor refactoring of SearchHandler to handle
refreshing of cited items separately from selected and
open items.

Fixes: #5121
2025-03-20 23:42:00 -04:00
..
abstracts Adds a Citation Explorer dialog for document integration (#3468) 2025-03-10 22:40:43 -04:00
base Unify richlistitem styling rules (#4511) 2024-08-09 15:57:56 +03:00
components Citation dialog: do not wait for cited items to load (#5127) 2025-03-20 23:42:00 -04:00
elements Citation dialog: add a dropmarker to bubbles (#5130) 2025-03-20 23:32:39 -04:00
linux fx128: tweak titlebar border color (#4928) 2024-12-14 01:16:06 -05:00
mac Adds a Citation Explorer dialog for document integration (#3468) 2025-03-10 22:40:43 -04:00
preferences tweak settings data directory stylesheet (#4781) 2024-10-23 16:03:55 -04:00
themes vpat 59: make quickFormat reference box separator text darker (#4400) 2024-08-13 00:05:11 -04:00
win Adds a Citation Explorer dialog for document integration (#3468) 2025-03-10 22:40:43 -04:00
xulElementPatches Fix a couple of issues related to dark mode icons (#4655) 2024-09-01 15:48:36 -04:00
_zotero.scss Adds a Citation Explorer dialog for document integration (#3468) 2025-03-10 22:40:43 -04:00
about.scss fx128: -moz-nativehyperlinktext -> LinkText (#4902) 2024-12-14 01:16:03 -05:00
bibliography.scss Redesign Document Preferences and Create Bibliography dialogs (#4265) 2024-07-01 00:24:35 -04:00
errorReport.scss Implement Windows redesign for native elements (#3727) 2024-03-02 02:51:55 -05:00
feedAbstract.scss Feed abstract: Fix scrollbars showing on some abstracts 2024-08-19 13:46:59 -04:00
merge.scss Fix merge window style (#4430) 2024-07-31 01:37:37 -04:00
preferences-mac.scss Fix prefs window style on MacOS (#4682) 2024-09-12 05:13:19 -04:00
preferences-win.scss Checkbox-and-radio-redesign-on-Windows (#4609) 2024-08-30 07:20:52 -04:00
preferences.scss Include item tree SCSS in preferences to restore tick icon 2025-03-19 10:09:33 -04:00
progressQueueDialog.scss Add a gap between the buttons in the progress queue 2025-01-23 14:59:42 +01:00
progressWindow.scss Update progress window to use SVG icons (#4047) 2024-04-30 05:32:54 -04:00
scaffold.scss Scaffold: Fix select dialog overflow (again!) 2025-01-24 15:04:43 -05:00
zotero-mac.scss Adds a Citation Explorer dialog for document integration (#3468) 2025-03-10 22:40:43 -04:00
zotero-unix.scss Rename itemBox > infoBox 2024-11-11 11:27:47 -05:00
zotero-win.scss Adds a Citation Explorer dialog for document integration (#3468) 2025-03-10 22:40:43 -04:00