Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add ability to hide subtopics of non active topics #17

Open
dkhunt27 opened this issue Mar 25, 2020 · 1 comment
Open

Add ability to hide subtopics of non active topics #17

dkhunt27 opened this issue Mar 25, 2020 · 1 comment
Assignees
Labels
enhancement New feature or request

Comments

@dkhunt27
Copy link

This is a feature request.

Would be cool if the sidebar had the ability to display/hide the subtopics of non active topics. This would help to reduce the size of the side bar and make finding the topics a little easier. And then when in a topic, then display the active subtopics.

I did this in one of my deploys by adding the following to Sidebar.vue. It works, but probably would need to add a nice collapse transition to it and maybe an option to enable/disable it because others might not want this

(if i can add those I will send a PR... but here is what I have now)

  • data() {
    return {
    activeTopic: {}
    }
    },
    methods: {
    toggleActiveTopic(topic) {
    this.activeTopic = topic;
    }
    ...

    once again, thanks for the great theme!

  • @samuelhorn
    Copy link
    Owner

    Will look in to this when i have the time, thank!

    @samuelhorn samuelhorn self-assigned this Apr 4, 2020
    @samuelhorn samuelhorn added the enhancement New feature or request label Apr 4, 2020
    Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
    Labels
    enhancement New feature or request
    Projects
    None yet
    Development

    No branches or pull requests

    2 participants