-
-
Notifications
You must be signed in to change notification settings - Fork 565
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Update adminLTE to 2.4.18 #1272
Conversation
- Change a few references per upgrade guide - define colors[] at the top of index.js as AdminLTE.options does not appear to exist. (there may be a better way of doing this) Signed-off-by: Adam Warner <me@adamwarner.co.uk>
Signed-off-by: Adam Warner <me@adamwarner.co.uk>
I wonder maybe we could update to the latest 2.x version while at it? Assuming you tested the changes, then the remaining diff is this: ColorlibHQ/AdminLTE@v2.4.12...v2.4.18 I cannot test this myself, but if it works for you guys go ahead. BTW feel free to squash my patch :) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Something is strange here, look at the colors in this graph:
So I cleared my cache and reloaded the page and everything seemed to be back to normal:
However, when reloading (with or without flushing the cache), I can reproduce both variants here in a seemingly nondeterministic fashion.
edit
This also applies to the other doughnut, however, not the bar graphs, it seems.
edit 2
I see what is causing the issue and will push a fix in a minute.
Huh, I could have sworn I grabbed the latest 2.4.x version, perhaps not!
I took the colours from the documentation of AdminLTE <2.4 I may have got them wrong, of course! |
It seems another class is missing from |
8decd9d
to
75d6298
Compare
Signed-off-by: DL6ER <dl6er@dl6er.de>
75d6298
to
2314a60
Compare
Signed-off-by: Adam Warner <me@adamwarner.co.uk>
@DL6ER I don't mind, you even squash it with the other patches which I personally prefer :) |
@PromoFaux I see strange artifacts when scrolling with your last push. Something seems broken with 2.4.18.
I will try to record a GIF. |
That's odd.. seems OK to me when scrolling. Did you clear cache? I will await your gif :) |
Signed-off-by: Adam Warner <me@adamwarner.co.uk>
This pull request has been mentioned on Pi-hole Userspace. There might be relevant details there: https://discourse.pi-hole.net/t/pi-hole-5-1-released/35577/1 |
By submitting this pull request, I confirm the following:
git rebase
)What does this PR aim to accomplish?:
Alternative to #1271, which does the same thing but modifies an older version of AdminLTE
Both paths achieve the same thing.
All credit due to @roccivic who took the time to triage the responsiveness issue