Plugins Directory » Redmine Toggle Sidebar

22785 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 3 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:   (3)

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 Richard LEHAUT 3 months ago

  by Takuya Kurogi over 1 year ago

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

  by Alex Wilhelmy over 1 year ago

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