Skip to content

feat: add .help() for workspace name#247

Merged
jakehwll merged 2 commits intomainfrom
jakehwll/workspace-name-help-text
Apr 1, 2026
Merged

feat: add .help() for workspace name#247
jakehwll merged 2 commits intomainfrom
jakehwll/workspace-name-help-text

Conversation

@jakehwll
Copy link
Copy Markdown
Contributor

This pull-request makes it so that on hover we show the full workspace name. This allows the user to distinguish between similarly named workspaces when they're side by side.

image

@jakehwll jakehwll requested a review from ethanndickson March 26, 2026 09:58
Copy link
Copy Markdown
Member

@ethanndickson ethanndickson left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

One thing to fix before merging!


private var fullItemName: String {
item.primaryHost(hostnameSuffix: state.hostnameSuffix)
}
Copy link
Copy Markdown
Member

@ethanndickson ethanndickson Mar 26, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can we replace all references to item.primaryHost(hostnameSuffix: state.hostnameSuffix) elsewhere in this struct with fullItemName to avoid repeating ourselves?

Also, why full? itemName is already full. Maybe this should be plainItemName since itemName is the formatted/stylized one?

@jakehwll jakehwll merged commit a5bdb63 into main Apr 1, 2026
3 checks passed
@jakehwll jakehwll deleted the jakehwll/workspace-name-help-text branch April 1, 2026 06:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants