>>5978
I see that in
https://8chan.moe/boards.js the SFW and abandoned indicators were converted to icons. It would be nice if hovering the mouse pointer over these would show their meaning (otherwise new users might find it a little confusing).
By the way, is there a way to prevent side panels from opening when you swipe left or right in mobile view? I find it quite annoying (for example, when I zoom in or scroll the page some of the panels open by themselves), besides there are already buttons that serve that purpose.
>Added Flash embed support
There's also Lightspark (
https://lightspark.github.io ) in case Ruffle proves too much trouble, though I don't know if it can be transpiled to Javascript.
>Additional Hispachan themes are available in the /.static/css/ directory.
>four new hidden themes
In case anyone is curious, in
>>>/hispachan/20292 they left a couple of ways to activate the hidden themes more easily.
>Pasted images now default to their SHA256 hash instead of "ClipboardImage"
In that case you could clarify in
https://8chan.moe/.static/pages/posting.html that it is possible to paste images from the clipboard since there are those who do not realize that (at least in my case I only knew it when someone commented it in a thread).
I also take the opportunity to mention some things that I would like to see in a future update:
* Thumbnails in SVG files. Maybe you could use
https://stackoverflow.com/questions/9853325/how-to-convert-a-svg-to-a-png-with-imagemagick to generate them.
* Being able to filter boards by language as proposed in
>>5865.
* Date format based on language. An "easy" way to implement it would be using the Accept-Language HTTP header (server) and/or toLocaleString() (client).
* That on mobile you can see the statistics of the boards list. It would also be useful to have some clarifications about PPH, Total Posts and Users as in Endchan.
* Button bar above the message box to format text (at least with the most common tags). I'm already used to put the tags from memory but it is certainly something that would make to hispachaners feel more like in "home".
* Upload cbr and cb7 files (curiously, it allows uploading cbz according to my tests). Initially it would be for
>>>/ac/ and
>>>/co/ but other boards could also benefit from it in the long run.
* Search inside the boards (which would be quite useful to find posts of which you only remember a few words).
* When merging threads, create a redirect from the old thread to where it belongs.
* Some way to indicate that you are the OP of a thread on boards where the name is disabled (perhaps using the same password as for deleting posts?).
>>6012
I think I found a workaround by modifying the thumbs.expandImage() function like this:
thumbs.expandImage = function(mouseEvent, link, mime) {
if (mouseEvent.which === 2 || mouseEvent.ctrlKey) {
return true;
}
link.parentNode.classList.add('expandedCell');
var thumb = link.getElementsByTagName('img')[0];
if (thumb.style.display === 'none') {
link.getElementsByClassName('imgExpanded')[0].style.display = 'none';
thumb.style.display = '';
// TODO: Autodetect default uploadCell max-width
link.parentNode.parentNode.style.maxWidth = "260px";
if (thumb.getBoundingClientRect().top < 0) {
thumbs.scrollToPost(thumb);
}
return false;
} else {
link.parentNode.parentNode.style.maxWidth = "inherit";
}
var expanded = link.getElementsByClassName('imgExpanded')[0];[Expand Post]
if (expanded) {
thumb.style.display = 'none';
expanded.style.display = '';
thumbs.scrollToPost(link);
} else {
var expandedSrc = link.href;
if (thumb.src === expandedSrc && mime !== 'image/svg+xml') {
return false;
}
expanded = document.createElement('img');
expanded.setAttribute('src', expandedSrc);
expanded.className = 'imgExpanded';
expanded.style.width = link.dataset.filewidth + "px";
thumb.style.display = 'none';
link.appendChild(expanded);
var maxwidth = Math.min(link.parentNode.getBoundingClientRect(), maxwidth);
expanded.style.width = maxwidth.width + "px";
var rect = expanded.getBoundingClientRect();
expanded.style.height = ((link.dataset.fileheight / link.dataset.filewidth)
}
//remove image on expand
if (thumbs.hoveringImage !== undefined) {
thumbs.hoveringImage.src = "";
thumbs.hoveringImage.remove();
}
return false;
};
Although it would be necessary to find out the value of the maximum width of the uploadCell class in case some theme uses a value other than 260 pixels.
>>6035
>is it possible?
Yes, Hispachan had that option (perhaps inside the backup of
>>>/hispachan/2913 you can see how it was implemented).
>>6065
It only happens to me when I lurk the chan from the phone and then disable the wifi for a few hours.