Flood for Transmission - A lightweight yet beautiful UI

Discussion of the Web Interface for Transmission, formerly known as Clutch. This applies to all version of Transmission
yopnono
Posts: 31
Joined: Fri Apr 09, 2010 10:38 am

Re: Flood for Transmission - A lightweight yet beautiful UI

Post by yopnono »

This is because of the different places it can show up. There is an icon for when you add it to your home screen, as well as when you have it in your tab bar, but also when you add it as a bookmark or on a new tab screen as a shortcut. There are many scenario's where favicons can be used and hence why I define as many.
Ok? Did not know I need a full set of different icon for that. Well live and learn (well at least put them in a ex: img folder so they are not filling up the root folder)
Johman10
Posts: 8
Joined: Sun Dec 27, 2020 10:42 am

Re: Flood for Transmission - A lightweight yet beautiful UI

Post by Johman10 »

Also I think you can delete all.map file and just comment out them in the .js file. To save some space.
Thanks! I don't think you have to worry about the map files, they account for about 504 bytes on the drive. If you really have that little free space on the machine your run Transmission on you are free to remove them after unpacking the zip file.

When it comes to the data send to the browser, they are not actually send unless you open the developer tools. See a StackOverflow thread on the topic here: https://stackoverflow.com/a/44316255/1789472. Yes, the comment is being shipped but that's only 42 bytes per JS file, which is quite insignificant. Here again, feel free to write a script to remove them yourselves.

Why ship have them in the first place? I would like someone that comes to me with an issue to be able to look at the developer tools and tell me with relative certainty where the code is exactly breaking. It will help me to support Flood for Transmission better and more efficiently.

I hope you understand my reasoning and why I will keep them in the project for now. :)
yopnono
Posts: 31
Joined: Fri Apr 09, 2010 10:38 am

Re: Flood for Transmission - A lightweight yet beautiful UI

Post by yopnono »

It's not a problem for me. I was thinking more for people that run ex: small NAS like raspberry.
Smaller footprint = better.
Post Reply