Switched the Header component to use global GET_MODIFIER_KEY
What does this MR do and why?
Refactors the Header component used for the toolbar buttons for the markdown fields (comments, descriptions, etc.) to use the global getModifierKey()
instead of the local computations.
Screenshots or screen recordings
Before | After |
---|---|
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
How to set up and validate locally
- Edit any Markdown file in a repo
- On the Web Editor's toolbar, hover over the buttons to makes sure the keystrokes in the tooltips are correct when it comes to the modifier key
MR acceptance checklist
This checklist encourages us to confirm any changes have been analyzed to reduce risks in quality, performance, reliability, security, and maintainability.
-
I have evaluated the MR acceptance checklist for this MR.
Related to #385852 (closed)
Edited by Denys Mishunov