Skip to content

Update missing color in Connect, reorder More Options menu items#24593

Merged
ravicious merged 1 commit intomasterfrom
ravicious/more-options
Apr 14, 2023
Merged

Update missing color in Connect, reorder More Options menu items#24593
ravicious merged 1 commit intomasterfrom
ravicious/more-options

Conversation

@ravicious
Copy link
Copy Markdown
Member

The "Open new terminal" item was introduced in the search bar PR, before the theme got updated in #23539. When rebasing the original search bar PR on top of theme changes, I forgot to update colors outside of the search bar directory.

Additionally, this PR moves "Open new terminal" to the top of the list because it's likely to be used more often than opening the config file.

@github-actions github-actions Bot requested a review from kimlisa April 14, 2023 10:12
@github-actions github-actions Bot requested a review from ryanclark April 14, 2023 10:12
@ravicious ravicious requested review from gzdunek and removed request for kimlisa April 14, 2023 10:12
Comment on lines +67 to +73
{
title: 'Open new terminal',
isVisible: isSearchBarEnabled,
Icon: icons.Terminal,
keyboardShortcutAction: 'newTerminalTab',
onNavigate: openTerminalTab,
},
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

What do you think about adding a separator between 'Open new terminal' and 'Open config file'?
It seems to me that 'Open config file', 'Install tsh in PATH' and 'Remove tsh from PATH' can be considered as a logical group.

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

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

I'm not sure about it, how does opening a config file relate to installing tsh in PATH? If anything, opening a new terminal could be grouped with the two tsh items. But then we'd also have to make the separator not show up on platforms other than macOS since they don't have those extra tsh items.

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

how does opening a config file relate to installing tsh in PATH?

I think about it as config-related stuff, 'Open config file' configures Connect, installing tsh in PATH configures your OS. But it is just an idea, I'm fine with merging it as is.

@ravicious ravicious added this pull request to the merge queue Apr 14, 2023
Merged via the queue into master with commit be498cf Apr 14, 2023
@ravicious ravicious deleted the ravicious/more-options branch April 14, 2023 13:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants