Commit c63d0262 authored by Clement Ho's avatar Clement Ho

Merge branch 'mw-productivity-analytics-default-timeframe' into 'master'

Productivity Analytics: Change default timeframe to 30 days

See merge request gitlab-org/gitlab!18215
parents 016934ed 584c5301
......@@ -92,4 +92,4 @@ export const scatterPlotAddonQueryDays = 30;
export const accessLevelReporter = 20;
export const projectsPerPage = 50;
export const defaultDaysInPast = 90;
export const defaultDaysInPast = 30;
......@@ -72,7 +72,7 @@ describe('Daterange component', () => {
it('dispatches setDateRange with skipFetch=true', () => {
expect(actionSpies.setDateRange).toHaveBeenCalledWith({
skipFetch: true,
startDate: new Date('2019-06-27T00:00:00.000Z'),
startDate: new Date('2019-08-26T00:00:00.000Z'),
endDate: new Date('2019-09-25T00:00:00.000Z'),
});
});
......
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