Open dhornbein opened 7 years ago
It should be easy for me to wrap in a DIV...will you then add the button? or at least the design?
Wrapper done...was indeed super-easy: https://github.com/sahana/eden/commit/75be9789635a6834363abb5691778589f7b9d47a
Should I add the button to modules/s3/s3filter.py
or via jQuery? What's the best practice?
This widget is doing it all in s3.filter.js currently
I completed it via jQuery. It's a bit hacky, if you have a better way to trigger this please do.
There seems to be some issues with drawing the timeline, do you have a solution for redrawing the timeline on toggle?
I appears to draw the timeline while it's shrinking...
@flavour should I make a PR with this working but buggy implementation? I think we just need to redraw the timeline after revealing the timeline.
Sure, make a PR, then it can be reviewed there...perhaps I'll take elements from it & place it into a full solution
@flavour How can we show/hide the timeline filter elements?
The ideal outcome would be a button that would show/hide the
date-filter-chart
,range-picker
, and the start/end time fields.Can we wrap these in a block with a class name? Otherwise I think we could target them with jQuery and put them into a block. What are your thoughts?