-
Notifications
You must be signed in to change notification settings - Fork 274
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
fix: click on the dock icon should display dashboard #7649
base: main
Are you sure you want to change the base?
Conversation
fixes containers#7403 Signed-off-by: Florent Benoit <[email protected]>
I'm able to test on Mac with Here are the steps I'm doing:
|
hmm why you can only use the yarn watch mode only ?
AFAIK it might be another issue, it's not related to this change |
When I build the app with |
OK, apart from this problem, it works as expected. LGTM |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Two concerns from testing:
-
I'm using yarn watch mode, but this was only working the first time for me - i.e. I close the window and can reopen it, but then if I close again, clicking on the icon does nothing. No error is reported, so I guess it still thinks the window is open?
-
With this change, using the toolbar context menu is less intuitive/standard. I can still get to it using a right (two finger) click, but I looked at how other apps on the Mac behave, and aside from one that doesn't have a context menu at all (Sentinel), clicking on all others (Google desktop, Logitech, Stream Deck) only opens the context menu as we do today.
@deboer-tim could you explain what is your 'toolbar context menu' (screenshot or screencast) to be sure we're talking about the same thing ? |
Not sure what I've done to my machine or if it is the connection I'm on but I can't get this PR to work at all now, will try again later. However, I meant the Mac toolbar / system menu / system tray. After this change it was less obvious how to get to the context menu showing machines and Kubernetes context switcher. ![]() |
What does this PR do?
if we were clicking on the icon with dashboard being closed, it was not bringing back the dashboard
track the event and add it back.
I don't know if there is such a case on Windows being possible so I added a isMac test
Screenshot / video of UI
What issues does this PR fix or reference?
fixes #7403
How to test this PR?