Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
G
gitlab-ce
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Boxiang Sun
gitlab-ce
Commits
3488da59
Commit
3488da59
authored
Aug 16, 2019
by
Jarek Ostrowski
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add expand up and expand down icons
Add changelog Add MR to changelog Remove stray file
parent
648e5a94
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
7 additions
and
4 deletions
+7
-4
app/assets/javascripts/diffs/components/diff_expansion_cell.vue
...sets/javascripts/diffs/components/diff_expansion_cell.vue
+2
-4
changelogs/unreleased/66161-replace-expand-icons.yml
changelogs/unreleased/66161-replace-expand-icons.yml
+5
-0
No files found.
app/assets/javascripts/diffs/components/diff_expansion_cell.vue
View file @
3488da59
...
...
@@ -223,8 +223,7 @@ export default {
:title=
"__('Expand up')"
@
click=
"handleExpandLines(EXPAND_UP)"
>
<!-- TODO: remove style & replace with correct icon, waiting for MR https://gitlab.com/gitlab-org/gitlab-design/issues/499 -->
<icon
:size=
"12"
name=
"expand-left"
aria-hidden=
"true"
style=
"transform: rotate(270deg);"
/>
<icon
:size=
"12"
name=
"expand-up"
aria-hidden=
"true"
/>
</a>
<a
class=
"mx-2 cursor-pointer js-unfold-all"
@
click=
"handleExpandLines()"
>
<span>
{{
s__
(
'
Diffs|Show all lines
'
)
}}
</span>
...
...
@@ -238,8 +237,7 @@ export default {
:title=
"__('Expand down')"
@
click=
"handleExpandLines(EXPAND_DOWN)"
>
<!-- TODO: remove style & replace with correct icon, waiting for MR https://gitlab.com/gitlab-org/gitlab-design/issues/499 -->
<icon
:size=
"12"
name=
"expand-left"
aria-hidden=
"true"
style=
"transform: rotate(90deg);"
/>
<icon
:size=
"12"
name=
"expand-down"
aria-hidden=
"true"
/>
</a>
</div>
</td>
...
...
changelogs/unreleased/66161-replace-expand-icons.yml
0 → 100644
View file @
3488da59
---
title
:
Replaced expand diff icons
merge_request
:
31907
author
:
type
:
changed
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