#376-SMHI-forecast-view-design #479
No reviewers
Labels
No labels
_CRITICAL_
API
app
backEnd
Blocked, waiting for further changes
bug
cleanup
close
design
duplicate
enhancement
feature request
frontEnd
help wanted
invalid
low priority
needs input
needs review
project documentation
question
research
reviewed
script
security
SQL
style
testing
topLevel
wontfix
No milestone
No project
5 participants
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
Andras/BoundlessFlowCampus2K!479
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "#376-SMHI-forecast-view-design"
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?
proof of concept for forecast design, thinking was to make it easier to see all the relevant data by hiding the individual hours from the rest of the day to give a better overview. Highly inspired by how smhi does their 10 day forcast https://www.smhi.se/vader/prognoser-och-varningar/vaderprognos/q/Sk%C3%B6vde/2677234
Review on #456
Whats done:
-Tested the solution on windows on firefox.
Verified that the forecast data displays correctly
Verified that data is grouped by date and shown in a structured way.
Tested the function with toggle functionality with show and hide, which worked.
### Inspected files:
frontend/src/features/smhi/SMHIForecastView.js
frontend/src/features/smhi/SMHIForecastView.module.css
### Code review:
-The implemented component follows the React patterns good, the use of hooks works as expected and the UI behaves good.
-The feature implemented with grouping forecast data is implemented in a clear and understandable way.
-Follows our code standard well.
What can be improved:
-Missing key props in mapped elements.
-CSS file contains values with quotes which should be removed.
None of this suggestions are blocking but they can be cleaned up.
### ### Design feedback:
The UI could be improved by using different font sizes, spacing, and colors to create a clearer visual hierarchy. For example, the day name and daily high/low temperatures could be more emphasized to make the information easier to scan for a user.
**Apart from that the design is clear. **
The previous issue about missing key props has been addressed
Well done, will merge manually!
Pull request closed