jQuery UI Team Meeting – Oct 01 2014

Project Leads Meeting – Oct 01 2014

Attending: Dave, Scott, Alex, Kris, Jörn, Rafael

link Core

  • Moving to Github issues
  • Still need a working Trac
    • Don't currently have one
  • Breaking changes for .then require a version bump
    • can't capture both API and browser changes easily
    • two npm packages?
      • jquery-compat (1.x-like)
        • Start at version 1.12.0?
      • jquery (2.x-like)
        • Start at version 3.0.0
    • Continue with one jquery repo tho and two branches
  • $.xhr call for comments
  • https://gist.github.com/markelog/42d43a489afb7201ddd6
  • need more fleshed-out examples with real-world use of xhr object, etc.

link UI

  • One more PR to land, then ready for 1.11.2
  • Starting work on 1.12 afterwards, including ripping out IE7 support and doing the font-size change
  • Good progress on button and datepicker rewrites

link Mobile

  • Looking into ios8 issues will do a 1.4.5 soon to address some big ones
  • 1.5 work continuing very tied to ui 1.12
  • Lisa Seacat DeLuca is is working on phonegap and cordova issues.
  • Stand alone module for declarative widgets usable with any widget and with ui as well
    • New module removes current performance penalty for reading data- options

link Globalize

link CSS Framework

  • Scott sent out email to all the CSS framework makers
  • Starting to get some (but not a lot) of responses
  • Haven’t contacted Bootstrap themes authors

link QUnit

link Testing

  • browserstack-runner reuse worker PR landed and published
  • No timeline on Travis fix, will likely take at least several weeks
  • Considering basic obfuscation of BrowserStack credentials (over plain text) to at least communicate that those aren’t intended for other projects. Deobfuscation also has to be in the repo, but might be just enough indirection until Travis implements our suggestion. In the worst case, our tests run slower or time out due to someone else abusing our account.

