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

Backend: Compacting CFStats.updateDisplay #3056

Merged
merged 2 commits into from
Dec 15, 2024

Conversation

hannibal002
Copy link
Owner

@hannibal002 hannibal002 commented Dec 13, 2024

What

The updateDisplay() function in ChocolateFactoryStats is over 100 lines long. This PR refactors the big function into logical small portions. This increases the total file length by 20 lines but also halves the monster function.

Changelog Technical Details

  • Cleaned up code in ChocolateFactoryStats. - hannibal2

@hannibal002 hannibal002 added the Soon This Pull Request will be merged within the next couple of betas label Dec 13, 2024
@hannibal002 hannibal002 added this to the Version 0.28 milestone Dec 13, 2024
@github-actions github-actions bot added the Backend A backend pull request that will be merged soon label Dec 13, 2024
Copy link

This pull request has conflicts with the base branch "beta". Please resolve those so we can test out your changes.

@github-actions github-actions bot added the Merge Conflicts There are open merge conflicts with the beta branch. label Dec 14, 2024
# Conflicts:
#	src/main/java/at/hannibal2/skyhanni/features/inventory/chocolatefactory/ChocolateFactoryStats.kt
Copy link

Conflicts have been resolved! 🎉

@github-actions github-actions bot removed the Merge Conflicts There are open merge conflicts with the beta branch. label Dec 14, 2024
@hannibal002 hannibal002 merged commit 9fe4db7 into beta Dec 15, 2024
11 checks passed
@hannibal002 hannibal002 deleted the added-20-lines-to-cf-stats-file branch December 15, 2024 12:49
@github-actions github-actions bot removed Soon This Pull Request will be merged within the next couple of betas Backend A backend pull request that will be merged soon labels Dec 15, 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.

3 participants