Skip to content

[client] Add bulk edit capability

sinopsysHK requested to merge sinopsysHK/kresus:massupdate into master

Extend Operations toolbar with a Bulk edit option that toggle editable row in Operations table for Label, Type and Category fields and show on each operations rows a selector. Either provided values or all can then been set to selected operations at once. In addition on the first roww, the selector will trigger selecting/deselecting all operations. Further more search can be used at the same time to narrow down the list operations to update.

Solution taken was to manage the set of showing operation selection through the store so to limit the coupling between the components. (Also because an attemp with state at Operation level wasn't successfull to expected re-rendering/update cycle to keep in sync the status at top level and reflecting it at lower level)

This is a proposal to support request #790 (closed)

I'm will not pretend I worked too much on the graphical design so it will have to be improved to better fit in kresus look&feel

Here is how it looks:

  • The new button in operation tool bar to open Bulk edit mode bulk-edit-toolbar

  • The Bulk edit mode activated offering input box to set the values to fill into target operations bulk-edit-input-row

  • The rows selection that can be also take the full list at once or reset all at once bulk-edit-select

Happy to read your comments and suggestions

Edited by sinopsysHK

Merge request reports