Add support Profile Diff UI

Created on 18 December 2023, 7 months ago
Updated 28 March 2024, 4 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 Canberra

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

Comments & Activities

  • Issue created by @sime
  • πŸ‡¦πŸ‡ΊAustralia sime Canberra
  • πŸ‡¦πŸ‡ΊAustralia sime Canberra

    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 6 months ago
  • πŸ‡¦πŸ‡ΊAustralia sime Canberra

    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 5 months ago
  • πŸ‡¦πŸ‡ΊAustralia Mingsong πŸ‡¦πŸ‡Ί
  • Status changed to Closed: won't fix 4 months ago
  • πŸ‡¦πŸ‡ΊAustralia sime Canberra

    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.69.0 2024