enhanced-github icon indicating copy to clipboard operation
enhanced-github copied to clipboard

[WIP] [NOT MAINTAINED] Show image thumbnail functionality implemented

Open manishsaraan opened this issue 7 years ago • 7 comments

@softvar i have implemented the functionality to show image thumbnails for #22 . I am not supporting svg for now and also set the limit to max 100 images in directory. So if there are more than 100 images(not total files) than no preview will be visible. Please have a look if its right way to do it. Screenshot: https://prnt.sc/kdax67

manishsaraan avatar Aug 01 '18 10:08 manishsaraan

Hey @manishsaraan This is simply awesome. I have seen your changes and look good to me. Once I'll be done running these changes on my local machine, I'll surely ping here with the review changes. if any.

Also, please excuse me for the changes I recently did regarding logo and disclaimer changes. I didn't notice your changes before it and hence there are some conflicts which need to be resolved in this PR.

Awesome work @manishsaraan 👍

softvar avatar Aug 05 '18 10:08 softvar

It would be great if this feature can be toggled. In options.hmtl, there should be an option to toggle this thumbnail feature. It would help users who don't want it because of extra data consumption or because of the extra height each row is taking.

Otherwise, it's perfect.

softvar avatar Aug 05 '18 10:08 softvar

Thanks for feedback @softvar . I will add enable thumbnail option in option.html and it will be disabled by default. Also do i need to update the current text for setting from Add Github Token to some other text as we are not only adding token there?

manishsaraan avatar Aug 08 '18 04:08 manishsaraan

I would rather say thumbnail should be enabled by default and show a tooltip on hover that you can disable this in options otherwise no one would be aware of such a good feature. Regarding options.html, I would suggest having another section below "Add Github Token". Something like: [checkbox] - "Toggle image thumbnails". What do you say?

softvar avatar Aug 11 '18 14:08 softvar

Thanks for suggestion @softvar .I will update the pr accordingly.

manishsaraan avatar Aug 15 '18 15:08 manishsaraan

Hey @manishsaraan ,

Any update you would like to share?

softvar avatar Jun 25 '20 13:06 softvar

@softvar its been while since I last updated this pr. I need to review changes again and will raise pr asap.

manishsaraan avatar Jul 23 '20 06:07 manishsaraan