This pull request introduces a new feature to enhance the user experience when updating the inventory. Previously, there was no feedback mechanism in place to indicate that an update was in progress, which could potentially lead to confusion or repeated button presses by the user.
Changes included in this PR:
Added a loading spinner to the "Update Inventory" button. This spinner is activated when the button is clicked and deactivated once a response is received from the server.
The spinner provides real-time visual feedback to the user, indicating that their request is being processed.
This enhancement should improve the user experience by providing clear feedback about the system's status. Please review and provide feedback.
This pull request introduces a new feature to enhance the user experience when updating the inventory. Previously, there was no feedback mechanism in place to indicate that an update was in progress, which could potentially lead to confusion or repeated button presses by the user.
Changes included in this PR:
Added a loading spinner to the "Update Inventory" button. This spinner is activated when the button is clicked and deactivated once a response is received from the server. The spinner provides real-time visual feedback to the user, indicating that their request is being processed. This enhancement should improve the user experience by providing clear feedback about the system's status. Please review and provide feedback.