New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
YUI is going away - what does this mean for Pure? #373
Comments
More focus. YUI depends on Pure, and we made it a separate project because Pure is the right sized project and CSS only, and can also benefit a larger number of projects than ones using YUI. A lot of the original CSS and ideas for Pure existed in YUI first, and we extracted and expanded on them to make Pure. |
That is fantastic news! Thanks for the update. |
Nice! |
That's a relief! I thought too Pure would get abbandoned. |
👍 |
right on |
Big relief :-)) |
+1 Maybe it should be mentioned in the Readme. Thanks for the great work. |
Curious about how Pure dropdown menus will be powered without YUI. Since we use jQuery on our porjects, we've developed our own technique: http://pixabay.com/blog/posts/id-56/ It would sure be great to have an official and tested way of handling this without YUI. |
I think purecss should focus on CSS only. Dropdown menus with javascript can be done with any javascript framework / library. |
Can you not do drop down menus with CSS3? |
For mobile friendly menus, it's usually best to use click events for triggering open/close of dropdowns. AFAIK, there's no way for doing that in CSS only. Hover is possible via CSS, but that's unhandy for touch devices. I don't think Pure should include JavaScript, but maybe it's a good idea to show how Pure menus can be used in combination with various JS libraries. Menus are a vital part of most websites and the existing Pure menu CSS works well with JS events. |
I wouldn't necessarily delve into specific JS libraries. The dropdown has a core set of events and functionality that can be easily described at a high level and people can then use that base as a starting point for implementing it within their JS Lib/Framework of choice. Something along the lines of "given the standard menu markup you want to attach a click/hover event to the top-level menu item in a containing LI element which is responsible for hiding/showing any sibling UL tree. The same pattern applies to sub-menus". But a little more detail, possibly showing a raw JS code example. |
It would be nice if there was a list of JS plugins that were compatible with Pure. It's nice to have a strong focus on only officially supporting CSS, but I'm running into some situations where I wish the options were available to me. In practice you have instances where you start building on something like Pure and then a client demands something like a dropdown menu. Without YUI, the only option available is for every developer to build their own solution to something that heavily depends on the CSS and HTML structure provided by Pure. A source on the website or this repo would be great, because (for example) purecss dropdown menu is virtually unsearchable as a reliable way of finding solutions that relate to this framework and instead returns no-JS solutions. |
@ericf, more focus? The project activity afraid me, or maybe commits will be back stronger and faster than ever? I love the lightweight approach of purecss (and I love normalize.css too), I hope a lot of updates are coming soon (like an upgrade of normalize) ;) |
@sebastiendavid I know what you mean. I've heard several times that Pure is alive and well, but the fact that there have hardly been any commits in the last 6 months worries me. |
Version 0.5.0 was launched just recently. I think there's a lot development here :-) Awesome changes and new possibilities ... am I wrong? |
I think that a product as calculated as Pure is intended to involve a fair amount of discussion, but very deliberate code commits. It seems to be designed to be minimal, so a lot of commit activity would defeat that purpose. That would be more of a kitchen sink approach. |
@SimonSteinberger Yes, version 0.5.0 was technically released in May, but there were no changes between 0.5.0-pre in March and 0.5.0 in May, so I'm considering March the last point where there was somewhat stable development. Make no mistake, I love Pure and I'm not complaining about the amount of development on it. I just keep hearing that it isn't dead while it continues to sit with no recent commits -- that's all. |
"More focus" - yeah, right 😦 |
👍👍👍 If we keep it going. Thanks! |
I also feel Pure has been neglected for a few months. I attribute this largely to Tilo's departure. The YPT team is staffing up, though, and I'm happy to be turning my attention to Pure this quarter. There's quite a backlog of issues and PRs to go through. I am working to resolve them and to execute our 2015 roadmap. I sympathize as well with those who have expressed a desire for a component library, replete with markup and JS, now that YUI has been deprecated. I don't yet have an answer to that question. |
In closing, some more thoughts on a post-YUI world:
|
Just as an idea for the JS driven menus: In our projects we auto-detect touch devices: On those devices, our Pure dropdown menus open on click - while on mouse controlled devices, the menus open on hover. Our users love it, because when using a mouse, it's just more intuitive if menus open on hover. and it involves just a minimum of extra code ... just a thought :-) |
@SimonSteinberger Thanks for the suggestion. Your comment inspired me to add in such functionality. Because overriding it would be difficult, and not everyone will want to expose submenus on hover, I decided to make it optional via a
|
Excellent 👍 |
Not to downplay your idea @SimonSteinberger, but some browser/device combos with a mouse/trackpad (chrome on touchscreen laptops) will have 'ontouchstart' in the window object. This means that you cannot, reliably, across all platforms, determine if a user has a mouse or not by that property alone. Just some food for thought. Cheers! :) |
Given the announcement that development of YUI is ending, I was wondering what this means for Pure.
Is this a good thing, meaning that focus will be spent on Pure? Or is this bad, meaning that Pure is also going away?
The text was updated successfully, but these errors were encountered: