edit-task
Home
Up
Delete
Task Name:
Task Description:
REFACTOR replace multiple similar scripts with 1 script
TaskGroup ID:
Start Date:
Start Time:
Duration:
Priority:
Status:
To Do
Completed
In Process
Add Photo:
Owner ID:
Content:
use HTML
Edit Content
<h1 style="text-align: center;">FEATURE - select3.js</h1> <h2>[what]</h2> <ol> <li>] REFACTOR CODE select3_s.js - replace 6 similar scripts with 1 common script, pass in the variables needed for the distint values of each </li> </ol> <h2>[why]</h2> <ol> <li>x] replace 6 similar scripts with 1 common script, pass in the 'distinct' variables needed to customize for each app, uses svr side app object to set current app, </li> <li>x] maintain & develop 1 script VS 6</li> </ol> <h2>[where]</h2> <ol> <li>x] PAGE - add/{l5}</li> <ol> <li>x] article </li> <li>x] item</li> <li>x] step</li> <li>x] person</li> <li>x] task</li> <li>x] location</li> </ol></ol> <h2>[when]</h2> <ol> <li>x] 2014-01</li> </ol> <h2>[example]</h2> <ol> <li>x] http://sospep/add/article</li> <ol> <li>x] no visible difference between</li> </ol></ol> <h2>[how-to]</h2> <ol> <li>] </li> </ol> <h2>[reference]</h2> <ol> <li>x] PAGE add/article - </li> <li>x] PAGE add/item</li> <li>x] PAGE add/step </li> <li>x] PAGE add/person</li> <li>x] PAGE add/task</li> <li>x] PAGE add/location </li> </ol><hr /> <h1 style="text-align: center;">developer implementation</h1> <h2>[.process]<span style="font-size: 10px;"> </span></h2> <ol> <li>x] create select3.js based on select3_s.js </li> <ol> <li>x] </li> </ol> <li>*] rewrite select3.js</li> <ol> <li>] </li> </ol> <li>x] change links on PAGES</li> <ol> <li>x] form select3_s to select3</li> </ol> <li>x] adding selL1fill() function to our global.js file</li> <ol> <li>x] done </li> </ol> <li>x] calling selL1fill() after current app var has been set</li> <ol> <li>] IIFE </li> <li>] setting current_app in global VS in script (IIFE or call)</li> </ol></ol> <h2>[.notes]</h2> <ol> <li>] replacing hardcoded parents with generated parents</li> </ol> <div><hr /></div> <h2> </h2> <h1 style="text-align: center;">status</h1> <p> </p> <h2>[-previously-]</h2> <ol> <li><strong>[2014-01-26] CREATE</strong></li> <ol> <li>x] select3.js - replaces select3_s.js - replace app specific vars with generic vars</li> <li>x] replace calls to qry/pages ex selectBooksInLibary to -a versions which are generic VS specific, (id VS id_chapter)</li> <li>x] change to 'immediately invoked' function for fillL1 VS called function</li> <li>] PRB - passing in qryL1, script that fills the selects is executing B4 the script that passes the necessary vals to the script</li> </ol> <li><strong>[2014-01-28]</strong></li> <ol> <li>x] add/item</li> <li>x] add/step</li> <li>x] add/person </li> </ol> <li><strong>[2014-01-29]</strong></li> <ol> <li>x] add/task</li> <li>x] add/location </li> <li>x] published as rev-002 in BK-2014-01</li> </ol> <li>] </li> </ol> <h2>[-current-]</h2> <ol> <li> <div> ]</div> </li> </ol> <h2>[-next-]</h2> <ol> <li> <div>]</div> </li> </ol> <p style="text-align: left;"> </p>