[09:00:16] jQuery UI weekly meeting! Agenda: http://bit.ly/jqueryui-agenda3 Ping uGoMobi agcolom arschmitz gnarf kborchers mikesherov petersendidit rxaviers scott_gonzalez tj_vantoll [09:00:28] yo [09:00:30] hello [09:00:55] I am around [09:01:18] rxaviers: let's start with AMD? Can you summarize the CSS dependencies disucussion? [09:01:20] hi [09:02:27] YOOOOOOOO [09:03:16] sure [09:03:31] hey [09:03:50] So far, we raised pros and cons of using AMD to handle CSS dependencies. [09:04:52] there's a cons of adding a dependency for AMD-users (which, by the way, can be skipped with few configuration); [09:05:41] there's a pro of much more robust way of handling the dependency when compared to a adhoc comment. [09:06:05] I have to dig into your examination here: https://github.com/jquery/jquery-ui/pull/1029#issuecomment-27179992 [09:06:06] jzaefferer: Pull request #1029 by rxaviers (3mon 2w ago): AMD support [09:06:25] I still can't tell what we should do [09:06:30] ok, let me know on any doubt. I have broken down the discussion into smaller questions. [09:06:37] Because, discussion was going beyond the original goal [09:06:38] it seems like there's no de-facto solution [09:07:07] yeap, that's what I understood too. [09:07:30] Is it possible to just skip handling CSS dependencies for now? [09:08:01] Since there's no clear way of handling this. [09:08:18] actually, there's although not de-facto [09:08:44] rxaviers: what do you mean? [09:08:50] tj_vantoll: well they need to be handled somehow for the build [09:08:59] we know how to handle it. Although, it's not a de-facto way [09:09:10] I agree that it might be better to not solve this, then implementing something that (some loud) people will yell at us for later [09:09:58] I guess source comments like jQuery Mobile would avoid configuration in download builder, while skipping actually solving it? [09:10:06] arschmitz: Ah true. [09:10:19] We can skip it, technically [09:11:09] Can we decouple AMD into JS (1029) vs. style and templates (new issue)? [09:11:41] rxaviers: if we skip it, how do we deal with it in DB? [09:11:45] Yeah my opinion would be the comments since that doesn't affect the end user, or just nothing and we do what download builder is already doing. None of the AMD plugin solutions seem like a path we want to go down. [09:11:45] One pro of having everything AMD is standardization, possibly easier when it comes to DB. [09:11:48] also, "templates"? [09:12:04] If we skip it, we deal as we currently do: hard coded code [09:12:40] rxaviers: anything against source comment, as an intermediate solution? [09:12:54] I think we should either: do nothing, or finish the discussion. [09:13:39] using source comment, as pointed out in the comments, doesnt help much where we currently are with DB [09:13:55] which comment was that? [09:14:12] So it would essentially just move the hardcoding from DB to the source comments. [09:14:21] check the section "2) Handle CSS dependencies via AMD defines or comments?" [09:14:35] Nope [09:14:46] Source comments will add adhoc complexity in DB [09:15:02] which AMD would solve [09:15:08] but it removes the configuration for UI, doesn't it? [09:15:14] and we could use it for Mobile as well [09:15:43] yup [09:15:49] UI and Mobile's themes are completely different. I dont know at which point it helps, or it complicates things [09:15:56] it would make db not tied to a specific project [09:16:10] rxaviers: it wouldnt matter how different they are [09:16:22] rxaviers: the comment tells you what files to include [09:16:27] it should be just a matter of concatenating the specified files? [09:17:14] Why not using AMD to solve part of this problem = resolve the paths and get the content for us? [09:17:34] And the dependencie [09:17:36] And the dependencies [09:17:54] Look at the "Apendix 1:" example I gave [09:18:06] jquery.ui.accordion.js requires css!jquery.ui.accordion.css [09:18:16] jquery.ui.core.js requires css!jquery.ui.core.css" [09:18:23] rxaviers: is there an official require.js CSS plugin? [09:19:02] If user code depends on jquery.ui.accordion.js (or if user wants to build a package containing jquery.ui.accordio.js) [09:19:15] I think the reason would be it would enforce a CSS plugin on people who want to use jQuery UI's source files. [09:19:36] Our adhoc comments dependency manager code will have to solve dependencies.. But, we're duplicating what AMD already does. [09:19:50] personally i think its better to avoide amd for css until there is at least some sort of generally agreed upon solution [09:19:54] I don't think core.js has a dependency on core.css; all the other CSS files do, though [09:20:06] arschmitz ++ [09:20:16] tj_vantoll, that's not true.. That will enforce the dependency on AMD-users only (not hard to overcome with configuration though) [09:20:19] and right now that just does not exist [09:20:52] Yeah, my opinion is that we should avoid the dependency for AMD-users. [09:21:24] I think then we should finish the discussion including SlexAxton and the person that scott wanted to hear about [09:21:33] rxaviers: did you look at how the CSS dependency comments in Mobile are parsed? [09:22:09] amd for css effects the usability of individual files for some people where comments are just for builder and make no functional difference in the files [09:22:47] I dont see why we should decide picking comments in hurry now [09:24:28] I agree there's a cons for the AMD-users (I was the first one to raise that issue) [09:24:36] But, I also assume there are benefits with AMD. [09:24:47] That perhaps outweights this cons [09:25:01] And that we should carefully check before going in one direction. [09:27:47] rxaviers: we want to use DB for both UI and Mobile asap, so going with comments has immediate benefits [09:28:04] jzaefferer: ++ [09:28:07] rxaviers: I'd like to get an estimate how much effort it would be to support comments as an intermediate solution [09:28:25] doesn't have to be now, but soon, so that we can decide how to move forward [09:28:39] I'm assuming it's not a whole lot of extra coding as well since mobile already has code to parse the comments. [09:28:52] csnover may still weigh in, but I doubt it'll change much [09:29:58] rxaviers: if you're happy with that approach, we can discuss this in Amsterdam next week (skype you in) or in a separate meeting, tomorrow or Friday? [09:30:08] let's move on for now [09:30:26] the updated tooltip PR looks much better. tj_vantoll could you test that once more? [09:30:43] arschmitz: do you have any news on the button rewrite? An estimate for a PR to review css-only buttons? [09:31:10] oh hold on 2 secs i do the pr [09:31:22] its in a branch [09:31:41] jzaefferer: Yeah I'll test it tomorrow. [09:31:51] cool, thanks [09:32:29] I've put the next two, Dialog and Scoped Themes on the agenda for Amsterdam next week. [09:32:37] https://github.com/jquery/jquery-ui/pull/1126 [09:32:37] arschmitz: Pull request #1126 by arschmitz (37s ago): Button: first pass at css only buttons [09:32:38] I don't think we've made any progress on those since last week [09:33:01] http://view.jqueryui.com/button/demos/button/css-only.html [09:33:20] nice, I'll look at that later [09:33:21] Looking good. [09:34:05] fnagel: the menu-styles branches are somewhat confusing - can you shine some light on that? The discussion on the wiki for that seems to be gone, so I can't quite tell what that is all about [09:34:06] iv started rewriting the widget as well its basically just a glorified class toggle now [09:34:42] We discussed menu item style because of a selectmenu wiki comment [09:35:12] I'm here now :-) [09:35:12] Scott adivised me change this for master (aka menu and selectmenu widget) and added the todo list in the selectmenu wiki. [09:35:19] There are a few things related to the menu styles. [09:35:26] hey scott_gonzalez [09:35:38] The most recent thing that prompted this was selectmenu options that span multiple lines. [09:35:55] ah, right [09:35:56] Here's a proposed change: http://view.jqueryui.com/menu-item-styling/demos/menu/default.html [09:35:57] It was hard to tell if it was a seconditem or a long item (without hovering) [09:36:13] curiously none of the updated styles include a multi-line item [09:36:15] Right, better multiline and a difference between button and item [09:36:21] which might help to judge the result [09:36:26] But even before that, the menu styles just looked odd. [09:36:42] The rounded corners on items with spacing around them didn't seem quite right. [09:36:55] no, none of the menu demos have mutlipline line, I've added some in my local fork [09:36:55] This was something that had been brought up a few times by the community. [09:37:24] so fnagel added lots of space, scott_gonzalez removed it? [09:37:32] you guys should talk more :p [09:37:48] away, sorry, but we have some trouble here at work [09:38:00] Well, we can increase the spacing between items, but we definitely want a cleaner, tighter look. [09:38:20] agree [09:38:59] i agree also before it was oo hard to tell the difference [09:43:47] Snover's going to comment on the PR. [09:43:50] fnagel: can you take a look at Scott's branch and integrate that into yours? along with some multi-line items [09:43:51] about AMD [09:44:35] we have 13 more tickets, compared to a week ago. Most of that is probably Dylan reporting a11y issues [09:44:59] mikesherov: got something to report on Effects or Draggable? [09:45:12] i've been slooooooowly trying to kill regressions [09:45:17] rxaviers: any news on Globalize and CLDR? [09:45:55] back [09:46:03] yeap, I have pushed to the CLDR list some (lot) of questions about documentation [09:46:24] basically, all assumptions were correct and they are fixing docs: [09:46:32] Where to find scotts branch? [09:46:45] - http://unicode.org/cldr/trac/ticket/6788 [09:46:46] - http://unicode.org/cldr/trac/ticket/6789 [09:46:46] - http://unicode.org/cldr/trac/ticket/6790 [09:46:57] scott_gonzalez: where to find your menu item branch? [09:47:00] and [09:47:00] unicode.org/cldr/trac/ticket/6780 [09:47:22] fnagel: there's links in the agenda; also here: http://view.jqueryui.com/menu-style/demos/menu/default.html [09:47:40] Also, I am reviewing new $.datepicker with TJ and making comments on CLDR stuff [09:47:43] (still working on that) [09:47:51] jzaefferer: I will take a look soon [09:48:32] rxaviers: where are you communicating with the CLDR folks? their mailing list? [09:48:35] or private mail? [09:48:41] I have to leave in a minute so quick update. I made some progress on multi month calendar keyboard support. Also $.date only uses jQuery as a namespace, so there's no real dependency to remove. We just have to figure out the final resting point and name of that file. [09:48:44] along with trac, obviously [09:48:47] "cldr-users@unicode.org" [09:49:13] tj_vantoll: and a global name to export, along with some form of UMD wrapper? [09:49:58] Yep, we'll have to do some bike shedding on that at some point. [09:50:59] Are you guys going to talk about datepicker's API in Amsterdam? [09:51:35] It's on the agenda. [09:51:56] But it's hard to tell where we'll start and what we'll get to. [09:52:13] So, update on draggable: I'm continually hardening the test suite [09:52:27] and have the whole widget in my brain [09:52:35] just hammering out kinks in IE, etc. [09:52:40] effects, no update yet [09:52:43] but getting there [09:52:49] it's next after fixing 9379 [09:52:53] Ok just curious. I could potentially Skype in but I'm fine with any decision being made without me. I'd like to get the API nailed down to move forward. [09:53:35] tj_vantoll: I think a separate meeting for datepicker API would be better [09:53:42] we'll have a lot of ground to cover in Amsterdam anyway [09:53:53] Sounds good. [09:54:27] Until then I'll work on polishing up the multi month pickers because there are still a few rough edges. [09:54:48] I'm taking off. I'll be back in an hour or so. [09:55:13] alright, thanks [09:56:01] I think we're pretty much done here anyway. Unless someone got something else? [09:56:12] Dev Leads meeting in four minutes, too