Skip to content

Update global To-Do counter when Design Management To-Do toggled

Tom Quirk requested to merge design-management-update-todo-counter into master

What does this MR do?

Follow-up to #198439 (closed).

Ensures the global To-Do counter (the blue one, in the main GitLab header) is updated whenever the To-Do button updates

Why isn't this a shared util?

Great question! Follow-up issue has been created: #247456


Original issue: #198439 (closed)

Feature flag rollout issue: #245074 (closed)

Part MR
1. Create shared todo button !39931 (merged)
2. Add vue_shared/todo_button.vue to Design Management (behind feature flag) !39935 (merged)
3. Part 1: Add necessary queries and resolvers to Design Management's Apollo client !40222 (merged)
4. Part 2: Add necessary queries and resolvers to Design Management's Apollo client !41647 (merged)
5. Update global To-Do counter when Design Management To-Do toggled 👉 This MR!

Screenshots

Does this MR meet the acceptance criteria?

Conformity

Availability and Testing

Security

If this MR contains changes to processing or storing of credentials or tokens, authorization and authentication methods and other items described in the security review guidelines:

  • Label as security and @ mention @gitlab-com/gl-security/appsec
  • The MR includes necessary changes to maintain consistency between UI, API, email, or other methods
  • Security reports checked/validated by a reviewer from the AppSec team
Edited by Tom Quirk

Merge request reports