refactor(smart actions parameters) : BREAKING & tweaks
* Created `RequestedParams` class with builder to create request parameters object in a standard way, * All the generic actions only take an instance of this object now, * All dynamic parametrization of the request params now happens in `apiParams` * This enables an ultra smart magic piece of logic to auto refresh the data from the server if the props / state of the component has changed since the last request. (the requestParams object are now stored in the redux store and we can compare theme😄 ). And also not to make duplicate queries. * Updated doc accordingly, Tweaks/fixes: * use of `lodash/isEqual` to deep compare objects * Removed now useless behiavor
Status | Job ID | Name | Coverage | ||||||
---|---|---|---|---|---|---|---|---|---|
Check | |||||||||
passed |
#509824
docker
|
check_back |
00:00:18
|
|
|||||
passed |
#509825
docker
|
check_front |
00:00:49
|
|
|||||
Test | |||||||||
passed |
#509826
docker
|
test_back |
00:00:49
|
96.0% |
|
||||
passed |
#509827
docker
|
test_frontend |
00:00:18
|
|
|||||
Lint | |||||||||
passed |
#509829
docker
|
eslint |
00:00:23
|
|
|||||
passed |
#509828
docker
|
flake8 |
00:00:13
|
|
|||||
Svg Gen Docu | |||||||||
passed |
#509830
docker
|
generate_UML_svg |
00:00:12
|
|
|||||
Documentation | |||||||||
passed |
#509831
docker
|
pages |
00:00:12
|
|
|||||
Deploy | |||||||||
passed |
#509832
external
|
pages:deploy |
00:00:00
|
||||||