Skip to content

fix: PIN-6325 speed up data loading

Michal Neubauer requested to merge fix/PIN-6325 into develop

Merge request

Changes:

  • add missing indices
  • remove redundant data load calls
  • replace collect with collectLatest
  • do not load data from db again when opening the report screen
  • cache beneficiaries from last opened assistance ​

Code should:
  • make sense
  • follow project conventions (architecture, tech stack, naming)
  • not cointain any dead or unused code
  • not cointain any technical debt or TODOs without Jira issue
  • be tested
  • be documented

The full code checklist as well as other useful information about the code review process are on the Code review wiki page

Closes PIN-6325

Edited by Michal Neubauer

Merge request reports

Loading