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 (over 7 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:   (6)

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 Samuel FUCHS 9 days ago

Couldn't make it work on redmine 5.1.2

  by Vyacheslav Blyzniuk over 3 years ago

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

  by Kamil AFACAN about 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 over 4 years ago

  by Takuya Kurogi over 5 years ago

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

  by over 5 years ago

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