Nova Missing / Desired Functionalities
I’ve been working on a sidebar and have hit some limitations as of late. I’m listing them here in the hopes they, or similar functionalities, may be seen one day.
Terminal commands / attachments:
Many services such as Docker and Ruby Rails frequently require the use of a terminal session. These are often tied to something within the given interface, where ideally the user may trigger a session, or a certain action to view output, from within the GUI. In the case of my needs, I would like to allow the user to enter a containers session from the sidebar, or view a live stream of logs.
To elaborate, I’m referring to the ability to pass a command into an interactive shell using a local or remote terminal window. (i.e. rails c, luaprompt, python etc…)
For sidebars with multiple sections the readability can become restrictive when all sections are persistently open. While one could drag their individual heights during use, it is cumbersome and slow. In order to declutter, and create a more dynamic behavior for a given sidebar, there are a couple options that would be beneficial.
1. Collapsing sidebar sections. A simple button to automatically fold, or resume previous hight, would make moving focusing on what is needed at any given time fairly simple and straight forward. 2. Moving sidebar sections, similar to sidebars themselves. Certainly more complicated, and one could certainly break their sections up into individual sidebars, this makes the menu and naming messy.
Hiding context options by contextValue:
It would be ideal to not simply disable/enable context menu items, but to also hide ones not relevant to a selected item. For a sidebar that contains a variety of different types of representations, having a single context menu that disables/enables per use case leaves a lot of unnecessary bloat.
Context menu partitions: Exists: here. Thanks eablokker! Horizontal line barriers between groups of context menu options, as we see throughout OS X, helps organize usability. It would be nice to define such a thing for the sidebar context menus as well.
Sidebar Section loading animation:
Content loaded into a sidebars section may not load immediately (i.e. network). An animation we can trigger to inform the user a request is in process would be nice, rather than a blank box.
Depending on how the data is populated, different circumstances may warrant a different default response within the section. Say a requested list of data is valid, but empty. It should signify it was successful but empty. However, say the host could not be reached. The placeholderText should be dynamically settable to indicate the host was down.
Filetype commands / context options:
Certain filetypes have actions that are typically performed against / with them. If a context menu is brought up on such files, it would be nice for an extension to optionally provide a command for that file. (i.e. executing shell script in terminal, docker-compose up/run/down)