task

UPDATE-011

return to same page in record set, after record edit

[previously]

  1. [2016-08-15][00:00] NEW task IN
    1. ] #  6375 - return to correct page in set after edit
    2. [] FEATURE# 3670 - 011 - to return back to the correct/same page in that data set you are currently viewing, EXAMPLE after a record edit on page# x of x, return back to page# x instead of to back to the beginning of the data set
    3. ] DESC = after editing any item(record), if that item is on page # x of a paginated results list(set), for ex page 3, then user SHOULD get returned to page# x in list after editing the record, NOT to the start of the list(record group) as it currently does. EX p diet/menu-records
  2. [00:00] NEW task IN
    1. ] going to add this as task in exsiting FEATURE-3670-PAGINATION
    2. ] skimmed notes in PAGINATION feature
    3. ] just going to jump into code, PAGE-view/task
  3. [00:00] NEW task IN
    1. *] FLOW = PG edit/task > redirects to view/tasks
    2. x] TO: PAGE view/tasks NOT view/task
    3. x] ADDED: // FEATURE-3670 var currentPage = Request["startpage"]; //reads startpage from passed in url
    4. x] EDITed PAGE edit/task - response.redirect - x] APPEND startpage paramater to redirect url
  4. [00:00] NEW task IN CC
    1. x] FIX-PRB-nnn - SERVER-DOWN - control-panel access n/a - almost 2 days - OMFG
  5. [2016-08-17][00:00] NEW task IN
    1. x] # # - x] ADD comment in files(2) re: edit for PAGINATION
    2. x] # # - x] uploaded 2 files, x] 1 - /edit/task, x] 1 - view/tasks
  6. [14:00] NEW task
    1. ] # # - TEST-001, result = FAIL, test = view/tasks, select task for edit, make edit and submit, SUSPECT.CAUSE FAIL = PRB after submit, returns to PG view/task, then I click BUTTON view,all and it returns to the beginning of the list, PRB startpage paramater has no value in url
  7. [00:00] NEW task
    1. x] # # TRY= changed var name for startpage in PG edit/task to avoid conflict with name in url, var startPage = Request["startpage"]
    2. x] UPLOAD
  8. [00:00] NEW task
    1. x] # # - TEST-002, result = FAIL, SUSPECT.CAUSE = the edit link is use ON PG view/tasks - list links, doesn't have the "startpage" value in parameters, therefore does not PASS that to the edit page for it to read
  9. [00:00] NEW task
    1. x] # # - TRY = changed edit links to include startpage=# value,
    2. x] # # - UPLOAD
  10. [00:00] NEW task IN
    1. x] # # - TEST-003, result = PASS, x] this works to append startpage param to edit link on PG view task, x] click edit lne then passes startpage value to edit page, where it is appended to redirect url view/task?id=#&startpage=#, NEW PRB = from PG view/task - have no link to access current page listing, BUTTON view/all goes to beginning, LINK taskgroup goes to beginning 
  11. [00:00] NEW task
    1. ] # # - TRY =  ] append startpage param on BTN view/all link in code
    2. x] SCR toolbar_record.js - x] modify build of "viewAllLink"
    3. x] PG view/task - add hidden input for startpage
    4. ] PRB - links seems to be using same, NOT using the newly modified link,
    5. ] NOTE - seem to REMEMBER issue with script cacheing, browser wouldn't dload replacement script unless ???,
    6. ] TEST in 2 browsers, same result
  12. [2016-08-18][00:00] NEW task
    1. ] EDIT - PG view/task - input field, enclose in quotes
    2. ] SCR - x] add alert(startpage) for testing, ] remove alert 
    3. ] UPLOAD - x] view/task, x] script/toolbar-record
  13. [00:00] NEW task
    1. x] # # - TEST-004  result = PASS, suspect prb was no quotes around input value store, thus script didnt read val properly, ?? dont know for sure, BUT it's working now,
  14. [00:00] NEW task IN ] REPLICATION / ROLLOUT - S articles
    1. x] EDIT - PG view/article - x] ADD hidden input to store startPage value
    2. x] EDIT - PG edit/article - x] ADD var startpage, read from request, x] append startpage value in response.redirect  
    3. x] EDIT - PG view/articles = x] edit link on each listed article, needs startpage data
    4. x] EDIT script/toolbar-record - x] ADD var startPage, get value from hidden input, x] use val to build viewAll link
    5. *] NOTE - scripts are not refreshing after upload, use f12 tools, network tab, "always refresh from server option
  15. [2016-08-19][00:00] NEW task IN ] REPLICATION / ROLLOUT - O items
    1. x] EDIT - PG view/item - x] ADD hidden input to store startPage value, x] comment/ref, x] align hidden var form,  ] ... same edits - all pages
    2. x] EDIT - PG edit/item - x] ADD var startpage, read from request, x] append startpage value in response.redirect(), ] ...  same ...
    3. x] EDIT - PG view/items = x] edit link on each listed article, append startpage data to url, ] ... same ...
    4. x] EDIT script/toolbar-record - x] ADD var startPage, get value from hidden input, x] use val to build viewAll link
    5. x] DLOAD ver-prev, all, archive, 
    6. x] UPLOAD ver-cur all
    7. x] TEST item -
      1. x] viewAll sends startpage= undefined,
      2. x] TRY change .val to .text on capture code in SCR, goes from undefined to blank
      3. x] TRY use hardcoded value for ,this works
      4. x] REALIZED - after TSing for 1+ hour, getting frustrated, everything looks right, > I didnt upload the modified (view/item) file, startpage was indeed undefined
    8. *] NOTE - scripts are not refreshing after upload, use f12 tools, network tab, "always refresh from server option
  16. [00:00] NEW task IN ] REPLICATION / ROLLOUT - Y step
    1. x] EDIT - PG view/step - x] ADD hidden input to store startPage value, x] comment/ref, x] align hidden var form
    2. x] EDIT - PG edit/step - x] ADD var startpage, read from request, x] append startpage value in response.redirect()
    3. x] EDIT - PG view/steps = x] edit link on each listed article, append startpage data to url
    4. x] EDIT script/toolbar-record - x] ADD var startPage, get value from hidden input, x] use val to build viewAll link
    5. x] DLOAD ver-prev, all, archive, 
    6. x] UPLOAD ver-cur all
    7. x] TEST step - sospep/prj-accel-app/002-interview-questions
    8. *] NOTE - scripts are not refreshing after upload, use f12 tools, network tab, "always refresh from server option
  17. [00:00] NEW task IN ] REPLICATION / ROLLOUT - P person
    1. x] EDIT - PG view/person - x] ADD hidden input to store startPage value, x] comment/ref, x] align hidden var form
    2. x] EDIT - PG edit/person - x] ADD var startpage, read from request, x] append startpage value in response.redirect()
    3. x] EDIT - PG view/people = x] edit link on each listed article, append startpage data to url
    4. x] EDIT script/toolbar-record - x] ADD var startPage, get value from hidden input, x] use val to build viewAll link
    5. x] DLOAD ver-prev, all, archive, 
    6. x] UPLOAD ver-cur all
    7. x] TEST person - nations/nascar/drivers-occasional
      1. x] PRB - error re: missing class file, fileExportVCF, uploaded .cs file which is work in progress for FEATURE-nnnn
      2. x] TRY - upload .cs file, resolves error
      3. x] PRB - "export" submit button , location, after submit wipes out "content" section, apologies "justin marks", REM button
    8. *] NOTE - scripts are not refreshing after upload, use f12 tools, network tab, "always refresh from server option
  18. [00:00] NEW task IN ] REPLICATION / ROLLOUT - L location
    1. x] EDIT - PG view/location - x] ADD hidden input to store startPage value, x] comment/ref, x] align hidden var form
    2. x] EDIT - PG edit/location - x] ADD var startpage, read from request, x] append startpage value in response.redirect()
    3. x] EDIT - PG view/locations = x] edit link on each listed article, append startpage data to url
    4. x] EDIT script/toolbar-record - x] ADD var startPage, get value from hidden input, x] use val to build viewAll link
    5. x] DLOAD ver-prev, all, archive, 
    6. x] UPLOAD ver-cur all
    7. x] TEST location - canada/bc/chilliwack
      1. ] Missing toolbar ON PG view/location BUT manually entering URL with startpage param works
    8. *] NOTE - scripts are not refreshing after upload, use f12 tools, network tab, "always refresh from server option

