all app/prop-types/* definitions merged into util/shapes.js
compose own custom shapes hierarchically
all shape names in camel case
use alert, plan and leg shape instead of generic object shape
PR includes also some general refactoring and minor bug fixes
This PR removes several hundreds of linter proptype warnings. 139 left to fix.
Note: use of shared shape definitions means that some 'isRequired' attributes must be removed. For example, not all Leg properies are present in every context. So, debugger will give less runtime warnigs from faulty data. On positive side, code is much cleaner, shorter and easier to maintain.
Consistent use of custom shapes:
This PR removes several hundreds of linter proptype warnings. 139 left to fix.
Note: use of shared shape definitions means that some 'isRequired' attributes must be removed. For example, not all Leg properies are present in every context. So, debugger will give less runtime warnigs from faulty data. On positive side, code is much cleaner, shorter and easier to maintain.