Rewrite modal copy when editing files from a commit
Everyone can contribute. Help move this issue forward while earning points, leveling up and collecting rewards.
Description
Currently, when users attempt to edit a file from a specific commit revision, they are shown a misleading modal suggesting they fork the project, which doesn't address the actual limitation.
Problem
- The forking modal copy doesn't accurately reflect the scenario of editing a file from a commit revision
- The message doesn't mention that
WebIDEsupports this workflow, missing an opportunity to guide users to the supported path - Users can edit a file starting from a commit using the
WebIDE, but not fromEdit single file, which creates a dissonance in what is supported
Solution
See #540848 (comment 2550994568).
For users who want to create a revision starting from a commit, we will allow users to edit the file from their editing method of choice. Currently, we allow users to edit a file from a commit revision using WebIDE, but not Edit single file. The recommendation is to enable this for both WebIDE and Edit single file. Users will be prompted to create a new branch when they commit changes.
Design recommendation
- Add the ability to
Edit single file - Add a modal for
Edit>WebIDEto set appropriate user expectations - Add a modal for
Edit>Edit single fileto set appropriate user expectations
| 1.Select edit option | 2.Modal opens | 3.User can edit | |
|---|---|---|---|
| WebIDE |
|
Users are prompted to create a new branch in order to commit changes |
|
| Edit single file |
|
Users must create a new branch in order to commit changes |






