Module for Redmine to allow categories to be a tree instead of a single-list
Switch branches/tags
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
app Update for Redmine 3.4.2 Aug 25, 2017
assets/stylesheets Fix project category view style Nov 7, 2016
config Merge pull request #17 from giraypultar/patch-1 Jul 29, 2015
db/migrate Fixing error when adding new category Jun 17, 2013
docs Fixing icon May 3, 2013
lib/redmine_category_tree Add Redmine 3.x support Mar 26, 2015
.gitattributes
.gitignore Updating readme, adding recommended git files May 21, 2013
PluginGemfile Add Redmine 3.x support Mar 26, 2015
README.md Adjust instructions and set final version. Apr 25, 2016
init.rb Adjust instructions and set final version. Apr 25, 2016

README.md

Redmine Category Tree

This module allows for the category lists within projects to act as trees instead of a single flat list. This uses the awesome_nested_set contained within Redmine to maintain the tree structure.

Added Features

  • Categories can have child categories
  • Categories are now sortable

Installation

  • Clone the repository
  • Place in <redmine_root>/plugins
  • Compile your assets (to get style changes)
  • Follow normal Redmine plugin installation commands

Usage

Add a category as you normally would. There will be a new dropdown labeled "Child category of" with a listing of all other categories available for that project.

NOTE: If you are editing an existing category, since it cannot be a child of itself, that option will be disabled in the "Child category of" dropdown.

Dropdown screenshot

Issues List

If the category module is selected for display, it will display the full category tree instead of just the selected category for those that are children.

Issue list screenshot

Tracking Category Changes

Changes to categories are tracked and will show up in the history as the full tree.

Issue category change screenshot

Managing Categories

The category listing will show in a tree format similar to the projects listing in the admin panel. You are presented with four separate options for ordering the categories.

  1. Move to Top
  2. Move Up
  3. Move Down
  4. Move to Bottom

NOTE: If a category is unable to move in a particular fashion, that link will not be shown.

Category list screenshot

Move to Top

This will move the selected category to the top of the list for that project

Move Up

This will move the selected category up one slot so it will now show before the category (at the same level) above it.

Move Down

This will move the selected category down one slot so it will now show after the category (at the same level) below it.

Move to Bottom

This will move the selected category to the bottom of the list for that project

Revision History

0.0.7

  • Updated to work with Redmine 3.2.1
  • Clarify a couple items in the readme

0.0.6

  • Add awesome_nested_set gem dependency (for use with Redmine 3.x)

0.0.5

  • Add support for context menus

0.0.4

  • Add Russian translation of plugin (#7). Thanks to AndreyBronin for the translation.
  • Fix copying project with sub-categories causes error (#9)
  • Fix IssueHelper patch not allowing for deletion of category with tickets assigned to it (#8)

0.0.3

  • Adjusting default value(s) on nested set columns
  • Fixing issue when adding new category of a "Comaprison of Fixnum with nil failed" error

0.0.2

  • Merging KappaNossi's fix for 500 errors
  • Fixing other 500 errors

0.0.1

Initial release of plugin