mirror of
https://codeberg.org/forgejo/forgejo.git
synced 2025-05-11 04:05:10 +02:00
[Feat]Add link to show all Issues/PullRequests (#4125)
The Issue and PullRequest list has 3 states: - open: This lists all open Issues/PullRequests - closed: This lists all closed Issues/PullRequests - all: This lists all open and closed Issues/PullRequests If you want to get to the all state, you need to click Open while in open state or Closed while in closed state, which is very unintuitive. This PR adss a third button to get to this state.  I'm not sure if the eye icon fits well, but I couldn't find a better one. Tests will be added once #4124 is merged. Reviewed-on: https://codeberg.org/forgejo/forgejo/pulls/4125 Reviewed-by: Earl Warren <earl-warren@noreply.codeberg.org> Co-authored-by: JakobDev <jakobdev@gmx.de> Co-committed-by: JakobDev <jakobdev@gmx.de>
This commit is contained in:
parent
80d41ee2e1
commit
1fc5e41592
7 changed files with 43 additions and 10 deletions
|
@ -25,6 +25,7 @@ func TestGetIssueStats(t *testing.T) {
|
|||
|
||||
assert.Equal(t, int64(4), stats.OpenCount)
|
||||
assert.Equal(t, int64(1), stats.ClosedCount)
|
||||
assert.Equal(t, int64(5), stats.AllCount)
|
||||
assert.Equal(t, int64(0), stats.YourRepositoriesCount)
|
||||
assert.Equal(t, int64(0), stats.AssignCount)
|
||||
assert.Equal(t, int64(0), stats.CreateCount)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue