Project

General

Profile

Plugins Directory » Redmine Toggle Sidebar

Author: Jérôme BATAILLE
Website: https://github.com/Smile-SA/redmine_smile_togglesidebar/blob/master/README.md
Code repository: https://github.com/Smile-SA/redmine_smile_togglesidebar
Registered on: 2016-11-01 (about 8 years ago)
Current version: 1.0.6
Compatible with: Redmine 4.1.x, 4.0.x, 3.4.x, 3.3.x, 3.2.x
User ratings:   (7)

Redmine plugin that adds a button to hide the right sidebar

How it works

It stores a session cookie for each controller and action, to memorize the state of the sidebar display

Remarks

  • The Sidebar display state is not persisted between sessions in a cookie
  • As there is no hook at the beginning of the body layout, we use the following trick : the button is inserted just before the flash messages (even if no message)
  • Fixed an issue with https when ssl managed by a front proxy (request.ssl? does not work)
  • Full tests have been added
  • Compatible with Redmine 1.2.1 -> 4.0.1
  • Compatible with Relative root set with :
    Redmine::Utils::relative_url_root
    

Installation notes

  • Standard Redmine Plugin installation
    No plugin migration.
    New hide sidebar icon will automatically be available in any page where the Sidebar is enabled.

Changelog

1.0.6 (2019-04-10)

Compatible with Redmine 4.1.x, 4.0.x, 3.4.x, 3.3.x, 3.2.x.

User ratings

  by Jaume Sabater 2 months ago

This plug-in does not work with version 5.1. I think that the collapsible sidebar behaviour should be a core feature, not a plug-in.

  by Samuel FUCHS 9 months ago

Couldn't make it work on redmine 5.1.2

  by Vyacheslav Blyzniuk about 4 years ago

It works!!!
Redmine 4.1.0.
Thank you veryyyyy much!!!!

  by Kamil AFACAN over 4 years ago

This is great. You are granting yourself to use the screen at maximum size. You dont need to go to the bottom to see some data on the table slide the screen continuously. :)

  by Richard LEHAUT almost 5 years ago

  by Takuya Kurogi about 6 years ago

To show icon on 3.4, I fix smile_helpers_ap
plication.rb L150.
'/plugin_assets/... -> '/redmine/plugin_assets/...

  by over 6 years ago

As the sidebar_hide plugin seems no more available, this is a small and well working solution! Nice work - Thanks!