From 3b7a7b0d51149ffed6de8ca1db62d89c52c3139c Mon Sep 17 00:00:00 2001 From: Ramon Mi Date: Thu, 12 Feb 2026 16:53:25 +0800 Subject: [PATCH 1/6] fix notes tooltip in tab sidenav fixes: https://forums.zotero.org/discussion/comment/495881 --- chrome/locale/en-US/zotero/zotero.ftl | 1 + 1 file changed, 1 insertion(+) diff --git a/chrome/locale/en-US/zotero/zotero.ftl b/chrome/locale/en-US/zotero/zotero.ftl index 2dab80efec..83ac12a1ea 100644 --- a/chrome/locale/en-US/zotero/zotero.ftl +++ b/chrome/locale/en-US/zotero/zotero.ftl @@ -587,6 +587,7 @@ sidenav-attachments = .tooltiptext = { pane-attachments } sidenav-notes = .tooltiptext = { pane-notes } + .title = { pane-notes } sidenav-note-info = .tooltiptext = { pane-note-info } sidenav-attachment-info = From f856226a9749658491069f3e228fc001a554f501 Mon Sep 17 00:00:00 2001 From: Ramon Mi Date: Thu, 12 Feb 2026 19:07:37 +0800 Subject: [PATCH 2/6] fix note return button tooltip --- chrome/locale/en-US/zotero/zotero.ftl | 1 + 1 file changed, 1 insertion(+) diff --git a/chrome/locale/en-US/zotero/zotero.ftl b/chrome/locale/en-US/zotero/zotero.ftl index 83ac12a1ea..013eb99d35 100644 --- a/chrome/locale/en-US/zotero/zotero.ftl +++ b/chrome/locale/en-US/zotero/zotero.ftl @@ -639,6 +639,7 @@ context-notes-search = .placeholder = Search Notes context-notes-return-button = .aria-label = { general-go-back } + .tooltiptext = Return to Notes List new-collection = New Collection… menu-new-collection = From 62bba8893123e2aa03d56fc784375454a29149eb Mon Sep 17 00:00:00 2001 From: Ramon Mi Date: Tue, 3 Mar 2026 09:45:42 +0800 Subject: [PATCH 3/6] use unified general-go-back tooltip --- chrome/locale/en-US/zotero/zotero.ftl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/chrome/locale/en-US/zotero/zotero.ftl b/chrome/locale/en-US/zotero/zotero.ftl index 013eb99d35..4e38db2e7d 100644 --- a/chrome/locale/en-US/zotero/zotero.ftl +++ b/chrome/locale/en-US/zotero/zotero.ftl @@ -639,7 +639,7 @@ context-notes-search = .placeholder = Search Notes context-notes-return-button = .aria-label = { general-go-back } - .tooltiptext = Return to Notes List + .tooltiptext = { general-go-back } new-collection = New Collection… menu-new-collection = From efdbfe50707d30937f25dff051168d6cf8fba9ff Mon Sep 17 00:00:00 2001 From: Mi Ramon Date: Sat, 4 Apr 2026 20:42:20 +0800 Subject: [PATCH 4/6] Update chrome/locale/en-US/zotero/zotero.ftl Co-authored-by: windingwind <33902321+windingwind@users.noreply.github.com> --- chrome/locale/en-US/zotero/zotero.ftl | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/chrome/locale/en-US/zotero/zotero.ftl b/chrome/locale/en-US/zotero/zotero.ftl index 4e38db2e7d..efc9bfa05f 100644 --- a/chrome/locale/en-US/zotero/zotero.ftl +++ b/chrome/locale/en-US/zotero/zotero.ftl @@ -584,12 +584,11 @@ sidenav-info = sidenav-abstract = .tooltiptext = { pane-abstract } sidenav-attachments = - .tooltiptext = { pane-attachments } + .title = { pane-attachments } sidenav-notes = - .tooltiptext = { pane-notes } .title = { pane-notes } sidenav-note-info = - .tooltiptext = { pane-note-info } + .title = { pane-note-info } sidenav-attachment-info = .tooltiptext = { pane-attachment-info } sidenav-attachment-preview = From e9f9fc96ec1f3ff85827594e3f52a926f91293c6 Mon Sep 17 00:00:00 2001 From: Ramon Mi Date: Sat, 4 Apr 2026 21:01:11 +0800 Subject: [PATCH 5/6] use title for tooltip --- chrome/locale/en-US/zotero/zotero.ftl | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/chrome/locale/en-US/zotero/zotero.ftl b/chrome/locale/en-US/zotero/zotero.ftl index efc9bfa05f..086196cb89 100644 --- a/chrome/locale/en-US/zotero/zotero.ftl +++ b/chrome/locale/en-US/zotero/zotero.ftl @@ -580,9 +580,9 @@ attachment-preview = .aria-label = { pane-attachment-preview } sidenav-info = - .tooltiptext = { pane-info } + .title = { pane-info } sidenav-abstract = - .tooltiptext = { pane-abstract } + .title = { pane-abstract } sidenav-attachments = .title = { pane-attachments } sidenav-notes = @@ -590,17 +590,17 @@ sidenav-notes = sidenav-note-info = .title = { pane-note-info } sidenav-attachment-info = - .tooltiptext = { pane-attachment-info } + .title = { pane-attachment-info } sidenav-attachment-preview = - .tooltiptext = { pane-attachment-preview } + .title = { pane-attachment-preview } sidenav-attachment-annotations = - .tooltiptext = { pane-attachment-annotations } + .title = { pane-attachment-annotations } sidenav-libraries-collections = - .tooltiptext = { pane-libraries-collections } + .title = { pane-libraries-collections } sidenav-tags = - .tooltiptext = { pane-tags } + .title = { pane-tags } sidenav-related = - .tooltiptext = { pane-related } + .title = { pane-related } sidenav-main-btn-grouping = .aria-label = { pane-item-details } sidenav-reorder-up = From bbe9f52f9babb0e061a29dce1c3811244a7bd832 Mon Sep 17 00:00:00 2001 From: Ramon Mi Date: Sat, 4 Apr 2026 21:07:16 +0800 Subject: [PATCH 6/6] replace XUL pane button with HTML --- chrome/content/zotero/elements/itemPaneSidenav.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/chrome/content/zotero/elements/itemPaneSidenav.js b/chrome/content/zotero/elements/itemPaneSidenav.js index ee7fc5a217..34ccd994d2 100644 --- a/chrome/content/zotero/elements/itemPaneSidenav.js +++ b/chrome/content/zotero/elements/itemPaneSidenav.js @@ -463,7 +463,7 @@ return; } - button = document.createXULElement("div"); + button = document.createElement("div"); button.classList.add("btn"); button.dataset.pane = paneID; button.addEventListener('contextmenu', this.handleButtonContextMenu);