Skip to content

refactor: improve settings sidebar components #10801

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

Merged
merged 1 commit into from
Nov 21, 2023
Merged

refactor: improve settings sidebar components #10801

merged 1 commit into from
Nov 21, 2023

Conversation

aslilac
Copy link
Member

@aslilac aslilac commented Nov 20, 2023

Closes #10658

Previously, we have had a "general" <Sidebar> component that was only used once (and not actually general), and several page specific <Sidebar> components that are all essentially copy-pastes of each other with slight drift between each.

This PR moves the old "general" <Sidebar> component to the one place that it was used, and replaces it with a new <Sidebar> component that is much more truly general purpose, and refactors all of the loosely duplicated sidebars to use this new component.

Copy link
Collaborator

@BrunoQuaresma BrunoQuaresma left a comment

Choose a reason for hiding this comment

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

Ty for doing that!

@aslilac aslilac merged commit e51eeb6 into main Nov 21, 2023
@aslilac aslilac deleted the sidebar branch November 21, 2023 16:38
@github-actions github-actions bot locked and limited conversation to collaborators Nov 21, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

debt: consolidate Sidebar components
2 participants