#107-Create-Dynamic-Graph #188
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
4 participants
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
Andras/BoundlessFlowCampus2K!188
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "#107-Create-Dynamic-Graph"
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?
Finsihed creating WeatherGraph Component. Created mockup data by modifying useTemprature to store an array and manually changing values in that array in WeatherGraph. CSS styling file for WeatherGraph was also created and tempratureView now does no data handling and instead only displays the weather graph in the card. Data handling of stored useTemprature data is now instead done in WeatherGraph
Files i've checked:
/frontend/src/components/Graphs/WeatherGraph.js/frontend/src/components/Graphs/WeatherGraph.module.css/frontend/src/features/temperature/TemperatureView.js/frontend/src/features/temperature/useTemperature.jsJavaScript code follows code standards and is commented well. Website works well and the graph looks good:
I'm unsure however if changes should be made to files in the
/frontend/src/features/temperature/directory. useTemperature.js will be changed during the weekly merge so it might not matter. TemperatureView should probably not be changed, I think it might be a better idea to use a dedicated view for the graph (TemperatureGraphView.js) instead of changing the one for sensor temperature.(This part is very nit-picky)
CSS code doesn't quite meet some standards:
Considering the colors here represent temperature it might be a non issue, but topas might work well.
I don't think it's super important, but check through the standards and fix anything you find, för säkerhets skull.
Fixed CSS styling to match standards and added a new TempratureGraphView component that will dispaly weather graph instead of TemperatureView
I've checked through the changes and nothing looks out of place, looks good, nice work!
The review has been made in a proper way, i will merge this into the branch and close.