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

Issue count keeps resetting to 0 #11

Open
mikecnr opened this issue May 9, 2021 · 4 comments · May be fixed by #12
Open

Issue count keeps resetting to 0 #11

mikecnr opened this issue May 9, 2021 · 4 comments · May be fixed by #12
Assignees
Labels
bug Something isn't working

Comments

@mikecnr
Copy link

mikecnr commented May 9, 2021

I have set up like so:

image

image

It works fine, but then after a few minutes if it updates itself (either automatically or manually) it resets to 0 and the only way to get it to work again is to change a setting.

I'm not sure exactly what the 'Initial Offset' thing is, but I can only get issues to show up if I put a high number it seems. I don't know why you would only want to show recent issues and not all of them...

If I change the interval (e.g. 9999 to 9998) and refresh the counter it works, but as I mentioned it breaks again if I update it later or it automatically updates itself later.

It also fixes itself if I untick 'Enabled' and re-tick it, and then refresh.

Please let me know if you need any more information

I don't know after how long exactly it breaks. I just left if for 5 minutes and then manually refreshed it and it was fine, it updated. But after a while something breaks and when it next updates it just shows 0...

@mikecnr
Copy link
Author

mikecnr commented May 9, 2021

While it was in this broken state of just showing 0 issues, I added a new issue to the repo and when I then refreshed the repo watcher it showed 1 issue. For some reason it's only showing recent issues. I want to see a total..

@VictorGrycuk
Copy link
Owner

Thanks @mikecnr for opening the issue.
I'll be trying to reproduce this and get back to you as soon as I can!

@mikecnr
Copy link
Author

mikecnr commented May 11, 2021

No problem. If you need me to test a fix let me know.

@VictorGrycuk VictorGrycuk self-assigned this May 20, 2021
@VictorGrycuk VictorGrycuk added the bug Something isn't working label May 20, 2021
@VictorGrycuk VictorGrycuk linked a pull request May 20, 2021 that will close this issue
@VictorGrycuk
Copy link
Owner

Sorry for the delay @mikecnr.
The original reason behind the offset was to show new issues since you last visited the repository/refreshed the counter. I decided to remove it, it was not clear the intended usage, and it was more annoying than useful.

I created the 1.2 pre release, please try it and let me know if it works as you expect!

@VictorGrycuk VictorGrycuk linked a pull request May 21, 2021 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants