Discourse Checklist Plugin
Update: This project is no longer actively maintained, please see this project for a working Discourse checklist plugin alternative.
Adds simple helpers to build (interactive) checklists, rendering "", "[*]" and "[x]" into pretty UI parts you can interact with.
If you want to collaboratively edit a todo-list, you might want to check out the Shared Edit Plugin and install it, too. Both together allow for collaborative todo-list editing.
Here is a little screenshot of the plugin in action:
On top, if there are our checklist-items on the post and the current user is able to edit the post, they are interactively able to toggle the checkbox from the post view by clicking the box:
Which will be recorded as a new version of the post:
Just two easy steps. From your main discourse do:
cd plugins git clone https://github.com/ligthyear/discourse-plugin-checklist.git # clone the repo here cd .. RAILS_ENV=production rake assets:precompile
Then restart your discourse and enjoy the fun on ever /user/*/activity-page.
- switching to font-awesome based rendering
- adding the new
- adding doc reference to shared-edits plugin
- fix issue when that updating after
- this unfortunately is backwards incompatible, if checkboxes don't show up anymore, you need to re-save them to the database.
- initial version with prettified rendering
- allow interactive box-clicking updates
(in order of importance)
- allow easy item "sorting" if the entries are in a list
- While updating one item, you can't update another
- If you want to make multiple changes it creates multiple versions
- you can only toggle the default type
Copyright (c) 2014, Benjamin Kampmann All rights reserved.
Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met:
Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer.
Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution.
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.