solved some small issues that where reported on gitlab
thats some really great work sanojjas, thank you!
i noticed that the script does not seem to respond on this profile for example (maybe because of the vast amount of relations?
I see this error on this artist page, the scripts crashes:
Uncaught (in promise) Error: new artist forward type
at sortItems (sanojjonas visualise stuff.user.js:827:17)
at doStuff (sanojjonas visualise stuff.user.js:145:14)
it was because of the artist type âconductor positionâ and âartistic directorâ where not handled yet.
i have added a quick fix but it will probably not be visible in the history list.
i might first do some more bigger clean up.
i have made some big changes that would clean up the code somewhat.
some old functions used to retreive all the relevant data got changed.
normally everything should work like before, but then more efficient.
if you find any problems, just contact me.
Spotted a typo:
(No Primairy Type ):
A friend has been running a NZ punk wiki for a decade, and recently had an exhibition showcasing NZ punk. Lots of nice data, presented in a way that put everything in context (releases + photos + events):
I was looking at it, wondering what it would be like if MB could eventually deliver that kind of presentation. And thinking how cool it was that a MB community member had relatively recently done something similar for a lot of our pages, all on their own
i think i now have a better solution.
the vmax is still a relative value. but the size of the right column is af fixed size, 240px (i think)
so what i do now is give the div a fix width of the windowsize - 240px.
and then if you resize the screen i have a function to recalculate the size.
this way you always have the biggest size possible without it breaking the other ui.
I tried latest version on mobile and desktop, and it displays well, I think!
i have added event images to the event list.
and i also added a today bar in the list so you can easily which items are in the futere (top items) and which ones are in the future (below)
Have you thought about adding a settings page? Your extra data is great to see, but really needs its own tab. The artwork would add just a little bit too much for me and would nice to be able to turn off.
Most of the time when I am opening an artist I donât really need the events list or artwork. Being able to toggle parts of the time line would be real handy.
Maybe I am a little odd - but donât really like generating extra load on servers when I am not always looking at the data.
Eccentrics aller Länder, vereinigt euch!
i donât know if you checked the top of the userscript.
but there are a bunch of settings where you can change what table is shown on what page.
this way you can put a table on a page you wouldnât come that often so it only loads when you want too.
or if there are table you dnât want to see at all, then just make it an emty array
I donât understand scripts enough. Donât those settings get overwritten on each update?
Yes they do.
One has to program a settings GUI of some sort to have settings that are not reset, or:
The easiest way to make settings that are not reset, is to use GM_setValue
and GM_getValue
I guess.
This way, those settings appear in the Values tab, can be edited there, and are not reset on update.
But this Values tab only exists in Violentmonkey (VM), I didnât find it last time I looked for it in Tampermonkey â˘.
A similar way to overcome this TM lack of Values tab, is to store settings in local storage and tell the users to change there settings there, with their browser F12 webdev tools.
if you tell me what you want or donât want iâll make it so you can just paste it.
then maybe when i have time iâll look into something where it is a global thingy that doesnât get overwritten.
Iâm just thinking out loud, maybe itâs a totally bad idea:
Maybe the (or just some) tables would only get built once we push a button?
oke
i have added the option to manually start the thingy.
for that there is a new parameter autoVisualise.
if you set this to false it will give you a button that start the thingy.
i know it is still something that is over written with every update.
but it is just 1 thing that you need to put on false.
Thanks. Iâll set these and poke at a few of the other settings. I just need to find somewhere to write a note to myself to remember what to turn off on the updates.
Iâm just trying to slim it down a bit for when I am just working on the site. I like seeing some of the data, but not all of it all the time.
The userscript is making MB too wide and pushes the sidebar slightly out off screen, making horizontal scroller appear.
My screen size is 1280Ă1024 px.
I opened a ticket.