getgrav / getgrav/grav-theme-learn2

NFR: level collapse/expand in left menu

Open
#58 4 comments 5 reactions 0 assignees View on GitHub
Dominant language
SCSS
Stars
79
Forks
40
PR merge metrics
No merged PRs in 30d

Description

I really love the learn2 theme/skeleton!

While adding pages, the left menu gets really crowded
Selecting a top-level menu-item in the left menu causes all other menu-items to [collapse](https://www.dropbox.com/s/szwc5thawgqub19/collapse-menu.gif?dl=0) (great!)
Is it possible to have this behavior for all subsequent levels in the left menu?
It would help if it would only show parents and children of the first level by default....

Contributor guide

No contributing guide indexed for this repository

Research direction

No file or test is named; start by locating the left-menu implementation and its existing top-level collapse behavior. Reproduce the menu with nested levels and implement the requested default visibility so only the relevant parents and children remain shown, then verify the behavior in the theme.

Written by the indexing model from the issue text.

Assessment

Tech stack
scss
Domain
frontend
Issue type
Feature
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.