Re-Add Advanced Staging + Commit to Web IDE
Problem to Solve
When working on changes to code sometimes those changes are made across multiple files at the same time, but it may be advantageous to break those changes up in multiple commits to the project.
Additional Details
In #196609 (closed) the ability to stage files was removed from the Web IDE. This was done to streamline the flow of performing changes in the Web IDE, but limited more advanced use cases of users.
Proposal
We should create a secondary option to allow users to enter in to a state that allows them to stage or unstage changes. This should not be the default, but rather available to users through a dropdown.
File has been modified
When a file has been changed, you can access a file-specific dropdown by hovering over it in the Commit tab. This gives you the chance to unstage the file.
After file has been unstaged
The UI then switches to the staged/unstaged changes setup that we had before, so that you can separate your changes into staged and unstaged.
UX Research Insight
Some users want the option to have an unstaged/staged changes view in the Web IDE so that they can save or discard updates for a commit. They'd also like to have more control when making multiple changes that need to be split into multiple commits.
Action: Enable users to "save" changes before making a commit. Add an option to stage/unstage changes in the Web IDE.
Source: Dovetail insight