Skip to content

Add To-Do toggle button to Design view

Tom Quirk requested to merge todo-button-design-management into master

What does this MR do?

Adds the new To-Do section (with todo toggle button), behind feature flag design_management_todo_button, to the design view in Design Management.

The button currently does nothing; the next MR of this issue will add the necessary GraphQL/Apollo code to toggle todos and make the button do what it's supposed to !3993 (merged).

Because this is currently behind a feature flag, changelog is omitted.

Related to #198439 (closed)

Part MR
1. Create shared todo button !39931 (merged)
2. Add vue_shared/todo_button.vue to Design Management (behind feature flag) 👉 !40222 (merged) (you are here)
3. Add necessary queries and resolvers to Design Management's Apollo client !39935 (merged)
4. Remove feature flag TBC

Screenshots

feature flag disabled (default) feature flag enabled
Screen_Shot_2020-09-03_at_10.16.24_am Screen_Shot_2020-09-03_at_10.14.57_am

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 David O'Regan

Merge request reports