Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content

Draft: Introduce Stores class

Jonathan Klee requested to merge 0000-u-introduce-store-class into main

Description

Introduce Stores class. Stores class will be the class maintaining the different stores AppLounge is dealing with.

So if we add a new store, we'll only have to implement all the generic interfaces defined and add the new store in the Stores class.

Screenshots

Technical details

Tests

Issues

10 commandments of code reviews

👪 ❤️ https://gitlab.e.foundation/internal/wiki/-/wikis/mobile-team/guidelines/Code-review

Summary by CodeRabbit

  • New Features

    • Introduced a new Stores class for managing home data builders.
    • Added new builder classes for different sources of home screen data.
  • Bug Fixes

    • Simplified method signatures across various classes to remove unnecessary authentication parameters, streamlining data retrieval processes.
  • Refactor

    • Restructured HomeApiImpl to improve modularity and clarity in data handling.
    • Updated method signatures in ApplicationRepository, AppsApi, and HomeApi to enhance simplicity and reduce complexity.
  • Tests

    • Updated test methods to reflect changes in method signatures and removed reliance on authentication data.
Edited by CodeRabbitAI

Merge request reports

Loading