mirror of
https://github.com/Studio-Saelix/sencho.git
synced 2026-08-17 14:08:19 +00:00
feat(stacks): state-aware sidebar context menu and Open App action (#368)
* feat(stacks): state-aware sidebar context menu and Open App action - Context menu now adapts to stack state: running stacks show Stop/Restart/Update, stopped stacks show Deploy only - Added "Open App" shortcut to open a stack's web UI directly from the sidebar (visible when running with a published port) - Backend bulk status endpoint enriched with mainPort detection - Reduced manual image update check cooldown from 10 to 2 minutes - Rate limit error message now derives from the configured constant * fix(stacks): use const for bulkPorts (prefer-const lint)
This commit is contained in:
@@ -294,3 +294,20 @@ docker logs -f sencho
|
||||
```
|
||||
|
||||
The backend logs all route errors and service failures to stdout. This is the first place to look when the UI shows an error with no useful message.
|
||||
|
||||
## "Open App" doesn't appear in the context menu
|
||||
|
||||
**Symptom:** You right-click a stack in the sidebar but "Open App" is not listed.
|
||||
|
||||
**Cause:** The **Open App** option only appears when both conditions are met:
|
||||
|
||||
1. The stack is **running** (status shows UP).
|
||||
2. At least one container in the stack has a **published port** (a port mapped to the host).
|
||||
|
||||
If your container uses host networking, doesn't expose ports, or only binds to internal Docker networks, the option won't appear. You can still access the app manually by checking the container's port mappings in the stack detail view.
|
||||
|
||||
## "Check for updates" shows rate-limit error
|
||||
|
||||
**Symptom:** Clicking "Check for updates" shows a toast error about waiting before refreshing.
|
||||
|
||||
**Cause:** Manual update checks are rate-limited to prevent excessive requests to container registries. Wait for the cooldown period to elapse before checking again. Automatic background checks run every 6 hours regardless of this limit.
|
||||
|
||||
Reference in New Issue
Block a user