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 "New Session" context menu item to launcher #27

Closed
rpwoodbu opened this issue Feb 16, 2014 · 1 comment
Closed

Add "New Session" context menu item to launcher #27

rpwoodbu opened this issue Feb 16, 2014 · 1 comment
Assignees

Comments

@rpwoodbu
Copy link
Owner

It looks to be possible to add context menu items to the launcher icon for the app:

http://developer.chrome.com/extensions/contextMenus.html#method-create

Currently, due to behaviors on Chrome OS, the "New Session" window (mosh_client.html) is left open, and if the user closes it, he may never get it back. Other platforms will bring the window back when the user attempts to launch the app again (onLaunched() fires). But just because of Chrome OS, I'm leaving this "New Session" window open but minimized, which pollutes the workspace, and isn't a great UX.

By adding a context menu to the launcher icon, I could just close that window once the session is started, and let the user right-click the app icon to start a new session. This is similar to how the Secure Shell app works.

This may only show on Chrome OS, but that's OK, as that is the only platform AFAIK that needs this.

@rpwoodbu rpwoodbu self-assigned this Feb 16, 2014
@rpwoodbu
Copy link
Owner Author

Done in SHA 6e6ffec.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant