PERFECT! Thanks for that!
I also got stuck on loading! My console @prouleau
(Iâve just reinstalled the script to now availâŚ)
Thanks for this link as well. Iâve also downgraded the script temporarily now.
Quick tip - IF youâre ok with resetting your Item Inspector settings, then removing the settings file fixed the issue for me. A one-liner for the console that does this should be possible, might look into it later.
Iâd rather not reset my settings though. I mean, I fine with using the previous version until @prouleau has a fix in the next release. So, it just feels easier to do that for a while. But thanks for the tip!
All. I see I have messed up. I am very sorry about that. It worked fine on my computer but I see it does not work on yours.
I am now at the hospital away from my computer. I am responding from an Ipad loaned by the hospital. I canât fix the problems until I am back home. That will take at least a week.
I am happy that @adr-p found a way to bring people out of trouble. I hate leaving everyone in a pickle. Thank you @adr-p.
Looking at @ekg console error this seems indeed a problem with upgrading settings to support the new temporary filters function. You may try typing the following at the console.
wkof.file_cache.delete(âwkof.settings.Item_Inspectorâ)
And then refresh your browser. This will reset your settings to their default values, but updated to work with the new features.
This will not work with @Sproingle problem which seem to be different.
The screenshot from @Sproingle looks exactly like the problem I had, and the error from @ekg is the same as the error I had, so my guess right now would be that theyâre the same problem
You may be right. But I wonder why the temporary filter toolbar is on the next line on @Sproingle screenshot. All the widgets should be lined up and the Item Inspector title should not be visible. If you had this symptom as well then I will say you are right and it is the same problem.
Yup, it was the same for me. After settings reset it shows up where it should.
I might give this a shot tomorrow (its a bit late now for me), but donât worry too much. I can still use the Item Inspector just fine in the old version! ^^
Just take care of yourself! (I posted a bit about that in the POLLs, so as to not derail things, but POLLfam thinks about you alright! <3 )
No rush! Take your time! You put a lot of time into this script and everyone can use it for free. Iâm very grateful.
Well done kind sir!
Thanks.
When you copy/paste, you have to replace the quotes.
Thanks for noticing that. I havenât tried this yet, but will be sure to remember to retype those if I cut and paste! ^>^
I second this most heartily.
I refute that statement. There is no mess from @prouleau that I can see
Very happy with what the earlier version does, works fine (and most pickles are tasty anyway )
Oh! The ipad quotes are the wrong ones. I see another place where there are quotes. Letâs try again.
The command is:
wkof.file_cache.delete(´wkof.settings.Item_Inspectorâ)
If I got the right quotes this time your defaults should reset fine.
I think that the browser or the forum software is exchanging the quotes for typographical quotes. I still donât see plain quotes here:
Perhaps it works with this (using preformatted text):
wkof.file_cache.delete('wkof.settings.Item_Inspector')
I suspect this is the fault of the ipad I use. It autocorrect s everything wrong. I try to turn it off. How about this:
wkof.file_cache.delete(âwkof.settings.Item_Inspectorâ)
Nope. Still typographical quotes. We really need to use a code format like @2000kanji did.
@artemigos you may have noticed, this is the version that breaks Breeze Dark styling of filters.
in the future i contemplate two types of changes:
- More filters
- More groups if filters show up that donât fit existing groups
There is one group called ´Other Filtersâ that is in the code but doesnât show up. This where I place filters that are not yet categorizhed. Currently there is no such filter. You will not see this group even if you turn on all optional filters.
I donât plan to reinvent the wheel. New filters and new groups will repeat the pattern you may see in existing groups and filters. If you can make styling rules that are generic enough they should catch the future stuff.
Iâll take a look probably on sunday. Iâll try to support both 1.10.3 and 1.11.2 at the same time for now.
BTW if youâre interested, I have repro steps for the problem with the latest version of Item Inspector and a fix.
Repro steps:
wkof.settings.Item_Inspector.fpresets = undefined; wkof.Settings.save('Item_Inspector');
then refresh
Fix:
diff --git a/WaniKani Item Inspector.user.js b/WaniKani Item Inspector.user.js
index 42265dd..a8619a4 100644
--- a/WaniKani Item Inspector.user.js
+++ b/WaniKani Item Inspector.user.js
@@ -2438,6 +2438,11 @@ ${is_dark ? 'text-align: left;' : ''}
settings.tablePresets = x;
};
+ if (settings.fpresets === undefined || !settings.fpresets.length) {
+ settings.active_fpreset = 0;
+ settings.fpresets = fpresets_defaults;
+ }
+
for (var idx in settings.ipresets) {
settings.ipresets[idx] = $.extend(true, {}, ipreset_defaults, settings.ipresets[idx]);
settings.ipresets[idx].content = $.extend(true, {}, ipre_defaults, settings.ipresets[idx].content);
I can create a pull request for you if you have a repository somewhere.