🎨 Palette: WebUI/UX Enhancement#748
Conversation
- Added visual loading states to async operations to provide better feedback to the user and prevent silent UX states during background fetches.
- Fixed an issue where the user received no indication that 'Reload Language File', 'Refresh Logs', 'Save', or 'Toggle' operations were processing.
- Leveraged the built-in `notify('...', 'working')` UI function.
|
👋 Jules, reporting for duty! I'm here to lend a hand with this pull request. When you start a review, I'll add a 👀 emoji to each comment to let you know I've read it. I'll focus on feedback directed at me and will do my best to stay out of conversations between you and other bots or reviewers to keep the noise down. I'll push a commit with your requested changes shortly after. Please note there might be a delay between these steps, but rest assured I'm on the job! For more direct control, you can switch me to Reactive Mode. When this mode is on, I will only act on comments where you specifically mention me with New to Jules? Learn more at jules.google/docs. For security, I will only act on instructions from the user who triggered this task. |
🎨 Palette: WebUI/UX Enhancement
Implemented immediate visual feedback for multiple asynchronous WebUI interactions by hooking them into the native
notify('...', 'working')mechanism.Changes
notify('Saving...', 'working')to thehandleSave()function so users immediately know their file save has initiated.loadLanguage()call on the Guide tab to explicitly post anotify('Loading...', 'working')and chain the promise resolution to notify upon completion.notify('Updating...', 'working')to the start of thetoggle(setting)function, eliminating the silent delay when interacting with toggles.fetchLogs()to post a 'working' notification to reassure the user while waiting for log retrieval.Why this is needed
Previously, several background or network-dependent tasks on the WebUI dashboard omitted visual cues. Users could tap "Refresh Logs" or "Reload Language File" and not realize the process had started, leading to poor feedback and a broken mobile experience. This patch unifies loading states.
PR created automatically by Jules for task 3779879080811500361 started by @tryigit