You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ambari.apache.org by "Yusaku Sako (JIRA)" <ji...@apache.org> on 2013/12/10 22:24:09 UTC

[jira] [Commented] (AMBARI-3999) Long host names are inconvenient for viewing in background operations popup

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

Yusaku Sako commented on AMBARI-3999:
-------------------------------------

[~xiwang0309], "hosts" computed property depending on "hosts" is self referential.  I suppose Ember is OK with it but this seems a bit odd.
Also, a computed property should not have side effects (as opposed to observers).
A cleaner fix might be to define the displayName computed property for the host object itself, or make an observer to set the displayName.


> Long host names are inconvenient for viewing in background operations popup
> ---------------------------------------------------------------------------
>
>                 Key: AMBARI-3999
>                 URL: https://issues.apache.org/jira/browse/AMBARI-3999
>             Project: Ambari
>          Issue Type: Bug
>          Components: client
>    Affects Versions: 1.4.2
>            Reporter: Xi Wang
>            Assignee: Xi Wang
>             Fix For: 1.4.3
>
>         Attachments: AMBARI-3999.patch
>
>
> Steps:
> # Open background operations window and select any operation.
> Result: 
> If the host name is too long, they are not placed on designated place.
> Solution:
> If the host name is too long, we show part of the string with "..." at the end.
> Also the string should keep in a single line all the time



--
This message was sent by Atlassian JIRA
(v6.1.4#6159)