Edgewall Software
Modify

Opened 7 years ago

Last modified 6 years ago

#10531 new enhancement

Annotate in changeset diff view

Reported by: anatoly techtonik <techtonik@…> Owned by:
Priority: normal Milestone: unscheduled
Component: version control/changeset view Version:
Severity: normal Keywords: javascript plugin
Cc:
Release Notes:
API Changes:

Description

http://trac.edgewall.org/changeset?reponame=&new=10909%40trunk&old=10902%40trunk

I wonder if it is possible at all - show commit message in this view when mouse is over a green or a red piece of contents?

Attachments (0)

Change History (1)

comment:1 Changed 6 years ago by Christian Boos

Keywords: javascript plugin added
Milestone: unscheduled

Yes, definitely possible.

Typically the kind of Javascript-only extension that I discussed briefly in #11086.

It could work that way:

  • decorate the diffs with an "annotate" button
  • clicking it sends an XHR with the repo/file path/changeset and line numbers interval info, for both old and new revisions
  • server-side, we do a blame on the two corresponding nodes, send back the info for the range of lines concerned
  • client side we add a new column with this info

Modify Ticket

Change Properties
Set your email in Preferences
Action
as new The ticket will remain with no owner.
The ticket will be disowned.
as The resolution will be set.
The owner will be changed from (none) to anonymous.

Add Comment


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