Skip to content

Questions about the repository search filter #117

@gadfly3173

Description

@gadfly3173

Welcome._searchFilter saves value on each welcome page, however, the Welcome.SetVisibilityBySearch method is used to assign a value to RepositoryNode.IsVisible to control whether to display it. RepositoryNode is loaded through Preference.Instance.RepositoryNodes in Welcome, so RepositoryNode and its display status are in all Shared on the Welcome page. This results in SearchFilter possibly having different values but the same search results in different Welcome pages.
For example, after searching in a Welcome page and then opening a Welcome page, there is input in the search box of the first one but not in the second one, but the second Welcome page still displays the previous search results.

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions