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

jQuery Mobile Team Meeting – Sep 04 2014

  • Ticket Triage:
    • 349 tickets +29
    • 18 pull requests -3

link 1.4.4

link 1.5 development

  • Roadmap update

    • Button, Checkboxradio, Controlgroup ui re-writes
    • Classes Option
    • Download Builder
    • Navbar
    • Table
  • Widgets:

  • Remove deprecated code

  • Navigation: Start with API review

    • Start with API review:
      • Alex will work on this
    • Establish the API
    • Hash/query params according specs
    • Support deeplinking
    • Unique entries when popstate is available? allows us to distinguish navigation to the same page twice
  • Namespacing:

    • Switch to fixed namespace: data-ui-*
  • Tests:

    • Remove test for deprecated features and flaky tests (especially dialog)
      • in progress
    • pagecontainer needs tests
  • Download Builder:

    • Use jQuery UI’s download builder
      • Rafael working on this

link Other topics:

jQuery UI Team Meeting – Sep 03 2014

  • Ticket triage
    • 388 tickets total +4
    • 41 pull requests +6
  • Button
    • Rebased with classes option.
    • Created a product selector demo.
      • Too complex, need to simplify.
    • Wrote tests and demos for controlgroup.
  • Datepicker
    • Keep translation in options and delegate to user to provide non-English values.
  • Selectmenu
    • Don't copy accesskey since it doesn't work everywhere.
  • Classes option needs to support changes after init.
  • Spinner
    • Replace culture and numberFormat options with parser and formatter options.

jQuery Core Team Meeting – Sep 01 2014

Attending: DaveMethvin, markelog, gibson042,

Note: Timmy on vacation Aug 31-Sept 21

link Trac

  • Volunteers are making progress on new setup
  • Had two new volunteers, including a Trac core contributor

link Promise/A+ compat

  • gibson042 proposal seems like it should work!
  • Checking with jaubourg on his availability, markelog and gibson042 are interested

link $.xhr

  • Build options object interface
  • Below it is a chaining interface?
    • exposes (not wraps) underlying xhr method
  • limited compat with old IE and ActiveX method?
    • (See discussion in IRC)

link Pull Requests

  • Please review and comment
  • markelog to land a few today
  • gibson042 and dmethvin to work on them tomorrow

link Tickets

jQuery Mobile Team Meeting – Aug 28 2014

  • Ticket Triage:
    • 320 tickets -32
    • 21 pull requests -16

link 1.4.4

link 1.5 development

  • Roadmap update

    • Button, Checkboxradio, Controlgroup ui re-writes
    • Classes Option
    • Download Builder
    • Navbar
    • Table
  • Widgets:

  • Remove deprecated code

  • Navigation: Start with API review

    • Start with API review:
      • Alex will work on this
    • Establish the API
    • Hash/query params according specs
    • Support deeplinking
    • Unique entries when popstate is available? allows us to distinguish navigation to the same page twice
  • Namespacing:

    • Switch to fixed namespace: data-ui-*
  • Tests:

    • Remove test for deprecated features and flaky tests (especially dialog)
      • in progress
    • pagecontainer needs tests
  • Download Builder:

    • Use jQuery UI’s download builder
      • Rafael working on this

link Other topics:

jQuery UI Team Meeting – Aug 27 2014

jQuery Mobile Team Meeting – Aug 21 2014

  • Ticket Triage:
    • 352 tickets
    • 37 pull requests

link 1.4.4 issues

link 1.5 development

  • Widgets:

  • Remove deprecated code

  • Navigation: Start with API review

    • Start with API review:
      • Alex will work on this
    • Establish the API
    • Hash/query params according specs
    • Support deeplinking
    • Unique entries when popstate is available? allows us to distinguish navigation to the same page twice
  • Namespacing:

    • Switch to fixed namespace: data-ui-*
  • Tests:

    • Remove test for deprecated features and flaky tests (especially dialog)
      • in progress
    • pagecontainer needs tests
  • Download Builder:

    • Use jQuery UI’s download builder
      • Rafael working on this

link Other topics:

jQuery UI Team Meeting – Aug 20 2014

jQuery Core Team Meeting – Aug 18 2014

Attending: DaveMethvin, markelog, gibson042, m_gol, jaubourg (12:20)

link Note: Dave on vacation Aug 21-25

link Trac

  • Volunteers are making progress on new setup
  • Let's give it a few weeks
  • Github issues is still an option IMO if Trac stays this bad

link $.xhr

  • Scott's proposed API
  • Uses chaining Promise for setting args
  • Downside: requires Promise always
  • will be supported in 1.x branch if possible
    • significantly reduced functionality (no XHR2 or CORS)
  • Promise lib?
  • $.xhr() returns Promise so we MUST have shim in the bundle
  • Insulate via jQuery.Promise = window.Promise || jQuery.PromiseShim

link markelog to look at a super basic thenable we could build using Deferred

  • perhaps build Deferred on thenable?
  • jauborg returns! Work with markelog on Deferred

link Pull Requests

  • Please review and comment

link Tickets

jQuery Mobile Team Meeting – Aug 14 2014

link 1.4.4 issues

link 1.5 development

  • Widgets:

  • Remove deprecated code

  • Navigation: Start with API review

    • Start with API review:
      • Alex will work on this
    • Establish the API
    • Hash/query params according specs
    • Support deeplinking
    • Unique entries when popstate is available? allows us to distinguish navigation to the same page twice
  • Adopt widgets from UI:

    • Menu
      • no planning yet
    • Autocomplete
      • no planning yet
    • Selectmenu (if ready)
      • probably not ready in time
    • Datepicker (if ready)
      • probably not ready in time
    • Spinner
      • no planning yet
  • Namespacing:

    • Switch to fixed namespace: data-ui-*
  • Tests:

    • Remove test for deprecated features and flaky tests (especially dialog)
      • in progress
    • pagecontainer needs tests
  • Download Builder:

    • Use jQuery UI’s download builder
      • Rafael working on this

link Other topics: