Skip to content

Use of SearchedIssue and SearchedPullRequest is no longer neccesary #4098

@d13

Description

@d13

Previously, we need to wrap Issues and Pull Requests (SearchedIssue and SearchedPullRequest respectively) to additionally provide a reason to group and filter by in the former Focus view.

Currently, Launchpad uses the shared provider library to do this categorization, which doesn't make use of the reason property at all.

As a result, we can now remove the use of SearchedIssue and SearchedPullRequest and access Issues and Pull Requests directly, reducing unneeded indirection and complexity.

Testing notes

  • PRs in Launchpad work: open in browser, switch to the branch
    • General view
    • Text and URL search in Launchpad work
  • Issues in StartWork work: open in browser, create a branch
  • Home View displays the current issue, user can open it in the browser:
    image

Metadata

Metadata

Assignees

Labels

Type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions