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.
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.
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:
We're actually not using the Polymer Web Components shim- it attempts to simulate Shadow DOM by overriding DOM Methods(!), which didn't seem necessary.
Yep. The web components aspect is the most interesting aspect of this. It would have been useful to put that in the post title (until a mod reverts it).
Underlying Polymer's opinionated framework, there is a set of polyfills for the emerging Web Components standards - both Mozilla's X-Tag library and Polymer use these polyfills as the basis of their offerings.
This is cool and certainly useful but I have concerns. Forgetting for a moment that this is a shim and imagining that all browsers support this natively, isn't this sort of thing outside the intended purpose of html. Html should describe content not styling and this sort of thing seems ripe for abuse. I thought XML was the markup language for describing custom data. Adding the ability to create your own DOM elements for the purpose of using them as hooks for interactivity and styling seems like something that should be avoided in HTML.
Am I being a too much of a purist or overlooking something here?
You're overlooking that the underlying technology - Web Components - is landing as a standard as we speak in both Firefox and Chrome. The idea that creating custom elements is inherently bad is an urban legend - there is no empirical basis for such a claim. Additionally, you are mixing metaphors, Custom Elements are not meant to describe data, they are meant to create new, active UI components and other useful tags.
These are UI elements built on top of (a shim for) the coming standard Web Components.
For another Web Components shim check out polymer-project.org along with a small, opinionated framework leveraging Web Components. Especially look at the awesome Sandbox application allowing you to compose web components :)
I think it's fucking awesome and it works like a boss in FF 24 (beta) on OS X. I'm very excited about this project only because standard UI elements are so irritating to make (after having done it hundreds of times) and the alternative libraries (in my opinion) all do too much and too little at the same time.
For everyone complaining about Chrome, I would like to say this is "beta" and "ahahahahaha."
Not to be malicious though! I just have a really shit experience on the web with a lot developers only targeting Chrome/Webkit. Like ScalaTour for instance-- a wretched experience if you're /not/ using Chrome (read unusable).
It's nice to see it go the other way for once! ;-)
I would much prefer one piece of javascript per component. So if I liked one, I could use it and improve it. Im not so much inclined to use a library of tons of stuff I dont use.
The folks working on the components are going to be incorporating all this feedback and reporting going forward. Everyone is encouraged to file bugs with the repo here: https://github.com/mozilla/brick/issues
Just an FYI - Mozilla will be employing this highly technical problem resolution strategy to ensure a high level of quality prior to official release: http://www.youtube.com/watch?v=yo3uxqwTxk0
With this and Polymer, I think the whole idea of software components might actually happen. I cannot wait for this to happen. Having this stuff would be great!
Thanks to the people behind HTML5 for kicking off the innovation.
Thanks to the team that put this together at Mozilla. I went to the demo page and things just worked.
For those of you reporting crashes in calendar/datepicker, can you please indicate what region you are in (UK, etc)? The issue is most likely caused by non-American date formats, and we are working on a fix.
yeesh, I respect Mozilla for their true open-source-everything-all-the-time philosophy but this is an example where I think it backfires - it's too early! Even if these really are awesome components it's really hard to see past the lack of polish. People are fickle and you only get one chance to make a first impression, it's important that these things look good
I dont believe it backfires. People are fickle, you get lots of chances to make a first impression.
I think the key is clarity in your communication, doing a lot of polish on top of unstable software and advertising it as stable causes people to waste time using it, advertising as beta / for early adopters lets the early adopters pick it up and the people who just want it to 'just work' can wait. If you lose a few people who dont understand the benefits still far outweight the negatives.
This is mostly just a disclaimer for people who are waiting to open source their software until 'its ready', its never ready, do it now.
We were torn whether to call the current state of things alpha or beta, but yes, these are not ready for prime time. Where we and some other orgs disagree is that things should be kept secret until they're 'ready', when outside contributions could help you get them ready!
[+] [-] jwilliams|12 years ago|reply
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...
[+] [-] potch|12 years ago|reply
[+] [-] ciupicri|12 years ago|reply
[+] [-] nogridbag|12 years ago|reply
[+] [-] moondowner|12 years ago|reply
[+] [-] ssharp|12 years ago|reply
http://i.imgur.com/oOQFBs4.png
[+] [-] NKCSS|12 years ago|reply
While the page does load, it has a long running script that dies :P
[+] [-] cateye|12 years ago|reply
[+] [-] emehrkay|12 years ago|reply
[+] [-] nilsbunger|12 years ago|reply
[+] [-] bsimpson|12 years ago|reply
[+] [-] casual_slacker|12 years ago|reply
[+] [-] potch|12 years ago|reply
[+] [-] andybak|12 years ago|reply
[+] [-] csuwldcat|12 years ago|reply
[+] [-] bpatrianakos|12 years ago|reply
Am I being a too much of a purist or overlooking something here?
[+] [-] csuwldcat|12 years ago|reply
[+] [-] pennyfx1001|12 years ago|reply
All browsers are going to support Web Components eventually and it is going to greatly expand what we thought HTML should or shouldn't do.
I think Chrome Chrome Canary has an implementation behind a flag and FF is actively working on it as well.
[+] [-] k3n|12 years ago|reply
Not that it makes it right or wrong, but this just seems like a different take on the same (or similar) concepts.
[+] [-] WayneDB|12 years ago|reply
[+] [-] OlavHN|12 years ago|reply
For another Web Components shim check out polymer-project.org along with a small, opinionated framework leveraging Web Components. Especially look at the awesome Sandbox application allowing you to compose web components :)
[+] [-] rubyn00bie|12 years ago|reply
For everyone complaining about Chrome, I would like to say this is "beta" and "ahahahahaha."
Not to be malicious though! I just have a really shit experience on the web with a lot developers only targeting Chrome/Webkit. Like ScalaTour for instance-- a wretched experience if you're /not/ using Chrome (read unusable).
It's nice to see it go the other way for once! ;-)
[+] [-] itry|12 years ago|reply
http://browsershots.org/http://mozilla.github.io/brick/compo...
Same with the datepicker.
Some other stuff also looks broken.
I would much prefer one piece of javascript per component. So if I liked one, I could use it and improve it. Im not so much inclined to use a library of tons of stuff I dont use.
[+] [-] csuwldcat|12 years ago|reply
[+] [-] nrivadeneira|12 years ago|reply
When it comes to search, their kit might eclipse yours...at least for the time being.
[+] [-] nilsbunger|12 years ago|reply
On IE10 this library has no animations. Is it possible to polyfill your way to decent support with animations at least on IE10?
(I hate IE but a lot of our customers use it)
[+] [-] csuwldcat|12 years ago|reply
Just an FYI - Mozilla will be employing this highly technical problem resolution strategy to ensure a high level of quality prior to official release: http://www.youtube.com/watch?v=yo3uxqwTxk0
[+] [-] SchizoDuckie|12 years ago|reply
[+] [-] RossM|12 years ago|reply
[+] [-] unwind|12 years ago|reply
[+] [-] potch|12 years ago|reply
[+] [-] rafaelferreira|12 years ago|reply
[+] [-] drudru11|12 years ago|reply
Thanks to the people behind HTML5 for kicking off the innovation.
Thanks to the team that put this together at Mozilla. I went to the demo page and things just worked.
[+] [-] thousande|12 years ago|reply
There is a lot of great JS frameworks out there that projects DOM etc., but I always fall back to markup as the best way to build a browser based app
[+] [-] cliveowen|12 years ago|reply
[+] [-] epmatsw|12 years ago|reply
[+] [-] ldoubleuz|12 years ago|reply
[+] [-] ebbv|12 years ago|reply
It's not the tool's fault, in the end. But it is opening up a basket of horrors.
[+] [-] utopkara|12 years ago|reply
[+] [-] phpnode|12 years ago|reply
[+] [-] daleharvey|12 years ago|reply
I think the key is clarity in your communication, doing a lot of polish on top of unstable software and advertising it as stable causes people to waste time using it, advertising as beta / for early adopters lets the early adopters pick it up and the people who just want it to 'just work' can wait. If you lose a few people who dont understand the benefits still far outweight the negatives.
This is mostly just a disclaimer for people who are waiting to open source their software until 'its ready', its never ready, do it now.
[+] [-] potch|12 years ago|reply
[+] [-] davexunit|12 years ago|reply
[+] [-] unknown|12 years ago|reply
[deleted]