kimai1
kimai1 copied to clipboard
Feature request: add the option to show/hide timesheet panes by default (from Admin Panel)
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.
Sounds doable, thanks for the idea
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.