Update CreateIssueForm to support Japanese IME
What does this MR do and why?
Updates the implementation of the form/inputs to add a new issue within an epic (legacy, not work item framework) so that it supports Japanese IME better.
Before this change, while composing input via IME, it was very easy to accidentally submit the input and create a new issue with the wrong title. This is because selecting a suggested completion from the IME is normally done by pressing the 'Enter' key. The 'Enter' key also triggered the form/input submission to create a new issue.
This change refactors the inputs into a more standard and semantically accurate <form>
, which does not have the issue described above.
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.
Before | After |
---|---|
Screen_Recording_2024-03-25_at_15.56.53 | Screen_Recording_2024-03-25_at_15.57.53 |
How to set up and validate locally
Numbered steps to set up and validate the change are strongly suggested.
- Visit a legacy epic and click to create a new issue in the epic
- Use Japanese IME and give the new issue a title
- You should be able to accept IME suggestions using the 'Enter' key.
On the master branch this will also create the new issue. On this MR's branch, this will accept the IME suggestion and allow you to continue editing the title.
Related to #434300 (closed)