Skip to content

Add memory to bus icon route color to handle temporary null routes #140

@bryantran24

Description

@bryantran24

When the API briefly returns an null route, bus icons immediately reset to the default color, causing confusion. Add short-term memory to bus icon colors so they retain the last known route color for a short time before reverting to default.

Also currently the locations api doesn't return the route_name it is https://api-shuttles.rpi.edu/api/velocities that does. So connect that to the buses so we actually get the correct bus color.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingenhancementNew feature or requestgood first issueGood for newcomers

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions