[ 
https://issues.apache.org/jira/browse/AMBARI-8494?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14229888#comment-14229888
 ] 

Hudson commented on AMBARI-8494:
--------------------------------

SUCCESS: Integrated in Ambari-trunk-Commit #1061 (See 
[https://builds.apache.org/job/Ambari-trunk-Commit/1061/])
AMBARI-8494. Alerts UI: Time showed for alerts should be relative to now 
(onechiporenko) (onechiporenko: 
http://git-wip-us.apache.org/repos/asf?p=ambari.git&a=commit&h=4f1039457b91bc2e2a941d689feb59d938baf0a7)
* ambari-web/test/models/alert_definition_test.js
* ambari-web/app/views/main/alerts/definition_details_view.js
* ambari-web/app/templates/main/alerts.hbs
* ambari-web/app/models/alert_instance.js
* ambari-web/app/models/alert_definition.js
* ambari-web/app/templates/main/alerts/definition_details.hbs
* ambari-web/app/templates/main/host/host_alerts.hbs
* ambari-web/app/views/main/alert_definitions_view.js


> Alerts UI: Time showed for alerts should be relative to now
> -----------------------------------------------------------
>
>                 Key: AMBARI-8494
>                 URL: https://issues.apache.org/jira/browse/AMBARI-8494
>             Project: Ambari
>          Issue Type: Bug
>          Components: ambari-web
>    Affects Versions: 2.0.0
>            Reporter: Oleg Nechiporenko
>            Assignee: Oleg Nechiporenko
>             Fix For: 2.0.0
>
>         Attachments: AMBARI-8494.patch
>
>
> Currently all last-triggered times are shown as absolute times. We should 
> change that to show time relative to now, like {{30 seconds ago}}. 
> The resolution of the relative time depends on how large the gap is. If less 
> than minute, we show seconds. If less than 1 hour, we show minutes+seconds. 
> If less than a day, we show hours+minutes. If less than 1 week, we show days 
> + hours. If less than 1 month, we show weeks + days. etc...
> Hovering on this text however, should show the absolute time.
> This should be used wherever we show last-triggered times (cluster 
> alert-definitions table, definition-detail instances table, 
> definition-details page, host alerts table).



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to