Skip to content

Maker Battle Repartition (Admin & User faces) - #161

Merged
tuturd merged 18 commits into
devfrom
146-feature-tc-branches-challenges-team-repartition
Aug 30, 2026
Merged

Maker Battle Repartition (Admin & User faces)#161
tuturd merged 18 commits into
devfrom
146-feature-tc-branches-challenges-team-repartition

Conversation

@tuturd

@tuturd tuturd commented Aug 26, 2026

Copy link
Copy Markdown
Member

No description provided.

@tuturd tuturd linked an issue Aug 26, 2026 that may be closed by this pull request
11 tasks
@tuturd tuturd changed the title WIP: Maker Battle Frontend (Admin & User faces) WIP: Maker Battle Repartition (Admin & User faces) Aug 26, 2026
@Remi-pcn
Remi-pcn marked this pull request as ready for review August 30, 2026 11:50
@tuturd tuturd changed the title WIP: Maker Battle Repartition (Admin & User faces) Maker Battle Repartition (Admin & User faces) Aug 30, 2026

@tuturd tuturd left a comment

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

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

lgtm (can't approve)

res.setHeader('Content-Type', 'application/json');
res.setHeader('Content-Disposition', `attachment; filename="bus_${Date.now()}.json"`);

return res.status(200).json(exportData);

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

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

faudrait passer par un Ok

res.setHeader('Content-Type', 'application/json');
res.setHeader('Content-Disposition', `attachment; filename="team_members_${Date.now()}.json"`);

return res.status(200).json(exportData);

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

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

faudrait passer par un Ok

Comment on lines +9 to +24
export interface UserWithTeamFaction {
user_id: number;
group: string;
team_id: number;
faction_id: number;
}

export interface TeamsWithGroup {
maker_team_id: number;
group: string;
}

export interface MakerBattleExport {
maker_team_id: number;
table: number;
}

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

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

faudrait passer les types dans un fichier externe

Comment on lines +6 to +25
export interface teamMemberUser {
prenom: string;
nom: string;
ce: boolean;
equipe: string | null;
}

export interface busUser {
id: number;
prenom: string;
nom: string;
mail: string;
telephone: string;
nouveau: boolean;
ce: boolean;
num_equipe: number | null;
benevole: boolean;
orga: boolean;
majeur: boolean;
}

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

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

faudrait passer les types dans un fichier externe

@tuturd

tuturd commented Aug 30, 2026

Copy link
Copy Markdown
Member Author

Les commentaires restants seront corrigés dans une future mise en production étant donné le délai imposé.

@tuturd
tuturd merged commit d17e5c3 into dev Aug 30, 2026
6 checks passed
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.

[Feature] TC & Branches Challenges Team Repartition

2 participants