Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
I would like to suggest 2 improvements to the file diff comparison.
1) It would be nice to be able to open the file by clicking on it so that you can compare the difference more easily.
2) It would be nice to be able to include the file size in the comparison so it is more apparent than just an FID change of what happened.
Comment | File | Size | Author |
---|---|---|---|
#3 | diff-2101391-3-file-and-image-property-separator-options.patch | 3.44 KB | Alan D. |
#3 | diff-file-property-separator-options.png | 5.12 KB | Alan D. |
#1 | diff-attachments-before.png | 16.25 KB | haydeniv |
#1 | diff-attachments-settings-after.png | 33.99 KB | haydeniv |
#1 | diff-attachment-settings-before.png | 28.58 KB | haydeniv |
Comments
Comment #1
haydeniv CreditAttribution: haydeniv commentedHere is the start of this. I could not get the linking to the file entity because everything is converted to text and so the hyperlink does not link because the filename changes in the hyperlink. Maybe someone else wants to take a stab at getting the linking to attachments to work. If it's too much trouble I can just do this with the file size improvements.
Settings Before:
Result Before:
Settings After:
Result After
Comment #2
Alan D. CreditAttribution: Alan D. commentedHow about just this?
Which you would run this once to set:
Comment #3
Alan D. CreditAttribution: Alan D. commentedOr even better, a UI too ;)
Comment #4
Alan D. CreditAttribution: Alan D. commentedPushed to dev bd5831a