Until Q1 of 2018, editing a file in the browser was not supported by Gerrit's new UI. This feature is now done and ready for use.
Read on for a walkthrough of the feature!
Click on the “Edit” button to begin.
One may also go to the project mmanagement page (Browse => Repository => Commands => Create Change) to create a new change.
The buttons in the file list header open dialogs to perform actions on any file in the repo.
To leave edit mode and restore the normal buttons to the file list, click “Stop editing”.
The “Actions” dropdown appears on each file, and is used to perform actions on that specific file.
This is the editor view.
Clicking on the file path allows you to rename the file, You can edit code in the textarea, and “Close” will discard any unsaved changes and navigate back to the previous view.
You can save changes to the code with
ctrl+s, or by clicking the “Save” button.
You may publish or delete the edit by clicking the buttons in the header.