[
https://issues.apache.org/jira/browse/NIFI-2094?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Koji Kawamura updated NIFI-2094:
--------------------------------
Attachment: ComponentState-GetHTTP.png
ComponentState-ConsumeKafka.png
ConsumeKafka has a long description, but using ellipsis limits the amount of
information can be displayed. There should be "show more" link or simply
display the description as it is without using ellipsis.
When a description is short like GetHTTP, the whole sentence is replaced by
"...".
> Component State Description is not displayed correctly
> ------------------------------------------------------
>
> Key: NIFI-2094
> URL: https://issues.apache.org/jira/browse/NIFI-2094
> Project: Apache NiFi
> Issue Type: Bug
> Components: Core UI
> Affects Versions: 1.0.0
> Reporter: Koji Kawamura
> Fix For: 1.0.0
>
> Attachments: ComponentState-ConsumeKafka.png,
> ComponentState-GetHTTP.png
>
>
> nf-component-state.js uses ellipsis() function to trim long sentence with
> "...". But it replaces whole sentence if the description is not long enough.
> {code}
> $('#component-state-description').text(componentState.stateDescription).ellipsis();
> {code}
> GetHTTP's description is only displayed as "..." as attached screenshot.
> I think the use of ellipsis() can be removed so that the original description
> is shown as it is.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)