Show Likes

This section allows you to view all posts where this member received or gave a like to.

Features / Re: Getting rid of zebra classes
Nao « on August 22nd, 2013, 11:00 PM »
Nah, I could simply 'cancel' any styling on .postarea .root, probably simpler, too...

Sorry, looks like I forgot to attach the screenshot...!
Features / Re: New revs
Nao « on August 22nd, 2013, 10:02 PM »
rev 2221 -- lulz, it's really becoming a running joke: long time without a commit, and then we both do one within the same hour ;)
(5 files, 3kb)

* Overhauled Msg template, to make it rely less on the skin's mobile status, and leave it up to the skeleton to decide what to do -- effectively making it much more readable, hopefully. Post header spans are now a <time> tag, something I've wanted to do for so long. A new macro was added, msg_author_avatar, which allows changing the tag type for the avatar container (li or div). The jury is still out on whether the new extra div inside .poster should be called 'column', it's an SMF convention, but that's a lot of bytes for something that could be handled with just '.poster>div'... Don't you think so..? Actually, most column definitions would fit that description, so... (Msg.template.php, sections.css, macros.xml, skeleton.xml)

* French translation. (index.french.php)
Features / Re: New revs
Nao « on August 22nd, 2013, 10:14 PM »
rev 2222 -- hopefully, Wireless is stable enough for prime time!
(5 files, 2kb -- but it feels more like 10KB... :P)

* Rewrote Wireless to take advantage of the new Msg skeleton. I thought it deserved its own commit, yeah... So, basically, the user box is now correctly shown in the post header, and I'm giving you back the info that was removed earlier, such as the post name (and last edit time). I reckoned that it was still very much useful in mobile mode, because often the topic title won't show up there, so it can be helpful to have it in the post. Also, it's a proper link, so you can copy and paste a post's permalink from there. (Wireless/extra.css)

* Finally found the reason why all of these Android browsers gave me different font sizes... Turns out, some of them force a scale of 1 on page load, even if it's set to 0.7, like it was. I decided that it was best to just do "like the rest" and set it to 1 (I'm even thinking of disabling zooming entirely), and then work on font sizes later. For now, it's very satisfying. (index.template.php, Wireless/extra.css)

! Fixed an undefined constant. I still really, really need to figure out why it can be undefined, but for now... It's cleaner to just test for defined(), and let it go. I can't win every time. (Subs-Template.php)

- Removed an inline style from select boxes. (Themes.php, index.css)
Features / Re: New revs
Nao « on August 22nd, 2013, 10:23 PM »
rev 2223 -- follow me!
(1 file, 5kb)

+ You wanted it, you have it! Here's the JS code to make user boxes follow you in topic pages. I've commented it thoroughly, in case you don't understand it on first sight. As with many other recent features in Wedge, it's something that could be plugin material, it's easy enough to insert a hook there and let the plugin do the job, so I'm committing this separately, to make it easier to spot the code and remove it, if needed. (topic.js)
Archived fixes / Re: Soft merge / ignored user
Nao « on August 21st, 2013, 10:48 PM »
I believe so. Around August 10, I think I'd committed all of my changes, really.

My current uncommitted stuff, and reason why:

- A warning message in Subs-Template due to constant not defined; because I don't know if it's best to test with defined() (as is the case on, or to figure out why it happens that the skin option system is bypassed at some point, hmm...
- Some small layout tweaks; nothing important enough to hurry about, really.
- A new (important) mobile responsive layout tweak; applied on, waiting for feedback until I commit. (There's been one so far, good.)
- Flag popup; not in a committable state, obviously...
- A Msg template rewrite; used here right now, no problems after multiple rewrites, so will commit soon.
- A fix in reqWin window height; waiting for a particular bug to occur again, so I can test it properly, really.
- A <wbr> fix; said bug only happened once, in one situation, and I'm actually not sure it's worth fixing, so...
- Fixed user boxes; waiting for commit, maybe with a skin option, don't know yet.
- extensive Warm rewrite; still not ready for prime time, has been in the works for months, now... :-/
Features / Re: New revs
Nao « on August 19th, 2013, 08:38 PM »
rev 2219
(2 files, 1kb)

+ Here's a rare thing: an attempt of mine at increasing security, which is usually Pete's thing. This is probably overkill (an isset test on all pages, to test for something that's admin-only, and probably never an actual risk anyway), but at the very least, I think it's worth discussing keeping it in or not. (index.template.php)

! A typo in a callback name generated errors when editing a post. (Class-Editor.php)
Off-topic / Re: Post count fever
Auk « on August 19th, 2013, 04:05 AM »
Yay! I'm a We-Gen! :D

Features / Re: New revs
Nao « on August 17th, 2013, 11:17 PM »
rev 2218 -- various mobile/layout related fixes or improvements, yay. This one deserves a Like, right..?
(4 files, 4kb)

* Found a better technique to fix the code tag's flex bug. Instead of setting overflow-y to scroll, I'm simply setting flex to none, which technically doesn't make it sense at all, because it's the default at this point, but it looks like Chrome insists on silently applying some non-default flex value on all flex children, which is a very bad idea, if you ask me. (topic.js)

+ Added support for the Android 'simulator' in Chrome, i.e. recognize their custom user agent as an Android device, even though it doesn't have any Android-specific element in it, e.g. 'mobile'. (Class-System.php)

* Mobile skins shouldn't show the entire topic title, in some situations. It often breaks layout, so... Shortened the message titles to 20 characters, and did the same to previous/next topic titles, which works better, for me at least. (Display.php)

- Do not soft-merge posts in mobile skins. It's not that it's not doable... It's mainly down to the fact that it's pointless, because there's nothing to remove, apart from the avatar and user name, which are optimized not to take any further space, so... No need to waste CPU cycles on this, I'd say. (Subs-Template.php)

@ Regarding topic titles, I actually pondered whether to use we::is('mobile') or SKIN_MOBILE. The first applies to mobile devices only but in all skins, while the second applies to all devices, but in mobile skins only (e.g. Wireless). In the end, I decided that since non-mobile skins usually render badly on mobile devices, it's not worth doing on these skins anyway. I'm very, very open to changing my mind, though.
Off-topic / Re: Post count fever
Nao « on August 4th, 2013, 05:43 PM »
Of course. Non-admins see their posts automatically hard-merged if they're sent less than 5 minutes after the previous one.