Replies: 3 comments 2 replies
-
Yes I agree. If you're willing to support it and address any issue reports, feel free to submit it to the develop branch. We have done a lot of major code changes to ruTorrent to bring it up to date with this decade. I'm okay with doing more of them. |
Beta Was this translation helpful? Give feedback.
-
Great. So here is one concern about plugin compatibility regarding the change. Can I alter the HTML structure of the index page, so that elements are re-arranged properly? As for built-in plugins, we can adjust the code while we alter the HTML structure, but for some third-party plugins, the authors need to make the change accordingly, and the development on that plugin may have been stalled for quite some time. |
Beta Was this translation helpful? Give feedback.
-
Hello @jevenski, thanks for all your contributions to ruTorrent! You are driving the wheel here for mobile optimizations! I was wondering if you'd like to optimize any other dialogs such as the |
Beta Was this translation helpful? Give feedback.
-
At first, I noticed the issue of alignment between checkboxes and labels, when adding new torrents. See the screen recording below to find out the position of the label shifting a bit when checking and unchecking the checkbox. This seems to be working fine in other themes, but only in MaterialDesign theme.
Then I looked into the HTML codes of the "Add Torrent" dialog itself, and the "Settings" where there are a lot of checkboxes and labels. It turned out to be that the "Add Torrent" dialog was arranged using the HTML table elements, while the "User Interface" part of the "Settings" dialog was arranged using CSS flex layout. Checking and unchecking the checkboxes in that part wouldn't make any alignment shift.
Since the flex layout was first introduced over a decade ago to be a new layout system, and has now been supported by over 99% of installed desktop web browsers (source: Can I Use), I think it's time for ruTorrent to make the shift from the HTML table elements to the CSS flex layout system.
I've made a few changes myself, and it looks good for my own use. However, a discussion ought to be made before submitting such a pull request, since it requires quite a load of code changes.
Beta Was this translation helpful? Give feedback.
All reactions