Plugins Directory » Add Watchers Textinput
Author: | Alvin Chow | |
---|---|---|
Website: | https://github.com/alvinchow86/redmine-watchers-textinput | |
Code repository: | https://github.com/alvinchow86/redmine-watchers-textinput | |
Registered on: | 2013-07-31 (over 11 years ago) | |
Current version: | 1.00 | |
Compatible with: | Redmine 2.3.x | |
User ratings: |
This is a plugin that replaces the checkboxes for adding watchers with a nice, tokenized text input with autocomplete. The pages that are modified are the "Add new issue" page and "Edit watchers" (on existing issue) popup.
I installed Redmine at my company, but we have around 100 engineers, and people were complaining the checkboxes are annoying to use (and take up a lot of space).
This plugin effectively still uses the checkbox inputs but makes them hidden. The autocomplete script effectively reads what's in the checkboxes to get the list of users, and will "check" in the checkboxes. This way I didn't have to change what the server-side is expecting in the form submission.
It does at least replace one view (*erb) so it is probably not super portable.
The actual autocomplete plugin used is Select2 (http://ivaynberg.github.io/select2/)
This is actually my first time working with Ruby and with Rails, let along writing a Redmine plugin, but I thought this might be useful to someone. Feel free to improve..
Installation notes
Download from Github (https://github.com/alvinchow86/redmine-watchers-textinput/archive/master.zip)
Just copy it to your plugins directory and activate. I've only tested it on Redmine 2.3.0 and 2.3.1.
Changelog
1.00 (2013-07-31)
Compatible with Redmine 2.3.x.