[
https://issues.apache.org/jira/browse/SAMZA-277?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14058008#comment-14058008
]
David Chen commented on SAMZA-277:
----------------------------------
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).
There are a couple of options we can go with for the behavior of the search box:
1. Filter to display rows whose keys start with the search query.
2. Filter to display rows whose keys or values contain the search query
(basically ctrl-f).
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.
What are your thoughts?
> 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)