Fix/prev next links issue (#10523)

* intital test code

* added tests

* remove commented code

* fix for failing tests

* reuse exported enum

* changes to address comments

* add back onVisibility highlight

* port highlight fix from Chris

* fix tests
This commit is contained in:
Maddy
2020-06-12 18:42:17 -07:00
committed by GitHub
parent c9569d8573
commit 26a00696d4
11 changed files with 138 additions and 74 deletions

View File

@@ -186,7 +186,7 @@
}
},
{
"command": "notebook.command.searchUntitledBook",
"command": "notebook.command.searchProvidedBook",
"title": "%title.searchJupyterBook%",
"category": "%books-preview-category%",
"icon": {
@@ -319,7 +319,7 @@
"when": "false"
},
{
"command": "notebook.command.searchUntitledBook",
"command": "notebook.command.searchProvidedBook",
"when": "false"
},
{
@@ -381,7 +381,7 @@
"group": "inline"
},
{
"command": "notebook.command.searchUntitledBook",
"command": "notebook.command.searchProvidedBook",
"when": "view == providedBooksView && viewItem == providedBook && providedBooks",
"group": "inline"
},