Skip to content
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

list item folder refactor #3697

Merged
merged 1 commit into from
Jun 28, 2024
Merged

list item folder refactor #3697

merged 1 commit into from
Jun 28, 2024

Conversation

dnbrwstr
Copy link
Contributor

A Friday afternoon kind of refactor -- have been wanting to do this for a while, but it touches a lot. Our list items are pretty all over the place in how they're imported, where the main content is, etc.

This PR:

  • Creates a ListItem folder where all ListItems live.
  • Standardizes imports / exports: all substantial ListItems have been moved to standalone files that are named <X>ListItem and that export <X>ListItem as a named export.

Not that this PR doesn't include any modifications to how code works, it just swaps things around. Will have a followup later that refactors/cleans up the files, but didn't want to obscure that work with the bigger move changes.

Copy link
Member

@latter-bolden latter-bolden left a comment

Choose a reason for hiding this comment

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

Always nice to see things getting a little cleaner

Tried locally, clicked around. Everything appears in order

@dnbrwstr dnbrwstr merged commit 685e6e6 into develop Jun 28, 2024
1 check passed
@dnbrwstr dnbrwstr deleted the db/list-item-folder branch June 28, 2024 22:03
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