Commit c3c69cea authored by Florie Guibert's avatar Florie Guibert

Add milestones in Roadmap

- Epic / Milestones mixins optmisations and fixes
parent e786fede
...@@ -23,7 +23,6 @@ const createComponent = ({ ...@@ -23,7 +23,6 @@ const createComponent = ({
timeframe, timeframe,
timeframeItem, timeframeItem,
epic, epic,
timeframeString: '',
}); });
}; };
......
...@@ -15,7 +15,6 @@ const createComponent = ({ ...@@ -15,7 +15,6 @@ const createComponent = ({
timeframe = mockTimeframeQuarters, timeframe = mockTimeframeQuarters,
timeframeItem = mockTimeframeQuarters[0], timeframeItem = mockTimeframeQuarters[0],
epic = mockEpic, epic = mockEpic,
timeframeString = '',
}) => { }) => {
const Component = Vue.extend(EpicItemTimelineComponent); const Component = Vue.extend(EpicItemTimelineComponent);
...@@ -24,7 +23,6 @@ const createComponent = ({ ...@@ -24,7 +23,6 @@ const createComponent = ({
timeframe, timeframe,
timeframeItem, timeframeItem,
epic, epic,
timeframeString,
}); });
}; };
......
...@@ -23,7 +23,6 @@ const createComponent = ({ ...@@ -23,7 +23,6 @@ const createComponent = ({
timeframe, timeframe,
timeframeItem, timeframeItem,
epic, epic,
timeframeString: '',
}); });
}; };
......
...@@ -100,6 +100,7 @@ export const mockEpic = { ...@@ -100,6 +100,7 @@ export const mockEpic = {
groupName: 'Gitlab Org', groupName: 'Gitlab Org',
groupFullName: 'Gitlab Org', groupFullName: 'Gitlab Org',
startDate: new Date('2017-07-10'), startDate: new Date('2017-07-10'),
originalStartDate: new Date('2017-07-10'),
endDate: new Date('2018-06-02'), endDate: new Date('2018-06-02'),
descendantWeightSum: { descendantWeightSum: {
closedIssues: 3, closedIssues: 3,
......
...@@ -9937,21 +9937,12 @@ msgstr "" ...@@ -9937,21 +9937,12 @@ msgstr ""
msgid "Group: %{name}" msgid "Group: %{name}"
msgstr "" msgstr ""
msgid "GroupRoadmap|%{dateWord} - No end date"
msgstr ""
msgid "GroupRoadmap|%{dateWord} – No end date" msgid "GroupRoadmap|%{dateWord} – No end date"
msgstr "" msgstr ""
msgid "GroupRoadmap|%{startDateInWords} - %{endDateInWords}"
msgstr ""
msgid "GroupRoadmap|%{startDateInWords} – %{endDateInWords}" msgid "GroupRoadmap|%{startDateInWords} – %{endDateInWords}"
msgstr "" msgstr ""
msgid "GroupRoadmap|No start date - %{dateWord}"
msgstr ""
msgid "GroupRoadmap|No start date – %{dateWord}" msgid "GroupRoadmap|No start date – %{dateWord}"
msgstr "" msgstr ""
......
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