-
Notifications
You must be signed in to change notification settings - Fork 5.5k
Resolving some accessibility issues #6719
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Changes from all commits
dba0b92
13b3c17
1d28d19
5038d6d
993e942
8e51cd4
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change | ||
|---|---|---|---|---|
|
|
@@ -185,7 +185,7 @@ const notebookTreeWidget: JupyterFrontEndPlugin<INotebookTree> = { | |||
|
|
||||
| if (manager) { | ||||
| const running = new RunningSessions(manager, translator); | ||||
| running.id = 'jp-running-sessions'; | ||||
| running.id = 'jp-running-sessions-tree'; | ||||
|
Member
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Looks like the following selector should also be updated in the UI tests: notebook/ui-tests/test/tree.spec.ts Line 43 in ce9c16a
Collaborator
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Thanks @jtpio |
||||
| running.title.label = trans.__('Running'); | ||||
| running.title.icon = runningIcon; | ||||
| nbTreeWidget.addWidget(running); | ||||
|
|
||||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Should this string be translated?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yes, but I was thinking doing this in a later PR, as it involves more changes.
The
sidepanels are created with theNotebookShell, so (I guess) before the translator.Currently the
NotebookShelldoes not include a translator, so we should probably add atranslator-extensionthat add a translator to the shell, in order to translate the title.If you think there is a simpler way maybe we can include it in this PR.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Ah right. Then we can indeed have a look separately and track this in an issue.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Just checked and JupyterLab sets the translator here:
https://github.com/jupyterlab/jupyterlab/blob/e81eb3d5e05e63f162d729066c2f644aa6243a32/packages/translation-extension/src/index.ts#L56-L59
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Opened #6722 to track this.