Skip to content

Improve UX of `Clear status after` field

What does this MR do and why?

Related to #372981 (closed)

Improves the UX of the Clear status after field that is shown when setting your status. Previously after setting this field it changed back to Never and showed the date it would clear below. This was confusing because it can look like it won't expire when it actually will. This MR removes the date below the dropdown and instead displays the date that it will expire as the dropdown button.

Screenshots or screen recordings

Modal

Before After
Untitled__3_ Untitled__5_

Profile

Before After
Untitled__4_ Untitled__6_

How to set up and validate locally

Modal

  1. Click your avatar in the upper right corner
  2. Select Set status

Profile

  1. Navigate to /-/profile

MR acceptance checklist

This checklist encourages us to confirm any changes have been analyzed to reduce risks in quality, performance, reliability, security, and maintainability.

Edited by Peter Hegman

Merge request reports