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
1
Merge Requests
1
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
nexedi
gitlab-ce
Commits
e40a1608
Commit
e40a1608
authored
Dec 18, 2019
by
Olena Horal-Koretska
Committed by
Natalia Tepluhina
Dec 18, 2019
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Improve error list UI on mobile viewports
Create adaptive layout for xs viewport
parent
383ead5d
Changes
5
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
220 additions
and
99 deletions
+220
-99
app/assets/javascripts/error_tracking/components/error_tracking_list.vue
...scripts/error_tracking/components/error_tracking_list.vue
+139
-99
app/assets/stylesheets/pages/error_list.scss
app/assets/stylesheets/pages/error_list.scss
+69
-0
changelogs/unreleased/36410-error-list-mobile.yml
changelogs/unreleased/36410-error-list-mobile.yml
+5
-0
locale/gitlab.pot
locale/gitlab.pot
+3
-0
spec/frontend/error_tracking/components/error_tracking_list_spec.js
...end/error_tracking/components/error_tracking_list_spec.js
+4
-0
No files found.
app/assets/javascripts/error_tracking/components/error_tracking_list.vue
View file @
e40a1608
This diff is collapsed.
Click to expand it.
app/assets/stylesheets/pages/error_list.scss
0 → 100644
View file @
e40a1608
$gray-border
:
1px
solid
$border-color
;
.error-list
{
.sort-control
{
.btn
{
padding-right
:
2rem
;
}
.gl-dropdown-caret
{
position
:
absolute
;
right
:
0
.5rem
;
top
:
0
.5rem
;
}
}
@include
media-breakpoint-up
(
sm
)
{
.row-top
{
border
:
$gray-border
;
background-color
:
$gray-50
;
}
}
@include
media-breakpoint-down
(
xs
)
{
.table-row
{
border
:
$gray-border
;
border-radius
:
4px
;
}
.search-box
{
border-top
:
$gray-border
;
border-bottom
:
$gray-border
;
background-color
:
$gray-50
;
}
.table-col
{
min-height
:
68px
;
&
:
:
before
{
text-align
:
left
!
important
;
}
&
:first-child
{
div
{
padding
:
0
!
important
;
align-items
:
flex-end
;
}
}
&
:last-child
{
height
:
64px
;
background-color
:
$gray-normal
;
&
:
:
before
{
content
:
none
!
important
;
}
div
{
width
:
100%
!
important
;
padding
:
0
!
important
;
a
{
color
:
$blue-500
;
border-color
:
$blue-500
;
}
}
}
}
}
}
changelogs/unreleased/36410-error-list-mobile.yml
0 → 100644
View file @
e40a1608
---
title
:
Improve error list UI on mobile viewports
merge_request
:
21192
author
:
type
:
added
locale/gitlab.pot
View file @
e40a1608
...
...
@@ -11548,6 +11548,9 @@ msgstr ""
msgid "More actions"
msgstr ""
msgid "More details"
msgstr ""
msgid "More info"
msgstr ""
...
...
spec/frontend/error_tracking/components/error_tracking_list_spec.js
View file @
e40a1608
...
...
@@ -272,6 +272,7 @@ describe('ErrorTrackingList', () => {
describe
(
'
When pagination is not required
'
,
()
=>
{
beforeEach
(()
=>
{
store
.
state
.
list
.
loading
=
false
;
store
.
state
.
list
.
pagination
=
{};
mountComponent
();
});
...
...
@@ -284,6 +285,7 @@ describe('ErrorTrackingList', () => {
describe
(
'
When pagination is required
'
,
()
=>
{
describe
(
'
and the user is on the first page
'
,
()
=>
{
beforeEach
(()
=>
{
store
.
state
.
list
.
loading
=
false
;
mountComponent
({
sync
:
false
});
});
...
...
@@ -295,6 +297,7 @@ describe('ErrorTrackingList', () => {
describe
(
'
and the user is not on the first page
'
,
()
=>
{
describe
(
'
and the previous button is clicked
'
,
()
=>
{
beforeEach
(()
=>
{
store
.
state
.
list
.
loading
=
false
;
mountComponent
({
sync
:
false
});
wrapper
.
setData
({
pageValue
:
2
});
});
...
...
@@ -313,6 +316,7 @@ describe('ErrorTrackingList', () => {
describe
(
'
and the next page button is clicked
'
,
()
=>
{
beforeEach
(()
=>
{
store
.
state
.
list
.
loading
=
false
;
mountComponent
({
sync
:
false
});
});
...
...
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