HomeSoftware Heritage

templates/layout: Prevent flashing of collapsed sidebar on page load

This commit no longer exists in the repository. It may have been part of a branch which was deleted.

Description

templates/layout: Prevent flashing of collapsed sidebar on page load

When sidebar is in collpased mode, it was previously flashing from expanded
to collapsed when loading a page as its state was changed using javascript.

So prefer to use a cookie describing sidebar state that can be read server
side from django and injected in templates, this way the sidebar is ensured
to be in correct state in HTML code on page load.

Details

Provenance
anlambertAuthored on Jul 21 2022, 1:40 PM
anlambertPushed on Jul 21 2022, 2:15 PM
Differential Revision
D8153: templates/layout: Prevent flashing of collapsed sidebar on page load
Build Status
Buildable 30515
Build 47710: test-and-buildJenkins console · Jenkins

Commit No Longer Exists

This commit no longer exists in the repository.