Pogues icon indicating copy to clipboard operation
Pogues copied to clipboard

Refinement of card code support

Open romaintailhurat opened this issue 2 years ago • 10 comments

Pogues allows three types of instructions:

  1. help
  2. comment
  3. code card

Chosing one of the three options has an impact on the "typing" / "tagging", the associated field in Pogues UI is the same.

We would like to change that for the code card type. We only want in this case the designer to provide the code of the card in order to produce in the data collection app a field of the form:

Show the code card <CODE> 🇬🇧 Montrer la carte code <CODE> 🇫🇷

Pogues will store in its model the static text with the code.

The UI will be adapted consequently:

image

romaintailhurat avatar Mar 07 '22 10:03 romaintailhurat

UI changes are good, but there are some problems when generating on old versions of Stromae V2 and Queen, updating those should be enough to make things work.

romaintailhurat avatar Mar 28 '22 13:03 romaintailhurat

Also, "1" as input is problematic, it is not shown in the UI when getting back to the intruction tab.

romaintailhurat avatar Mar 28 '22 13:03 romaintailhurat

UI changes are good, but there are some problems when generating on old versions of Stromae V2 and Queen, updating those should be enough to make things work.

It's ok now. An update is needed for the CAPI / CATI UI.

romaintailhurat avatar Mar 28 '22 15:03 romaintailhurat

Also, "1" as input is problematic, it is not shown in the UI when getting back to the intruction tab.

@loichenninger is working on it ⭐

romaintailhurat avatar Mar 29 '22 05:03 romaintailhurat

Linked to pull request #574

loichenninger avatar Mar 31 '22 13:03 loichenninger

Reopening: we are missing the static part of the code card (see the first description of the issue).

romaintailhurat avatar Jun 20 '22 13:06 romaintailhurat

Le but est de modifier le label fourni à l'enquêteur et de concaténer une phrase en dur avant le label fourni dans l'IHM Pogues.

Show the code card <CODE> 🇬🇧 Montrer la carte code <CODE> 🇫🇷

@nsenave : je pense que sa place serait dans Eno plutôt que Pogues FO (risque d'ajouter plusieurs fois le libellé devant celui saisi) ou Pogues BO... Est-ce que tu es du même avis ?

BulotF avatar Mar 16 '23 16:03 BulotF

En effet c'est le genre de choses qui a sa place dans Eno.

Dans le cas Eno v3 : c'est quasi gratuit si on n'avait pas l'aspect internationalisation, un peu plus lourd de faire ça proprement en multi-lingue, mais Eno porte déjà des fonctionnalités pour lesquelles on voudra du mutli-lingue (par exemple ajout de la section commentaires).

nsenave avatar Mar 16 '23 17:03 nsenave

@nsenave : il faudra attendre enoV3 et Pogues2DDI c'est ca ? ou on pourrait faire avant si ca n'est pas cher - les utilisateurs sont assez demandeurs et on a ça en stand by depuis longtemps

AnneHuSKa avatar Mar 17 '23 08:03 AnneHuSKa

Je suis parti du principe que le texte présent dans la déclaration de type "codecard" était un texte en dur sans mise en forme (généralement, juste un nombre) : trop compliqué à concaténer sinon...

BulotF avatar May 12 '23 07:05 BulotF