modx-ccc-2015 / whishlist

The overall repository with MODX issues to tackle together at the MODX CCC 2015. This place is ment to be as a big pond of possibilies.
0 stars 0 forks source link

New "clear-button" for Image-TV-Type #13

Open JensWolff opened 9 years ago

JensWolff commented 9 years ago

At the moment you can just clear the already filled image-tv by manually selecting and deleting the image-path from the tv. But this is something the most clients won't think about, because its not intuitive at this point. So it would be nice, if the default image-tv gets extended with a "clearme"-button right after the "select image"-button.

inreti-sb commented 9 years ago

Yes, very useful! Also useful at other positions in the manager (e.g. reset only „filter area“, „search key“ in System Settings filter), Lexicon Management,.. The default „Clear filter“ button resets all filters. And that's sometimes not the desired functionality and the first time a little bit confusing. We should rename the button to „Clear filter“.

rtripault commented 9 years ago

Somehow related to https://github.com/modxcms/revolution/issues/8169

pepebe commented 9 years ago

+1 for a clear button.

As I can see layout problems for a labeled button, I think a meaningful icon would be much better. We can add a more detailed description on hover.

The multiselect TV already has such a button:

bildschirmfoto 2015-02-02 um 19 23 28

What I don't like about it, that it works without any confirmation dialog. A simple yes/no popup would make it much better.

JensWolff commented 9 years ago

I work on that

JensWolff commented 9 years ago

Prototype (without nice ExtButton) is now ready and working.

JensWolff commented 9 years ago

@TheBoxer Here is the Ext4-Plugin we found, but its not working (as expected) in the manager because of Ext3. Perhaps, you can take a look at it - and perhaps get in working under Ext3: http://www.eekboom.de/ClearButton.html

clearbuttonerror

JensWolff commented 9 years ago

Quick'n'Dirty own prototype to get the job done for image-tvs: https://gist.github.com/JensWolff/9b2d48273a5bd6194e88

clearbuttonquickfixpreview

theboxer commented 9 years ago

This is the modified ClearButton plugin: https://gist.github.com/TheBoxer/2a469ce5fe851cd0be00

Needs more work for stylings.

To use:

plugins: [new Ext.ux.form.field.ClearButton()]
JensWolff commented 9 years ago

Awesome @TheBoxer ;-) :+1: :+1: :+1:

inreti-sb commented 9 years ago

Awesome, dude!!