#189-implement-react-grid-layout #210
No reviewers
Labels
No labels
_CRITICAL_
API
app
backEnd
Blocked-waiting-for-further-changes
bug
bug-only-on-server-for-mobile-not-webpage
Bug-Report-After-Merge
cleanup
close
design
duplicate
enhancement
feature request
frontEnd
further-changes-needed
future-problem-not-fixint-this-period
help wanted
invalid
last-week-issue-to-fix
library
low-priority
needs input
needs review
not-implemented.
project documentation
question
research
reviewed
Script
security
SQL
style
Team 1
Team 2
team leaders
test-creation
testing
topLevel
unassigned
Under-review
wontfix
No milestone
No project
No assignees
3 participants
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
Andras/BoundlessFlowCampus2K!210
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "#189-implement-react-grid-layout"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
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".
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.