godotengine / godot

Godot Engine – Multi-platform 2D and 3D game engine
https://godotengine.org
MIT License
91.3k stars 21.24k forks source link

Button "Discard local changes and reload" is confusing #99502

Open manuq opened 19 hours ago

manuq commented 19 hours ago

Tested versions

System information

Endless OS 6

Issue description

I'm mentoring in a game-dev program, where learners are using Git for collaboration. When they switch Git branches, the "Files have been modified on disk" dialog always appear. The title and message of the confirmation dialog are informative. But the options paralyze them.

In a Git switch, the "Discard local changes and reload" is what they want, because they are intentionally changing the files. But the label is confusing. What do "local changes" mean? Of course I know that it's "Discard changes made in Godot" but it can get confused by the Git local/remote concepts. Also maybe you didn't do any "local changes" to these files, it's just that the files changed on disk (exactly what the dialog title says).

Also, having Cancel as third option is confusing. Hopefully these buttons can have shorter labels. Something like "Are these external changes intended? Yes / No" or "Would you like to reload the files? Reload / Cancel" and after cancelling, let the user save each modified file instead of providing the "Keep local changes and overwrite" option.

Image

Steps to reproduce

Minimal reproduction project (MRP)

N/A

manuq commented 19 hours ago

Same issue although in a different situation: https://github.com/godotengine/godot/issues/96930

tetrapod00 commented 16 hours ago

I am also frequently slightly confused by these, even as an experienced user. Since https://github.com/godotengine/godot/pull/97461 was merged, I think this dialogue should at least be changed so that "What action should be taken?" is on a new line, like the other dialogue. I also think changing the content of the buttons would be good, though I'm not sure on exactly the best wording.

I marked this as "Good First Issue", which means that it is a good place to start contributing. For anyone interested, you should be able to reference the implementation of https://github.com/godotengine/godot/pull/97461 as a starting point. Note that since this is a somewhat subjective wording change, don't be surprised if your PR needs additional review to reach consensus.