NeoLegends / velocity-pwa

🚴‍♂️💨 An alternative https://velocity-aachen.de/menu
3 stars 3 forks source link

Enhance slot icon regarding "`null`" and "0%" charging states #21

Closed LucasForster closed 5 years ago

LucasForster commented 5 years ago

This issue addresses the following two (not too rare) events:

NeoLegends commented 5 years ago

I think the red flash symbolizes an erroneous case good enough. For UI consistency I'd very much like to keep the current behavior where we use 0% for null%.

Another option I'd be kinda okay with is to just hide the bikes with a charge state of null. Since the bikes are operable in principle, however, we'd hide bikes that you could have rented out. Therefore I'm closing this for now.