-
Notifications
You must be signed in to change notification settings - Fork 256
Issue #2762995 by mglaman, dylanf: Add a description/message field #450
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Issue #2762995 by mglaman, dylanf: Add a description/message field #450
Conversation
bfe90c6 to
6403932
Compare
|
|
||
| $fields['description'] = BaseFieldDefinition::create('string_long') | ||
| ->setLabel(t('Description')) | ||
| ->setDescription(t('The description of the promotion. This is additional information, beyond the name, which can be displayed to the customer.')) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@bojanz description look "good enough"?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
"The description of the promotion." is redundant, it doesn't say anything that the "Description" field name doesn't already say. We remove that, it leaves us with "This is additional information, beyond the name, which can be displayed to the customer.". Maybe we can reword that as "Used to describe the promotion to the customer."? Let's bikeshed on IRC.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
So Woo, Spree, etc don't have a helper label. "Additional information about the promotion to show to the customer"
|
I think this looks great. |
@bojanz ^ yeah? |
a0e750b to
16a495d
Compare
6403932 to
b3eded0
Compare
|
Per @bojanz disccusion "Additional information about the promotion to show to the customer" |
No description provided.