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

VACMS-16457: Update/patch entity_browser module #16542

Merged
merged 17 commits into from
Jan 5, 2024

Conversation

edmund-dunn
Copy link
Contributor

Description

Closes #16457.

This updates the entity_browser module and patches it and the entity_browser_tables module. There were breaking changes in entity_browser see https://www.drupal.org/project/entity_browser/issues/3407702 for reference.

Testing done

Tested locally. Cypress tests that failed in the dependabot PR passed locally.

Screenshots

QA steps

What needs to be checked to prove this works?
What needs to be checked to prove it didn't break any related things?
What variations of circumstances (users, actions, values) need to be checked?

Mostly this would be considered good to go if autoated tests pass. However in light of the information on breaking changes we need each product team to review to make sure that none of their custom code is effected by those breaking changes.

Definition of Done

  • Documentation has been updated, if applicable.
  • Tests have been added if necessary.
  • Automated tests have passed.
  • Code Quality Tests have passed.
  • Acceptance Criteria in related issue are met.
  • Manual Code Review Approved.
  • If there are field changes, front end output has been thoroughly checked.

Select Team for PR review

  • CMS Team
  • Public websites
  • Facilities
  • User support
  • Accelerated Publishing

Is this PR blocked by another PR?

  • DO NOT MERGE

Does this PR need review from a Product Owner

  • Needs PO review

CMS user-facing announcement

Is an announcement needed to let editors know of this change?

  • Yes, and it's written in issue ____ and queued for publication.
    • Merge and ping the UX writer so they are ready to publish after deployment
  • Yes, but it hasn't yet been written
    • Don't merge yet -- ping the UX writer to write and queue content
  • No announcement is needed for this code change.
    • Merge & carry on unburdened by announcements

@edmund-dunn edmund-dunn linked an issue Dec 21, 2023 that may be closed by this pull request
7 tasks
@edmund-dunn edmund-dunn self-assigned this Dec 21, 2023
@va-cms-bot va-cms-bot temporarily deployed to Tugboat December 21, 2023 16:29 Destroyed
@edmund-dunn edmund-dunn added CMS Team CMS Product team that manages both editor exp and devops Drupal engineering CMS team practice area Facilities Facilities products (VAMC, Vet Center, etc) Public Websites Scrum team in the Sitewide crew labels Dec 21, 2023
@jilladams jilladams requested review from Becapa and a team and removed request for Becapa December 21, 2023 16:33
@dsasser
Copy link
Contributor

dsasser commented Dec 21, 2023

@edmund-dunn changes look good but there appears to be a cypress test failure.

@va-cms-bot va-cms-bot temporarily deployed to Tugboat December 21, 2023 20:13 Destroyed
@edmund-dunn
Copy link
Contributor Author

@edmund-dunn changes look good but there appears to be a cypress test failure.

@dsasser that test is no longer needed. Per https://www.drupal.org/project/entity_browser/issues/3074457 that is now part of entity_browser.

@va-cms-bot va-cms-bot temporarily deployed to Tugboat December 21, 2023 20:17 Destroyed
@edmund-dunn edmund-dunn changed the title 16457 Update/patch entity_browser module VACSM-16457: Update/patch entity_browser module Dec 21, 2023
@edmund-dunn edmund-dunn changed the title VACSM-16457: Update/patch entity_browser module VACMS-16457: Update/patch entity_browser module Dec 21, 2023
@edmund-dunn edmund-dunn reopened this Dec 22, 2023
@va-cms-bot va-cms-bot temporarily deployed to Tugboat December 22, 2023 15:28 Destroyed
@JunTaoLuo JunTaoLuo added the refresh-tugboat-cache Used by GHA Tugboat automation label Dec 23, 2023
@va-cms-bot va-cms-bot temporarily deployed to Tugboat January 3, 2024 20:47 Destroyed
@JunTaoLuo JunTaoLuo removed the refresh-tugboat-cache Used by GHA Tugboat automation label Jan 3, 2024
ndouglas
ndouglas previously approved these changes Jan 4, 2024
Copy link
Contributor

@ndouglas ndouglas left a comment

Choose a reason for hiding this comment

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

This is fine to merge from my perspective once merge conflicts are resolved 🙂

@va-cms-bot va-cms-bot temporarily deployed to Tugboat January 4, 2024 21:15 Destroyed
Copy link
Contributor

@dsasser dsasser left a comment

Choose a reason for hiding this comment

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

The patch for entity_browser is a bit weird in that it is loading entities that ostensibly should already be there. Swirt had a similar sentiment on the d.o issue.

@va-cms-bot va-cms-bot temporarily deployed to Tugboat January 5, 2024 16:15 Destroyed
@edmund-dunn
Copy link
Contributor Author

@dsasser that was a good call. I was able to remove that patch. The patch on entity_borwser_tabloe to bring it in line with the changes to entity_browser seemed to have fixed our issues.

@va-cms-bot va-cms-bot temporarily deployed to Tugboat January 5, 2024 16:42 Destroyed
@edmund-dunn edmund-dunn requested a review from dsasser January 5, 2024 16:43
dsasser
dsasser previously approved these changes Jan 5, 2024
swirtSJW
swirtSJW previously approved these changes Jan 5, 2024
Copy link
Contributor

@swirtSJW swirtSJW left a comment

Choose a reason for hiding this comment

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

I am happy that original patch has been removed.

QA Steps

Review instances of entity browser:
image
There are only 2 instances of entity_browser_table being used on Facilities products do my QA is limited to those. In the absence of actual QA steps on the PR, I am assuming that CMS team and PW team have reviewed the other instances.

  • Validate that vet_center_locations_list is working as it should be
    prod on right
    image

added entities successfully
image

Removed entities successfully
image

  • Validate that paragraph.contact_information is working as it should be
    Prod on right
    image

Added and removed phone numbers fine. Allowed number of entries still work
image

@va-cms-bot va-cms-bot temporarily deployed to Tugboat January 5, 2024 20:18 Destroyed
@edmund-dunn edmund-dunn dismissed stale reviews from swirtSJW and dsasser via 7c6a0f6 January 5, 2024 20:23
@va-cms-bot va-cms-bot temporarily deployed to Tugboat January 5, 2024 20:23 Destroyed
@edmund-dunn edmund-dunn merged commit b4c4686 into main Jan 5, 2024
14 of 19 checks passed
@edmund-dunn edmund-dunn deleted the 16457-updatepatch-entity_browser-module branch January 5, 2024 20:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
CMS Team CMS Product team that manages both editor exp and devops Drupal engineering CMS team practice area Facilities Facilities products (VAMC, Vet Center, etc) Public Websites Scrum team in the Sitewide crew
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Update/patch entity_browser module
7 participants