You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@samza.apache.org by "David Chen (JIRA)" <ji...@apache.org> on 2014/07/07 04:23:34 UTC

[jira] [Commented] (SAMZA-277) Config table on ApplicationMaster web interface should collapse and expand

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

David Chen commented on SAMZA-277:
----------------------------------

I am using the jQuery TreeGrid plugin for this: http://maxazan.github.io/jquery-treegrid/examples/example-bootstrap-3.html

Currently, the AM is printing the config table directly. TreeGrid determines which rows to collapse based on the CSS classes, which specify the parent relationships between nodes/rows. As a result, I am having the webapp print the contents of the config as JSON and then construct the table itself using JavaScript.

> Config table on ApplicationMaster web interface should collapse and expand
> --------------------------------------------------------------------------
>
>                 Key: SAMZA-277
>                 URL: https://issues.apache.org/jira/browse/SAMZA-277
>             Project: Samza
>          Issue Type: Wish
>    Affects Versions: 0.6.0
>            Reporter: Jakob Homan
>            Assignee: David Chen
>             Fix For: 0.8.0
>
>
> Our configs are hierarchical (x.y.z) and can be quite numerous.  We can now sort the table, but it would be great to be able to collapse and expand bits of the table based on the hierarchy.
> * A complete collapse table would show just the {{x}} sections.
> * Expanding one level down would show {{x.y}} values, both those to be further expanded and those that are fully expanded.  
> * etc. for each level.
> This would make it easy to quickly jump from one bit of config to another.  I poked around, looking for a jquery library, but didn't immediately see a good match.  Most of the hierarchical tree libraries are for file systems, which doesn't really fit here.



--
This message was sent by Atlassian JIRA
(v6.2#6252)