Skip to content

Highlighting the current chapter in the interactive tutorial chapter selection dropdown #14331

@ghost

Description

Describe the problem

I sometimes find myself going back and forth between chapters in the tutorial and it can be difficult to find which chapter (option) I am on currently. It would be nice to have the currently active chapter highlighted the select options somehow.

Describe the proposed solution

I don't think it would just be a case of adding a state variable to keep track of the id of the currently active lesson and apply a conditional style to that option to that id from the dropdown? I haven't looked at the code for the docs but I'm happy to go back to it and try and implementing it myself!

Importance

nice to have

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions