Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[FEATURE] ui show exact time, not only "xx days ago" #2808

Closed
fanlix opened this issue Jul 19, 2021 · 7 comments
Closed

[FEATURE] ui show exact time, not only "xx days ago" #2808

fanlix opened this issue Jul 19, 2021 · 7 comments
Assignees
Labels
area/ui UI related like UI or CLI kind/feature Feature request, new feature
Milestone

Comments

@fanlix
Copy link

fanlix commented Jul 19, 2021

Is your feature request related to a problem? Please describe.
From-now relative time is not enough when multi snapshot/backups need a match.
For example some app need 3 backup volumes at same time: db-disk, cache-disk, config-disk

Describe the solution you'd like
show time in exact format, "xxxx-xx-xx hh:mm:ss"

  • show it when mouse hover "xx days ago" text
  • offer an option to disable from-now time, or another custom column
  • show in Volume/backup detail page

Describe alternatives you've considered

Additional context
for current version, the exact time can only be seen in ui:

  • Volume - Snapshots and Backups, when mouse hover icons
@fanlix fanlix added the kind/feature Feature request, new feature label Jul 19, 2021
@fanlix fanlix changed the title [FEATURE] show exact time, not only "xx days ago" [FEATURE] ui show exact time, not only "xx days ago" Jul 19, 2021
@PhanLe1010
Copy link
Contributor

Just to confirm. You are referring to the time in this UI page, right?
Screen Shot 2021-07-19 at 4 19 14 PM

@yasker
Copy link
Member

yasker commented Jul 20, 2021

We can show the exact date/time as a tooltip.

@yasker yasker added this to the v1.2.0 milestone Jul 20, 2021
@yasker yasker added the area/ui UI related like UI or CLI label Jul 20, 2021
@smallteeths
Copy link
Contributor

Do we want to support a setting item to allow the user to choose the format of the time display. For example type 1 xx ago type 2 xxxx.xxx.xxx. @yasker

@yasker
Copy link
Member

yasker commented Jul 20, 2021

@smallteeths Don't need to. I think a tooltip would be enough.

@fanlix
Copy link
Author

fanlix commented Jul 20, 2021

Just to confirm. You are referring to the time in this UI page, right?
Screen Shot 2021-07-19 at 4 19 14 PM

yes, column "Last Backup At" and "Created" of ui page

  • Volume
  • Backup
  • Backup of one volume.

@kaxing
Copy link

kaxing commented Aug 4, 2021

Validating with latest longhorn mater-head images(longhorn-ui: 6cbf796)

With the new design, now moving mouse cursor over the human-readable time it will show full datetime as tooltips:
datetime-tooltips

@kaxing
Copy link

kaxing commented Aug 6, 2021

Validation - Passed (master images 2021-08-06)

Any columns with the X time ago will had the datetime tooltips:
image

@kaxing kaxing closed this as completed Aug 6, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/ui UI related like UI or CLI kind/feature Feature request, new feature
Projects
Archived in project
Status: Closed
Development

No branches or pull requests

5 participants