Afficher l'aperçu dans l'éditeur de sondage

This is currently how our poll builder looks like and I felt that it’ll be great if we can show a preview of what the actual poll will look like within the builder.

Not a must have for us but a good to have here so I’m tagging it pr-welcome. Probably a good #starter-task as well.

13 « J'aime »

Space is really tight here, before anyone starts working on this, please post a visual mockup!

3 « J'aime »

The modal is actually quite small so we can afford to expand it on desktop. Just like the composer, we’ll probably have to hide the preview on mobile.

5 « J'aime »

Will we be able to re-use the display code here? :thinking:

Yup it’ll reuse the same cook processor as the preview.

2 « J'aime »

Je me l’annonce ! :slightly_smiling_face:

Je ne sais pas quel agencement est le meilleur :

vertical ou horizontal

La version verticale conserve la mise en page originale et minimaliste de cette fenêtre modale, mais la version horizontale permet d’afficher plus d’options au-dessus de la ligne de flottaison. :thinking:

12 « J'aime »

Je préfère moi-même celui qui est horizontal, même si je trouve qu’ils sont tous les deux jolis !

5 « J'aime »

L’horizontale est parfaite, la plupart des ordinateurs de bureau et portables sont désormais en format large. :heart_eyes:

4 « J'aime »