Skip to content

[FE] Set user availability - Add busy indicator to username

Ezekiel Kigbo requested to merge 263452-add-busy-status-next-to-name into master

What does this MR do?

Adds "Busy" text next to a user's user name in various locations, if they have set their availability to "busy"

  • Adds some additional specs to reflect the new changes
  • Requires !46844 (merged) to set user availability

Feature flag

Requires the :set_user_availability_status feature flag

Screenshots (strongly suggested)

Tooltip Navbar Profile page Inline comment Comment
Screen_Shot_2020-11-16_at_5.34.41_pm Screen_Shot_2020-11-16_at_5.34.53_pm Screen_Shot_2020-11-16_at_6.03.41_pm Screen_Shot_2020-11-16_at_9.52.15_pm Screen_Shot_2020-11-16_at_9.52.07_pm

Testing instructions

Ensure the feature flag is enabled

From the set status modal

  1. Set your availability status !46844 (merged)
  2. The text "Busy" should appear next to your name in various locations

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

Related to #263452 (closed)

Edited by Ezekiel Kigbo

Merge request reports