Rewrite the wiki::search module #217
Labels
state: approved
This issue or pull request was approved and can be worked on
type: refactor
Changes to the style and structure of the codebase or project
Milestone
Linked to #216
This issue describes the changes to the
wiki::search
module that are already outlined in #216. The following things would need to be done:Only use one method for accessing the data within
Search
(make the values public and remove thegetter
methods)Create a separate data struct for continuing the search (
SearchContinue
)Modify the properties of
SearchResult
so that we can open the article without accessing values fromSearch
(on_article_submit
would require aSearchResult
)Document the entire module with comments and links to the mediawiki api documentation
[ ] Move the module into the wiki-tui libraryNot possible, we would have to moveparse_languages
into its own proc_macro crateThe text was updated successfully, but these errors were encountered: