Modify

Opened 11 years ago

Closed 10 years ago

#1287 closed enhancement (fixed)

Option to add revtree to BrowseSource ctxmenu

Reported by: anonymous Owned by: Emmanuel Blot
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 11 years ago by Emmanuel Blot

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 Changed 11 years ago by Emmanuel Blot

Resolution: wontfix
Status: newclosed

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 10 years ago by Emmanuel Blot

Resolution: wontfix
Status: closedreopened
Trac Release: 0.100.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 10 years ago by Emmanuel Blot

Resolution: fixed
Status: reopenedclosed

Implemented in [2920]

Modify Ticket

Change Properties
Set your email in Preferences
Action
as closed The owner will remain Emmanuel Blot.
The resolution will be deleted.

Add Comment


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

 
Note: See TracTickets for help on using tickets.