Commit d97d5dec authored by Robert Knight's avatar Robert Knight

Change focus mode button label

Change the label when showing everyone's annotations from "Only <name>"
to "Show only <name>". Having the label always start with a verb is more
consistent and hopefully a bit clearer.
parent c2161fd0
...@@ -45,7 +45,7 @@ function FocusedModeHeader() { ...@@ -45,7 +45,7 @@ function FocusedModeHeader() {
if (selectors.focusModeFocused) { if (selectors.focusModeFocused) {
return 'Show all'; return 'Show all';
} else { } else {
return `Only ${selectors.focusModeUserPrettyName}`; return `Show only ${selectors.focusModeUserPrettyName}`;
} }
})(); })();
......
...@@ -76,7 +76,7 @@ describe('FocusedModeHeader', function() { ...@@ -76,7 +76,7 @@ describe('FocusedModeHeader', function() {
const button = wrapper.find('button'); const button = wrapper.find('button');
assert.include(button.text(), 'Only Fake User'); assert.include(button.text(), 'Show only Fake User');
}); });
}); });
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment