You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When a role is added after a route has already been stored in the extension storage it will not show up and not be taken into account on our automatic role selection.
We should refresh and validate routes
when launching pilot (for the currently selected route)
when switching to a new route
when opening the submit page
The text was updated successfully, but these errors were encountered:
@jfschwarz How would you do that, given that there can be multiple routes from A to B? Given that this sounds like a property update on a waypoint of a route, would an update route method in ser-kit make sense?
This seems relatively safe, given we wouldn't interfere with the general setup (which waypoints to use). However, I'm not a super big fan of updating things as a side-effect. More so because this sounds like something that happens sometimes but not all the time which means we're always slowing things down because sometimes stuff happens.
What if, instead, we don't add the role to a route and figure it out dynamically when we plan the execution? Would that make more sense?
We need the roles already for the permissions checks in the panel.
A refreshRoute function in ser-kit sounds good. We could integrate it into Pilot with a stale-while-revalidate approach to not slow down anything in the UI.
When a role is added after a route has already been stored in the extension storage it will not show up and not be taken into account on our automatic role selection.
We should refresh and validate routes
The text was updated successfully, but these errors were encountered: