#8145 Minimize jquery ui JS

v1.7.0
closed
None
General
nobody
2017-06-27
2017-02-14
No

Allura has a jquery-base.js that includes jquery, jquery-ui and a few other little helpers all in one file. The jquery UI build has a lot of components, and the total file is 332K. Without jquery ui, it is 98K.

We should determine what jquery ui components are needed and make a new build with just that. Additionally, we should only include the jquery ui file on the pages that need it.

Discussion

  • Dave Brondsema

    Dave Brondsema - 2017-02-14
    • status: in-progress --> review
     
  • Dave Brondsema

    Dave Brondsema - 2017-02-14

    db/8145

    test with debug=False in .ini so that css/js compression kicks in (may affect some things, like CSS paths to background-images)

    Places to test:

    • ticket milestone page: datepicker
    • ticket field management: draggable
    • create project login overlay: draggable
    • new ticket: autocomplete/combobox (both users & labels)
    • discussion stats: date range picker
    • ticket list: click milestone/status/owner headers to test multiselect
    • admin metadata: draggable features
    • admin screenshots: draggable
    • wiki edit: labels (jquery.tagsinput.js)
    • project permissions: highlight effect when toggling perms
    • menu bar lock icon: fade effect on tooltip
     

    Last edit: Dave Brondsema 2017-02-14
  • Kenton Taylor - 2017-03-02

    Looks good, merged.

     
  • Kenton Taylor - 2017-03-02
    • status: review --> closed
     
  • Dave Brondsema

    Dave Brondsema - 2017-06-27
    • Milestone: unreleased --> v1.7.0
     

Log in to post a comment.