-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* add selection component to project edit form * Fix ontology column size and type * Fix ontology column size and type * provide prefill for add project as well complicated setup of add project made this difficult. further refactoring might be needed. * Fix stepper * introduce HasBinder interface * fix dialog validation and scope Co-authored-by: steffengreiner <[email protected]> * Add JavaDoc * Use HasBinderValidation for AutocompleteContactField * add javadoc * Fix field title * Remove unused methods * "Fix" column names. These should be adapted in the future. Using the plural for singular column is not good IMHO. * Adjust terms used to fit the database * Improve JavaDoc Co-authored-by: steffengreiner <[email protected]> * Add placeholder Co-authored-by: steffengreiner <[email protected]> * do not require the view object to contain data * remove hard-coded 100 width and height * remove unused annotation * add error message to requireNonNull * move page size to css * Fix wrong mapping Co-authored-by: steffengreiner <[email protected]> --------- Co-authored-by: Tobias Koch <[email protected]> Co-authored-by: steffengreiner <[email protected]>
- Loading branch information
1 parent
18691f5
commit 8bab447
Showing
33 changed files
with
1,057 additions
and
932 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
29 changes: 29 additions & 0 deletions
29
...t-management/src/main/java/life/qbic/projectmanagement/application/ContactRepository.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,29 @@ | ||
package life.qbic.projectmanagement.application; | ||
|
||
import java.util.List; | ||
import life.qbic.projectmanagement.domain.model.project.Contact; | ||
import org.springframework.stereotype.Component; | ||
|
||
@Component | ||
public class ContactRepository { | ||
|
||
public List<Contact> findAll() { | ||
//TODO implement | ||
return dummyContacts(); | ||
} | ||
|
||
private static List<Contact> dummyContacts() { | ||
return List.of( | ||
new Contact("Max Mustermann", "[email protected]"), | ||
new Contact("David Müller", "[email protected]"), | ||
new Contact("John Koch", "[email protected]"), | ||
new Contact("Trevor Noah", "[email protected]"), | ||
new Contact("Sarah Connor", "[email protected]"), | ||
new Contact("Anna Bell", "[email protected]"), | ||
new Contact("Sophia Turner", "[email protected]"), | ||
new Contact("Tylor Smith", "[email protected]") | ||
); | ||
} | ||
|
||
|
||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.