Skip to content

WIP: Revamp operation list so that it is rerendered only when necessary

Antoine requested to merge ZeHiro/kresus:optimize-selects into master
  • Revamp type and category selects so they are not rerendered on each modification of operation (change type/category/label). Rerender is 25% faster. This solves point 1 of #593 (closed).

  • Optimize rerender of operation list by passing id directly to the item

  • Externalize wells of the report page so that they are not rerendered on modification of operation (change type/category/label).

  • Externalize list of operations to limit unwanted rerenders + make report component functional

  • Revamp label componant so that it is passed only what is required (opId, customLabel, title and raw), so that it is not rerenderd on modifying type or category.

  • Add balance in Account model and update it on :

    • Operation deletion
    • Operation creation
    • Merge operation
    • Balance sync
    • Accounts sync
    • Operations sync
Edited by Antoine

Merge request reports