Skip to content

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

Open
jakehwll wants to merge 1 commit intomainfrom
jakehwll/workspace-name-help-text
Open

feat: add .help() for workspace name#247
jakehwll wants to merge 1 commit intomainfrom
jakehwll/workspace-name-help-text

Conversation

@jakehwll
Copy link
Copy Markdown

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?

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