From 8dbc6177ceb56d50f07f5fab4356ed45820cb552 Mon Sep 17 00:00:00 2001 From: Adomas Ven Date: Wed, 12 Feb 2025 08:43:11 +0200 Subject: [PATCH] Macos integration progress bar (#5016) * Display the progress bar on macOS integration commands more Avoid displaying before Add/Edit Citations, Add Note and Doc Prefs since that brings Zotero window to the foreground along with the relevant dialog, but display the progress bar after confirming those dialogs, which will bring Zotero to the front, but is still better than no progress indication. Display the progress bar for Refresh, Doc Prefs, Unlink and Add/Edit Bibliography * Fix progress bar indeterminate state not being visible and not working. - Update _progressMeter.scss for fx115+ - Some adjustments/resizing to progress bar display in quick format --- .../zotero-platform/mac/integration.css | 5 - .../zotero/integration/insertNoteDialog.xhtml | 20 ++-- .../zotero/integration/progressBar.xhtml | 6 +- .../content/zotero/integration/quickFormat.js | 17 ++- .../zotero/integration/quickFormat.xhtml | 50 ++++----- chrome/content/zotero/xpcom/integration.js | 36 +++--- chrome/skin/default/zotero/integration.css | 10 +- scss/components/_progressMeter.scss | 103 ++++++++++-------- 8 files changed, 127 insertions(+), 120 deletions(-) diff --git a/chrome/content/zotero-platform/mac/integration.css b/chrome/content/zotero-platform/mac/integration.css index 74c0aa5a5b..d284368929 100644 --- a/chrome/content/zotero-platform/mac/integration.css +++ b/chrome/content/zotero-platform/mac/integration.css @@ -9,11 +9,6 @@ window.citation-dialog { padding: 0; } -.citation-dialog.progress-bar .citation-dialog.deck { - height: 37px; -} - - .citation-dialog.entry { background: -moz-linear-gradient(-90deg, rgb(243,123,119) 0, rgb(180,47,38) 50%, rgb(156,36,27) 50%); diff --git a/chrome/content/zotero/integration/insertNoteDialog.xhtml b/chrome/content/zotero/integration/insertNoteDialog.xhtml index 6855b1b8f7..7de37fbc3f 100644 --- a/chrome/content/zotero/integration/insertNoteDialog.xhtml +++ b/chrome/content/zotero/integration/insertNoteDialog.xhtml @@ -55,17 +55,17 @@ - - - - - - - - + + + + + + - - + + diff --git a/chrome/content/zotero/integration/progressBar.xhtml b/chrome/content/zotero/integration/progressBar.xhtml index 49900926e1..0aab040489 100644 --- a/chrome/content/zotero/integration/progressBar.xhtml +++ b/chrome/content/zotero/integration/progressBar.xhtml @@ -24,8 +24,8 @@ ***** END LICENSE BLOCK ***** --> - + @@ -44,8 +44,6 @@