Completing Detail View Page

Monday, March 3 2025 – Continuing from last week, I focused on the detail page, which includes both a read-only mode and a create mode, as there is no edit functionality for this feature. My priority was to complete the create mode first before working on the read-only mode.

The second component I worked on displayed the line items of an order selected from the first table, which lists all available orders. This component allows users to pick line items to be issued. The selected data is then passed to a third component, which consolidates multiple line items from different orders.

Since the feature involves transferring data between components and handling API requests, I had to manage multiple DTOs. Given that both view and create modes were involved, I created a new object to act as a bridge between the DTOs and command requests.

I first ensured that the create command worked successfully. Since there were only two commands for the detail page which is create and cancel, the mode-switching logic was relatively simple. After confirming that the create function worked correctly, I tested the cancel function as well.

By the end of the week, I had completed the feature. However, further testing is needed to identify and fix any remaining bugs.