Skip to content

[User Availability] Schedule unsetting status from the user profile page

This is a follow-up issue to #262086 (closed)

Problem to solve

Related to #262086 (closed), user's can set their status and availability from either the set status modal, or from the user profile page. With #262086 (closed) users can set a time in the future for their status to be unset, this only applies to the set status modal.

We should provide the same functionality from the the user profile page.

image

Related links

Implementation plan

  1. Refactor https://gitlab.com/gitlab-org/gitlab/-/blob/master/app/assets/javascripts/set_status_modal/set_status_modal_wrapper.vue#L225 into it's own component
  2. Mount that shared component in app/views/profiles/show.html.haml

Availability and Testing

  1. Adding new unit and integration tests should suffice. No E2E test or updates needed at this time.
  2. Feel free to reach out to @vburton if help is needed for reviewing QA failures from any review-qa-* jobs on MR.

This page may contain information related to upcoming products, features and functionality. It is important to note that the information presented is for informational purposes only, so please do not rely on the information for purchasing or planning purposes. Just like with all projects, the items mentioned on the page are subject to change or delay, and the development, release, and timing of any products, features, or functionality remain at the sole discretion of GitLab Inc.

Edited by Valerie Burton