Gia
July 12, 2022, 8:32am
1
(I’m just reporting this in case there is a problem somewhere connected to it, there’s not really something wrong here.)
When I’m in a tournament page, every player I search on the search bar has the “tournament” options, to disqualify and adjust points.
3 Likes
I feel like @benjito might know how to isolate those two zones? Good find
3 Likes
Ha! That’s a weird one- thanks for the report @Gia ! We should probably check whether a player is in the player list, although that might be kind of heavy for large tournaments…
Here’s the relevant code points if anyone’s interested:
this.state.tournament.description =
"Aliquam dolor blanditiis voluptatem et harum officiis atque. Eum eos aut consequatur quis sunt. Minima nisi aut ratione. Consequatur deleniti vitae minima exercitationem illum debitis debitis sunt. Culpa officia voluptates quos sit. Reprehenderit fuga ad quo ipsam assumenda nihil quos qui.";
this.state.tournament.tournament_type = "opengotha";
this.state.tournament.first_pairing_method = "opengotha";
this.state.tournament.subsequent_pairing_method = "opengotha";
}
this.elimination_tree_container.append(this.elimination_tree);
}
componentDidMount() {
setExtraActionCallback(this.renderExtraPlayerActions);
window.document.title = _("Tournament");
if (this.state.tournament_id) {
this.resolve(this.state.tournament_id);
}
if (this.state.new_tournament_group_id) {
get("groups/%%", this.state.new_tournament_group_id)
.then((group) => {
this.setState({
tournament: Object.assign({}, this.state.tournament, { group: group }),
});
2 Likes
Hmm… would it be easier to tell the omnisearch to ignore what page is in the background?
1 Like
Possibly, but currently that extraActionCallback is a global variable, so omnisearch doesn’t have a simple way to turn it off.
Additionally, there is another way a non-participant may show up on the tournament page: by posting in the chat!
Lys
July 12, 2022, 9:28pm
6
“Omnisearch” is scary.
Has it anything to do with Skynet?
Omnisearch and fullydestroy?
4 Likes