stable

Clone or download

Read-only

Can submit program configuration

This is part of story #21793 configure Program Management I want to apologize to the reviewer because it's a huge patch, but there are a lot of unit tests! How to test: - Go to program admin Expected results: - If you submit with empty fields ➡️ Some error message are displayed under each empty fields - If something wrong append from API ➡️ REST error message is displayed at the top of Milestones sections - If everything is ok ➡️ First, congratulation! ➡️ The page is reloaded ➡️ The configuration is saved Change-Id: Ica925b7751bbaacd084441761b023364d74452b6

Modified Files

Name
M plugins/program_management/scripts/admin/po/fr_FR.po +20 −0 Go to diff View file
A plugins/program_management/scripts/admin/src/api/manage-configuration.test.ts +44 −0 Go to diff View file
A plugins/program_management/scripts/admin/src/api/manage-configuration.ts +37 −0 Go to diff View file
A plugins/program_management/scripts/admin/src/helper/HTML_select_element_extractor.test.ts +49 −0 Go to diff View file
A plugins/program_management/scripts/admin/src/helper/HTML_select_element_extractor.ts +28 −0 Go to diff View file
R plugins/program_management/scripts/admin/src/helper/button-to-add-team-helper.test.ts Go to diff View file
R plugins/program_management/scripts/admin/src/helper/button-to-add-team-helper.ts Go to diff View file
A plugins/program_management/scripts/admin/src/helper/form-field-error-helper.test.ts +74 −0 Go to diff View file
A plugins/program_management/scripts/admin/src/helper/form-field-error-helper.ts +45 −0 Go to diff View file
A plugins/program_management/scripts/admin/src/helper/form-fields-checker.test.ts +112 −0 Go to diff View file
A plugins/program_management/scripts/admin/src/helper/form-fields-checker.ts +79 −0 Go to diff View file
A plugins/program_management/scripts/admin/src/helper/program-configuration-builder.test.ts +62 −0 Go to diff View file
A plugins/program_management/scripts/admin/src/helper/program-configuration-builder.ts +64 −0 Go to diff View file
M plugins/program_management/scripts/admin/src/helper/rest-error-helper.test.ts +9 −13 Go to diff View file
M plugins/program_management/scripts/admin/src/helper/rest-error-helper.ts +8 −8 Go to diff View file
M plugins/program_management/scripts/admin/src/index.ts +2 −0 Go to diff View file
M plugins/program_management/scripts/admin/src/milestones/init-list-pickers-milestone-section.ts +1 −10 Go to diff View file
A plugins/program_management/scripts/admin/src/milestones/submit-configuration-handler.ts +81 −0 Go to diff View file
M plugins/program_management/scripts/admin/src/teams/add-team.test.ts +8 −3 Go to diff View file
M plugins/program_management/scripts/admin/src/teams/add-team.ts +11 −15 Go to diff View file
M plugins/program_management/scripts/admin/src/type.ts +17 −0 Go to diff View file
M plugins/program_management/site-content/fr_FR/LC_MESSAGES/tuleap-program_management.po +3 −0 Go to diff View file
M plugins/program_management/templates/admin/milestones/admin-configuration-program-increment-section.mustache +9 −1 Go to diff View file
M plugins/program_management/templates/admin/teams/admin-form-add-team.mustache +1 −1 Go to diff View file
M plugins/program_management/themes/program_management/_admin.scss +6 −1 Go to diff View file