[xwiki-devs] [Proposal] Hightlight applied filters in livetable

Denis Gervalle dgl at softec.lu
Wed Apr 21 10:11:27 UTC 2010


Hi devs,

We have a customer request for highlighting the filters that are currently
applied on a livetable. The rationale of this, is that sometimes the
filtered table is empty or unexpected by the user, but he does not notice
that a filter is currently applied. We have written a proposed
implementation as well and you may also see what it looks like in the
attached screenshot, for both text field and select box (for webkit).

Currently, I choose yto use the "background highlight color" of the active
color theme, but my feeling is that adding another highlight color would be
better.

I have also hook to events separately from the "main" refresh handler,
because I do not understand the implementation of this handler. Why using an
intermediate makeRefreshHandler, and why it does not properly provide the
currently changed filter to the handler ? Could or should I change that ?

WDYT ?

Denis

-- 
Denis Gervalle
SOFTEC sa - CEO
eGuilde sarl - CTO
-------------- next part --------------
A non-text attachment was scrubbed...
Name: hlfilter.png
Type: image/png
Size: 21651 bytes
Desc: not available
URL: <http://lists.xwiki.org/pipermail/devs/attachments/20100421/e3915335/attachment-0002.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: hlfilter.patch
Type: application/octet-stream
Size: 3680 bytes
Desc: not available
URL: <http://lists.xwiki.org/pipermail/devs/attachments/20100421/e3915335/attachment-0002.obj>


More information about the devs mailing list