Added a UI to create timelogs
What does this MR do and why?
Related to &8429.
This MR adds the UI to allow users to create a time entry without using the quick action
The button to open the form is only visible for Reporter+ users since guests cannot create time entries.
The form also supports quick submit to quickly create a time entry with:
-
Ctrl + Enter
orCmd + Enter
when the focus is on theSummary
text area field - Simply
Enter
when focus is on theTime spent
field.
Screenshots or screen recordings
Create a time entry
Registrazione_schermo_2022-11-25_alle_22.25.38
Create a time entry for a specific date
Registrazione_schermo_2022-11-25_alle_22.27.55
Display of error
How to set up and validate locally
- Go to an issuable page, either Issue or Merge Request
- Use the
+
button on theTime tracking
section of the sidebar to create a time entry
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.
Edited by Marco Zille