herewithme / redmine_watchers_textinput

Redmine Watchers Autocomplete Plugin

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

redmine watchers textinput

Features

This is a plugin that replaces the checkboxes for adding watchers with a nice, tokenized text input with autocomplete. The actual Redmine plugin name is "redmine_watchers_textinput". The pages that are modified are the "Add new issue" page and "Edit watchers" (on existing issue) popup.

Compatibility

Redmine 2.5.x

Technical info

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/)

How to install ?

Just copy the "redmine_watchers_textinput" folder to your plugins directory and activate.

About

Redmine Watchers Autocomplete Plugin

License:Apache License 2.0


Languages

Language:JavaScript 87.8%Language:CSS 11.5%Language:Ruby 0.8%