Modify

Opened 7 years ago

Closed 7 years ago

#1287 closed enhancement (fixed)

Option to add revtree to BrowseSource ctxmenu

Reported by: anonymous Owned by: eblot
Priority: normal Component: RevtreePlugin
Severity: normal Keywords:
Cc: Trac Release: 0.11

Description

It would be nice to be able to add the revtree link to the context menu of the Browse Source component. Currently RevTree plugin will add itself to the mainnav menu, but as most plugins put themselves there the mainnav can be bloated. Instead it could be placed next to the Revision Log link in the context menu.

Attachments (0)

Change History (4)

comment:1 Changed 7 years ago by eblot

I had a look yesterday at this feature.

The trouble is that the context menu (for ex. "next" and "prev" changesets in the changeset/browser view) is managed by a single handler: the versioncontrol handler in this case.

This means that for now, the Revtree menu item can only be added to the main toolbar (as per today) or to the metanav toolbar (the one with "Settings","About", etc.)

I don't see how the revtree could add itself to the changeset submenu.

comment:2 follow-up: Changed 7 years ago by eblot

  • Resolution set to wontfix
  • Status changed from new to closed

This does not seem possible with the current version of Trac (nor the next one, milestone:0.11) ;-(

comment:3 in reply to: ↑ 2 Changed 7 years ago by eblot

  • Resolution wontfix deleted
  • Status changed from closed to reopened
  • Trac Release changed from 0.10 to 0.11

Replying to eblot:

This does not seem possible with the current version of Trac (nor the next one, milestone:0.11) ;-(

Actually, the new context navigation API added by coderanger earlier today enables this kind of feature.

I've run a concept-proof test with the plugin and it works.
Stay tuned: this feature will be added to the RevtreePlugin once 0.11beta is released.

comment:4 Changed 7 years ago by eblot

  • Resolution set to fixed
  • Status changed from reopened to closed

Implemented in [2920]

Add Comment

Modify Ticket

Action
as closed .
as The resolution will be set. Next status will be 'closed'.
to The owner will be changed from eblot. Next status will be 'closed'.
The resolution will be deleted. Next status will be 'reopened'.
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.