-
Notifications
You must be signed in to change notification settings - Fork 48
Add site context menu #1796
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
base: trunk
Are you sure you want to change the base?
Add site context menu #1796
Conversation
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.
Great work Nick! 🎉
Thanks for adding the site context menu.
I've pushed a commit fixing the tests. I'll take a closer look next week, but feature wise, everything worked smoothly.
One suggestion, what do you think if we leave open site and open wp-admin enabled for stopped sites too?
We could start the site before opening the browser.

@sejas, good call. I was just following the original design, but the other "Open site" and "WP admin" links in the app start up the site if it has not already been started. I updated the functionality in d1fa0db |
Proposed Changes
This PR adds a context menu to sites in the sidebar, and was originally designed last year:
While a relatively low-priority feature, the context menu is a significant QOL improvement, especially for Studio power users. Simple actions like deleting a site now take three clicks rather than up to five clicks.
This PR does not add new functionality to Studio, such as the "Duplicate site..." option shown in the design mockup above. It simply adds easy access to all the existing functionality in Studio.
Here are the various states:
A couple of notes:
Here's a quick video of this feature in action:
studio-context-menu.mp4
Testing Instructions
Pre-merge Checklist