Modify

Opened 5 years ago

Closed 6 weeks ago

Last modified 6 weeks ago

#20879 closed enhancement (fixed)

History browser: which version changed a tag (git blame)?

Reported by: simon04 Owned by: simon04
Priority: normal Milestone: 21.06
Component: Core Version:
Keywords: history version Cc: gaben

Description (last modified by simon04)

The tag table of the history browser could display for each line (for each key) in which version this value has been changed, similar to git blame.


Attachments (2)

Screenshot 2021-05-12 at 23.13.33.png (1.5 MB ) - added by simon04 5 years ago.
Screenshot 2021-05-17 at 21.08.48.png (400.5 KB ) - added by simon04 5 years ago.

Download all attachments as: .zip

Change History (22)

comment:1 by simon04, 5 years ago

Description: modified (diff)

comment:2 by simon04, 5 years ago

In 17886/josm:

see #20879 - Extract TagTableModel.getDiffItemType

comment:3 by simon04, 5 years ago

Resolution: fixed
Status: assignedclosed

In 17887/josm:

fix #20879 - History browser: which version changed a tag (git blame)?

comment:4 by simon04, 5 years ago

Cc: gaben added
Resolution: fixed
Status: closedreopened

Replying to gaben in ticket:20880#comment:6:

If the modifications not uploaded yet, the version number is messed up. After upload the since column becomes empty.

Last edited 5 years ago by gaben (previous) (diff)

comment:5 by gaben, 5 years ago

Oh sorry, I reopened the wrong ticket.

Aside from the bug, it's a nice feature I already like it, thank you! :D

comment:6 by simon04, 5 years ago

In 17903/josm:

see #20879 - History browser: display version "*" if tag change has not been committed

comment:7 by skyper, 5 years ago

I like the new feature but it can be irritating if a tag was added more than once. Right now there is no differences made and only the last version is shown. Especially, in cases of reverts and undelete actions this does not work well.

comment:8 by gaben, 5 years ago

I have the same feeling but can't figure out a nice way to present it to the GUI. How do you want to see it?

comment:9 by skyper, 5 years ago

A different text color or background color could be used if the tag was not added for the first time.

If I get it right, #20880 and this ticket could be tied together and the version number could get the background from #20880. Then there would be enough space for three or four different colors.

comment:10 by simon04, 5 years ago

Idea: we could add two colour gutters:

  • gutter to the left of keys shows when the key was first added
  • gutter to the right of values shows when the value was last changed (added in r17887 and r17890)

comment:12 by Klumbumbus, 5 years ago

Milestone: 21.0521.06

comment:13 by Don-vip, 4 years ago

Milestone: 21.0621.07

comment:14 by Don-vip, 4 years ago

Milestone: 21.0721.08

comment:15 by Don-vip, 4 years ago

Milestone: 21.0821.09

comment:16 by Don-vip, 4 years ago

Milestone: 21.09

comment:17 by gaben, 4 years ago

Keywords: history version added

comment:18 by daganzdaanda, 6 weeks ago

Isn't this implemented by now?

comment:19 by GerdP, 6 weeks ago

Milestone: 21.06
Resolution: fixed
Status: reopenedclosed

Yes, I think this was implemented with r17887.

comment:20 by gaben, 6 weeks ago

I think it was left open due to the comments above, but the main feature is there, yes.

Modify Ticket

Change Properties
Set your email in Preferences
Action
as closed The owner will remain simon04.
as The resolution will be set.
The resolution will be deleted. Next status will be 'reopened'.

Add Comment


E-mail address and name can be saved in the Preferences .
 
Note: See TracTickets for help on using tickets.