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

make non essential elements optional #672

Merged
merged 6 commits into from
Jan 22, 2024

Conversation

Evert-R
Copy link
Contributor

@Evert-R Evert-R commented Dec 19, 2023

This PR enables you to configure elements of matching pairs from the top if the rules file.

These are the defaults we used to until now:

show_animations = True show_total_score = True show_score_message = True show_turn_feedback = False histogram_bars = 5

(set histogram bars to zero for no histogram)

resolves #605

@davidjohnbaker1
Copy link
Collaborator

This looks good from my end! I am sure Henkjan will probably have small requests here or there on it once we see it live, but this functionality is exactly what we asked for. Thanks so much!

Copy link
Collaborator

@davidjohnbaker1 davidjohnbaker1 left a comment

Choose a reason for hiding this comment

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

Looks good to me!

Copy link
Collaborator

@BeritJanssen BeritJanssen left a comment

Choose a reason for hiding this comment

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

Though I think it's neat that this PR gives such fine-grained control over the feedback and animations, I believe for now one control for show_animations, and one for show_score_feedback will do. Thinking ahead of #724 , this one can be HIDDEN / top / bottom_right. Will keep the options in the frontend, but adjust the backend options when merging in develop. I'd like to avoid a plethora of settings which may be hard to understand for future developers.

@BeritJanssen BeritJanssen merged commit a5df4d4 into develop Jan 22, 2024
10 checks passed
@BeritJanssen BeritJanssen deleted the feature-er/mp-animation-switch branch January 22, 2024 10:20
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.

Remove non-essential elements of Congo Branch of TuneTwins
3 participants