mirror of
https://github.com/tiennm99/coolify.git
synced 2026-04-18 05:20:43 +00:00
Fix loading icon showing during automatic status checks
The loading icon was appearing during automatic background status checks (every 10 seconds) even when users didn't click anything, which caused confusion and made it seem like something was running unexpectedly. Changes: - Added manualCheckStatus() method to Application, Database, and Service Heading components that wraps the checkStatus() call - Updated status component buttons to call manualCheckStatus() instead of checkStatus() - Added wire:target="manualCheckStatus" to loading directives so the loading icon only appears when users explicitly click the refresh button - Added delay.shortest to prevent flickering on fast operations The automatic wire:poll.10000ms="checkStatus" now runs silently in the background without showing the loading icon, while manual refreshes still provide visual feedback to the user. 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
@@ -62,6 +62,11 @@ class Heading extends Component
|
||||
}
|
||||
}
|
||||
|
||||
public function manualCheckStatus()
|
||||
{
|
||||
$this->checkStatus();
|
||||
}
|
||||
|
||||
public function mount()
|
||||
{
|
||||
$this->parameters = get_route_parameters();
|
||||
|
||||
Reference in New Issue
Block a user