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
bb5e92a0
Commit
bb5e92a0
authored
Aug 25, 2020
by
David O'Regan
Committed by
Illya Klymov
Aug 25, 2020
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Increase page size default to 20
parent
25f85807
Changes
5
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
15 additions
and
10 deletions
+15
-10
app/assets/javascripts/alert_management/constants.js
app/assets/javascripts/alert_management/constants.js
+1
-1
app/assets/javascripts/incidents/constants.js
app/assets/javascripts/incidents/constants.js
+1
-1
changelogs/unreleased/239355-alert-incident-count.yml
changelogs/unreleased/239355-alert-incident-count.yml
+5
-0
spec/frontend/alert_management/components/alert_management_table_spec.js
...lert_management/components/alert_management_table_spec.js
+5
-5
spec/frontend/incidents/components/incidents_list_spec.js
spec/frontend/incidents/components/incidents_list_spec.js
+3
-3
No files found.
app/assets/javascripts/alert_management/constants.js
View file @
bb5e92a0
...
...
@@ -64,4 +64,4 @@ export const trackAlertStatusUpdateOptions = {
label
:
'
Status
'
,
};
export
const
DEFAULT_PAGE_SIZE
=
1
0
;
export
const
DEFAULT_PAGE_SIZE
=
2
0
;
app/assets/javascripts/incidents/constants.js
View file @
bb5e92a0
...
...
@@ -34,4 +34,4 @@ export const INCIDENT_STATUS_TABS = [
];
export
const
INCIDENT_SEARCH_DELAY
=
300
;
export
const
DEFAULT_PAGE_SIZE
=
1
0
;
export
const
DEFAULT_PAGE_SIZE
=
2
0
;
changelogs/unreleased/239355-alert-incident-count.yml
0 → 100644
View file @
bb5e92a0
---
title
:
Increase default page size for Alert and Incident management to 20 from
10
merge_request
:
40139
author
:
type
:
changed
spec/frontend/alert_management/components/alert_management_table_spec.js
View file @
bb5e92a0
...
...
@@ -47,11 +47,11 @@ describe('AlertManagementTable', () => {
const
findIssueFields
=
()
=>
wrapper
.
findAll
(
'
[data-testid="issueField"]
'
);
const
findAlertError
=
()
=>
wrapper
.
find
(
'
[data-testid="alert-error"]
'
);
const
alertsCount
=
{
open
:
1
4
,
triggered
:
1
0
,
acknowledged
:
6
,
resolved
:
1
,
all
:
1
6
,
open
:
2
4
,
triggered
:
2
0
,
acknowledged
:
1
6
,
resolved
:
1
1
,
all
:
2
6
,
};
const
selectFirstStatusOption
=
()
=>
{
findFirstStatusOption
().
vm
.
$emit
(
'
click
'
);
...
...
spec/frontend/incidents/components/incidents_list_spec.js
View file @
bb5e92a0
...
...
@@ -30,9 +30,9 @@ describe('Incidents List', () => {
const
incidentTemplateName
=
'
incident
'
;
const
incidentType
=
'
incident
'
;
const
incidentsCount
=
{
opened
:
1
4
,
closed
:
1
,
all
:
1
6
,
opened
:
2
4
,
closed
:
1
0
,
all
:
2
6
,
};
const
findTable
=
()
=>
wrapper
.
find
(
GlTable
);
...
...
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