nightwalker icon indicating copy to clipboard operation
nightwalker copied to clipboard

Broken on v4.5

Open CallMeBruce opened this issue 2 years ago • 21 comments

Love the theme, but it has stopped working on the new v4.5 of qBit, any chance of a fix?

CallMeBruce avatar Nov 29 '22 12:11 CallMeBruce

A partial screenshot.

qBit45 Nightwalker

AngusNB avatar Nov 29 '22 21:11 AngusNB

Seems this is by design https://github.com/qbittorrent/qBittorrent/pull/17616#issue-1352385080 . This issue https://github.com/qbittorrent/qBittorrent/issues/18109#issue-1469149955 recommends using some regex to fix up strings, but as mentioned in that, it doesn't fix all.

CallMeBruce avatar Nov 30 '22 14:11 CallMeBruce

I have the same bug...

shummo avatar Dec 01 '22 14:12 shummo

+1

mudfinger avatar Dec 21 '22 03:12 mudfinger

+1

KarlOfDuty avatar Dec 28 '22 00:12 KarlOfDuty

Was able to fix this by downloading the current web ui, running the regex's to remove the language translation string placeholders and re-applying the custom stylesheets from the theme. All working after that.

CallMeBruce avatar Dec 28 '22 03:12 CallMeBruce

Was able to fix this by downloading the current web ui, running the regex's to remove the language translation string placeholders and re-applying the custom stylesheets from the theme. All working after that.

Could you fork the repo and make a PR with the fix?

KarlOfDuty avatar Dec 28 '22 15:12 KarlOfDuty

Here is the fork, https://github.com/CallMeBruce/nightwalker, not sure about a PR, there is probably some content that doesn't need to be there and I just did a rush job.

CallMeBruce avatar Dec 29 '22 05:12 CallMeBruce

Thanks!

KarlOfDuty avatar Dec 29 '22 12:12 KarlOfDuty

I'm using @CallMeBruce fork at the moment but will this be fixed soon?

td001 avatar Jan 04 '23 18:01 td001

As noted upstream in my qbittorrent issue #18602, problem is persistent. It was originally observed in another issue report, qbittorrent issue #18109. However, after some snark from qBT developers, the problem is unresolved and without steps to diagnosis/resolve.

Last night, I make a diff of @CallMeBruce repo and this repo.

I suspect @CallMeBruce had CSS and JS code formatters in use. This made generating a diff a touch more difficult as spacing and tag ordering conflated any repo diff.

Also when generating the diff, I made a conscious choice to NOT touch the JS code in this repo. I suspect that @CallMeBruce employs a javascript linter. This highlighted a few instances where there were missing semicolons in this repo. I'll make a separate pull for others to examine.

Also of note in generating the diff was that @CallMeBruce repo updated dependent JS libraries. I am not conversant in JS, these kinds of changes would require others to consider.

I found a couple of image file issues (file in private/images but not public/images and vice versa - eg: qbittorrent32.png) in this repo. I'm still trying to track down source of a couple of other instances where I encountered missing images before making a PR.

Overall, just stripping out QBT_TR references in the HTML pages did not work for me. I suspect that there are other changes in the JS that need to be performed.

scottfurry avatar Feb 22 '23 16:02 scottfurry

Backing away from commitment to PR semicolon changes. Linting of folder produces overwhelming results. Not being versed in nodejs is beyond current capabilities.

Sad really. This is a very useful theme.

FWIW, duplicate icon folder in [project_root]/private/icons

scottfurry avatar Feb 25 '23 09:02 scottfurry

Thanks @CallMeBruce - working nicely :)

C8opmBM avatar Mar 09 '23 09:03 C8opmBM

Thank you very much @CallMeBruce :)

RolandWH avatar May 01 '23 12:05 RolandWH

@CallMeBruce Any chance of a redo for 4.6.0, since you fork seems to have stopped working?

Judman avatar Nov 09 '23 13:11 Judman

@Judman sure, why not.. repo updated.

CallMeBruce avatar Nov 10 '23 14:11 CallMeBruce

@CallMeBruce Thank you man, it took me too much time to find a working dark theme. But I think your fork missing the flags folder image, so there is no country image when access to Peers tab in each torrent.

It took me a while to figure out that just copy the flags folder and it fix nicely.

lilws avatar Dec 30 '23 16:12 lilws

Thanks for updating it Bruce, I had issues with tpark. Now nightwalker works perfectly.

And @lilws , thanks for pointing it out. Therefore flags folder should be placed inside /images, and not inside /icons, in order for the flags to be properly displayed in peer list.

C8opmBM avatar Dec 31 '23 10:12 C8opmBM

No worries @lilws and @C8opmBM , I also just updated the repo with this flag change

CallMeBruce avatar Jan 01 '24 11:01 CallMeBruce

I personally use this until the problem is fixed: https://github.com/Carve/qbittorrent-webui-cjratliff.com

Feriman22 avatar Jan 16 '24 21:01 Feriman22

What problem do you have? It works perfectly https://github.com/CallMeBruce/nightwalker And as you can see, Bruce updated the flags folders.

C8opmBM avatar Jan 16 '24 22:01 C8opmBM