svelte icon indicating copy to clipboard operation
svelte copied to clipboard

Highlighting the current chapter in the interactive tutorial chapter selection dropdown

Open slightlybelowzen opened this issue 1 year ago • 1 comments

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

slightlybelowzen avatar Nov 16 '24 21:11 slightlybelowzen

Looks like this should be opened in https://github.com/sveltejs/svelte.dev/issues instead

WarningImHack3r avatar Nov 16 '24 22:11 WarningImHack3r

My bad, will move it there!

ghost avatar Nov 17 '24 03:11 ghost