Early Bird Registration for DrupalCon Portland 2024 is open! Register by 23:59 PST on 31 March 2024, to get $100 off your ticket.
Update the data in views and figure out what graphics to use to make the insertion and deletions look like github (see screenshot below).
http://img.skitch.com/20101122-rr2j6ts4xmn75e4dgjy11ctci.png
Comment | File | Size | Author |
---|---|---|---|
#9 | dg-diffstat-v3.png | 272 bytes | sarah_p |
#5 | versioncontrol_views_diffstat.patch | 6.51 KB | mikey_p |
Comments
Comment #1
sarah_p CreditAttribution: sarah_p commentedComment #2
marvil07 CreditAttribution: marvil07 commentedprobably blocked until #976130: Add number of lines added/removed to commitlog views gets in
Comment #3
sarah_p CreditAttribution: sarah_p commentedThe meta issue for this is #970200: Create shippable commit views
Comment #4
sarah_p CreditAttribution: sarah_p commentedComment #5
mikey_p CreditAttribution: mikey_p commentedThis patch adds a new handler that tries to perform an accurate diffstat for changes to a file, and format it into an odd number of placeholders to indicate either additions or subtractions, or no-op, i.e. ++-- or ++++- or +----
Note: Originally, I posted this over at #1011726: Add a diffstat style indicator for lines added/removed before finding this issue.
Comment #6
sdboyer CreditAttribution: sdboyer commentedThe diffstat algorithm & field look good. I've committed those; marking needs work now because we still need some theming ju-ju on top of the baseline provided by the field.
Here's a screenie of how this looks, for browsing users' viewing pleasure...
Comment #7
mikey_p CreditAttribution: mikey_p commentedComment #8
mikey_p CreditAttribution: mikey_p commentedCommitted.
Comment #9
sarah_p CreditAttribution: sarah_p commentedHere is the graphic for future reference.
Comment #10
sdboyer CreditAttribution: sdboyer commentedCommitted the latest image. Was exhausted and forgot to give you credit in the commit message, sorry.