JSFiddle - React, Tailwind, and code Playground
by Suryar Praveen
HTML
https://confluence.homedepot.ca/login.action?os_username=praveen.ramaswamy
https://ofa-dev.np-storeapps.homedepot.ca/pick
https://portal.homedepot.com/sites/CanadaRanchTimesheet/WOTracking/SitePages/Home.aspx
https://stash.homedepot.ca/projects/STOREAPPS/repos/ofa-ui/pull-requests/338/overview
https://confluence.homedepot.ca/pages/viewpage.action?spaceKey=CEA&title=OFA+Service+API+Design#OFAServiceAPIDesign-CurbsideCustomerCheckin
http://localhost:6006/?path=/docs/components-forms-input--validate-input-on-submit
http://localhost:4200/#/curbside/checkin
https://zw5w04.axshare.com/#id=2t6rhu&p=customer_orders___zero_stock-_task_page__1_&c=1
https://confluence.homedepot.ca/display/CEA/OFA+Dashboard
https://confluence.homedepot.ca/pages/viewpage.action?spaceKey=CEA&title=OFA+Dashboard+Service
https://stash.homedepot.ca/projects/STOREAPPS/repos/ofa-ui/pull-requests/539/commits
https://identity-reference-webapp-react-golang-2.apps-np.homedepot.com - Bearer Token
https://ofa-dev.np-storeapps.homedepot.ca/ofa-auth/sap/v1/token/ - SAP Token
JavaScript
const getModifiedNotes = notes => {
const modifiedNotes = [];
if ( notes.length < 3) return;
for(let i = 0; i < notes.length; i += 3) {
const [, date, time, uid,] = notes[i+1].noteEntryContent.split(" ")
const note = {
uid,
timestamp: `${date} ${time}`.slice(0, -1),
text: notes[i+2].noteEntryContent
}
modifiedNotes.push(note);
}
return modifiedNotes;
}