Skip to content

Comments

Remember section collapse state#729

Merged
yannickwurm merged 4 commits intowurmlab:masterfrom
tadast:tt/remember-collapse
Feb 22, 2024
Merged

Remember section collapse state#729
yannickwurm merged 4 commits intowurmlab:masterfrom
tadast:tt/remember-collapse

Conversation

@tadast
Copy link
Collaborator

@tadast tadast commented Feb 21, 2024

When a user collapses a section, store it as an implicit preference of what they do not want to see in browser's local storage. When rendering a new page, fetch these preferences and automatically collapse all the sections of this type. This will hopefully be intuitive and helpful as the assumption is that users tend to care / ignore different sections consistently.

@tadast tadast force-pushed the tt/remember-collapse branch from cc20e74 to 309cbcf Compare February 22, 2024 10:58
@tadast tadast force-pushed the tt/remember-collapse branch from cd55ef5 to 8fa0e87 Compare February 22, 2024 11:31
@yannickwurm yannickwurm merged commit 7ed4218 into wurmlab:master Feb 22, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants