Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Binary file added doc/frontend/RC-application.frontend.png
Comment thread
petrubraha marked this conversation as resolved.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
81 changes: 81 additions & 0 deletions doc/frontend/RC-application.frontend.puml

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

let's have two different documents: one is the puml class diagram itself (should represent precisely the classes used) and another one (describing each component of each class)

Original file line number Diff line number Diff line change
@@ -0,0 +1,81 @@
@startuml
skinparam classAttributeIconSize 0
set namespaceSeparator none

interface PresenceChangeable {
+show()
+hide()
}

interface ModalBase {
}

class ConnBox {
}

class AgendaFrame {
+conn_boxes: ListView
+connect_btn: Button
+add_box(conn_box: ConnBox)
+rem_box(conn_box: ConnBox)
}

class Chat {
+cmd_input: TextField
+history_box: Container
+add_req()
+add_res(res: str)
}

class ChatFrame {
+default_layer: Column
+sel_chat(chat: Chat)
+rem_chat()
}

class Layout {
+agenda_frame: AgendaFrame
+chat_frame: ChatFrame
+modal: Modal
+conn_boxes_dict: dict
}
Comment thread
petrubraha marked this conversation as resolved.

class ManualView {
+host_input: TextField
+port_input: TextField
+user_input: TextField
+pass_input: TextField
+db_input: TextField
}

class UrlView {
+url_input: TextField
}

class Modal {
+url_view: UrlView
+manual_view: ManualView
+switch_view()
}

' --- Inheritance Relationships ---

PresenceChangeable <|.. Modal

ModalBase <|.. ManualView
ModalBase <|.. UrlView

' --- Aggregation Relationships ---

AgendaFrame o-up- "*" ConnBox

ChatFrame o-up- "1" Chat

Layout o-up- "1" AgendaFrame
Layout o-up- "1" ChatFrame
Layout o-up- "1" Modal

Modal o-up- "1" ManualView
Modal o-up- "1" UrlView

@enduml