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

show correct number in badge #2071

Closed
wants to merge 1 commit into from
Closed

show correct number in badge #2071

wants to merge 1 commit into from

Conversation

C-Otto
Copy link
Contributor

@C-Otto C-Otto commented Mar 18, 2017

fixes #2058

Please advice on how to clean this up, and add proper tests!

The actual badge number (which is shown on page reload) is defined in ProjectsController#show. Similar code (duplicated?) is in ContextController#show.

When toggling an action as stated in #2058 the badge number is determined using TodosController#determine_down_count. Of the 30 lines or so, only a SINGLE result is tested.

@tomato42 tomato42 mentioned this pull request May 12, 2018
@mattr- mattr- closed this Jul 15, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

UI: Badge/Counter (upper left) switches between counting pending tasks
2 participants