#30793 closed defect (fixed)

Date format is not specified on graph arguments

Reported by: irl Owned by: metrics-team
Priority: Medium Milestone:
Component: Metrics/Website Version:
Severity: Normal Keywords:
Cc: Actual Points:
Parent ID: Points:
Reviewer: Sponsor:

Description

While it may be obvious to me because I've been using these graphs for a while, someone who has not seen them before may be confused about the date format for selectors on the graphs.

Maybe we can add a tooltip or similar hint.

Child Tickets

Change History (3)

comment:1 Changed 17 months ago by mrphs

An easy fix would be to use HTML 'placeholder' attribute for the input 'tag'.

comment:2 Changed 17 months ago by karsten

Not sure whether an HTML placeholder would work here. The input field already contains default values that the user can edit. I guess the ask is to explain the date format when people edit the dates.

A tooltip might work. What's the HTML for adding one, again?

Another option could be to write "Start date (YYYY-MM-DD):" as field label.

Yet another option would be use a date selector as on the ExoneraTor page.

Please choose one! :)

comment:3 in reply to:  2 Changed 10 months ago by karsten

Resolution: fixed
Status: newclosed

Replying to karsten:

Not sure whether an HTML placeholder would work here. The input field already contains default values that the user can edit. I guess the ask is to explain the date format when people edit the dates.

We're already using an HTML placeholder here, but that only appears when the user clears the input. So, doesn't solve the issue.

A tooltip might work. What's the HTML for adding one, again?

Looks like we'd have to use JavaScript for this. Not a big issue, because having this tooltip is not essential for using the website. But not the best solution, IMO.

Another option could be to write "Start date (YYYY-MM-DD):" as field label.

I tried that, and it doesn't look as nice with a max width of 100px. And I'd rather abstain from hacking our CSS.

Yet another option would be use a date selector as on the ExoneraTor page.

Okay, I put this in. It solves the issue. Let's try it out. And if it has any downsides, we'll probably hear about them from our users.

Please choose one! :)

Done. Please let me know if this was the wrong choice. Closing.

Note: See TracTickets for help on using tickets.