Fix label copy for file history menu items (#44569)

Buttons and menu items should preferably always start with an infinitive
verb that describes what will happen when you trigger them. Instead of
just "File History", we should say "_View_ File History".

Release Notes:

- N/A
This commit is contained in:
Danilo Leal
2025-12-10 18:00:11 +00:00
committed by GitHub
parent d83201256d
commit a61bf33fb0
3 changed files with 7 additions and 3 deletions
+1 -1
View File
@@ -1142,7 +1142,7 @@ impl ProjectPanel {
)
.when(has_git_repo, |menu| {
menu.separator()
.action("File History", Box::new(git::FileHistory))
.action("View File History", Box::new(git::FileHistory))
})
.when(!should_hide_rename, |menu| {
menu.separator().action("Rename", Box::new(Rename))