Feature #8254

Add previous/next functionality in diffs

Added by Theo Chatzimichos about 7 years ago. Updated 12 months ago.

Status:NewStart date:2011-04-30
Priority:NormalDue date:
Assignee:-% Done:

0%

Category:SCM
Target version:-
Resolution:

Description

Hello. I'm one of the Gentoo sysadmins. We are considering of migrating from Trac to Redmine for our SVN/Git repositories. The following patch adds a functionality that is already available in Trac (browsing between changesets)

add-repository-diff-easy-browse.diff Magnifier (1.04 KB) Theo Chatzimichos, 2011-04-30 01:10

RepositoriesController-revision@2x.png (27.9 KB) Go MAEDA, 2017-07-30 07:02

RepositoriesController-diff@2x.png (37.3 KB) Go MAEDA, 2017-07-30 07:02


Related issues

Related to Redmine - Feature #26576: Use tabs to switch between file changes and diff of a commit Closed

History

#1 Updated by Toshi MARUYAMA about 7 years ago

  • Category set to SCM

#2 Updated by johann sebatian about 7 years ago

  • Assignee set to johann sebatian

#3 Updated by Azamat Hackimov about 7 years ago

  • Assignee deleted (johann sebatian)

#4 Updated by Azamat Hackimov about 7 years ago

Looks good. Can I add this to repository?

#5 Updated by Toshi MARUYAMA about 7 years ago

Azamat Hackimov wrote:

Looks good. Can I add this to repository?

No.
@changeset.previous, @changeset.next and :size => 8 are hardcorded.
And, there is no functional test.

#6 Updated by Go MAEDA 12 months ago

Because of the improvement made in r16911, we can switch between RepositoriesController#revision page and RepositoriesController#diff page with tabs. So both pages are look like same page. However, RepositoriesController#diff page does not have Prev/Next navigation.

I think it is very natural for RepositoriesController#diff page to have prev/next navigation.

"Changes" tab (RepositoriesController#revision):

"View differences" tab (RepositoriesController#diff):

#7 Updated by Go MAEDA 12 months ago

  • Related to Feature #26576: Use tabs to switch between file changes and diff of a commit added

Also available in: Atom PDF