link Infrastructure

  • Website Crawler to verify no 404’s missing resources or script errors on sites
    • Being implemented as grunt plugin
    • PR’s for all websites in the works to fix current issues
  • Created script to clone and deploy or update app jquery-wp-content sites
  • Hackers and DDOS :(

jQuery Core Team Meeting – Sep 29 2014

Attending: DaveMethvin, timmywil, jaubourg, gibson042

link Update on web site attacks

link Trac

  • Let's switch to Github issues
  • Infra team swamped with DDoS and hack attacks
  • Keeping Trac for old issues reference
    • turn off new account creation and anonymous add/comment (dave)
  • Trac 1.0 upgrade will happen when it happens
  • Migrate open issues to GH issues?
    • no, just close them via the current GH hook
  • Create new issues with GH issues
    • turn on gh issues (dave)
    • create tags/milestones

link Promise Error telemetry

  • mikesherov will talk to Domenic

link Promises/A+ compat

  • needs review
  • should this deliver to the .then? It doesn't currently because the .done throws
    • Deferred().done(f1).then(f2)
  • gibson042 proposing a change for that

link $.xhr

jQuery UI Team Meeting – Sep 24 2014

  • Ticket triage
    • 396 tickets total +0
    • 41 pull requests -1
  • Button
    • Alex merged Jasper's CSS fixes
    • Better splitbutton demo, using button and selectmenu, much simpler and much less accessibility issues
    • Alex to work on backcompat for button options, put it on wiki first
  • Datepicker
  • Selectmenu
  • Globalize
    • Working on cldr data as versioned (peer) dependency
  • Classes option
  • Wiki cleanup
    • Deleted lots of baggage; Jörn has a backup
  • Menu
    • TJ working on bringing back wrappers, aka div sewage

jQuery Core Team Meeting – Sep 22 2014

Attending: DaveMethvin, markelog, jaubourg, gibson042, mikesherov

link Trac

  • just about at the end of the line if it doesn't get fixed soon
  • we will switch to gh issues next week if trac has no progress

link Promise Error telemetry

  • Domenic proposed unhandled rejected promises go thru window.onerror
  • he actually preferred a separate handler for it tho
  • which should we back?
  • mikesherov will talk to Domenic this week

link Promises/A+ compat

  • jaubourg is working on it

link $.xhr

  • markelog and gibson042 to create some examples based on typical ajax usage
  • emails going out to core mailing group, with gists of sample usage
  • jQuery.ajax docs have some good examples

link https://github.com/jquery/jquery/pull/1652#issuecomment-56127735

  • bring back clear/mergeAttributes, gibson042 is on it
  • doing some perf tests to see impact

jQuery Mobile Team Meeting – Sep 18 2014

  • Ticket Triage:
    • 361 tickets +12
    • 20 pull requests +2

Note: Full team in person meeting on September 11th at jQuery Chicago.

link 1.4.4

  • 2 issues so far

##1.4.5

  • won't happen unless we get major issues.

##1.5

  • there is now a branch ui-1-12 which pulls in the button branch from ui which includes classes
    • use this branch for PRs
    • jasperdegroot update css for icons and new widgets
    • gabriel_schulhof: implementing classes option in current widgets
    • e.g. replace "ui-button" with this._classes( "ui-button" ); or similar
    • We'll open one issue for each widget and use assign or comment to claim one
    • Expected to be released in just over 1 month
  • we want to land tables and navbar in 1.5
  • removing custom data-attributes and namspacing everything with ui
  • pulling autoinit out of page

##cross browser automated testing

  • there is a plan to move forward potentially through something using browserstack runner
    • may actually work now with updates done by jzaefferer

jQuery Core Team Meeting – Sep 15 2014

Attending: DaveMethvin, gibson042, mikesherov

Note: Timmy on vacation Aug 31-Sept 21

link Trac

  • I will ping about that, i think they made progress last week

link Promises/A+ compat for jaubourg's pull request

  • m_gol got it mostly working
  • some fails related to invalid args
  • need a solution for dfd.done( fnThrows ).then( neverCalled )
    • keep a separate list of callbacks for .then() vs .done()?
  • need analog to Promise.unhandledRejection proposal from Domenic
  • see if jauborg and m_gol can finish this
  • Promises error telemetry - Mike to reach out to Domenic

link $.xhr

  • markelog and gibson042 to create some examples based on typical ajax usage
  • review at next meeting

jQuery Core Team Meeting – Sep 11 2014

Location: In person, Chicago jQCon

Attending: DaveMethvin, markelog, gibson042, m_gol

link Versioning

  • If we are going npm we should obey semantic versioning
  • The .then() change will be breaking
  • Might as well remove other things like .andSelf()
  • New versioning
    • 1.x now jquery-legacy-3.x
    • 2.x now jquery 3.x

link Deferred pull request for Promise/A compat on .then()

link xhr

  • Design goal: allow standalone usage
  • Simple xhr module in a wrapper
1
2
3
4
5
6
7
8
9
10
jQuery.xhr = require("jquery-xhr");
jQuery.xhr.Promise = window.Promise || function( executor ) {
var dfd = jQuery.Deferred();
try {
executor( dfd.resolve, dfd.reject );
} catch ( ex ) {
dfd.reject( ex );
}
return dfd.promise();
};
  • Simple case: jQuery.xhr( url, options ).then( handlerA ).then( handlerB )
  • beforeSend case:
1
2
3
4
5
xhr = jQuery.xhr( url, { autosend: false } ).set( … );
jQuery.xhr({ url: ... });
jQuery.xhr( url );
xhr.then( handlerA );
xhr.send( body ).then( handlerB )
  • Super-advanced case:
1
2
3
4
5
6
xhr = jQuery.xhr( url, { autosend: false } );
xhr.then( handlerA );
if ( badFeeling(xhr.getNative()) ) { xhr.abort(); }
xhr.send( body ).then( handlerB );
Promise.resolve( xhr ).then( … )
jQuery.xhr( url ).send({ ... }), jQuery.xhr( url )
  • Does an unsent Promise that has mutability violate the Promise/A+ spec? Or does the mutability only apply to the resolution? No. Does not appear to apply to the returned promise, which can be augmented, only to the resolved value of the promise
  • options necessary to functionality: method, user, pass, body, query (RFC), beforeSend
  • options nice to keep: cache, ifModified, headers
  • jxrPromise: .abort(), .xhr property
    • Rejects on: Exception, timeout, abort
  • what about 4xx/5xx? or a 0 (network error)
    • implied success: jQuery.xhr( url ).then( jQuery.xhr.rejectHTTPError )
    • implied failure: jQuery.xhr( url ).catch( jQuery.xhr.ifResponse )
  • Resolved value: raw native xhr
  • Rejected value: Error object, potentially with .xhr property, .options object