Changes between Initial Version and Version 1 of Testing/JqueryUpgrade


Ignore:
Timestamp:
02/09/20 16:00:36 (5 years ago)
Author:
Fran Boon
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • Testing/JqueryUpgrade

    v1 v1  
     1= jQuery Upgrades =
     2
     3Read through release notes & identify which version you want to upgrade to for:
     4* jQuery
     5* jQuery Migrate
     6* jQuery UI
     7
     8== Upgrade Files ==
     9jQuery & jQuery Migrate are both simply stored in {{{static/scripts}}}
     10
     11jQuery UI is spread across:
     12* {{{static/scripts/ui}}}
     13* {{{static/styles/ui}}}
     14* {{{static/img/jquery-ui}}}
     15* {{{static/themes/foundation/jquery-ui.theme.css}}}
     16
     17Clear the old versions (although leave additional plugins, such as fgtimepicker, multiselect, timepicker-addon
     18
     19Update the file locations in {{{views/jquery.html}}} & {{{views/scripts_top.html}}}
     20
     21If-necessary, update locations in {{{static/scripts/tools/sahana.js.cfg}}} &/or {{{modules/templates/default/css.cfg}}}
     22
     23== Tests ==
     24In debug mode carry out these actions, looking at the console including jQuery Migrate output:
     25* Registration form (Password Strength) (any template,
     26/eden/default/user/register)
     27* modals (any template, /eden/org/office/create. Add Organisation inline)
     28* Location Selector( any template, /eden/org/office/create)
     29* dataTables (any template, /eden/org/organisation. Create record &
     30return to List)
     31* Pivot Tables (any template /eden/org/organisation/report)
     32* Autocomplete (any template, /eden/hrm/staff/create. Add Person in widget
     33* Date Picker (any template, /eden/hrm/staff/create)
     34* Calendars (IFRC template, login as af_dm@example.com, /eden/cms/post/create)
     35* Image Crop (any template, /eden/hrm/staff select created staff & click on empty profile pic)
     36* jsTree (IFRC template, /eden/org/organisation branches)
     37* Organizer (IFRC template, login as aprdrtadmin@example.com & manage
     38a Member's Profile)
     39* Profile Page Tabs
     40* Roles Manager (any template w Policy3+ (e.g. IFRC), /eden/admin/role/4/update)
     41* UCCE editor (UCCE template, edit Survey, add 1 of each Question
     42Type, Move them around)
     43* UCCE reports (UCCE template, add records in dynamic table, set a
     44filter, view report, filter it)