Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add category "Opened and Closed Issues" to activity overview #13309

Closed
MGChecker opened this issue Oct 25, 2020 · 5 comments
Closed

Add category "Opened and Closed Issues" to activity overview #13309

MGChecker opened this issue Oct 25, 2020 · 5 comments
Labels
issue/confirmed Issue has been reviewed and confirmed to be present or accepted to be implemented type/enhancement An improvement of existing functionality
Milestone

Comments

@MGChecker
Copy link

Currently, the gitea activity overview does not allow to calculate how the amount of open issues has changed over a certain timeframe, since issues that have been opened and closed in this time are only counted as closed issues.

This could be fixed by either listing these issues as new and as closed, or by introducing a third category for those. For PRs, it is basically the same issue.

@MGChecker MGChecker changed the title Add category "Opened and Closed Issues" to activity tag Add category "Opened and Closed Issues" to activity overview Oct 25, 2020
@lafriks lafriks added the type/enhancement An improvement of existing functionality label Oct 26, 2020
@lafriks
Copy link
Member

lafriks commented Oct 26, 2020

Yeah, probably new category would be most useful

@stale
Copy link

stale bot commented Dec 25, 2020

This issue has been automatically marked as stale because it has not had recent activity. I am here to help clear issues left open even if solved or waiting for more insight. This issue will be closed if no further activity occurs during the next 2 weeks. If the issue is still valid just add a comment to keep it alive. Thank you for your contributions.

@stale stale bot added the issue/stale label Dec 25, 2020
@MGChecker
Copy link
Author

I would still really appreciate for this to be done.

@stale stale bot removed the issue/stale label Dec 25, 2020
@lunny lunny added the issue/confirmed Issue has been reviewed and confirmed to be present or accepted to be implemented label Dec 26, 2020
@tmnvanderberg
Copy link
Contributor

I nobody objects, I'll see how easy it is to add a third category

@lunny lunny added this to the 1.23.0 milestone Aug 5, 2024
lunny pushed a commit that referenced this issue Sep 21, 2024
I'm new to go and contributing to gitea, your guidance is much
appreciated.

This is meant to solve #13309

Previously, closed issues would not be shown under new issues in the
activity tab, even if they were newly created.

changes:
* Split out newlyCreatedIssues from issuesForActivityStatement to count
  both currently open and closed issues.
* Use a seperate function to count active issues to prevent
double-counting issues after the above change.

Result is that new issues that have been closed are shown both under
"new" and "closed".

Signed-off-by: Timon van der Berg <tmnvanderberg@gmail.com>
@lunny
Copy link
Member

lunny commented Sep 24, 2024

Closed by #31776

@lunny lunny closed this as completed Sep 24, 2024
DennisRasey pushed a commit to DennisRasey/forgejo that referenced this issue Oct 3, 2024
I'm new to go and contributing to gitea, your guidance is much
appreciated.

This is meant to solve go-gitea/gitea#13309

Previously, closed issues would not be shown under new issues in the
activity tab, even if they were newly created.

changes:
* Split out newlyCreatedIssues from issuesForActivityStatement to count
  both currently open and closed issues.
* Use a seperate function to count active issues to prevent
double-counting issues after the above change.

Result is that new issues that have been closed are shown both under
"new" and "closed".

Signed-off-by: Timon van der Berg <tmnvanderberg@gmail.com>
(cherry picked from commit ebfde845294cc681de6b1fe1adcf27e35f61b89b)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
issue/confirmed Issue has been reviewed and confirmed to be present or accepted to be implemented type/enhancement An improvement of existing functionality
Projects
None yet
Development

No branches or pull requests

4 participants