B2024-064 Improve user experience by providing more descriptive wording when cannot change the Applicability of a Step/Section. #459

Merged
jjenko merged 1 commits from B2024-064 into Development 2024-11-07 09:20:48 -05:00
Showing only changes of commit 1da2b8e87c - Show all commits

View File

@ -236,7 +236,11 @@ namespace Volian.Controls.Library
else
{
StringBuilder sb = new StringBuilder();
sb.AppendLine("Changing the applicability for this step will invalidate a transition in the following steps...");
string tmpwrd = MyItemInfo.IsSection ? "section" : "step";
sb.AppendLine($"The applicability for this {tmpwrd} cannot be changed due to transition links.");
sb.AppendLine("Applicability settings will return to original settings when OK is selected.");
sb.AppendLine($"Changing the applicability for this {tmpwrd} will invalidate a transition in the following steps...");
sb.AppendLine();
// B2021-149: if step, put out line for every invalidTrans, if procedure only put out those that are external
// determine this by looking strings for source and target (to), if procedure level and internal the target starts