Add support Profile Diff UI

Created on 18 December 2023, 11 months ago
Updated 28 March 2024, 8 months ago

The attached zip provides Diff UI support for the Profile module, with a dependency on this module ie. Entity Diff UI. I'm not expecting to put this code elsewhere so just leaving it here in case anyone wants to pick it up. It requires the 📌 Create the revision UI for profiles Needs review patch.

Feature request
Status

Closed: won't fix

Version

1.0

Component

Code

Created by

🇦🇺Australia sime Melbourne

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

  • Issue created by @sime
  • 🇦🇺Australia sime Melbourne
  • 🇦🇺Australia sime Melbourne

    Just leaving a note here that this custom code is throwing phpstan errors and I notice there are quite a lot in entity_diff_ui.

     ------ ----------------------------------------------------------------------------------------------
      Line   contrib/entity_diff_ui/src/Form/RevisionOverviewForm.php
     ------ ----------------------------------------------------------------------------------------------
      208    Call to deprecated method loadRevision() of class Drupal\Core\Entity\EntityStorageInterface:
             in drupal:10.1.0 and is removed from drupal:11.0.0. Use
             \Drupal\Core\Entity\RevisionableStorageInterface::loadRevision instead.
      211    Call to deprecated method loadRevision() of class Drupal\Core\Entity\EntityStorageInterface:
             in drupal:10.1.0 and is removed from drupal:11.0.0. Use
             \Drupal\Core\Entity\RevisionableStorageInterface::loadRevision instead.
    
  • Status changed to Needs review 9 months ago
  • 🇦🇺Australia sime Melbourne

    The attached code is working really well for us, and I would like to see this added to the entity_diff_ui as a submodule.

  • 🇦🇺Australia mingsong 🇦🇺

    Thanks @Si,

    Yes, please create a MR, we can go from there.

  • Status changed to Needs work 9 months ago
  • 🇦🇺Australia mingsong 🇦🇺
  • Status changed to Closed: won't fix 8 months ago
  • 🇦🇺Australia sime Melbourne

    As discussed at DrupalSouth we'll keep the code custom since there is a generic revision UI on the way. The zip file is still here for anyone to use.

Production build 0.71.5 2024