411 replace error codes in cards #434
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
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.