Skip to content

Updating personal counters upper right corner in real-time

Issue idea came from: https://gitlab.slack.com/archives/C3NDMK52A/p1491317421299631

Problem

image

With the addition of showing your personal assigned issues and merge requests next to your personal todos count, we are in increasing need of making this reliable across views. People should be able to trust that these numbers accurately resemble their current situation without having to resort to refreshing the page.

Also @sarahod has noted that todos are currently underused as they are seen upon as outdated because of o.a. this.

Proposal

Make these timers real time.

  • refresh every x seconds
  • refresh when hitting the top of the page when scrolling up
  • refresh when user switches to current tab
  • refresh when user performs an action on the current page that solves the current todo.
  • refresh when user marks a todo as done or creates a todo in sidebar of issue and merge request view

Value

  • These counters become a single source of truth
  • No confusion
  • No feeling todo's are out of date
  • See count go down, when marking a todo as done.

Related issues

https://gitlab.com/gitlab-org/gitlab-ce/issues/24160

CC/Call to actions

@victorwu @smcgivern @jschatz1 (to discuss feasibility as noted here https://gitlab.slack.com/archives/C3NDMK52A/p1491324572716905)

@tauriedavis