News for hackers. Stuff that matters.
Re:Brick – UI Components for Modern Web Apps by jwilliams on Friday August 16, 2013 @07:47AM (#6223371)
Interesting, although I think the "beta" is quite literal. Seems to lack a bit of polish.

The one I was most interested in was the Date Picker, but locks up Chrome (28) and Safari (6) on my machine. http://mozilla.github.io/brick/component/datepicker/demo/ind...

Re:Brick – UI Components for Modern Web Apps by potch on Friday August 16, 2013 @11:25AM (#6224536)
Hi! I work on Brick. Yes, there are still rough edges on these components, and we're putting them out there in the hopes of getting feedback and bug reports- a traditional beta.
Re:Brick – UI Components for Modern Web Apps by jwilliams on Friday August 16, 2013 @09:38PM (#6227848)
Cool. I see the date picker has been fixed - thanks muchly & thanks for putting this out there.

In terms of feedback :) I gave it a shot. The only one that had a native date picker component (on my setup) was Chrome. The polyfill version didn't seem fully operational (just an overflow list of the same date?).

The Chrome native suffers from the same UX snafu that so many Date Pickers do - it's fine for relative dates, but terrible for absolute ones. If you want to schedule an event in a week it's great. Or of you want to search for flights.

However, if you want to enter a Date of Birth, it's terrible. You have to scroll through hundreds of months to get to the year you want.

So maybe you fall back to typing? In the native picker in Chrome, you can muddle through the day/month piece, but you can't type a straight year. e.g. start by typing "19" for "1975" and it'll match "1909". This also makes it impossible to enter a date in the 2000's!

You do get a "spinner" that might let you set the year, but the buttons are so small I think it defies practical usability.

Bah! Interestingly the iOS version does not suffer from this gripe as has a slot-machine three drum date selector. It does default to today, but it's pretty easy to move +/-50 years in either direction.

Sorry, that was a genuine rant. I know this is not intrinsic to Brick, but for me a universal Date Picker is #1 bugbear that I'd like it to solve.

(* The Chrome one also defaulted to the wrong timezone. Clicking "today" selected the wrong date.)

Re:Brick – UI Components for Modern Web Apps by varunkumar on Friday August 16, 2013 @04:59PM (#6226705)
Hi, Is there any documentation to read about the implementation of these components? Does it use x-tags??
Re:Brick – UI Components for Modern Web Apps by csuwldcat on Tuesday August 27, 2013 @11:53AM (#6284208)
Yes, Brick is a set of components developed with X-Tag (the web components sugar library)
Re:Brick – UI Components for Modern Web Apps by ciupicri on Friday August 16, 2013 @08:33AM (#6223562)
It slowed firefox-23.0-1.fc19.x86_64 so much, that I thought it froze too.
Re:Brick – UI Components for Modern Web Apps by nogridbag on Friday August 16, 2013 @10:42AM (#6224264)
I'm not having the freezing issue with Chrome (28). But I think there're some major usability issues. I cannot figure out how to input a date. If I input "8" then "16" it's current value is 08/16/yyyy with the "yyyy" part selected. If I continue to input "2" for the year part it changes to 1902. Inputting "20" will reset the date picker back to mm/dd/yyyy.
Re:Brick – UI Components for Modern Web Apps by csuwldcat on Friday August 16, 2013 @12:21PM (#6224964)
I believe you are describing the native datepicker, I am seeing the same weirdness. Be advised, the calendar polyfilled calendar is only active when a native implementation is not detected, or you force it to be used. This may be a bug in Chrome itself.
Re:Brick – UI Components for Modern Web Apps by nogridbag on Friday August 16, 2013 @02:04PM (#6225684)
Yes you're correct. It's neat that it uses the native datepicker if available, but one area of concern is they use different date input formats. Native forces mm/dd/yyyy while the polyfill suggests yyyy-mm-dd (though it accepts the former format as well).
Re:Brick – UI Components for Modern Web Apps by potch on Friday August 16, 2013 @12:26PM (#6224988)
If you wouldn't mind, could you file this (and other problems you run into) as issues? https://github.com/mozilla/brick/issues
Re:Brick – UI Components for Modern Web Apps by moondowner on Friday August 16, 2013 @08:05AM (#6223451)
Locks FF Nightly too.
Re:Brick – UI Components for Modern Web Apps by csuwldcat on Friday August 16, 2013 @12:36PM (#6225064)
Given that the errors and ability to reproduce are so erratic (to the extent that people with the very same browser versions on the same platform are seeing different behavior), I have a feeling the issue may be something like this: https://github.com/eternicode/bootstrap-datepicker/issues/95...
Re:Brick – UI Components for Modern Web Apps by aroch on Friday August 16, 2013 @09:07AM (#6223721)
Clearly I need to restart my browser more often....But it works fine in both 25.0a1 (2013-07-26) and the latest Nightly under OSX 10.8 and 10.9
Re:Brick – UI Components for Modern Web Apps by epmatsw on Friday August 16, 2013 @08:13AM (#6223495)
Really? I'm running the UX nightly and it seems fine
Re:Brick – UI Components for Modern Web Apps by ssharp on Friday August 16, 2013 @08:57AM (#6223669)
Another thing about the date picker that was at least happening on my desktop: when it expands, it expands well beyond the bounds of the mobile phone container they're using in their example:

http://i.imgur.com/oOQFBs4.png

Re:Brick – UI Components for Modern Web Apps by potch on Friday August 16, 2013 @11:29AM (#6224573)
That likely won't happen on your real phone :) Thanks though! I'll file an issue for that if one hasn't already been.
Re:Brick – UI Components for Modern Web Apps by NKCSS on Friday August 16, 2013 @09:34AM (#6223867)
Yup, has been a while since I've had to fire up IE to view something that doesn't work in chrome :P

While the page does load, it has a long running script that dies :P

Re:Brick – UI Components for Modern Web Apps by cateye on Friday August 16, 2013 @08:39AM (#6223586)
I can confirm this on OSX - Chrome 28.
Re:Brick – UI Components for Modern Web Apps by csuwldcat on Friday August 16, 2013 @12:38PM (#6225076)
The issue might be locality dependent, we have several people where who are running the exact same version and platform that cannot reproduce - could be an issue like this: https://github.com/eternicode/bootstrap-datepicker/issues/95...
Re:Brick – UI Components for Modern Web Apps by csuwldcat on Friday August 16, 2013 @12:19PM (#6224949)
I'm also running Chrome 28 (Version 28.0.1500.95) on Windows, but everything is running fine. I'm wondering if Chrome itself is locking up, because the calendar demo is has only one demo of the polyfill picker, the rest are the native calendar that it uses when it detects it is available.
Re:Brick – UI Components for Modern Web Apps by emehrkay on Friday August 16, 2013 @09:18AM (#6223783)
Seems fine on an older webkit nightly (the newest one, on another machine, crashes after five mins)
Re:Brick – UI Components for Modern Web Apps by nilsbunger on Friday August 16, 2013 @02:51PM (#6226000)
Sounds like the "brick" is quite literal too in this case! :)
Re:Brick – UI Components for Modern Web Apps by bsimpson on Friday August 16, 2013 @01:12PM (#6225327)
Works fine in ChromeOS 28.0.1500.95