707-update-css-files-frontend-features #916
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!916
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "707-update-css-files-frontend-features"
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?
What is done:
I have updated our fronted features so that they follow our css standards to use hex colors, kebab-case for naming and bracket notation for referencing.
fixes outside of css.
I have made a function called tokebabcase inside of SMHITemperatureView.js because the image loading where leading to some problems with the naming
Known error
currently there is an error where suduko view is to big where the first row is cut in half and you cannot see the description but through talks with the issue coordinator we have decided that will be seperate issue. (if its not a "me problem" with old images or something along those lines.)
Forgot to mention but i have alsos removed all inline css and instead opted to making module.css for those that were missing.
@ -1,4 +1,4 @@.tempBackground {.temp-background {background-image:var(--bg-symbol), linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)),Does linear-gradient require rgba?
it does not require rgba for example instead of this we could technically use alpha hex which means we add 2 more hex for the transparency setting.
just from the example you pointed this would be the way to write it and it should work the exakt same way:
linear-gradient(#00000080, #00000080)@ -27,3 +33,3 @@}/*Weather Symbols*/.Clearsky {.clearsky {Should be clear-sky
Review on #707
Whats done
I have gone through each file and checked that they follow the newly set standards. Since this PR involved 39 changed files with very similar changes, I have kept the file specific comments short.
Tested on Windows 11 using Chrome
Inspected following files
What needs to be done
I can't be bothered to write anything more, check above!
Conclusion
Well done, a necessary change. Some small things that should be fixed, but some might be uncessesary.
I also think Text.module.css should be changed to TextView.module.css
After Review:
I have changed the name of Text.module.css to TextView.module.css
I have changed to hex in ParkingView.js
I have changed from clearsky to clear-sky in SMHITemperatureView.module.css
Conclusion
I have chosen to keep rgba as its a clearer way of handling transparency then alpha hexs and this has been updated into our css wiki.
Otherwise everything should have been fixed based on the review.
All issues have been fixed, well done!
Good job, I will merge this.