Skip to content

About

This plugin adds useful UI improvements to RedMica.

Resources

Stars

59 stars

Watchers

10 watching

Forks

Repository files navigation

RedMica UI extension

This plugin adds useful UI improvements that are difficult to implement in Redmine itself.

Features

1. Make the selection box searchable

Change the Redmine selection box to searchable.
Replace Redmine selectbox with Select2 4.0.12.
This feature is based on the redmine_searchable_selectbox plugin(https://github.com/farend/redmine_searchable_selectbox).

Demo:

Issues filter New issue

2. Display Burndown Chart on version detail

Display a burndown chart on the version detail page based on the information in the version issues.

Explanation of Burndown Chart - Data represented in the chart (./data-represented-in-the-chart.md)

3. You can disable each feature on the plugin settings page

Administration > Plugins > RedMica UI extension configure

4. Add a mermaid macro to use the mermaid syntax in the wiki

Add a mermaid macro to convert text written in Mermaid syntax into a diagram.
You can use the mermaid macro by writing the following in issues, wiki pages, etc.

{{mermaid
erDiagram
    CUSTOMER ||--o{ ORDER : places
    ORDER ||--|{ LINE-ITEM : contains
    CUSTOMER }|..|{ DELIVERY-ADDRESS : uses
}}

Important

Redmine core now supports rendering Mermaid code blocks as diagrams (Feature #44425). As a result, this plugin keeps only the Mermaid macro, for backward compatibility.

To render Mermaid diagrams with this version of the plugin, use a version of Redmine/RedMica that includes the feature to render Mermaid code blocks as diagrams, and install Mermaid.js by following the instructions in doc/INSTALL of your Redmine/RedMica.

If Mermaid.js is not installed, or if your Redmine/RedMica version does not include the feature to render Mermaid code blocks as diagrams, the Mermaid macro is displayed as a plain code block.

To use Mermaid diagrams with a Redmine/RedMica version that does not include the feature to render Mermaid code blocks as diagrams, use the v0.6.0 tag of this plugin.

5. Preview Attachment

Preview attachments without screen transitions.
The following attachments can be previewed.
Image, Audio, Video, PDF

Installation

Note

The master branch is a development branch and may include incompatible changes. Use a version tag for installation and updates.

Download a release from Releases, extract it, and place it in plugins/redmica_ui_extension on your Redmine installation path.

If you use Git, you can clone the repository directly by specifying the version tag.

$ git clone -b <version-tag (e.g. v0.6.0)> https://github.com/redmica/redmica_ui_extension.git /path/to/redmine/plugins/redmica_ui_extension

Test

Run the following commands from your Redmine root:

$ # for system test
$ bundle install
$ npm --prefix plugins/redmica_ui_extension install
$ npx --prefix plugins/redmica_ui_extension playwright install chromium
$ npx --prefix plugins/redmica_ui_extension playwright install-deps
$ RAILS_ENV=test bundle exec rake test TEST=plugins/redmica_ui_extension/test

Libraries included

LICENSE

GNU General Public License v2.0 (GPLv2)

Maintainer

Far End Technologies Corporation

About

This plugin adds useful UI improvements to RedMica.

Resources

Stars

59 stars

Watchers

10 watching

Forks

Releases

Packages

Used by

Contributors

Languages