SaaShup/netbox-docker-plugin
View on GitHub:children_crossing: Add xtermjs terminal to `Exec` tab in container view
Open
#163 opened on Oct 4, 2024
V3V4enhancementgood first issuehelp wanted
Repository metrics
- Stars
- (78 stars)
- PR merge metrics
- (PR metrics pending)
Description
| Netbox version | Plugin Version | Agent version | Docker API Version |
|---|---|---|---|
| 3.6.* & 4.* | 1.* & 2.* | 0.35.* | * |
Actual Behavior
The Exec tab is built around a text input which sends the command to the agent and then display the logs in a div bellow.
The user experience is not that great.
Desired Behavior
Using https://xtermjs.org, we could improve the user experience by providing a fake terminal. For a first iteration, we could have a fake prompt that sends the command to the agent just like now, for a future update (when the agent supports forwarding the pty), we could attach a real shell to the fake terminal.