#376-SMHI-forecast-view-design #479

Closed
a21jonfa wants to merge 0 commits from #376-SMHI-forecast-view-design into team_2_week_2
Collaborator

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

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
Collaborator

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. **

### **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. **
Collaborator

The previous issue about missing key props has been addressed

The previous issue about missing key props has been addressed
Collaborator

Well done, will merge manually!

Well done, will merge manually!
a24vinla closed this pull request 2026-04-22 07:40:45 +00:00

Pull request closed

Sign in to join this conversation.
No reviewers
No milestone
No project
5 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!479
No description provided.