coopcycle / coopcycle-web

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

Convert task creation modal into delivery creation modal in /admin/dashboard #4704

Open Paul-Eraman-CoopCycle opened 5 days ago

Paul-Eraman-CoopCycle commented 5 days ago

Right now clicking the plus button on the dispatch page opens this pop up

Image

Due to needing orders with prices, this is no longer viable, and must be turned into an orders creation button.

Proposal 1 Clicking the plus button with have the same action as the "create a delivery" button from the /admin/deliveries page: a pop up asks which store, and then opens an order creation page for that store. In this case, it would be in a new tab, in order to not loose the loaded dispatch page

Proposal 2 The same, but the order creation page, with all its elements (including set price manually, save the order, add a recurrence rule, the price.....) shows up as a modal like the task creation modal does now

0bi0ne1312 commented 4 days ago

The first proposal is even quite enough to have a direct link from dashboard to making a new delivery without going from page to page and "losing" time in between. It is a good ux function ! The second proposal would be even better but don't know if it requires too much time to develop that.