Home > Release Notes > wq.app 0.7.0

wq.app 0.7.0

wq.app 0.7.0 includes the latest version of jQuery Mobile, 1.4.5. This version of jQuery Mobile includes a new “flatter” look in keeping with current design trends, and a number of other improvements.

jQuery Mobile 1.4 (#3)

  • Updated the SCSS theme builder to match jQuery Mobile 1.4 styles. See the documentation for new usage info.
  • The bundled jQuery Mobile is customized to prevent automatic initialization; be sure to call app.jqmInit() or pages.jqmInit() after all routes have been registered. This makes it easier to register page show events and be sure they will execute even on deep links. (81a6f2f; See https://github.com/wq/wq-website/commit/af182eb for an example of an activePage workaround that is no longer needed).
  • Other minor bug fixes, including support for external toolbars and the new <div role="main"> style (8f6ee44, 6c91e0c)

API improvements

  • wq/app.js:
    • Support for markdown attachments (see wq/wq.db#30)
  • wq/chart.js:
    • remove existing lines/points if needed when draw mode changes (bc2351b)
  • wq/map.js:
    • option to force minimum bounding box when autozooming (2447491)
    • update existing maps with sticky viewport, if applicable, and prevent Leaflet widgets from being enhanced by jQuery Mobile (f05874d)
    • preliminary wq/owl.js support (see below)
  • wq/store.js:
    • new keys() function to get store-specific localStorage keys
  • wq/autocomplete.js:
    • Avoid duplicate event registration (389139f)
    • Additional context attributes for custom templates (da23aad)
    • Don’t show spinner (but still fetch data) when text exists in current list (15c2232)
  • Build Process:
    • Python 3 support (#15)
    • wq init now works on windows (under Python 3; see #6) and creates symlinks to wq.app/scss in addition to wq.app/js and wq.app/css (20fd8b9)

New Modules

  • wq/owl.js: (Beta) client component for the Offline Website Logger