JoshyPHP Cool beans! @Toby How do you render the preview? It seems you're rendering it to a temporary element and then you retrieve its HTML? If you render it directly to the actual target, it will be infinitely more performant. The live preview uses an algorithm that only updates nodes that have changed. It's much easier on the browser.
Toby JoshyPHP OK, will look into that. Currently using a temporary element and retrieving its HTML, as you said, because it's easier to work in with Mithril.js. /cc wizgriz
JoshyPHP Ok. I don't know Mithril, I hope their "Virtual DOM diffing and Intelligent auto-redrawing system" can work with my "Actual DOM diffing and dumb lazy redrawing system". 🙂
Felli My hands can't wait to break in Flarum, just looking at it makes me wish that other softwares would become as beautiful as Flarum has!
matty @Toby @Franz @Berlyn Just a curiosity, why the Android Emulator I used to test speed of Flarum is not showing it on Android Emulator in Google speed test? For comparing I have tested other forums as well, all of them are visible in Emulator except Flarum. Though, of course Flarum is much more faster. https://developers.google.com/speed/pagespeed/insights/
Felli matty Works for me, tho there seems to be render-blocking in both JavaScript & CSS http://prntscr.com/7yfsi0 Then there this. http://prntscr.com/7yftor Another thing I see is this here http://prntscr.com/7yfu42
Berlyn I have a little bit of experience with Genymotion, so an emulator could be a good means of testing the product. On that note, I own an iPhone 6, Nexus 5 and a Windows phone so I'm happy to test in a real life situation wherever it may be required.
Cheun Berlyn Same I have a Samsung Galaxy S5 Active, Nokia Lumia 521 and another Nokia Lumia idk what model as well as an iPhone 5 & 6, and iPad.
jobbatam i Hope Twemoji and emoticons. attached in the corner of reply/discussion form 😉 This allows the user to choose the appropriate expression to their writing :p
Franz Well, it's not supposed to appear that often 😉 And it is better than looking at a loading indicator forever with no indication that something has gone wrong.
aan Franz what if we just show nothing if something went wrong 😁, it appears so often on my phone, so annoying... Maybe because of my Internet speed to slow cause something went wrong when contacting server
Toby aan The issue you're having has been reported here. If you (or someone else) could investigate the error on your end using these instructions, that would be extremely helpful!
Fastidious Berlyn the best way to start fixing it is to add something else to the "Ops..." that would help developers to find the reason.
Berlyn Fastidious Definitely, I think fixing the problem is better than just removing an error message though. An issue has been raised inside Github for this already, so I know the developers are investigating it.
aan Toby I think it happen because of unstable Internet connection, it never happens when I'm on desktop with stable Internet connection, it also happen when using esotalk on my phone.