KagemaNjoroge / ultimate_pos

A simple Point of Sale System that just works!
https://malipo.tomorrow.co.ke
MIT License
7 stars 4 forks source link

Implement Loading Spinner for Inventory Update Button #28

Closed KagemaNjoroge closed 3 months ago

KagemaNjoroge commented 3 months ago

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.

vercel[bot] commented 3 months ago

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Updated (UTC)
ultimate-pos ❌ Failed (Inspect) Apr 4, 2024 0:21am