Display and update App Name in settings (#3027)

* Edit and view app name in app settings

Currently the "name" property is not exposed at all in an app's settings/update page, which can result in confusion about which app is being updated, and also a general confusion between the `Title` property and the `Name` property.
This PR gives visibility to the app name in settings, and allows updating of the same.
I also changed the display label for `title` and `name` to make them more distinct and specific.

* Fix tests

* Update AltcoinTests.cs

* Update SeleniumTests.cs

* fix tests

Co-authored-by: Nicolas Dorier <nicolas.dorier@gmail.com>
This commit is contained in:
Samuel Adams
2021-10-29 06:29:02 -04:00
committed by GitHub
parent 274be7c1bc
commit 707484709a
14 changed files with 48 additions and 19 deletions

View File

@@ -21,7 +21,7 @@ namespace BTCPayServer.Models.AppViewModels
[Required]
[MaxLength(50)]
[MinLength(1)]
public string Name { get; set; }
public string AppName { get; set; }
[Display(Name = "Store")]
public string SelectedStore { get; set; }