Skip to content

Conversation

@AlexJacksonDS
Copy link
Contributor

Changed 'Add' to 'Edit' for the bulk buttons/text. Removed empty lines on save and added a max character count hint to the text area view component.

image
image

Copy link
Contributor

@JBsoftwire JBsoftwire left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I have a suggestion, but no requests for fixes.

var optionsList = NewlineSeparatedStringListHelper.SplitNewlineSeparatedList(model.OptionsString)
.Where(o => o != string.Empty);

editData.EditModel!.OptionsString = NewlineSeparatedStringListHelper.JoinNewlineSeparatedList(optionsList);
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Would it be worth folding this two-step into a single helper method?

Copy link
Contributor

@stellake stellake left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks great! 👍

@AlexJacksonDS AlexJacksonDS merged commit b60b93c into master Jun 28, 2021
@AlexJacksonDS AlexJacksonDS deleted the HEEDLS-384-bulk-prompt-answers branch June 28, 2021 12:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants