Closed mattab closed 10 years ago
In 62acfde14e6c514b6a5008c9f6aaa284b01db44b: refs #5212 improved left menu stylesheet which works better with Morpheus now, turned it into a plugin and made it configurable. not finished yet
Faced some challenges here so far:
In 82da315ea28b6ac1b94f3bc683bc0c8f29756fce: refs #5212 added possibility to make a system setting readable for non super users
Found a solution for SystemSetting which is backwards compatible and prevents us from creating lots of classes as some SystemSettings should be maybe readable by anonymous users whereas some should be readable only for users having some view access etc. This would be also a proper solution for this hack: https://github.com/piwik/piwik/blob/master/core/Plugin/Settings.php#L330 ( #4924 )
To be defined whether we remove this hack
In bb4d352c011cec2f6b7e46f366a03ae564e92012: refs #5212 do not display the default value in case we handle radio fields
Ideally there would be a setting to enable it only for large displays. Eg on tablets or mobile phones it does not make sense to have it on the left side. On the other side on large displays it makes sense. We could detect the screen size and enable the left menu client side. Would most likely also fix the problem that we do not have to regenerate the CSS all the time and we would get rid of some CSS !important definitions.
In 15f3cad410bcb0fdc3a3e2b21b1419f6fe7df430: refs #5212 this should enable leftMenu plugin by default but it will be disabled. Need to test it
In 5bbf3b7891c5988c457a0a56d6495af72ae479d9: refs #5212 added some tests
In 7d1b664211287dda8199f8757b00d0b023fda4a4: refs #5212 should fix core tests
In 8fb7b4c161293e1c824dc4aaf287d8bdc5efd460: refs #5212 always add leftMenu css but apply it only if there is a class .leftMenuPlugin. Added an event to add classes to the body which I found quite useful already for a while
In 4e950e8b34992f25df444f130d8dbd296c5f0d96: refs #5212 a few ui tweaks
In 859a682bf98b98f156046cf33b8e03a0784b17cd: refs #5212 css => less
In 01343720fd6fe44b0f85cdb352fbe4e5a09105aa: refs #5212 translations
In 9a960ae47c533b232afcf6353222ea137996d337: refs #5212 another improvement for combo of zenMode + leftMenu
In 8208b89e9b94871e53476630979fc801ada866a8: Refs #5212 add missing reference, this maybe was a merge-fail
As a Piwik user, I want to see the main menu displayed on the left.
Advantages of Left Menu:
Ideas