Fix #27: Adding day balance on when to leave bar after day is done #222
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Related issue
#27: Behavior of when to leave bar
Context / Background
What change is being introduced by this PR?
How did you approach this problem?
Added the new behavior on the function that updates the value of the "when to leave bar".
There is now a new hidden div on the bar, and they get switched out when the day is done.
What changes did you make to achieve the goal?
Changes in existing function to update value of "when to leave bar", new style for hidden divs.
What are the indirect and direct consequences of the change?
People will get a clearer message after the day is done for, and be able to know their day balance.
How will this be tested?
Fill up my day and see if it works :)
Sample of how it'll be: