stable

Clone or download

Read-only

request #17175 Add an empty state in Project Milestones

How to test: - Have no Milesones and no backlog items in your project Expected results: - An empty state is displayed - Only section Roadmap is displayed with a SVG and a link to AD - There is a message with the project name Change-Id: I6fb18ca58a67ab7dc70cfca504d725dca7bb7940

Modified Files

Name
M plugins/projectmilestones/include/Widget/ProjectMilestonesPresenter.php +5 −0 Go to diff View file
M plugins/projectmilestones/scripts/projectmilestones/index.ts +6 −0 Go to diff View file
M plugins/projectmilestones/scripts/projectmilestones/po/fr_FR.po +10 −0 Go to diff View file
M plugins/projectmilestones/scripts/projectmilestones/src/components/App.test.ts +86 −1 Go to diff View file
M plugins/projectmilestones/scripts/projectmilestones/src/components/App.vue +24 −5 Go to diff View file
A plugins/projectmilestones/scripts/projectmilestones/src/components/ProjectMilestonesEmpty/RoadmapEmptyStateSection.test.ts +59 −0 Go to diff View file
A plugins/projectmilestones/scripts/projectmilestones/src/components/ProjectMilestonesEmpty/RoadmapEmptyStateSection.vue +63 −0 Go to diff View file
A plugins/projectmilestones/scripts/projectmilestones/src/components/ProjectMilestonesEmpty/SVGProjectMilestonesEmptyState.vue +136 −0 Go to diff View file
A plugins/projectmilestones/scripts/projectmilestones/src/components/ProjectMilestonesEmpty/__snapshots__/RoadmapEmptyStateSection.test.ts.snap +52 −0 Go to diff View file
M plugins/projectmilestones/scripts/projectmilestones/src/components/RoadmapSection/RoadmapSection.vue +1 −1 Go to diff View file
M plugins/projectmilestones/scripts/projectmilestones/src/components/RoadmapSection/__snapshots__/RoadmapSection.test.ts.snap +3 −2 Go to diff View file
M plugins/projectmilestones/scripts/projectmilestones/src/store/index.ts +2 −0 Go to diff View file
M plugins/projectmilestones/scripts/projectmilestones/src/type.ts +4 −0 Go to diff View file
M plugins/projectmilestones/templates/projectmilestones.mustache +1 −0 Go to diff View file
M plugins/projectmilestones/tests/unit/Widget/ProjectMilestonesPresenterBuilderTest.php +1 −1 Go to diff View file
M plugins/projectmilestones/themes/BurningParrot/_widget.scss +42 −0 Go to diff View file