Skip to content
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

ACMS-3577: DAM integration with starterkit (low code) doesn't work as expected. #1750

Open
wants to merge 2 commits into
base: develop
Choose a base branch
from

Conversation

deepakmishra2
Copy link
Contributor

… expected.

Motivation

Fixes #ACMS-3577

Proposed changes
updated attributes for media DAM

Testing steps
follow from ticket

Copy link
Contributor

@rajeshreeputra rajeshreeputra left a comment

Choose a reason for hiding this comment

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

Add existing site test to verify that, image has alt text.

Copy link
Collaborator

@chandan-singh7929 chandan-singh7929 left a comment

Choose a reason for hiding this comment

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

Changes looks good to me, I think we should keep same behaviour across all starterkit, see my comment on the ticket for more details.

Also, we need to think how we are going to provide this changes for our existing customers.

@deepakmishra2
Copy link
Contributor Author

deepakmishra2 commented Feb 26, 2024

Add existing site test to verify that, image has alt text.

@vishalkhode1 i think we cannot write existing test in this case as when we do DAM authentication it takes to an external site and we cannot write test for an external site.

@@ -169,8 +169,7 @@ json_values: |
]
},
"attributes": {
"alt": "[media:image:alt]",
"title": "[media:image:title]"
"alt": "[media:acquia_dam_alt_text:value]"
Copy link
Collaborator

Choose a reason for hiding this comment

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

@deepakmishra2 - This will only be generated if there is a mapping for alt text field, otherwise it will be blank because default DAM mapping doesn't have alt text field mapping out of the box.
Hence, I would suggest to use field condition then display the fallback as file name as alt value.
cc @vishalkhode1

@rajeshreeputra rajeshreeputra changed the title ACMS-3577: DAM integration with starterkit (low code) doesn't work as… ACMS-3577: DAM integration with starterkit (low code) doesn't work as expected. Mar 4, 2024
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.

5 participants