Skip to content

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 or Cmd + Enter when the focus is on the Summary text area field
  • Simply Enter when focus is on the Time 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

Ipsa_rerum_nostrum_et_neque_eaque_sed_laboriosam_ipsum_omnis_sint.__10____Issues___Flightjs___Flight___GitLab-Personale-_Microsoft__Edge_2022-11-29_09-47-35

How to set up and validate locally

  1. Go to an issuable page, either Issue or Merge Request
  2. Use the + button on the Time 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.

Edited by Marco Zille

Merge request reports

Loading