ryanw-mobile / OctoMeter

🔥Kotlin Multiplatform Desktop/Android/iOS Energy Tracker app
Other
126 stars 10 forks source link

Agile screen: make the currently active rate bar in the bar chart flashing #219

Closed ryanw-mobile closed 3 weeks ago

ryanw-mobile commented 3 months ago

Dependency: #218

This requires us to finalise the charting library to use.

Should be a simple LaunchedEffect to flash / apply color effects to the current bar. Normally it is either the first or second bar but it is still convenient that we don't have to check the clock.

Potential issue is when the desktop app left for too long and activated screen lock/sleep mode whatsoever, we haven't figured out something like onResume on Android that helps us trigger a reload. This might be investigated altogether under this ticket.

ryanw-mobile commented 3 weeks ago

We have decided not to proceed with this one. This is because due to the current implementation, only the first or second bar on the chart is affected. There is not much value unless we change the overall presentation of the bar chart, which is not likely to happen.