Temperature month and year button styling #895
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!895
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "#442-temp-month-and-year-styling"
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?
Made changes to the styling of the buttons when changing date in TemperatureMonthView and TemperatureYearView.
Created a new .css file to make it more readable and avoid a lot of redundancy.
Issue: #442
Temperature month and year stylingto Temperature month and year button stylingIs it possible to make the buttons something like this?
Bigger and rounder buttons that are not placed at the sides instead of center. Also a better looking chevron symbol.

Good job, but I noticed that the buttons does not scale very well when the card is 1x1. Also, we think that maybe the border is to strong/sharp. Could it be changed to be a little "softer"?
Oops forgot to zoom in and check the scaling. I'll fix it and also make the border softer.
Was a bit tricky with the scaling but now it keeps the same structure at least and instead allows the user to scroll:
Although I now noticed that there's a scroll wheel even when there's nothing to scroll to, so I will fix that now.
Good job, I will assign someone to review it, but visually it looks great!
Review on #442.
Whats done:
Inspected all changed files, tested functionality using npm start.
Tested on Windows using Firefox.
Inspected following files:
TemperatureYearView.js, TemperatureYearView.module.css, TemperatureMonthView.js and TemperatureYearView.module.css.
What needs to be done:
Need to fix the issue that it takes multiple "clicks" before it swaps month/year in "mobile mode", this could be done after merge since the functionality works as intended, just a minor issue.
The arrows used in buttons as icon gives warning "This line has an ambiguous unicode character", this is perhaps nothing to worry about since it is just an icon and not a variable name.
Conclusion:
It is ready for merge since the functionality works but the multiple "click" in "mobile mode" should be fixed afterwards.
Perhaps look in to the warning with the button icon but what I found is that it should not be an issue as long it is not used as "code".
This will be merged since the weekly merge is around the corner, but an issue is made for mobile view: #938