guardicore / guardicore/monkey

Log download button in a wrong state

Open
#2,718 0 comments 0 reactions 0 assignees View on GitHub
Bug Complexity: Medium Impact: Medium UI
Dominant language
Python
Stars
7.1k
Forks
830
PR merge metrics
No merged PRs in 30d

Description

## Describe the bug
Log download button in the map doesn't dinamicaly update it's state.

## To Reproduce
Steps to reproduce the behavior:
1. Run the agent on the island
2. Quickly go to the map and select the island node
3. The agent have not yet started, so you're able to download agent logs
4. The agent started on the island. You can still press on the agent log download button. Press it.
5. You get the error about missing logs.

## Expected behavior
Dissable/enable the button dynamically based on whether the agent is running or not.
Ideally the error that API returns or docs should explain that the log can be downloaded only after the agent finished.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.