Skip to content

Feat/information form#103

Open
Suboyyy wants to merge 26 commits into
devfrom
feat/information-form
Open

Feat/information form#103
Suboyyy wants to merge 26 commits into
devfrom
feat/information-form

Conversation

@Suboyyy

@Suboyyy Suboyyy commented Jul 6, 2026

Copy link
Copy Markdown
Member
  • Page de formulaire avec Questions VSS + Contacts & Informations d'urgence (remplissage une fois seulement, réponses toujours visibles)
  • Pop-up à la connexion tant que formulaire pas soumis
  • Bandeau très voyant sous le header tant que formulaire pas soumis
  • Formulaires iframe billetweb + tentes inaccessibles tant que formulaire pas soumis
  • Ajout automatique à une liste d'accès billetweb (nécessaire pour prendre sa place) via l'API billetweb https://www.billetweb.fr/bo/api.php#/Listes/post_api_list__id__push
  • Accès aux données depuis la page admin
  • Que les nouveau qui doivent completer
  • Envoie des infos a billetweb une fois tout bon
  • Bon la c degueulasse comment c géré niveau erreur et tt faudra fix
  • Formulaire avec 2 essais pour les VSS

@Suboyyy
Suboyyy marked this pull request as ready for review July 18, 2026 18:00
}
};

export const createUserContactInformation: AppRequestHandler<UserContactInformation> = async (req, res) => {

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Les types des controllers seront à décaller dans des DTOs

}
};

export const submitVssQuestionnaire: AppRequestHandler<user_service.VssSubmissionPayload> = async (req, res) => {

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Pareil ça devrait venir du DTO et pas du service (un type dans le service c moche)


// Admin routes
userRouter.get('/admin/getusersbypermission', checkRole('Admin', []), userController.getUsersByPermission);
userRouter.post('/admin/user', checkRole('Admin', []), userController.adminCreateUser);

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Tu m'expliques pourquoi tu supprimes mes features ?
Je pense petite erreur lors des merge conflicts ;)

user_id: integer('user_id')
.primaryKey()
.references(() => userSchema.id, { onDelete: 'cascade' }),
urgency_contact_name: text('urgency_contact_name'),

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

emergency serait pas plus correct niveau anglais ?

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

qu'il est fort en anglais le president (mais oui ducoup)

.primaryKey()
.references(() => userSchema.id, { onDelete: 'cascade' }),
urgency_contact_name: text('urgency_contact_name'),
urgency_contact_phone: text('urgency_contact_phone'),

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

same

Comment thread frontend/src/components/home/vssModal.tsx Outdated
fetchOnboardingStatus();
}, []);

const fetchOnboardingStatus = async () => {

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Il faut faire un composant <OnboardNeeded type="Nouveau"> par exemple pour filtrer l'affichage des différents composants, bien plus lisible selon moi que le code dupliqué sur chaque composant.
On peut lui fournir du texte pour les messages d'erreurs du type "billetterie soirée d'intégration" à ajouter après les messages d'erreur.

fetchOnboardingStatus();
}, []);

const fetchOnboardingStatus = async () => {

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

same as sdiSection

setMenuOpen(false);
}, [pathname]);

const fetchOnboardingStatus = async () => {

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

peut être passer par un statut global pour éviter les requêtes multiples sur le statut onboarding (autre PR selon moi)

Comment thread frontend/src/services/requests/user.service.ts Outdated
Suboyyy and others added 3 commits July 21, 2026 22:15
Co-authored-by: Arthur Dodin <52950784+tuturd@users.noreply.github.com>
Co-authored-by: Arthur Dodin <52950784+tuturd@users.noreply.github.com>
Co-authored-by: Arthur Dodin <52950784+tuturd@users.noreply.github.com>

@Remi-pcn Remi-pcn left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

A part les 2/3 points notés par arthur le reste peut attendre pour etre modifie. Sinon lgtm j'ai pas vu de dinguerie

user_id: integer('user_id')
.primaryKey()
.references(() => userSchema.id, { onDelete: 'cascade' }),
urgency_contact_name: text('urgency_contact_name'),

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

qu'il est fort en anglais le president (mais oui ducoup)

Comment thread backend/types/user.d.ts
@@ -0,0 +1,4 @@
export type UserContactInformation = {
urgency_contact_name: string;
urgency_contact_phone: string;

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Pareil qu'avant ducoup, plutot "emergency"

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.

3 participants