Sorting cards in stacks
[[Cards(...)]] shows a whiteboard containing index cards organized in stacks. Adding new cards interactively by clicking a button, move cards by drag-and-drop and double-click cards for editing or deleting.
Cards are stored in a new table in the Trac database.
The following code in the Trac wiki page:
[[Cards(stack=todo|wip|done,label=To Do|Work in Progress|Done, width=800)]]
will produce the following capabilities:
- Edit conflicts are detected automatically.
- A refresh button allows manually reloading the cards at any time.
- The cards are automatically reloaded every ten seconds while they are in view.
- There is no history or undo functionality.
- There is no tracking of users. Everyone with
CARDS_ADMINpermission can freely edit any card.
|-separated list of stack names. (required)
|-separated list of stack labels shown instead of the stack names. (Defaults to the stack names.)
width: Width of the whiteboard. (Defaults to 400.)
If you have any issues, create a new ticket.
Download the zipped source from here.
General instructions on installing Trac plugins can be found on the TracPlugins page.
- Install as follows:
- Trac >=1.2:
$ easy_install https://trac-hacks.org/svn/cardsplugin/trunk.
- Trac 1.0:
$ easy_install https://trac-hacks.org/svn/cardsplugin/tags/cardsplugin-1.2.
- Trac >=1.2:
- Enable the plugin in Trac's plugin admin page or in your
[components] cards.* = enabled
- Update database:
trac-admin path/to/trac/environment upgrade.
- Assign the
CARDS_ADMINpermission to the users who need this plugin's functionality, for example in permission admin panel.
trac.ini options can be changed from the defaults:
[cards] auto_refresh = True auto_refresh_interval = 10
- 16137 by psuter on 2016-12-21 21:59:26
CardsPlugin: Bump version to 1.3
- 16132 by rjollos on 2016-12-21 20:52:34
CardsPlugin: tag version 1.2
Version 1.2 is compatible with Trac 1.0.
- 16099 by psuter on 2016-12-18 15:55:01
CardsPlugin: Trac 1.3 compatible DB upgrades.
Since trac:ticket:11901 we would have to use
Since trac:ticket:11512 we can use
create_tableshelper to simplify this.