411 replace error codes in cards #434
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
No assignees
3 participants
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
Andras/BoundlessFlowCampus2K!434
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "411-replace-error-codes-in-cards"
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?
Replaced technical error messages with user-friendly messages in cards.
Removed "Fel: {error}" from UI
Added clear, user-friendly messages per feature
No changes to hooks (developers still have access to technical errors)
Updated the error messages in TemperatureView.js and BookingView.js to use user-friendly messages.
Review on #411
Whats done
Tested on Windows 11 using Chrome
App starts.
I have blocked requests from the diffrent URL's to display the error messages
<p>Fel: {error}</p>;Might be on my end or another issue but i couldnt force the error on the ParkingView it just display the picture without the error.
Inspekted files ,WeatherGraph.js, ParkingView.js, ScheduleView.js, SMHIForcastView.js, SMHITemperatureView.js, TemperatureMonthView.js, TemperatureyearView.js,TemperatureTimeSeriesView.js
What needs to be done
Conclusion
After seeing that the error messages have been updated, the branch code compiles and runs as intended, so I say it is good to merge.