[currently]

  1. ]

[next]

  1. [00:00] NEW task IN ] DOCUMENTATION PROCESS
    1. ] DLOAD current version of page, SAVE to archive
      1. *] i goto D/L, then U/L and the server cp is down, first time like ever
    2. ] REPLACE with new version of file(s) with code revisions
    3. ] TEST - changes, RESULT=??
    4. ] FILE - ] replaced pages (3)
  2. [00:00] NEW task IN ] REPLICATION / ROLLOUT - S articles
    1. ] EDIT - PG view/article - x] ADD hidden input to store startPage value
    2. ] EDIT - PG edit/article - x] ADD var startpage, read from request, x] append startpage value in response.redirect  
    3. ] EDIT - PG view/articles = x] edit link on each listed article, needs startpage data
    4. ] EDIT script/toolbar-record - x] ADD var startPage, get value from hidden input, x] use val to build viewAll link
    5. ] DLOAD ver-prev, all, archive, x] UPLOAD ver-cur all
    6. ] TEST item - ] viewAll sends startpage= undefined,
    7. *] NOTE - scripts are not refreshing after upload, use f12 tools, network tab, "always refresh from server option"
  3. > [00:00] NEW task IN
    1. ] PRB subjects, tasks - funky misdirect because of incorrect startpage value, EX after copy record, startpage = tgr id(par id)
    2. ] Missing toolbar ON PG view/location, ] retest locations code
    3. ] ADD default values(db) for locatation ] url, ] telephone
Details Photos Edit more

Details

ID: 6375

NAME: FEATURE-3670-011-UPDATE-view-tasks

DESCRIPTION: PAGE view/tasks - IF user is ON page# x of x, THEN return user to page# x VS returning user to start of results list

START DATE TIME: 2016-08-15 22:24:00

EST DURATION: 01:00:00

END DATE TIME: 2016-08-15 23:24:00

STATUS: To-Do

PRIORITY: -5

OWNER ID: 1

Content Photos Edit more

photos

photos for this task

actions

Agenda Email task SMS task Priorities