[Card] Sequence diagram for cards/views #135

Closed
opened 2026-04-02 12:06:20 +00:00 by a24vinla · 7 comments
Collaborator

Related Issues: #129
Parent Issues: #6 #130

Related Issues: #129 Parent Issues: #6 #130
Collaborator

Sequens diagram
This shows how data is transfered from a view call in the app untill its rendered.
First the app calls the view for a render.
Then the View needs to call both Hook(Api) for data and Card to render the frame.
When the View have recived both the data and the rendered frame it can return a complete rendered View to the app.
Missing
In the future there might be a logic layer to give a uniform view of the diffrent type of cards like text,picture and graph. This would also be called from the view.

**Sequens diagram** This shows how data is transfered from a view call in the app untill its rendered. First the app calls the view for a render. Then the View needs to call both Hook(Api) for data and Card to render the frame. When the View have recived both the data and the rendered frame it can return a complete rendered View to the app. **Missing** In the future there might be a logic layer to give a uniform view of the diffrent type of cards like text,picture and graph. This would also be called from the view.
Collaborator

File to change moddel if chages happans.

File to change moddel if chages happans.
Collaborator

The "sequence" between view and hook is not an "ApiCall", rather an import. The actual "Hook" makes the "ApiCall", otherwise I think that the diagram is good.

The "sequence" between view and hook is not an "ApiCall", rather an import. The actual "Hook" makes the "ApiCall", otherwise I think that the diagram is good.
Collaborator

I have added an Api so the Hook calls the Api to get the data before returning it.

I have added an Api so the Hook calls the Api to get the data before returning it.
Collaborator

Drawio file if chages are needed later.

Drawio file if chages are needed later.
Collaborator

Looks good! Show clearly how the different parts of the system interacts with each other.

Looks good! Show clearly how the different parts of the system interacts with each other.
Collaborator

Added to wiki

Added to [wiki](https://git.webug.se/Andras/BoundlessFlowCampus2K/wiki/Sequence-diagram-for-cards-views.-)
Sign in to join this conversation.
No milestone
No project
4 participants
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
Andras/BoundlessFlowCampus2K#135
No description provided.