-
Notifications
You must be signed in to change notification settings - Fork 70
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
VACMS-15911: Updates config and code for spotlight content #16145
Conversation
@davidmpickett I am looking at a VBA Facility and I'm not sure if it reads quite right, lots of "Spotlight content"s. The same is true (perhaps to a lesser extent) for Vet Center. |
module: entity_reference_revisions | ||
locked: false | ||
cardinality: 2 | ||
translatable: true |
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.
I'm pretty sure Translatable should be false
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.
I don't see anything in the UI that enables this to be turned off. I could set it to false here. Is that the recommendation, @swirtSJW ?
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.
This might not be an issue. Language support is disabled for this field type and you have set translation to false on the field settings. I didn't realize this was field.storage when I left the comment. Sorry
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.
This should be fine. The entity field that is the entity reference is translatable, even though the paragraph itself is not (would just point to a different paragraph).
@@ -9,7 +9,7 @@ id: paragraph.featured_content.field_section_header | |||
field_name: field_section_header | |||
entity_type: paragraph | |||
bundle: featured_content | |||
label: 'Section Header' | |||
label: Title | |||
description: '' | |||
required: true | |||
translatable: false |
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.
By contrast, I think this field should be translatable. Possible that I'm totally misunderstanding translation though
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.
A paragraph can generally not be translatable. Meaning if the node was translated, it would use its own paragraph, not a translation of the original paragraph.
@@ -12,7 +12,7 @@ id: node.vet_center.field_vet_center_feature_content | |||
field_name: field_vet_center_feature_content | |||
entity_type: node | |||
bundle: vet_center | |||
label: 'Featured content' | |||
label: 'Spotlight content' |
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.
Consider 'Local spotlight(s)' to avoid duplication of 'Spotlight content' phrase
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.
config/sync/field.field.node.vet_center.field_vet_center_feature_content.yml
Outdated
Show resolved
Hide resolved
title: 'featured content block' | ||
title_plural: 'featured content blocks' | ||
title: 'spotlight contents' | ||
title_plural: spotlights |
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.
I am even more convinced now that these fields don't do what they say they do.
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.
Sorry I am not sure I follow what you are saying @davidmpickett
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.
Two other files that might warrant small edits: field.field.node.vba_facility.field_cc_national_spotlight_1.yml
field.field.node.vet_center.field_cc_vet_center_featured_con.yml
|
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.
Thanks for making all those updates. Looks good to me
I am fixing the conflicts now. |
8315212
to
525c4a8
Compare
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.
This tests out great and is ready for merge.
However, this makes changes to the Vet Center product that were not really scoped in the original ticket and may need some change management with editors and perhaps KBs that were not part of the issue either. So I am not sure if this can be merged.
@davidmpickett and @xiongjaneg please advise.
Linking to ongoing slack thread about change management |
Approved |
Discussed the need for Change management in today's scrum and Jane and Michelle both gave the thumbs up to go ahead and merge. |
* VACMS-15911: Updates config and code for spotlight content * VACMS-15911: Updates the labeling of spotlight in VBA form * VACMS-15911: Updates VBA node:view * VACMS-15911: Update config after PR * VACMS-15911 Move local spotlight out of external content. --------- Co-authored-by: Steve Wirt <[email protected]> Co-authored-by: Steve Wirt <[email protected]>
Description
Relates to #15911
Testing done
Manually
Screenshots
VBA Facility
Vet Center Dashboard
Vet Center
QA steps
VBA Facility
Vet Center dashboard
Vet Center node
Definition of Done
Select Team for PR review
CMS Team
Public websites
Facilities
User support
Accelerated Publishing