Sortable Dashboard To-Do List

Description

The plugin adds a sortable to-do list to your WP dashboard. This can be useful for developers, or even for content writers. With the possibility to affect tasks to other users, it’s like having your own mini Trello directly on your dashboard!

Task Affectation

  • To-do list items can be affected to other users
  • Users with affected tasks can easily see by whom they were affected, and easily flag them as completed
  • Users who affect tasks can easily see which users have completed them, and which still haven’t
  • Users who affect tasks can decide if they want affected users to be able to edit the task description
  • Affectation ability depends on the current user role
  • By default:

    • Administrators can affect tasks to all users with the “edit_posts” capability
    • Editors can affect tasks to editors, contributors, and authors
    • Other user roles can only affect tasks to other users with the same role
  • This feature is currently not activated for multisite setups
  • 4 WP filters to provide further control on affectation rights

Item Creation

  • To-do list item creation, edition and deletion via ajax. No page reload.
  • To-do items are timestamped. You’ll never forget when they were created, or when you last edited them.
  • The list is individual. Each user has their own list.
  • For multisite, it’s one list per user and per site.

Front-end Display

  • Option to display the to-do list on the website (for the current logged-in user only).
  • Website list can be collapsed and expanded. But website items can currently NOT be edited or sorted.
  • Website list remembers its last display state (showed or collapsed)
  • Website list remembers the size, position and state of opened to-do items
  • Website list can be displayed on the left or right side of the window
  • Possibility to decide to not show some to-do items on the website.

WP Filters

Manage affectation rights:

“sdtdl_users_not_allowed_to_affect” to prevent some users to be able to affect items, by returning an array of user IDs: add_filter('sdtdl_users_not_allowed_to_affect',function(){return ['3','6','8'];})

“sdtdl_[user_role]_can_affect_to” to allow a specific user role to affect items to other roles, by returning an array of roles: add_filter('sdtdl_editor_can_affect_to',function(){return ['administrator','editor'];})

“sdtdl_[user_role]_cannot_affect_to_users” to prevent specific roles from affecting tasks to specific users, by returning an array of user IDs: add_filter('sdtdl_[user_role]_cannot_affect_to_users',function($current_user_id){return ['2','4'];})

“sdtdl_never_affect_task_to_users” to prevent specific users from ever being affected any tasks, by returning an array of user IDs: add_filter('sdtdl_never_affect_task_to_users',function(){return ['1'];})

Administrators can affect tasks to all user roles with the “edit_posts” capability, but this can also be altered with the previous 3 filters.

Manage list creation rights:

By default, users with the “edit_posts” capability can create a to-do-list
“sdtdl_min_user_capability” to override this minimum capability: add_filter('sdtdl_min_user_capability',function(){return 'publish_posts';})

Screenshots

  • The To-Do List dashboard widget
  • The website list, in its collapsed (left) and expanded (right) forms
  • The website list, with a bunch of tasks opened for consultation

Installation

  1. Visit the Plugins page within your dashboard and select “Add New”
  2. Search for “Sortable Dashboard To-Do List”
  3. Click “Install”

FAQ

Will this plugin slow down my site?

It will have no impact on site speed whatsoever. The plugin only launches for users that have the ability to edit posts.

Reviews

October 31, 2024 2 replies
It could be a good tool. But essential is missing.Hope dev goes further…
May 3, 2024
This plugin has been great! I usually get distracted when having to do a lot of apps to keep track of everything that I have to do (Google Docs, Spreadsheets, ClickUp, Trello, etc.) Now I don’t have to jump around between a lot of different software and be more efficient.
Read all 2 reviews

Contributors & Developers

“Sortable Dashboard To-Do List” is open source software. The following people have contributed to this plugin.

Contributors

“Sortable Dashboard To-Do List” has been translated into 1 locale. Thank you to the translators for their contributions.

Translate “Sortable Dashboard To-Do List” into your language.

Interested in development?

Browse the code, check out the SVN repository, or subscribe to the development log by RSS.

Changelog

2.2.3

  • Security hardening
  • A few HTML attributes were not properly escaped
  • Documentation of variables for the translators

2.2.2

  • Database warning fix on new installations
  • Better handling of inline css in accordance to WP coding standards
  • Default accent color is now set to default WP color (#2271b1)

2.2.1

  • CSS Fix: Font-size for front-end list tasks

2.2

  • New: Plain text URLs are now automatically clickable when the task is in “view” mode.

2.1.5

  • PHP warning fix

2.1.4

  • Tested up to WordPress 6.7
  • Minor security fix: Admin accounts can no longer potentially force affect tasks to users they’re potentially not allowed to

2.1.3

  • CSS opacity fix
  • PHP warning fix

2.1.2

  • Minor display-related js fixes

2.1.1

  • Db migration fix for new users

2.1

  • It is now possible to allow users with affected items to edit the description of the item
  • Addition of the “sdtdl-min-description-rows” filter, to change the default size of the description text area

2.0

  • It is now possible to affect items to other users. Read the Details tab for more info

1.3.1

  • Fix: Potential crash for new users

1.3

  • Min capability can be overridden via the “sdtdl_min_user_capability” filter.
  • The “rate our plugin” prompt can be removed by returning true through the “sdtdl_remove_rating_reminder” filter.
  • To-do items are no longer stored in the WP options db table, but in their own table.

1.2.1

  • Fix: encoding of special HTML characters in the Edit screen

1.2

  • Settings now automatically save
  • It is now possible to choose the accent color of the to-do list

1.1

  • It is now possible to choose on which side of the window the list should be displayed

1.0.5

  • Tested up to WordPress 6.6
  • Bumped minimum PHP version to 7.2

1.0.4

  • CSS Fix: improved display of <ul> and <ol> lists

1.0.3

  • Fix: Some translatable strings were not on the correct text domain

1.0.2

  • Added an uninstall hook to remove all plugin traces from database on uninstall

1.0.1

  • Added JFG Media as author and contributor

1.0

  • Initial Release