Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Extensions need to be reworked to avoid import loops #118

Open
3 of 12 tasks
ThePromidius opened this issue Jan 23, 2023 · 0 comments
Open
3 of 12 tasks

Extensions need to be reworked to avoid import loops #118

ThePromidius opened this issue Jan 23, 2023 · 0 comments
Assignees
Milestone

Comments

@ThePromidius
Copy link
Member

ThePromidius commented Jan 23, 2023

Details provided by Joe:

In order to allow for extensions to be completely external to the application, yet behave as if MangaManager coded them ourselves, we need to refactor the dynamic loading interface, the extension interfaces, the category or multiple inheritance and hooks throughout the codebase.

Once done, the next step would to be able to output information about loaded extensions accessible via About or another button on menu row to display appropriate metadata.

This story depends on #135 as I have coded changes in there to fuel this story.

TODO:

  • Implement an extensions folder
  • Implement custom metadata for extensions
  • Implement dynamic registration/loading for extensions
  • Build internal representation of categories of extensions
  • Implement dynamic resource loading for extensions
  • Refactor CoverScrapers interface
  • Build new UI to show loaded extensions
  • Unit Test for dynamic loading
  • Unit Test for Settings reworked code (from previous PRs)
  • Unit Test for Setting Widget code
  • Unit Test for Setting Format/Validate
  • Unit Test for New Extensions Screen
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Status: In Progress
Development

No branches or pull requests

2 participants