Commit Graph

37 Commits

Author SHA1 Message Date
Charles Kerr be219ddee0
chore: add precommit hook for testing code style (#1448)
* chore: add precommit hook for testing code style

* chore: use prettier + eslint for js code
2020-09-13 21:41:32 -05:00
Charles Kerr efaa66a920
fix: resolve some lgtm warnings (#1444)
* fix: warnings found by LGTM static analyzer
2020-09-11 16:07:45 -05:00
Mike Gelfand 3ba0b9df15 Fixup some formatting leftovers (JS) 2019-02-17 17:51:13 +03:00
Alexander Futekov 660b44da70 DL/UL speed typography changes for web ui
The current icons are very hard to read at the current font size and it's not immediately visible which icon i which.

Additionally, spaces after icons are removed because upload icon is equally positioned between DL/UL speeds (like so `↓ 273 kB/s **↑** 0 kB/s`) which requires reading the whole line to make sense of which number the arrow applies to.

To further separate one type of information from another the hyphen is replaced by the slightly wider en dash.

Old vs New:
Downloading from 7 of 19 peers - ↓ 273 kB/s ↑ 167 kB/s
Downloading from 7 of 19 peers – ▼273 kB/s ▲167 kB/s
2017-08-07 06:34:00 +03:00
Sebastian Jensen cad82b64d9 ETA is now shown in compact view. 2017-05-21 06:48:56 +03:00
Mike Gelfand 5569efc3d4 #6089: Beautified JavaScript (patch by skybon) 2016-03-10 19:05:13 +00:00
Mike Gelfand 7177d43ba1 #5944: Unify indentation style and strip trailing whitespaces across JS code, no functional changes (patch by xzcvczx + a lot more) 2015-05-05 19:12:48 +00:00
Jordan Lee 49c4b8b42a (trunk, web) #5589 'Magnet torrent shows 'retrieving' even when stopped' -- fix by JJTagy 2014-01-20 22:32:20 +00:00
Mitchell Livingston ede2511b03 #5103 Restore DL/UL Arrows and Rates While Downloading 2012-10-25 03:56:57 +00:00
Jordan Lee fcf5690476 remove unused functions 2012-10-19 17:21:45 +00:00
Jordan Lee 4dd6e35bd7 (trunk, web) replace Transmission.formatter.plural() with a slightly less brittle pluralization tool 2012-10-07 18:10:26 +00:00
Jordan Lee 7219f26dae (trunk, T) #5072 "In the torrent list, show how many web seeds we're downloading from" -- made the Qt, GTK+, and web client text consistent 2012-10-07 17:51:56 +00:00
Jordan Lee f8f5fa930f (trunk, web) #5072 "web client doesn't show webseed count" -- pluralization refinement to r13551 2012-10-07 16:33:55 +00:00
Jordan Lee 4f64831711 (web, trunk) #5072 'web client does not show webseed download count' -- use cfpp2p's patch to make it behave like the Mac client. 2012-10-06 18:22:57 +00:00
Jordan Lee 682d257808 (trac, web) #5072 'web client does not show webseed download count' -- fixed. 2012-10-05 21:23:50 +00:00
Mitchell Livingston 0a656a1375 #4987 (web ui) up/down characters are not rendered correctly 2012-08-07 00:14:04 +00:00
Jordan Lee 4a344d0656 (trunk web) #4979 "CSS Issues in Web Client" -- proposed fix. See ticket for more details. 2012-07-20 17:37:50 +00:00
Jordan Lee 8755206dac (trunk web) #4564 "web client doesn't run in IE7" -- fixed. 2011-10-15 04:35:20 +00:00
Jordan Lee 6b8a224059 (trunk web) refactor the preferences dialog into its own class. Make the prefs dialog invokable on iPhones/Androids (#1131) and add stop ratio functionality (#2006). 2011-09-14 05:10:51 +00:00
Jordan Lee 442d9fbea9 (trunk web) use "===" instead of "==" when appropriate. 2011-09-05 07:46:55 +00:00
Jordan Lee 3efa1bfba4 remove unused functions 2011-09-03 19:13:32 +00:00
Jordan Lee 9951f8af9f plug a handful of context leaks. 2011-09-03 05:12:14 +00:00
Jordan Lee 2ca39d9f7b (trunk web) remove TorrentRow's public method "torrentSet()", since the torrent is only set once in the constructor. 2011-08-31 04:37:49 +00:00
Jordan Lee 0980112555 try to avoid unnecessary reflows in two more ways: (1) use jQuery.css() to set a batch of style properties at once, instead of doing it one at a time (2) when appending rows to the torrent list, use a document fragment to batch them into a single append. 2011-08-31 00:09:21 +00:00
Jordan Lee 0c221893d3 (trunk web) in tr.refilter(), instead of calling the expensive tr.getSelectedRows(), use a cheaper jQuery equivalent. 2011-08-30 21:27:30 +00:00
Jordan Lee 1d69770227 fix progressbar color regression 2011-08-28 14:57:13 +00:00
Jordan Lee e6b8b0339e (trunk web) code futzing: (1) fix mixed tab & space use (2) try to declare local variables at the front of the function, since there is no block scope in javascript. 2011-08-28 13:57:25 +00:00
Jordan Lee 8949fbb01c (trunk web) Stop poking the torrent-row's progressbar's style.display fields unless the new value differs from the old. It's probably browser-dependent on whether or not this speeds anything up, but FF seems to like it. 2011-08-26 23:30:07 +00:00
Jordan Lee e1641792e9 (trunk web) in Transmission.refilter(), don't rebuild the row array if the filtered + sorted list of torrents hasn't changed. This is a big CPU win on large torrent lists. 2011-08-26 00:43:35 +00:00
Jordan Lee f2b255a33d (trunk web) #4443 "progress bar colors for queued transfers" -- fixed. 2011-08-25 06:18:42 +00:00
Mitchell Livingston 14f655285a (trunk web) for non-active seeds (paused or queued), draw the whole bar gray (r12731 was only for paused) 2011-08-25 03:27:33 +00:00
Mitchell Livingston ad5788feae (trunk web) for paused seeds, for the entire progress bar to be gray instead of only the finished-seeding section 2011-08-25 02:42:56 +00:00
Jordan Lee 2d0a59954a (trunk web) #4273 "Display ratio in web client compact view" -- fixed. 2011-08-24 19:20:59 +00:00
Jordan Lee 4b16ef8896 speedups found by chrome's profiler 2011-08-24 03:40:23 +00:00
Jordan Lee 2dc746a7b6 (trunk web) A lot of web cleanup, refactoring, bugfixes, and probably new breakage. Filterbar/statusbar has been reworked. Added filter-by-tracker. Compact mode now works in "iPhone" mode. 2011-08-24 02:04:35 +00:00
Jordan Lee 652811502a (trunk web) #4436 "odd behavior and display" -- fixed. 2011-08-23 15:32:52 +00:00
Jordan Lee 25fa1d9401 (trunk web) rename torrent-renderer.js as torrent-row.js 2011-08-20 23:32:21 +00:00
Renamed from web/javascript/torrent-renderer.js (Browse further)