Bug 1917241
Summary: | [en_US] The tooltips of Created date time is not easy to read in all most of UIs. | ||||||
---|---|---|---|---|---|---|---|
Product: | OpenShift Container Platform | Reporter: | Lijun Li <lijli> | ||||
Component: | Management Console | Assignee: | ralpert | ||||
Status: | CLOSED ERRATA | QA Contact: | Yadan Pei <yapei> | ||||
Severity: | low | Docs Contact: | |||||
Priority: | low | ||||||
Version: | 4.7 | CC: | abraren, aos-bugs, jokerman, qe-i18n-bugs, spadgett, yanpzhan | ||||
Target Milestone: | --- | ||||||
Target Release: | 4.8.0 | ||||||
Hardware: | x86_64 | ||||||
OS: | Linux | ||||||
Whiteboard: | |||||||
Fixed In Version: | Doc Type: | Bug Fix | |||||
Doc Text: |
Cause: UTC times were not in a human-readable format.
Consequence: Poor user experience.
Fix: Formatted UTC timestamps to be human-readable.
Result: Bug is fixed.
|
Story Points: | --- | ||||
Clone Of: | Environment: | ||||||
Last Closed: | 2021-07-27 22:36:14 UTC | Type: | Bug | ||||
Regression: | --- | Mount Type: | --- | ||||
Documentation: | --- | CRM: | |||||
Verified Versions: | Category: | --- | |||||
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |||||
Cloudforms Team: | --- | Target Upstream Version: | |||||
Embargoed: | |||||||
Attachments: |
|
Description
Lijun Li
2021-01-18 07:37:47 UTC
Created attachment 1748362 [details]
[en_US] The tooltips of Created date time is not easy to read in column of table list
Based on the current this doesnt seems as a i18n BZ. Although there was a pretty big commit addressed thats also changing `timestamp.tsx` https://github.com/openshift/console/commit/5464e1058c275f95a29688fbe2f5c192de0f78b7 The issue I see it, is in: https://github.com/openshift/console/blob/master/frontend/public/components/utils/timestamp.tsx#L57 where we are converting the given date object’s contents into a string in ISO format aka. "easy to read format". Rebecca could you please take a look, if this really is an i18n issue. Thanks Just a quick note that this isn't related to any i18n changes. The tooltip shows the raw UTC date by design. We can look at it as a usability bug. We have had requests to have the date available as UTC: https://github.com/openshift/console/issues/1436 Removing i18n and Translation keywords since this predates both. Hi @lijli - I brought this up with the UX team since we're now looking at this as a usability bug. Was your concern about readability related to the font, color, etc.? Or was it based on the unexpected UTC content? Thanks! I notice that the Console's tooltip font size is only 13px compared to PatternFly's 14px. If the legibility of the white text itself on its black background is the problem, increasing the font size couldn't hurt! I see we're overriding PatternFly's default `14px` of `--pf-global--FontSize--sm` to be `13px` at the root level in our _vars.scss file. I'm sure there's a reason for that, but maybe we should reevaluate and see what happens if we switch to `14px` Console-wide. I believe the issue is that we're showing a raw UTC date instead of a formatted date. Lijun, let me know if I'm wrong. Hey @lijli - Would you be able to give us more info on what you're expecting? Thanks. (In reply to ralpert from comment #9) > Hey @lijli - Would you be able to give us more info on what > you're expecting? Thanks. Hi Rebecca, sorry reply late, I'm not concern about the font/color for the tooltips of date, and as Samuel said, please use the formatted date/time but not the raw UTC date in the tooltips. Thanks, Robert Tested on ocp 4.8 cluster with payload 4.8.0-0.nightly-2021-02-24-063313. On console, check tooltips of created time on pods page, the UTC time is formatted now. The bug is fixed. Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory (Moderate: OpenShift Container Platform 4.8.2 bug fix and security update), and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. https://access.redhat.com/errata/RHSA-2021:2438 |