Refactor search result components
Created by: limitedmage
Our search result components have some technical debt that needs to be fixed.
-
Split SearchResult
intoRepoSearchResult
andCommitSearchResult
components - #34804 -
Rename FileMatch
toFileSearchResult
- #34805 -
Refactor CommitSearchResultMatch
to a function component - #34935 -
Refactor CodeExcerpt
to a function component - #35881 -
Rename RepoIcon
toCodeHostIcon
- #35891 -
Move FileSearchResult
and all the components only it depends on fromshared
tosearch-ui
package - #35903 -
Factor out any common UI between RepoSearchResult
,CommitSearchResult
, andFileSearchResult
into a newSearchResult
component. Or put more stuff into the existingResultContainer
. - #35982