The Last Week of the Intenship

This is the last week of the internship at Tong Hin company. Before I discuss the tasks I completed, I want to express my deep appreciation to the company for accepting me as a temporary employee. It has been a truly enjoyable experience spending 13 weeks in this company. Now, let me detail the tasks I completed this week.

First of all, I added a function that can display the serial number and allows for adding multiple serial numbers. After a discussion with Mr. Peter, I made some changes to the add serial number functionality. I limited the process to only accept a new serial number that is different from the barcode. If the user adds a redundant serial number to the list, an error will be prompted, and the payment button is disabled.

Next, I implemented the hotkey function in the order page. Hotkey functions are really useful to minimize the usage of the mouse. I used “enter” and “control” as hotkeys to control the input focus point. When I press “enter,” the input will focus on the search item box, and pressing “control” will focus on the quantity box. Additionally, with the help of the pre-defined “tab” button, I can easily change the input focus to different boxes. The “tab” button will make the input focus on the next input area, further minimizing the usage of the mouse.

Additionally, I added an invoice list page to the system. However, the invoice list page does not have the correct API connected as it has not been created yet. Even though the API is not created, I still have a draft idea about what data should be displayed on the invoice list page. After completing the invoice list page and presenting it to the supervisor, he was satisfied with what I have done. Finally, Mr. Peter taught me how to test the API using React testing elements. Since I had no idea how to test the API, he patiently taught me the steps needed to test the function and API. Now, I am more familiar with React testing and should be able to test APIs in my future projects.

In conclusion, I implemented the hotkey function, added, modified, and deleted serial number functions, created the invoice list page, and learned React testing. Once again, I want to express my gratitude to the company for accepting me as a member of this team. I hope that the company will have a bright future and an even better software team.

Leave a Reply