Skip to content
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

add notebook verbosity setting #183038

Merged
merged 4 commits into from
May 26, 2023
Merged

add notebook verbosity setting #183038

merged 4 commits into from
May 26, 2023

Conversation

meganrogge
Copy link
Contributor

part of #180470

@amunger I couldn't figure out how to trigger the original aria message, could you pls test this?

@meganrogge meganrogge requested a review from amunger May 20, 2023 19:42
@meganrogge meganrogge self-assigned this May 20, 2023
@meganrogge meganrogge added this to the May 2023 milestone May 20, 2023
@meganrogge meganrogge requested a review from rebornix May 23, 2023 17:09
@meganrogge meganrogge enabled auto-merge May 23, 2023 17:09
if (index !== undefined && index >= 0) {
let position = '';
switch (focusItem) {
case 'editor':
position = `the inner ${cell.cellKind === CellKind.Markup ? 'markdown' : 'code'} editor is focused, press escape to focus the cell container`;
position = `the inner ${cell.cellKind === CellKind.Markup ? 'markdown' : 'code'} editor is focused` + verboseLabel ? `, press escape to focus the cell container` : '';
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
position = `the inner ${cell.cellKind === CellKind.Markup ? 'markdown' : 'code'} editor is focused` + verboseLabel ? `, press escape to focus the cell container` : '';
position = `the inner ${cell.cellKind === CellKind.Markup ? 'markdown' : 'code'} editor is focused` + (verboseLabel ? `, press escape to focus the cell container` : '');

Copy link
Member

@rebornix rebornix left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

the ternary operator has a very low precedence

@meganrogge meganrogge merged commit 9473a29 into main May 26, 2023
@meganrogge meganrogge deleted the merogge/notebook-verbosity branch May 26, 2023 22:15
@github-actions github-actions bot locked and limited conversation to collaborators Jul 10, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants