Skip to content

add button that expands/collapses all config descriptions#232

Merged
olijeffers0n merged 11 commits into
PaperMC:mainfrom
granny:feat/config-button
Aug 30, 2023
Merged

add button that expands/collapses all config descriptions#232
olijeffers0n merged 11 commits into
PaperMC:mainfrom
granny:feat/config-button

Conversation

@granny
Copy link
Copy Markdown
Contributor

@granny granny commented Aug 29, 2023

This PR adds a button that lets you expand or collapse all the config descriptions at once. I've also taken the liberty of fixing some of the linter warnings I was getting, as well as some weird issues that I ran into while attempting to implement this feature.

I've also attached a showDescriptions parameter to the Config component that defaults to false. Setting it to true will expand all the descriptions initially. It might be useful to show all descriptions for smaller configs by default, since they don't take up as much screen space.

Comment thread src/components/Config.tsx Outdated
Copy link
Copy Markdown
Member

@MiniDigger MiniDigger left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

only a nitpick

Comment thread src/css/custom.css Outdated
@olijeffers0n olijeffers0n merged commit b097e9b into PaperMC:main Aug 30, 2023
@granny granny deleted the feat/config-button branch August 30, 2023 08:46
sowelipililimute pushed a commit to sowelipililimute/docs that referenced this pull request Sep 7, 2025
Add minutes for 2024-05-18 admin meeting.

This should have been done like a week or two ago but I forgor.
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.

4 participants