Work Duties Flashcards
What was Motion Intelligence
Motion Intelligence was a distracted driving company. We used a combination if mobile devices, bluetooth beacons and a website to train and report on fleet driver behavior while they were driving. This was to help with reducing accidents and keep drivers paying attention to the road.
What tasks were being done while the lead was still there
For the first 3 months while the Lead was still there we had to migrate from Angular to React. Doing frontend tickets for migration and pairing with the lead Dev. Ui redesign, Api requests like internal and third party endpoints. Used RTK Query which I liked because it requires less code for functionality. Worked with third party contractors for Cloud migration. Website code ownership and deployments.
Why was the framework changed from angular to react
The company had started out using a third party contractor for their website and it had become outdated. The contracting company wasn’t providing updates or able to handle the feature requests that our product manager was asking for. The contract was only for the base website. The system was there before I started and they were using and older version of angular. I studied react as well as the lead Dev at the time, so the company chose to make the switch since they wanted to migrate things to be in house.
Another reason to switch to react
Imports and function references in angular were more involved than simply including them within a react component or reusing them across multiple react components. Angular was setup to have dedicated functions for each page.
What are some other benefits of RTK query
You are able to easily import the functions handling the api calls as well use a built in feature called refetch which enables you to recall the api with different data anywhere in your component.
What are some benefits of react
Being able to use state to only rerender data that has changed. Being able to use redux for global state transfer. When creating a page it can be broke down into self containing components to keep the code easier to manage or reuse in other parts of the app.
What were the tasks after the lead left
Doing design and technical review meetings with product and design. Worked with director of cloud services. Troubleshooting Aws Lamda and S3. Took over build pipeline and release processes. Git branch design and code reviews for a mid level developer as well as daily assignment of tasks through jira. Lead on large react features.
What type of troubleshooting for aws lambda and s3
We had pipeline deployment variable bugs, version mismatches between repos, versioning and updating npm package for types.
What was your deployment process like
We used bitbucket, (ENV) Build variables, also we had build checks for types and linting. We had automatic deployments for dev and test environments. For prod we had manual deployments.
What type of react features
Driver performance reports which was a page displaying driver metrics, such as drive segments, phone usage, behavior alerts and device and vehicle info based on date ranges. Interactive row data that could display more precise data and activity per segment. User and Vehicle management pages that better allowed managers to add, delete, archive and move their drivers between groups and keep things organized.
Problem - We had issues dealing with third party contractors. What was done to fix this?
We often had to deal with timezone differences. They did not want to keep their contract and avoid giving control an in house team and then lose their necessity. Our business required faster and more difficult features that they didn’t have devs employed to do.
Problem - We were not getting back the right amount of data when dealing with the alerts. What was done to fix this?
Moved from a web socket reporting system to a batch rest api reporting system. We were losing a lot of data due to reception and web socket limitations. To fix this we created a new api and database table to ingest all drive info from a device after a drive was completed.
Problem - We were getting data back for certain users that was not correct. What was done to fix this?
Because customers could have the same drive Identifiers as other customers and wasn’t initially created with unique identifiers. To fix this was to create a new api with unique device identifiers to correctly separate data between customers.
Problem - We had very big files with functionality and typing together. What was done to fix this?
We created a separate npm package to update a separate repo which held all of our types and would allow us to use them throughout the application.
Problem - We had one of our employees leave without knowledge transfer for our accounts. What was done to fix this?
Had to create new accounts and update all tokens as well as credentials in our system and grant access to other team members.