Skip to content

Profil speaker - préférence micro#2204

Open
vgreb wants to merge 1 commit intoafup:masterfrom
vgreb:feature/speaker-mic-type
Open

Profil speaker - préférence micro#2204
vgreb wants to merge 1 commit intoafup:masterfrom
vgreb:feature/speaker-mic-type

Conversation

@vgreb
Copy link
Copy Markdown
Collaborator

@vgreb vgreb commented Apr 30, 2026

Ajout des préférence de micro pour un speaker. Le nouveau bloc est situé entre ceux des informations de contact et du diner des speakers.

[EDIT]
J'ai rajouté la possibilité d'activer/désactiver le choix du micro selon l'évènement.
[/EDIT]

français
cfp-microphone-fr

anglais
cfp-microphone-en

L'info est disponible dans le back-office

bo-speaker-info

Copy link
Copy Markdown
Contributor

@Mopolo Mopolo left a comment

Choose a reason for hiding this comment

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

Je me demande si on ne devrait pas avoir un flag sur l'évent pour activer ou non cette nouvelle question. Comme le dîner speaker par exemple.

En AFUP Day c'est pas forcément utile de demander ça vu que le choix est pas forcément possible selon les salles.

Comment thread sources/AppBundle/Event/Model/Speaker.php Outdated
Comment thread templates/admin/event/speakers_management.html.twig Outdated
@vgreb vgreb force-pushed the feature/speaker-mic-type branch from 5056a9b to daa137d Compare May 1, 2026 20:30
@vgreb vgreb force-pushed the feature/speaker-mic-type branch from daa137d to 3c461d5 Compare May 2, 2026 01:21
@vgreb vgreb marked this pull request as ready for review May 2, 2026 09:58
@vgreb vgreb requested review from agallou and stakovicz as code owners May 2, 2026 09:58
@vgreb vgreb requested a review from Mopolo May 2, 2026 09:58

private ?bool $accomodationEnabled = null;

private ?bool $micTypeEnabled = null;
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.

Vu que c'est DEFAULT 0 en base (ce qui me semble bien), pourquoi du nullable ici ?

Comment on lines +9 to +10
case HEADSET = 'headset';
case HANDHELD = 'handheld';
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.

Suggested change
case HEADSET = 'headset';
case HANDHELD = 'handheld';
case Headset = 'headset';
case Handheld = 'handheld';

Faudrait qu'on mette à jour le linter : https://www.php-fig.org/per/coding-style/#9-enumerations

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