Opened 16 years ago
Closed 16 years ago
#3765 closed enhancement (fixed)
RFE: Add a Macro to list available screenshots
Reported by: | izzy | Owned by: | Radek Bartoň |
---|---|---|---|
Priority: | normal | Component: | ScreenshotsPlugin |
Severity: | normal | Keywords: | |
Cc: | Trac Release: | 0.10 |
Description
It would be nice to have a macro like [[ScreenshotsList]]
, generating a table with at least the id (being a link to the screenshot) and name of available screenshots, to make it easier to find the one you're looking for. Optionally, it could support some parameters like "short", "long" and "full":
- short: as described above (link with id, name)
- long : id, name, tags, description
- full : id, name, tags, description, thumbnail
This way one even could find and select the appropriate screenshot while editing a wiki article, using the preview to draw the table. In the trac.ini, one could define which should be the default (initially this should be set to "short").
Attachments (1)
Change History (11)
comment:1 Changed 16 years ago by
Owner: | changed from BlackHex to Radek Bartoň |
---|
comment:2 Changed 16 years ago by
Status: | new → assigned |
---|
comment:3 Changed 16 years ago by
Yepp. And probably I will stay with it for a while - not sure about when I will find time to switch to 0.11. Is it hard to add for 0.10?
comment:4 Changed 16 years ago by
Not really, only personal one. But everything for the user (r4311). Test it please and comment how do you want it should look by default.
comment:5 Changed 16 years ago by
Thank you! Unfortunately, installation from the latest SVN code fails with
NameError: global name 'log' is not defined
(see attached output). I made a copy from the tree before "svn up" - the old version (some weeks old at least) still installs fine. Any idea?
comment:6 Changed 16 years ago by
I don't think it has something to do with the plugin. http://www.eby-sarna.com/pipermail/peak/2008-April/002937.html
comment:7 Changed 16 years ago by
Thank you! Looks like this is the same problem. Hoever, running the recommended command results in exactly the same error messages - so it looks like the latest setuptools cannot be built/installed either :(
comment:8 Changed 16 years ago by
OK - ignore the previous comment. Found the solution in #3504 - now I was able to install. Will play with it tomorrow and give feedback lateron. Thanx again!
comment:9 Changed 16 years ago by
Radek, it is great as it is for me! Thank you again! My intention was just to have a possibility to get a list of available screenshots while editing some article, without to much hazzle. This does the job! Though I would favor the output as a table for more readable output, so the parameter would specify which "columns" there are. But that's at quite low priority, since (at least for me) the output would only be temporary.
A big thank you for your great and fast help!
comment:10 Changed 16 years ago by
Resolution: | → fixed |
---|---|
Status: | assigned → closed |
Np, I'll try to add rest of feature requests soon. I'm closing this.
I've implemented this feature for 0.11 branch. Are you really still using Trac 0.10?