When closing a todo with over a 1000 todos, the UI shows 1 todo

Repro:

  • have 1000 todos (cry)
  • go to an issue, mark todo as done

UI will show (1) todo.

Paul thinks it's related to code for 1000+ Todos

pslaughter  This line doesn't work when the count has a thousands separator (which the BE graciously adds) :point_right: https://gitlab.com/gitlab-org/gitlab-ce/blob/4511473aee6dcf4fa21ec4f0309fe8b0a5336ea2/app/assets/javascripts/header.js#L18 (edited)
lee  lol, 1002!
pslaughter  Ah... Just close out a few and you'll be ok :wink:
pslaughter  But we really should fix it. If you have an issue I'll post the diagnosis and give it a weight of 1.

cc/ @pslaughter