kimai1 icon indicating copy to clipboard operation
kimai1 copied to clipboard

Feature request: add the option to show/hide timesheet panes by default (from Admin Panel)

Open andres99 opened this issue 10 years ago • 2 comments

The file js/init.js contains the lines:

var extShrinkMode = 0; // 0 = show, 1 = hide
var kndShrinkMode = 0; 
var usrShrinkMode = 0;

This is about the default visibility of lower panes in the Timesheet. The variable kndShrinkMode means the Clients pane and I guess that usrShrinkMode means the User pane. I needed the Clients pane off because we do not use any Clients in our projects. Changing it from 0 to 1 hides the pane by default (though even then it can still be opened from the small handle).

Since such options already exist conveniently in the code, it would perhaps be a nice feature to have in the Admin Panel as well (particularly as I had no idea that such a simple option exists: I discovered it by pure accident). E.g.: □ Hide Clients Pane by default □ Hide Users Pane by default □ etc.

It seems to me that coding this would not be very difficult, although I am not a coder myself.

andres99 avatar May 01 '14 22:05 andres99

Sounds doable, thanks for the idea

kevinpapst avatar May 02 '14 18:05 kevinpapst

I don't like blowing up all the configuration options that you have. A new UI based on user settings or cookies would be better imho.

simonschaufi avatar Jul 11 '16 23:07 simonschaufi