Opened tabs menu with a search bar

- Matching substrings from tab's title are bolded.
- Drag-and-drop functionality to reorder tabs.
- ArrowUp/ArrowDown navigate the tab's titles. Tab/Shift-Tab move
across both titles and close buttons. Enter from filter field focuses
the first tab's title. Home/PageUp focuses the filter field. End/PageDown
focuses the last tab's title. ArrowUp/ArrowDown from the filter focus
the last/first tab's title respectively. ArrowUp from the first tab or
ArrowDown from the last tab focus the filter.
This commit is contained in:
abaevbog 2023-12-22 01:06:42 -05:00 committed by Dan Stillman
parent 843d23bbd2
commit fb26921e11
11 changed files with 428 additions and 8 deletions

View file

@ -1526,7 +1526,7 @@ describe("ZoteroPane", function() {
"zotero-collections-search",
"zotero-tb-collection-add",
"zotero-tb-sync",
"zotero-tb-opened-tabs"
"zotero-tb-tabs-menu"
];
for (let id of sequence) {
@ -1548,7 +1548,7 @@ describe("ZoteroPane", function() {
it("should tab through the toolbar to collection-tree", async function () {
win.Zotero_Tabs.moveFocus("current");
let sequence = [
"zotero-tb-opened-tabs",
"zotero-tb-tabs-menu",
"zotero-tb-sync",
"zotero-tb-collection-add",
"zotero-collections-search",