Problem
The existing framework lacked clear loading indicators. When the engineer clicked 'Regenerate,' the dialog box closed, and the AI suggestions took time to update. Users were confused—did the system crash, or was the AI still working? This eroded trust in the automated process.
Our Approach
This wasn't just a UX fix; it was a technical collaboration. I worked with the engineering team to ensure the system provided immediate, persistent feedback:
1. Keep the Dialog Open: The refinement dialog box now remained open while the AI was processing.
2. Clear Loading State: The 'Regenerate' button displayed a loading spinner and a clear message ("AI Processing...") to confirm the command was received.
3. Confirmation: The dialog only closed after the results were ready, followed by a confirmation toast message ("Work Orders Updated") on the main screen.