Repository navigation
Conversation
|
Thanks for picking up #281 so quickly. The feature works as described: with real bash, fish and tmux the shell ends up in the directory with the environment active, the command is not run again in split panes, it goes through the host's encoding, and it stays out of the app's command history. Nothing is broken in the code. I would like a different shape for it before it merges, though. Where the command lives. A free-text command in the connection editor makes a second place where commands are written, next to the Commands panel. I would rather keep commands in one place: the connection editor picks one of the saved quick commands to run after login, instead of holding its own text.
Layout. As a label, "Run command after login" is the longest on the page, and the whole label column grows with it (about 110 to 285 px in English): Method, User and Password shift right, their inputs narrow, and two hints wrap. Please keep the label within the width the page already has ("Login command" / "登录命令" would do), or put this row's label above the control. The window should not need to grow from 600 to 680 for one row. The file panel should follow. After login the shell is in Two things for the docs, no code needed: the command is typed into whatever the login lands in, so it is meant for hosts that open a shell (a bastion menu or a password-expiry prompt would receive it as input); and since it rides on a quick command it is stored in plain text, so it is not the place for a token. Smaller: the Chinese hint starts with "可选。" and the English one does not. Generated by Claude Code |
|
Thanks for the review. I’ve updated the login command to use a saved quick command from the Commands panel.
|
Summary
cd /srv/app && conda activate myenvcan change the working directory and activate an environment for the shell you continue using.Closes #281
Testing
go vet ./...andgo tool mygo vetpassed.TestCloseAllMixedskipped. With test(app): click the rendered blank area in Close All tests #291 applied alongside this change,TestCloseAllMixedpassed three consecutive runs with race detection.