coopcycle / coopcycle-web

Logistics & marketplace platform. Only for worker-owned business.
https://coopcycle.org
Other
565 stars 129 forks source link

as a dispatcher, I want to be able to show/hide each tour in the dispatch (for now one can only hide all unassigned tours globally) #4207

Open lillebike opened 6 months ago

lillebike commented 6 months ago

In order to
have a better understanding of my map while i am doing the dispatch in the morning

As a role DISPATCHER

I want something to be added or changed to be able to asign a color to a tour and hide it easily

Image

Whereas currently this happens all the tasks stay with the same color, and to hide it i have to assign the tour to a courrier and hide the courrier Additional context The best would be to be able to just with a click hide tour so the map is cleared and only the tasks that are neather assigned to a courrier nor a tour stays on the map as sometime we assigne the tours later in the day

Paul-Eraman-CoopCycle commented 6 months ago

Hey! This is interesting, can you excision why you are doing this? What's the context and your work that makes it useful?

lillebike commented 6 months ago

I enter about 20 order every morning for a client as soon as it is all in the map is "unreadable" as there is points everywhere. we organises tours that seems logical depending on the weight (sometimes up to 250kg on one point) so not all the point in the same area are always on the same tour the idea is that i would like the task to dissipera from the map slowly as i assign them to a tour (it can be organizing a tour and click on hide the tour after) so I can clearly see on the map where are the points that are not yet in a tour also when i want to see the tours on the map it would be usefull to be able to have one color per tour to make the made more "readable" hope it is clearer

Paul-Eraman-CoopCycle commented 6 months ago

Ok that makes sense, thanks! I might ask you to take part in a design meeting soon ;)

lillebike commented 2 months ago

this is my current process

hide tour

Atala commented 2 months ago

From aubin corbo

In order to simplify the assignment of tasks and the creation of routes

I would like to propose to have a feature of hiding/showing unassigned tours to clear the map and show only assigned tasks and unassigned tasks. I made a drawing :)

The idea is to clear the map of already sorted tasks to make it more clearer to assign the rests and see only the ongoing tasks (the one that are assigned and about to be made / the one that just dropped or are left to be assigned) ![Uploading HIDE.PNG…]() image

Paul-Eraman-CoopCycle commented 2 months ago

Basically filtering tours like we can filter shops now no?

Atala commented 2 months ago

i think it is a kind of different behaviour of existing filters they would like to filter only the points on the map not the data on the columns

i think that might be the behaviour you want with your "on/off" switch on riders?

Paul-Eraman-CoopCycle commented 2 months ago

Mmm ok, then its just adding tours to the map filter we already have right?

Atala commented 2 months ago

yes and no

they are 3 ways to implement this i would say : 1.we can add a setting "hide tasks of unassigned tours on the map" in the filters modal

  1. we could add a tour list with show/hide toggle beside it in the filter modal (as we have for riders) (and a global switch "hide unassigned tours")
  2. we could add "shortcuts" on the tour header itself, as this issue request (and do the same for the the riders filters directly beside riders name)

maybe i am nitpicking here ?

which one do you prefer?

0bi0ne1312 commented 6 days ago

For now @Paul-Eraman-CoopCycle it is working like this :

Image

0bi0ne1312 commented 6 days ago

having it on each courier / tour would be really improving dispatch needs to see clear in all tasks when a lot in a small area (just for one of many examples)

Paul-Eraman-CoopCycle commented 6 days ago

ooooh understood thanks!