Skip to content

Commit

Permalink
Merge branch 'development' into feature-642/#642-editing-registered-m…
Browse files Browse the repository at this point in the history
…etadata-to-add-confounding-variables

# Conflicts:
#	user-interface/src/main/bundles/dev.bundle
  • Loading branch information
KochTobi committed Nov 29, 2024
2 parents f26fa2d + 5e283d2 commit a532a67
Show file tree
Hide file tree
Showing 13 changed files with 1,254 additions and 1 deletion.
73 changes: 73 additions & 0 deletions user-interface/front-end-components.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,73 @@
# Frontend components
Some visual aid of our custom view components structure.

## Dialog window

```mermaid
---
title: Dialog window
---
classDiagram
note for Component "Vaadin Component"
note for Dialog "Vaadin Component"
AppDialog <-- DialogHeader
AppDialog <-- DialogBody
AppDialog <-- DialogFooter
DialogBody ..|> UserInput
UserInput --> InputValidation
AppDialog --> Component
AppDialog --> Action
AppDialog --|> Dialog
AppDialog --> UserInput
DialogBody *-- DialogSection
class Dialog {
}
class DialogSection {
}
class Component {
}
class AppDialog {
+setHeader(Component component)
+setBody(Component component)
+setFooter(Component component)
+registerConfirmAction(Action action)
+registerCancelAction(Action action)
+registerUserInput(UserInput input)
+confirm()
+cancel()
}
class DialogHeader {
}
class DialogBody {
}
class Action {
<<interface>>
+execute()
}
class DialogFooter {
}
class InputValidation {
+ passed() boolean
+ failed() boolean
}
class UserInput {
<<interface>>
+ validate() InputValidation
+ hasChanges() boolean
}
```
Loading

0 comments on commit a532a67

Please sign in to comment.