Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
C
coopwire-hypothesis
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
孙灵跃 Leon Sun
coopwire-hypothesis
Commits
63234da5
Unverified
Commit
63234da5
authored
Aug 14, 2019
by
Robert Knight
Committed by
GitHub
Aug 14, 2019
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #1305 from hypothesis/add-verb-to-focus-mode-button
Change focus mode button label
parents
c2161fd0
d97d5dec
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
+2
-2
focused-mode-header.js
src/sidebar/components/focused-mode-header.js
+1
-1
focused-mode-header-test.js
src/sidebar/components/test/focused-mode-header-test.js
+1
-1
No files found.
src/sidebar/components/focused-mode-header.js
View file @
63234da5
...
@@ -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
`
O
nly
${
selectors
.
focusModeUserPrettyName
}
`
;
return
`
Show o
nly
${
selectors
.
focusModeUserPrettyName
}
`
;
}
}
})();
})();
...
...
src/sidebar/components/test/focused-mode-header-test.js
View file @
63234da5
...
@@ -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
(),
'
O
nly Fake User'
);
assert
.
include
(
button
.
text
(),
'
Show o
nly Fake User'
);
});
});
});
});
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment