Skip to content

Resolving Svelte binding warnings#784

Merged
plural merged 3 commits intoNull-Signal-Games:mainfrom
rlankin:binding_fixes
May 9, 2026
Merged

Resolving Svelte binding warnings#784
plural merged 3 commits intoNull-Signal-Games:mainfrom
rlankin:binding_fixes

Conversation

@rlankin
Copy link
Copy Markdown
Contributor

@rlankin rlankin commented May 8, 2026

These changes should resolve the massive amount of binding warnings being generated by the tests.

These warnings were being generated because the bind: directive cannot be used with derived variables and bindable props. The best solution I've found for this is to create local copies of editable entities that can be bound to.

I have some thoughts about how to improve the bindings and callbacks that we're currently using but I need to play around with those more before making any changes.

As part of this, I also updated TournamentSettingsForm to use the new ProgressButton for consistency and because the isSubmitting prop was tangled with these changes. I needed to remove two tests that were specifically testing that the save button on that component was disabled when clicked due to the way the ProgressButton works - I assume this is low priority and we can figure out a better way to test that sort of thing later.

Copy link
Copy Markdown
Contributor

@plural plural left a comment

Choose a reason for hiding this comment

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

Nice, thanks!

@plural plural merged commit 20fb813 into Null-Signal-Games:main May 9, 2026
2 checks passed
@rlankin rlankin deleted the binding_fixes branch May 9, 2026 14:25
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