Modify

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)

install_crash.txt (3.6 KB) - added by izzy 16 years ago.
Output from failed Egg creation

Download all attachments as: .zip

Change History (11)

comment:1 Changed 16 years ago by izzy

Owner: changed from BlackHex to Radek Bartoň

comment:2 Changed 16 years ago by Radek Bartoň

Status: newassigned

I've implemented this feature for 0.11 branch. Are you really still using Trac 0.10?

comment:3 Changed 16 years ago by izzy

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 Radek Bartoň

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 izzy

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?

Changed 16 years ago by izzy

Attachment: install_crash.txt added

Output from failed Egg creation

comment:6 Changed 16 years ago by Radek Bartoň

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 izzy

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 izzy

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 izzy

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 Radek Bartoň

Resolution: fixed
Status: assignedclosed

Np, I'll try to add rest of feature requests soon. I'm closing this.

Modify Ticket

Change Properties
Set your email in Preferences
Action
as closed The owner will remain Radek Bartoň.
The resolution will be deleted. Next status will be 'reopened'.

Add Comment


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

 
Note: See TracTickets for help on using tickets.