Reduce repetitive Z on job log timestamps
Release notes
Added informational text that job log timestamps are shown in UTC.
Problem to solve
The Z is repetitive on each line in the job log and can be consolidated elsewhere in the log view.
Proposal
- Add the following text to the job log header -
Timestamps in UTC. - See designs in design management
- Figma file
Implementation guide
- In
ci/job_details/components/job_log_top_bar.vue:- add the message to the top bar:
- split the
<div class="gl-hidden sm:gl-block gl-text-truncate" data-testid="showing-last">into a<div class="gl-hidden sm:gl-block gl-text-truncate">and a<span data-testid="showing-last">inside of it - move the
<!-- truncated log information -->comments so that they wrap the<span> - add
{{ s__('Job|Timestamps in UTC.') }}inside the<div>after the<span>
- split the
- remove the Z from the string in the
extractTimeutil and any Zs in the explanatory comment above it
- add the message to the top bar:
- Run
tooling/bin/gettext_extractor locale/gitlab.potto update PO files
Intended users
Software developers
Feature Usage Metrics
Does this feature require an audit event?
Edited by Miranda Fluharty