Opened 18 years ago
Closed 17 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 18 years ago by
comment:2 follow-up: 3 Changed 18 years ago by
Resolution: | → wontfix |
---|---|
Status: | new → closed |
This does not seem possible with the current version of Trac (nor the next one, milestone:0.11) ;-(
comment:3 Changed 17 years ago by
Resolution: | wontfix |
---|---|
Status: | closed → reopened |
Trac Release: | 0.10 → 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 17 years ago by
Resolution: | → fixed |
---|---|
Status: | reopened → closed |
Implemented in [2920]
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.