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

Chris Riccomini commented on SAMZA-277:
---------------------------------------

bq. I am thinking rather than making this table collapsable, it might be better 
to just add a search box that will filter the table as you type, similar to the 
GitHub file search (https://github.com/apache/incubator-samza/find/master). 
This is not difficult to do: http://jsfiddle.net/giorgitbs/52aK9/1/

I agree. Not sure if this will satisfy [~jghoman], but I would prefer it.

bq. I am leaning more towards (1) because I am more in specific properties, but 
I can see how many people would fine (2) helpful as well since doing ctrl-f on 
the page might be more cumbersome if the table is very large.

I am leaning toward (2), mostly because we have very long prefix names for some 
configs, and it's impossible to remember them. For example, if I want to look 
up the broker list for a Kafka system, I'd have to type systems.kafka.producer 
before I would get close to what I want, vs. just typing "broker".

I'm not strongly opposed to (1), though, since I actually see value in it as 
well. This approach will shrink the result set, and is much more specific, 
which is useful with large configs. It might be a bit confusing, though, since 
typing "broker" (for example) won't return anything.

Also, +1 for using '/' as a shortcut for searching like GitHub.

> 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.8.0
>            Reporter: Jakob Homan
>            Assignee: David Chen
>             Fix For: 0.8.0
>
>         Attachments: SAMZA-277.1.patch, Screen Shot 2014-07-07 at 1.10.24 
> AM.png
>
>
> 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)

Reply via email to