Monorepo for Tangled tangled.org

proposal: issues/pulls search: when searching, button group "x open"/"x closed" should show search result count #376

open opened by samanthanguyen.me

The current behavior shows the number of open/closed issues (and open/merged/closed pulls) in the repo in its entirety, even when searching. This behavior is however not consistent with other git forges

Proposed change and why#

This should ideally show the count of relevant search results, since this would help at a glance figuring out whether I need to refine my results, how relevant the query is within the repo, and also understand whether or not there was a "fluke" in the search query (whether the search query worked or there was a bug in rendering). Adding this makes the UX feedback pattern explicit

Proposed implementation#

Update these files to make the counts dependent on the context:

  • appview/pages/templates/repo/issues/issues.html
  • appview/pages/templates/repo/issues/fragments/issueListing.html
  • appview/pages/templates/repo/pulls/pulls.html
sign up or login to add to the discussion
Labels

None yet.

area

None yet.

assignee

None yet.

Participants 1
AT URI
at://did:plc:smd2mvg2dao4rqnnz6qexdov/sh.tangled.repo.issue/3mcobliwnsr22