#189-implement-react-grid-layout #210

Merged
b24johka merged 5 commits from #189-implement-react-grid-layout into team_1_week_1 2026-04-10 08:42:20 +00:00
Collaborator

App.js
Right now multiple cards/views of temperature is used to have some sort of layout basis.

const layout determine where a card/view should be place once the program is running, here you can modify size such as width and height as well as placement e.g x/y coordinates. The App function is "called" in "index.js" in frontend.

Once you have built the project there can be some visual errors due to caches in your browser, make sure to clear it otherwise you will get the old output off App.js. This took quite some time to figure out since I had that problem.

The solution is not final, as new cards/views are added, adjustments need to be done in order to display the right cards/views.

Interaction with the website (draging cards/views) can be placed anywhere, they do not compact them (cluster them) since I made that design decision and can be changed by editing the constant "doNotCompact".

App.js Right now multiple cards/views of temperature is used to have some sort of layout basis. const layout determine where a card/view should be place once the program is running, here you can modify size such as width and height as well as placement e.g x/y coordinates. The App function is "called" in "index.js" in frontend. Once you have built the project there can be some visual errors due to caches in your browser, make sure to clear it otherwise you will get the old output off App.js. This took quite some time to figure out since I had that problem. The solution is not final, as new cards/views are added, adjustments need to be done in order to display the right cards/views. Interaction with the website (draging cards/views) can be placed anywhere, they do not compact them (cluster them) since I made that design decision and can be changed by editing the constant "doNotCompact".
used suggested code in the research issue #179
so that cards can be placed anywhere without being compacted
edited coding standards & comments
Collaborator

I tried this with a fresh repository and it worked well, used google chrome as it works better with java script.
Good background to help developers to modify the grid layout, we will still discuss the risks of the conflict to the target branch.

I tried this with a fresh repository and it worked well, used google chrome as it works better with java script. Good background to help developers to modify the grid layout, we will still discuss the risks of the conflict to the target branch.
Removed to remove merge conflict
b24johka merged commit b9b182c51f into team_1_week_1 2026-04-10 08:42:20 +00:00
b24johka deleted branch #189-implement-react-grid-layout 2026-04-10 08:42:32 +00:00
Sign in to join this conversation.
No reviewers
No milestone
No project
No assignees
3 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!210
No description provided.