Skip to content

Adds match score to tournaments#596

Open
klautcomputing wants to merge 1 commit intomainfrom
match-score
Open

Adds match score to tournaments#596
klautcomputing wants to merge 1 commit intomainfrom
match-score

Conversation

@klautcomputing
Copy link
Collaborator

No description provided.

@klautcomputing klautcomputing requested a review from IongIer July 27, 2025 11:42
use shared_types::{PrettyString, ScoringMode};

#[component]
pub fn TournamentSettings(
Copy link
Collaborator

Choose a reason for hiding this comment

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

Get rid of this. Or the other one

pub const INFO_STYLE: &str = "m-2 h-6 text-lg font-bold sm:place-self-center";

#[component]
fn ScoringModeControls(
Copy link
Collaborator

Choose a reason for hiding this comment

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

Or this

let current_scoring = move || tournament.with_value(|t| t.scoring.clone());
let new_scoring = RwSignal::new(current_scoring());

// Update the signal when tournament data changes
Copy link
Collaborator

@IongIer IongIer Jul 29, 2025

Choose a reason for hiding this comment

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

remove the effect

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