Skip to content

AnA03S02PerformanceOrderEdition

Jeroen Baten edited this page Mar 9, 2018 · 1 revision

TWiki> LibrePlan Web>AnA03S02PerformanceOrderEdition (08 Nov 2010, JavierMoran)EditAttach

Story summary Performance tuning in order edition window
Iteration AnA03PerformanceTuning
FEA AnA03S02PerformanceOrderEdition
Story Lead  
Next Story  
Passed acceptance test No

Tasks

Change validation of unique order code and hours group from entity to XXXModel

The validation of being unique the order code has to be changed from being validated in the entities to be validated in the XXXModel becuase the validation is runned for each order element. It is needed just to execute it once for all the order elements of an order.

The same has to be done for the codes of the hours group. It has to be moved the validation from entities to XXXModel.

warning It is important to realize that it will be needed to change the import system in order to do these validations too.

Solve the reload on saving order

When an order is saved it is reloaded completely. This causes an unnecessary delay because in this case this could be avoided.

This can be avoided. The only field that changes is the code. So we have three options to assess:

  • Really not load the generated code and in this case, not update the order completely.
  • Assess if update quickly only this column without reloading is an option.
  • Generate the code in the moment of adding the line to the order.

Of course, we have to see if technically the objects in the model have the ids and the codes generated although we do not reload the tree.

Rendering of large orders with the tree widget.

Now it is being used a paginated tree for editing an order with a page size of 50 elements per size. With this size, the change of page is really slow. So, we need to improve the times to browse and use the tree.

Steps to do are (not needed in this order):

User stories

Tasks in this story

Tasks Est Spent To do Risk Reviewer Developer Task Name Start Date Est End Date End Date
Task 10 10 0 Low JavierMoran DiegoPino Change validation of unique order code and hours group from entity to XXXModel      
Task 7 0 7 Low JavierMoran JacoboAragunde Rendering of large orders with the tree widget.      
Task 20 0 20 Low JavierMoran JacoboAragunde Rendering of large orders with the tree widget.      

Copyright (c) by the contributing authors. All material on this collaboration platform is the property of the contributing authors.

Clone this wiki locally