Repository navigation
fix(tray): show cards without a wrapped line; default SSH key setting - #21
Merged
Merged
Conversation
The card list is sized by each card's height for the panel width. A card without a word-wrapped label (an idle runtime, such as one just attached with Connect) has no height for width, and Qt returns about 1 px, so the list collapsed and the panel looked empty after Connect. Take the larger of the size hint and the height for width. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
The tray's SSH and forward buttons run `colab ssh` / `colab forward` without -i, so only ~/.ssh/id_ed25519 and id_ecdsa could be used from there; a key such as ~/.ssh/colab_ed25519 ended with "no SSH public key found". Without -i, both commands now take COLAB_CLI_SSH_IDENTITY, else `ssh_identity` in settings.json, else the default keys, and the no-key message names the setting. Tested live: `colab ssh -- CMD` without -i using the variable, and the tray's SSH button on an attached web UI runtime with the setting. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
arlinamid
added a commit
that referenced
this pull request
Nov 20, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Two problems found while testing #20 live from the tray:
~/.ssh/id_ed25519/id_ecdsa(the tray passes no-i).colab sshandcolab forwardwithout-inow takeCOLAB_CLI_SSH_IDENTITY, elsessh_identityinsettings.json, else the default keys; the no-key message names the setting.Tests:
test_a_card_without_wrapped_text_is_shown,tests/test_ssh_identity_setting.py; full suite 1299 passed. Live: card shown after Connect;colab ssh -- CMDwithout-i; the tray's SSH button opened a shell on the attached web UI runtime.🤖 Generated with Claude Code