Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add gui/composeview as part of available commands #11851

Merged
merged 1 commit into from
May 23, 2024

Conversation

glours
Copy link
Contributor

@glours glours commented May 23, 2024

What I did
Add the new open configuration menu to the list of available commands in navmenu metrics

Related issue
N/A

(not mandatory) A picture of a cute animal, if possible in relation to what you did

@glours glours requested review from jhrotko and a team May 23, 2024 16:38
@glours glours self-assigned this May 23, 2024
@glours glours requested review from ndeloof and removed request for a team May 23, 2024 16:38
commandAvailable := []string{}
if isDockerDesktopActive {
commandAvailable = append(commandAvailable, "gui")
}
if isWatchConfigured {
commandAvailable = append(commandAvailable, "watch")
}

if isDDComposeUI {
Copy link
Contributor

Choose a reason for hiding this comment

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

for consistency with isDockerDesktopActive I would change it to isDockerDesktopComposeUI

commandAvailable := []string{}
if isDockerDesktopActive {
commandAvailable = append(commandAvailable, "gui")
}
if isWatchConfigured {
commandAvailable = append(commandAvailable, "watch")
}

if isDDComposeUI {
Copy link
Contributor

Choose a reason for hiding this comment

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

Suggested change
if isDDComposeUI {
if isDockerDesktopComposeUI {

@glours glours force-pushed the add-compose-ui-command-tracking branch from 88535f2 to 0d6ac18 Compare May 23, 2024 16:54
@glours glours merged commit 2ed40e8 into docker:main May 23, 2024
28 checks passed
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