-
Notifications
You must be signed in to change notification settings - Fork 10
Color of safesum and thumbnail border does not match website with goals about to finish #595
Copy link
Copy link
Open
Labels
BUGOpposite of featureOpposite of featureSTYStyle / polish / CSS / pigsty / eyesoreStyle / polish / CSS / pigsty / eyesoreUVIWill count as a User-Visible ImprovementWill count as a User-Visible Improvement
Description
The app currently (6.7 (54)) currently calculates colors based on the number of safe days:
BeeSwift/BeeKit/GoalExtensions.swift
Lines 57 to 70 in 1c1a86d
| public var countdownColor :UIColor { | |
| switch self.safeBuf { | |
| case ..<1: | |
| return UIColor.Beeminder.SafetyBuffer.red | |
| case ..<2: | |
| return UIColor.Beeminder.SafetyBuffer.orange | |
| case ..<3: | |
| return UIColor.Beeminder.SafetyBuffer.blue | |
| case ..<7: | |
| return UIColor.Beeminder.SafetyBuffer.green | |
| default: | |
| return UIColor.Beeminder.SafetyBuffer.forestGreen | |
| } | |
| } |
A goal's commitment can be any combination of two of the following three items: goal date, goal total, goal rate.
Example goal, goal's commitment dial (on the website):
goal date: 2024-12-31
goal total: greyed out, not used to define the goal's commitment
goal rate: 40 / month
Goal progress on the website shows
NOW 2024-12-31 → 4089
TARGET 2024-12-31 → 4000
In the app this goal is colored orange on 2024-12-31, with safesum "Safe for 1 day". On the website this goal is colored dark green.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
BUGOpposite of featureOpposite of featureSTYStyle / polish / CSS / pigsty / eyesoreStyle / polish / CSS / pigsty / eyesoreUVIWill count as a User-Visible ImprovementWill count as a User-Visible Improvement