Skip to content

Work Items - Close dates (with inheritance) widget on Escape key press

Jack Chapman requested to merge 442819-work-items-close-dates-widget-on-esc into master

What does this MR do and why?

Adds handling to close date inputs when Escape key is pressed. This change affects the work items 'rolledup' dates widget only (where dates can be inherited).

The implementation of this change is very similar to !146138 (merged)

MR acceptance checklist

Please evaluate this MR against the MR acceptance checklist. It helps you analyze changes to reduce risks in quality, performance, reliability, security, and maintainability.

Screenshots or screen recordings

Screenshots are required for UI changes, and strongly recommended for all other merge requests.

Screenshot_2024-04-08_at_14.47.31

How to set up and validate locally

Numbered steps to set up and validate the change are strongly suggested.

  1. In rails console enable the required feature flags
    Feature.enable(:work_items_rolledup_dates)
    Feature.enable(:namespace_level_work_items)
  2. Create an epic, and edit the start/due dates
  3. Check you can hit 'Escape' on the keyboard and the widget closes and applies the change

Related to #442819 (closed)

Edited by Jack Chapman

Merge request reports