Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Added RegEx to the ToC so that it excludes the Note macro


Info
titleNOTE

This is a detailed documentation for this project. If you would like to get a birds-eye view (Tl;dr) version, please reference /wiki/spaces/FEB/pages/8641151574.

Table of Contents
excludeThis is a detailed.*

Application Maintenance

<TODO>Rush's notes</TODO>

...

Code DescriptionInclusion Justification (i.e. why are you doing this?)
Add addition methods to  dojo.NodeList Allows for easier manipulation of HTML as it relates to the nodes in the dojo.NodeList. More information at https://dojotoolkit.org/reference-guide/1.10/dojo/NodeList-manipulate.html
Add UConn Branding / Header etc. by referencing a CSS file that is centrally located/managed (at media.feb.uconn.edu server)Ummm.... branding? standards?

...

Code DescriptionWhat is being done?
onNew
  1. Call SC_GetUser service which pre-populates certain fields for the user who is filling out the form (i.e. initiating the request) — information is fetched based on authenticated user's NetID
  2.               Call SC_GetDeptList service. This populates the "What UConn department...?" dropdown initally with:
                
orgCode = Foreign National Form > Personal Information > What UConn department are you working for? > Options > Saved Value

orgName = Foreign National Form > Personal Information > What UConn department are you working for? > Options > Displayed Value
  • We are binding to onCallFinished so that we can do couple of things:
    • Create a new array of selectable options; next, with the new array the first thing we do is add the first option that should be displayed/selectable by the user, per customer request: "NOT APPLICABLE, NON-EMPLOYEE"
    • Then, we iterate through the current options and combine the `Saved value and Displayed value` to create a `Department Name — Code` string per each current option, and before moving to the next option in the list we add this new to the new array
    • Finally, we set the "What UConn department...?" dropdown with the `new array`
  • This allowed us to eliminate the hidden dropdown altogether and improve the QoC (Quality of Code)
  • One last improvement we did was; we moved this logic from onLoad to onNew... we do not need to execute the service call each time a form is loaded... because once the Record Initiator  submits, if we had left it in onLoad, the code would have executed it again...Why? So overall, albeit minuscule, we improved the form's performance over the life of it

...

Post Production/Go-Live Enhancements

...

v1.1

Task #TaskDeveloper NotesTypeStatus
1Change the Action Confirmation Message, of when the user submits the form, as requested
Enhancement

Status
colourGreen
titleComplete

2

Change the Confirmation Email that the user receives after submitting the form, as requested

  •  Follow-up request: Added Salutation
  •  Follow-up request: Added T&C Dept. signature

Enhancement

Status
colourGreen
titleComplete

3If the user saves the form as a draft PRIOR TO selecting a department, the next time the user goes back to the form (i.e. resumes the draft), the department list won't be populated / i.e. the drop-down won't be populated with the list of departments that the user can pick fromI noticed this while I was doing (dev) testing... so I rectified this bug by moving the logic that populates department dropdown from "onNew" event to "onLoad" — apparently, as soon as the user saves the form as a draft, it is no longer considered a "New" form...Bug Fix

Status
colourGreen
titleComplete

4Since the SSN/TIN field is: not required AND part of the section that auto-populates, the customer was concerned that the user might skip over that field... so requested if the field could be highlighted...The field had a custom class already; all that was needed to be done was some jQuery magic (wink)Enhancement

Status
colourGreen
titleComplete