stable

Clone or download

Read-only

frontent: add new baseline modal

Part of epic #12142 Baseline v1 How to test: - Click on 'New baseline' button --> Show skeleton component when fetching milestones --> Show name and milestones selector --> Show input error when one of them is not filled out --> Show `Cannot fetch milestones` error when server return an error --> Show `Cannot create baseline` error when server return an error Change-Id: Id6507a16d286281ce9baad8e12bdce5ca7fde9c0

Modified Files

Name
M include/ServiceController.php +18 −2 Go to diff View file
M scripts/baseline/api/rest-querier.js +22 −4 Go to diff View file
M scripts/baseline/api/rest-querier.spec.js +53 −17 Go to diff View file
D scripts/baseline/components/App.spec.js +0 −117 Go to diff View file
M scripts/baseline/components/App.vue +54 −47 Go to diff View file
R scripts/baseline/components/SkeletonBaseline.vue Go to diff View file
A scripts/baseline/components/NewBaselineMilestoneSelect.spec.js +96 −0 Go to diff View file
A scripts/baseline/components/NewBaselineMilestoneSelect.vue +84 −0 Go to diff View file
A scripts/baseline/components/NewBaselineModal.spec.js +188 −0 Go to diff View file
A scripts/baseline/components/NewBaselineModal.vue +199 −0 Go to diff View file
D scripts/baseline/components/SimplifiedBaseline.vue +0 −52 Go to diff View file
M scripts/baseline/index.js +3 −5 Go to diff View file
M scripts/baseline/po/fr.po +34 −2 Go to diff View file
M scripts/baseline/po/template.pot +34 −1 Go to diff View file
M site-content/fr_FR/LC_MESSAGES/tuleap-baseline.po +5 −5 Go to diff View file
M templates/project-service-index.mustache +1 −2 Go to diff View file
M themes/BurningParrot/baseline/_baseline.scss +26 −3 Go to diff View file