edit-task
Home
Up
Delete
Task Name:
Task Description:
] PG selections2.js ] FIX-PRB-nnnn PG register - no menu
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;">PASS new version -v-008</h1> <h1 style="text-align: center;">LIST-UPDATES-prj-4800</h1> <h2 style="text-align: center;">2015-10-04, 2015-10-05</h2> <h2>[previously]</h2> <div><ol> <li><strong>] <a href="/view/tasks?id=434" target="_blank">PROJECT-PASS</a>-plan</strong></li> <ol> <li>] # 4800 - <a href="/view/task?id=4800" target="_blank">overview</a> && status </li> </ol> <li><strong>] <a href="/view/tasks?id=435" target="_blank">PROJECT-PASS-document</a></strong></li> <ol> <li>] # # -</li> </ol></ol></div> <h2>[currently]</h2> <ol> <li><strong><span style="background-color: #888888;">[2015-06-25]</span> NEW task IN -v-008</strong></li> <ol> <li>x] # 5325 -v-007-001 - ] selections ( add costThisRace field, selected array, function makeSelections2 ) ] divide createRankings into -entrants, -qualified, -practiceF / final</li> </ol> <li><strong>[00:00] NEW task IN</strong></li> <ol> <li>] add date property to Races</li> </ol> <li><strong><span style="background-color: #888888;">[2015-07-19] </span> NEW task</strong></li> <ol> <li>x] routes.js - UPDATE "selections" array with data for RACE-19, RACE-18</li> </ol> <li><strong>[00:00] NEW task</strong></li> <ol> <li>x] routes.js - ADD method - lookup selections index value ( by id = user+race)</li> <li>x] routes.js/selections - CALL new method to get the index value of the selection that you want to display on the selections page ( )</li> <li>x] routes.js/selections - PASS selectionsIndex into .jade view </li> </ol> <li><strong>[00:00] NEW task IN</strong></li> <ol> <li>x] selections.jade - x] REPLACED hardcoded index value for selection with var</li> </ol> <li><strong>[2015-mm-dd][00:00] NEW</strong></li> <ol> <li>] remove Teams DATA array - was used prev by PG selelctions, (? lookup driver based on car# ), dont have content data, look in prev ver of home.js </li> </ol> <li><span style="background-color: #888888;"><strong>[review] </strong></span><strong>[2015-mm-dd] v-006 forward </strong><strong>[00:00] NEW task IN</strong></li> <ol> <li>] # # - entrants = rankings-0</li> <li>x] # # - write finished "rankings-1" to json file, load json file VS using qry </li> <li>x] # # - DATA = ] ADD missing drivers(12)</li> <li>?] # # - rankingsD - review</li> </ol> <li><strong>[00:00] NEW task IN doc/prj-4800</strong><ol> <li>i] # <a href="/view/task?id=5297" target="_blank">5297 -v-006-001</a> i] init logic ( use {race}-rankings-{status), where status = entrants, qualified, ) i] getRaceStatus, i] setRaceStatus</li> </ol></li> <li><span style="background-color: #00ff00;"><strong>[2015-mm-dd] NEW task IN OUTLINE v-007 (cc-v-006-001)</strong></span></li> <ol> <li>] race# - CREATE-complete drivers set - redo rankings1.json (*] current example data set) ] rewrite current rankings file with complete drivers,</li> <li>i] # # - race# - rankings 2 - post qualify</li> <li>] # # - race# - rankings 3 - post final practice</li> <li>] entrants(actual)-race -> ] entrants w/AvgFinish -> ] qualified:##, ->] </li> </ol> <li><strong>[2015-mm-dd] <a href="/view/task?id=5298" target="_blank">4800-v-008-PLAN</a> </strong></li> <ol> <li>] # # - ] outline</li> <li>] # # - selections - (rankings, driverCostThisRace) - need get driverCostThisRace</li> <li>] # # - driverCostThisRace = ] getData from nascar fantasy, ] for each driver, ] for each race </li> </ol></ol> <div><hr /></div> <ol> <li><strong><span style="background-color: #888888;">[2015-10-04]</span> PAGE index.js - </strong></li> <ol> <li>*] COPIED 'Selections' array data from 'index/home.js' to Selections2.js FILE</li> <li>] remove orig. selections array from home.js </li> <li>] looks like it is being used in /results:race </li> </ol> <li><strong>[00:00] PAGE selections </strong></li> <ol> <li>x] deprecated original version AS -v-001</li> <li>x] UPDATE - display array of items, returned from calling new method, this is all selection entries for a single race</li> </ol> <li><strong><strong>[00:00</strong>] NEW PAGE selections2.js </strong></li> <ol> <li>*] USE races.js as example</li> <li>x] CHANGE from: "module.exports(app) { " ...</li> <li>x] CHANGE to: plain old object file </li> <li>*] REF 1 - module.exports VS exports</li> <li>] ADD NEW METHOD - getSelectionsByRaceUserID() - added method to return a single array element(selection), with user supplied value (id)</li> <li>] ADD NEW METHOD - getSelectionsByRaceID() - added method to return an array of selection elments, with user supplied value(race-nn), </li> </ol> <li><strong><strong>[00:00</strong>] PAGE - Register </strong></li> <ol> <li>] PRB - missing menu</li> <li>] TRY - moved PG to same directory, moved PG about to account/ dir, this works fine, had to change path to layout file </li> </ol> <li><strong><span style="background-color: #888888;">[2015-10-05]</span>[00:00</strong>] NEW task IN </li> <ol> <li>] # # - results, uses in page selections, change over to using module selections</li> </ol> <li><strong>[00:00] NEW task IN </strong></li> <ol> <li>] add method to selections.js, findbyIndex</li> <li>] TEST = works for 2015-12 ... 2015-15 </li> </ol> <li><strong>[00:00] NEW task IN PAGES</strong></li> <ol> <li>x] # # - PAGE results - new file, take results out of home, base=Selections, port methods</li> </ol> <li><strong>[00:00] NEW task IN PAGE-VERSIONS</strong></li> <ol> <li>] # # - home.js -v-011 - </li> <li>x] remove selections data array, now using </li> <li>x] remove greenspace </li> </ol> <li><strong>[00:00] NEW task IN PAGES-deprecated</strong></li> <ol> <li>x] deprecated races-v00# </li> </ol> <li><strong>[00:00] NEW task IN PAGE view/rankings</strong></li> <ol> <li>] UPDATE PAGE view/rankings - replace menu variables with race info(id, name) with race var</li> </ol> <li><strong>[00:00] NEW task IN PAGE routes/home</strong></li> <ol> <li>x] display results - by race</li> <li>x] call lookup Race by ID</li> </ol> <li><strong>> [00:00] NEW task IN PAGE view/results</strong></li> <ol> <li>x] pass in race object</li> <li>*] had 2(race objects) in data passed to view, first 1 was being overwritten by 2nd one</li> <li>x] removed mystery var x.toString()</li> </ol> <li><strong>[00:00] NEW task IN PG home</strong></li> <ol> <li>x] removed Teams array </li> </ol> <li><strong>[00:00] NEW task in PG view/results</strong></li> <ol> <li>x] removed passed in Teams and Drivers data - used for lookup of #'s to display names, details</li> </ol> <li><strong>[00:00] NEW task IN PAGE routes/selections2</strong></li> <ol> <li>x] ADD method exports.addSelection - for adding a new selection entry</li> <li>x] ADD var obj 'selection' </li> <li>x] TEST=PASS with call to method, code adds to in memory, ** persistance **</li> </ol></ol> <h2>[next]</h2> <ol> <li><strong>]</strong></li> </ol> <h2>[reference]</h2> <div><ol> <li>] </li> </ol></div> <div> <div><strong> </strong></div> </div>