Skip to content

Commit 7fbb85e

Browse files
Define release PR to Remove Mock implementations and fix optional description of projectmanager field
1 parent 9ad9091 commit 7fbb85e

File tree

3 files changed

+3
-61
lines changed

3 files changed

+3
-61
lines changed

database-connector/src/main/java/life/qbic/projectmanagement/persistence/ExperimentalDesignRepository.java

Lines changed: 0 additions & 32 deletions
This file was deleted.

projectmanagement/src/main/java/life/qbic/projectmanagement/application/api/ExperimentalDesignLookup.java

Lines changed: 0 additions & 28 deletions
This file was deleted.

vaadinfrontend/src/main/java/life/qbic/datamanager/views/project/create/ProjectInformationDialog.java

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -75,15 +75,17 @@ public ProjectInformationDialog() {
7575

7676
principalInvestigator = new ComboBox<>("Principal Investigator");
7777
principalInvestigator.setPlaceholder("Select a principal investigator");
78+
principalInvestigator.setRequired(true);
7879

7980
responsiblePerson = new ComboBox<>("Project Responsible (optional)");
8081
responsiblePerson.setPlaceholder("Select Project Responsible");
8182
responsiblePerson.setHelperText("Should be contacted about project related questions");
8283
//Workaround since combobox does not allow empty selection https://github.com/vaadin/flow-components/issues/1998
8384
responsiblePerson.setClearButtonVisible(true);
8485

85-
projectManager = new ComboBox<>("Project Manager (optional)");
86+
projectManager = new ComboBox<>("Project Manager");
8687
projectManager.setPlaceholder("Select a project manager");
88+
projectManager.setRequired(true);
8789

8890
createButton = new Button("Create");
8991
cancelButton = new Button("Cancel");

0 commit comments

Comments
 (0)