Added a function for translating SMHI symbol codes to text and added it to SMHIForecastView #432
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!432
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "408-expand-smhi-view"
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?
Created a function for translating the SMHI symbol code to text and added it to the forecastview.
A future expansion on this could be to display an image for each (or some of) the codes to reflect the weather
Overall everything is working. But there are a couple of minor issues and recommendations to be addressed.
Minor adjustment: consider using const instead of var to align with modern JS practices and avoid scope-related issues.
The commenting style: (i know, sorry!) you are using "//" for multiple lines, whereas on the wiki site it states to use "/* */" with multiple lines: the lines to fix are 10 and 11.
Another issue, I think it belongs to the whole team. The language inconsistency, we are using both English and Swedish, such as "Fel:" or "Laddar ...", "Högskolan i Skövde" while also using "Clear sky" "Forecast" etc. This is an issue that should be discussed within the whole team, in my opinion.
other than that, i agree with your input that "A future expansion on this could be to display an image for each (or some of) the codes to reflect the weather." - You
I left the mixing of swedish and english in, since there is already an issue for localization.
Good job!
Looks good to me. It compiles and semas to give the correct output