This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.
2746
Features / Re: New revs
« on July 3rd, 2013, 04:05 PM »
rev 2173 -- don't fret, I don't have much committable material after that one...
(2 files, 2kb)
! Was still using the min-device-pixel-ratio media query, when I should have been using min-resolution instead, which is fully supported by Wedge... (As in, 'it provides a fallback for it.') Also, IE8 has never supported that particular query, so I'm updating the target browser list. (index.css)
* Mixing .hide classes compresses better than extending them. Should have noticed I wasn't doing the right thing, but... (index.css)
* Moved random_news block to the main content area, right before the linktree. I simply thought that the header was crowded enough as it was, and people would be less likely to notice the extra news block in these conditions. I was so very tempted to remove the feature entirely, but I respect Pete's work on overhauling it! (index.css, skeleton.xml)
(2 files, 2kb)
! Was still using the min-device-pixel-ratio media query, when I should have been using min-resolution instead, which is fully supported by Wedge... (As in, 'it provides a fallback for it.') Also, IE8 has never supported that particular query, so I'm updating the target browser list. (index.css)
* Mixing .hide classes compresses better than extending them. Should have noticed I wasn't doing the right thing, but... (index.css)
* Moved random_news block to the main content area, right before the linktree. I simply thought that the header was crowded enough as it was, and people would be less likely to notice the extra news block in these conditions. I was so very tempted to remove the feature entirely, but I respect Pete's work on overhauling it! (index.css, skeleton.xml)
2747
Features / Re: New revs
« on July 3rd, 2013, 03:56 PM »
rev 2172 -- trying to do smaller bits now, easier to deal with...
(2 files, 2kb)
! Semi-fixed a problem with IE10 Desktop Mode in Windows 8. Apparently, this stupid browser (perhaps helped by some external program) tends to drop $.post requests in that particular setup, so I simply ensured it doesn't generate an error when dealing with thoughts, but the only workaround, really, is to emulate IE9 mode, which I can't bring myself to force upon Wedge users, so... Well, whatever. Use Metro mode, or emulate IE9, I don't really care right now, and I'm certainly not going to rewrite all functions to use $.get instead, uh... (Ajax.php)
* Moved debug junk into the footer, rather than below it. I just think it looks best, so... I'm expecting all footers to have an unordered list in them, otherwise it'll break your themes. Okay..? (Subs-Template.php)
(2 files, 2kb)
! Semi-fixed a problem with IE10 Desktop Mode in Windows 8. Apparently, this stupid browser (perhaps helped by some external program) tends to drop $.post requests in that particular setup, so I simply ensured it doesn't generate an error when dealing with thoughts, but the only workaround, really, is to emulate IE9 mode, which I can't bring myself to force upon Wedge users, so... Well, whatever. Use Metro mode, or emulate IE9, I don't really care right now, and I'm certainly not going to rewrite all functions to use $.get instead, uh... (Ajax.php)
* Moved debug junk into the footer, rather than below it. I just think it looks best, so... I'm expecting all footers to have an unordered list in them, otherwise it'll break your themes. Okay..? (Subs-Template.php)
2748
Features / Re: New revs
« on July 3rd, 2013, 03:50 PM »
rev 2171 -- finally got around to cherry-picking this N-th large overhaul of the notifications system...
(12 files, 21kb)
* Large overhaul of the notification system. Notifier is no longer an abstract class, and it provides default actions for all methods. It assumes that your notification is about a forum post, so if you want to notify about a topic, a thought, a media item or whatever else, you'll have to override some of the methods, but it's better than having to override it constantly. (Class-Notifier.php, Notifications.php, notifiers/*, ...)
* Notification::issue parameters were changed; notifier name now comes first (it makes more sense to me), and it expects a string, rather than a notifier object, so just remove weNotif::getNotifier() calls, it's much simpler this way. Also changed order in NotifSubscription::issue, although I have yet to see this function used, so it doesn't matter... (Class-Notification.php, Class-NotifSubscription.php, Like.php, MoveTopic.php, QuickMod.php)
* Notification previews are now prepared entirely within the getPreview method, making it easier for notifier objects to override the default behavior in case the notification isn't related to a topic, or something more complicated is needed. (Class-Notifier.php, Notifications.php, notifiers/Likes.php)
* Notification periodical e-mails should now be in plain text, as desired. (Notifications.template.php)
* Commenazi. (Class-Notification.php, Class-Notifier.php)
! Fixed missing header. (notifiers/Move.php)
(12 files, 21kb)
* Large overhaul of the notification system. Notifier is no longer an abstract class, and it provides default actions for all methods. It assumes that your notification is about a forum post, so if you want to notify about a topic, a thought, a media item or whatever else, you'll have to override some of the methods, but it's better than having to override it constantly. (Class-Notifier.php, Notifications.php, notifiers/*, ...)
* Notification::issue parameters were changed; notifier name now comes first (it makes more sense to me), and it expects a string, rather than a notifier object, so just remove weNotif::getNotifier() calls, it's much simpler this way. Also changed order in NotifSubscription::issue, although I have yet to see this function used, so it doesn't matter... (Class-Notification.php, Class-NotifSubscription.php, Like.php, MoveTopic.php, QuickMod.php)
* Notification previews are now prepared entirely within the getPreview method, making it easier for notifier objects to override the default behavior in case the notification isn't related to a topic, or something more complicated is needed. (Class-Notifier.php, Notifications.php, notifiers/Likes.php)
* Notification periodical e-mails should now be in plain text, as desired. (Notifications.template.php)
* Commenazi. (Class-Notification.php, Class-Notifier.php)
! Fixed missing header. (notifiers/Move.php)
2749
Features / Re: More sidebar complications...
« on July 3rd, 2013, 11:26 AM »
That's a long post, for an issue that really never was... ;)
Okay, I've updated the site to my latest local version, with:
- hover removed, so, no more accidental triggering,
- replaced with a 'standard' menu button, located in the top left of the screen, which you can click to toggle the sidebar,
- button has a title attr, explaining what it does, and that you can also middle-click,
- IE < 10 compatibility.
Hopefully, this time you'll think it's more usable. Haven't tested much with mobile devices, though...
I'm also considering turning the #top section into a fixed element, sort of a frame, and put all of the useful stuff into it, as icons. (Except for the search bar, which is okay as an input bar.. For now!)
I haven't tested yet, and I'm not even sure I'll do it, because on most sites, I tend to dislike fixed top bars, but on some sites I find it isn't too bothersome, so... I don't know, I'll have to see.
Okay, I've updated the site to my latest local version, with:
- hover removed, so, no more accidental triggering,
- replaced with a 'standard' menu button, located in the top left of the screen, which you can click to toggle the sidebar,
- button has a title attr, explaining what it does, and that you can also middle-click,
- IE < 10 compatibility.
Hopefully, this time you'll think it's more usable. Haven't tested much with mobile devices, though...
I'm also considering turning the #top section into a fixed element, sort of a frame, and put all of the useful stuff into it, as icons. (Except for the search bar, which is okay as an input bar.. For now!)
I haven't tested yet, and I'm not even sure I'll do it, because on most sites, I tend to dislike fixed top bars, but on some sites I find it isn't too bothersome, so... I don't know, I'll have to see.
2750
Features / Re: More sidebar complications...
« on July 3rd, 2013, 12:09 AM »
Fun crap of the day...
Chrome: $(document).mousedown(e) -> e.which returns 1 for left button click, 2 for middle, 3 for right.
Firefox: e.which returns 1 for left button click, and isn't caught at all in middle and right clicks... To trigger 2, you have to first press the right mouse button, then the middle button, then release the right button.
This is totally stupid..!
Also, doing it on click() (which isn't in the jQuery docs), right button works, but middle button still doesn't... -_-
I'm starting to seriously consider doing two different sidebar animations...
- desktop: sidebar shows from the left; screen remains static.
- mobile: sidebar is stuck to the left of the screen; entire screen scrolls, or 'pans' to the right.
The reason why I need to do it that way in mobile, is that it's the only way to trigger hardware acceleration; as a counterpart (?), the sidebar position can only be 'absolute', instead of 'fixed' (this is a W3C-induced limitation related to stacking contexts). It doesn't matter much anyway, because scrolling a position: fixed element on mobile is an... absolute PITA. Believe me, I've tried HARD... Doing it in a native app is easy as hell, but in a web app, it's really hard to get it right.
Desktop browsers don't need the extra boost from hardware acceleration anyway, so we can do without it... Although the animation isn't as cool, but since it's done by jQuery, it's compatible with all browsers, including oldIE. Normally...
I don't know... Should I do the hardware accelerated animation on both..?
Chrome: $(document).mousedown(e) -> e.which returns 1 for left button click, 2 for middle, 3 for right.
Firefox: e.which returns 1 for left button click, and isn't caught at all in middle and right clicks... To trigger 2, you have to first press the right mouse button, then the middle button, then release the right button.
This is totally stupid..!
Posted: July 2nd, 2013, 11:39 PM
Also, doing it on click() (which isn't in the jQuery docs), right button works, but middle button still doesn't... -_-
Posted: July 2nd, 2013, 11:41 PM
I'm starting to seriously consider doing two different sidebar animations...
- desktop: sidebar shows from the left; screen remains static.
- mobile: sidebar is stuck to the left of the screen; entire screen scrolls, or 'pans' to the right.
The reason why I need to do it that way in mobile, is that it's the only way to trigger hardware acceleration; as a counterpart (?), the sidebar position can only be 'absolute', instead of 'fixed' (this is a W3C-induced limitation related to stacking contexts). It doesn't matter much anyway, because scrolling a position: fixed element on mobile is an... absolute PITA. Believe me, I've tried HARD... Doing it in a native app is easy as hell, but in a web app, it's really hard to get it right.
Desktop browsers don't need the extra boost from hardware acceleration anyway, so we can do without it... Although the animation isn't as cool, but since it's done by jQuery, it's compatible with all browsers, including oldIE. Normally...
I don't know... Should I do the hardware accelerated animation on both..?
2751
Features / Re: More sidebar complications...
« on July 2nd, 2013, 04:27 PM »
Works great for me on Chrome Beta... :-/
2752
Features / Re: More sidebar complications...
« on July 2nd, 2013, 02:50 PM »
There are two different sidebars...
I take it you haven't followed this topic at all... Anyway...
I take it you haven't followed this topic at all... Anyway...
2753
Plugins / Re: RSS Feed-to-post
« on July 2nd, 2013, 01:13 PM »
I guess, having one feed per topic, and new feed items being posted to the same topic, rather than one board with feed, with new items being posted to new topics... The former allows 'closing' the topic and keeping it sane, the latter allows people to comment on each individual item, which, in most situations, would be quite useless, as from what I can see, rss-to-forum boards are usually ignored by most people, at least on boards where I saw this kind of mod being used, but maybe it's just me...
2754
Features / Re: More sidebar complications...
« on July 2nd, 2013, 01:10 PM »Something that is not clearly 'a feature' is hard for people to grasp in order to comment on it. It's a usability thing not a 'feature' thing, and as a result people need to see it, interact with it and get a feel for it to be able to figure out whether they like it or not.
It's much the same with some of the WeCSS stuff, actually...
I have a similar problem in terms of getting feedback when it comes to some of the stuff I've worked on with Wedge, e.g. when I asked about permissions. Everyone seems to grasp the nature of the problems that I see with what SMF had, but no-one's really quite sure how it should be fixed, and even when I tried bumping it via Facebook, the additional views didn't really help. It's frustrating in a way because I specifically wanted feedback but came to understand why I wasn't going to get very much on it.
(Although later, I made a suggestion about moving everything to use hover dropdowns, which I still think is going to work great, but I'm always postponing my 'generic hover dropdown' thing, because I have other things to deal with... Currently, notifications, sidebar and infinite scroll, all three of which have taken their toll on me...)
Good design doesn't shout at you to tell you how good it is. It lets you do what you want to do without being in your face, in a way that feedback generally seems redundant.
I'm not sure how I feel about the sidebar at present. The idea of it sliding out is a cool one, but I'm concerned that it isn't obvious enough and it seems a bit twitchy to me - I go by the front page an awful lot and more than once I've ended up bringing the sidebar into view when going to click on the 'Wedge' in the linktree.
I was actually considering dropping the hover act for this, and going for a Menu button in both mobile and desktop. Both will have an additional trigger technique, of course: middle click for desktop, and right swipe for mobile. (The version I'm working on currently is much more conservative when it comes to the swipe length, and I'm hoping to be able to make it work the same on all mobile devices, whatever their way of calculating said length, which can be annoying.)
PS: I still think that, maybe, just maybe, we should consider saying Wedge is a 'blog' platform, or at least remove references to 'forum', and use 'community' everywhere...
2755
Features / Re: More sidebar complications...
« on July 2nd, 2013, 11:34 AM »I see it was worth the effort... :lol:
I spent another 24 hours on this, even unearthed bugs by Chrome that I tried hard to fix (such as hardware-accelerated fixed-position items being treated as absolute-positioned), but it's definitely not worth the hassle.
See. Only Pete's new features seem to create any kind of excitement in users here. Whenever I have something new to show, I have to wait until Pete says it's "nice" for everyone else to agree with him. Whenever he's on project leave, everyone decides that they'll take their leave too...
I see that not many people share my quest for perfection.
In the meantime, projects like 'Ghost', with 10 times less innovative features than Wedge, raise £200.000 (!!) on Kickstarter and get talked about in magazines. Me? All I'm asking for is feedback (negative or positive, whatever) when I post about a feature idea.
Oh, well...
I'll just call it quits, then, and always settle for the shittiest possible solutions that require the less support time to me. Perhaps one day, someone will find my shit 'revolutionary'. I'll be long gone to another project, though... Perhaps "Slice", a fork of "Wedge" geared towards making blogs. (Yeah, it'll be exactly the same, but apparently, posts + replies aren't as exciting as blog posts + comments, even though they're the same thing...)
2756
The Pub / Re: Infinite Scroll
« on July 1st, 2013, 04:30 PM »
Okay, let's just say... You wrote a plugin that adds a bbcode. And that bbcode is related to a feature offered by an external service, and thus implements a script (add_js_file) that's located on another server. It's an example among plenty possible. It's very likely that it will break, in these conditions...
Unless I can get to do the iframe version, and then move the code, including events and scripts (and not re-running them), to the parent page, after it's finished loading. So far, I wasn't able to prevent alerts from being shown in the iframe, so...
Unless I can get to do the iframe version, and then move the code, including events and scripts (and not re-running them), to the parent page, after it's finished loading. So far, I wasn't able to prevent alerts from being shown in the iframe, so...
2757
Archived fixes / Re: Template logic error for unapproved topics
« on July 1st, 2013, 09:48 AM »
Personally, I'd be okay with removing the can_approve test entirely, as it's no big deal either way, and could save people some support work... ;)
2758
Features / Re: More sidebar complications...
« on July 1st, 2013, 07:45 AM »What do you think of this new animation..?
2759
Archived fixes / Re: Template logic error for unapproved topics
« on June 30th, 2013, 11:37 PM »
Very odd... This has been in Wedge since revision 1, so it's a SMF 2.0 bug. Did it ever get fixed, over there..?
2760
Features / Re: More sidebar complications...
« on June 30th, 2013, 11:27 PM »
Single tap would be crazy, eh... ;)
Okay, so I read a bit about iOS 7, and from what I gathered, they simply copied Chrome's behavior for Safari, i.e. you have to swipe from a side, it won't trigger if you swipe from the middle, for instance. So, it should be okay... Just as I thought -- they wouldn't dare break thousands of websites that implemented code specifically to work on their OS...!
Also, I rewrote (again) my code tonight, and ended up getting a faster animation on Android, but it's extremely broken (apart from the sidebar font size finally being fine), and the animation doesn't work on iOS (at least older versions), will fix later.. Also, the opening/closing triggers stop working after the first time, so you'll have to reload your page. I'll fix all of these, tomorrow... For now, bed time is upon me. Ah, well... Maybe if I manage to steal a few extra minutes, eheh...
Okay, fixed the triggers to happen all the time, fixed font color, didn't fix the stuff in iOS though, I couldn't care less... :niark:
What do you think of this new animation..? It could be seen as bothersome if you're currently writing a post or something and then accidentally triggering the thing, but it's no biggie.
Okay, so I read a bit about iOS 7, and from what I gathered, they simply copied Chrome's behavior for Safari, i.e. you have to swipe from a side, it won't trigger if you swipe from the middle, for instance. So, it should be okay... Just as I thought -- they wouldn't dare break thousands of websites that implemented code specifically to work on their OS...!
Also, I rewrote (again) my code tonight, and ended up getting a faster animation on Android, but it's extremely broken (apart from the sidebar font size finally being fine), and the animation doesn't work on iOS (at least older versions), will fix later.. Also, the opening/closing triggers stop working after the first time, so you'll have to reload your page. I'll fix all of these, tomorrow... For now, bed time is upon me. Ah, well... Maybe if I manage to steal a few extra minutes, eheh...
Posted: June 30th, 2013, 11:17 PM
Okay, fixed the triggers to happen all the time, fixed font color, didn't fix the stuff in iOS though, I couldn't care less... :niark:
What do you think of this new animation..? It could be seen as bothersome if you're currently writing a post or something and then accidentally triggering the thing, but it's no biggie.