Skip to content

Improve result filter initialization, add new filters - #926

Merged
jvyden merged 11 commits into
LittleBigRefresh:mainfrom
Toastbrot236:result-filter-improvements
Aug 28, 2025
Merged

Improve result filter initialization, add new filters#926
jvyden merged 11 commits into
LittleBigRefresh:mainfrom
Toastbrot236:result-filter-improvements

Conversation

@Toastbrot236

Copy link
Copy Markdown
Contributor

This PR renames LevelFilterSettings to ResultFilterSettings, adds new filters to that class and implements most of them (those being lbp3-exclusive filters like adventure filtering and the result types to filter, which is why I renamed the class, aswell as filtering levels which require move controllers), and splits the constructor into static initialization classes, one for API requests and one for game requests. The new filters I added currently only work for game requests, not for API requests, to not make this PR too long.

@jvyden
jvyden self-requested a review August 23, 2025 22:05

@jvyden jvyden left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Looks okay, but:

  • This needs a rebase. I can do this if you'd like.
  • Please don't do this kind of mass renaming to a core type in the middle of the PR. it made things very hard to follow. if it must be done, it should be in a new PR.

@Toastbrot236

Copy link
Copy Markdown
Contributor Author

Ok, go ahead with the rebase. Also, on the one file I renamed: VS Code has properly shown what exactly was changed in the file (even with the rename), but looks like Github doesn't.

@Toastbrot236

Copy link
Copy Markdown
Contributor Author

I'm doing the rebase right now

@Toastbrot236

Copy link
Copy Markdown
Contributor Author

Merging like this ended up being easier. Also, now that I've reverted the rename, I hope this PR is easier to follow now.

@Toastbrot236
Toastbrot236 requested a review from jvyden August 24, 2025 16:56
@jvyden
jvyden merged commit baaf851 into LittleBigRefresh:main Aug 28, 2025
3 checks passed
@Toastbrot236
Toastbrot236 deleted the result-filter-improvements branch August 29, 2025 16:07
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