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

Fix solutions being reloaded when switching to feedback mode #831

Merged
merged 2 commits into from
Oct 16, 2024

Conversation

luxaritas
Copy link
Member

Summary

Previously, when switching to feedback mode we re-queried solutions, even if we already passed them from the design browser.
Also, even if it was required, it was being loaded twice. This changes the behavior to use the previously-fetched
solutions if available without refetching, and if a fetch is needed, only fetching once. This is particularly valuable for
puzzles with large amounts of solutions where it is time and memory intensive to load all solutions.

Testing

Loaded feedback view for OKR2 via design browser and directly

@luxaritas luxaritas self-assigned this Oct 16, 2024
@luxaritas luxaritas merged commit d2556b7 into dev Oct 16, 2024
1 check passed
@luxaritas luxaritas deleted the fix/redundant-solution-load branch October 16, 2024 20:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: Done
Development

Successfully merging this pull request may close these issues.

1 participant