-
Notifications
You must be signed in to change notification settings - Fork 15
Description
I talked with @JustinProminic about adding a second row to the Workspace sidebar that shows the name of the currently selected project and some common actions for the project:
The buttons would be configured based on the project type, with an option to override the actions using a configuration file for the project. The buttons should be icons with tooltips, to save space. We could allow arbitrary actions, or focus on common actions like:
- Build - compilation
- Launch - Build & Run, or other actions focused on loading a running instance of the project.
The configuration file would be something like moonshine-actions.xml. We could use different formats (JSON, YML, etc. if desired), but I chose XML here to match moonshine-dependencies.xml.
We discussed using a combobox instead of the selected project, but we want to stick with the simple solution for now. We could revisit this later:
- Advantages:
- the user can change the project here without needing to scroll or collapse the project tree in the sidebar
- Disadvantages:
- This is inconsistent with the current behavior for project actions
- In my experience with similar interface, I found I sometimes clicked the button without paying noticing that my current project/file was not selected (or I was paranoid about doing that when checking the interface)