Pogues
Pogues copied to clipboard
Select and add a code list from the metadata repo
The implem has already been developped, but validation is needed.
Context:
The validation is made on this Pogues instance (🔒 internal link)
Summary:
- search on keyword is good, fast enough
- performance issues after adding a large list (NAF) to a question
- some encoding problems on output (NAF)
- bug on "activité" ? → probably the "é" (or any non basic char ?)
- validation produces a blanck screen
- in the browser console
o.map is not a function
Happy path:
- In a newly created question, choose a unique choice list (🇫🇷 "Réponse à choix unique")
- Then choose the option "A list from the repository" (🇫🇷 "Retrouver dans le référentiel")
- In the search field, type "animal" then click "Search"
- One echo, the "ANIMALS" list, click on the "Download" button (the ⬇️ )
- Generate the collected variables
- Validate
- ⭐
Problematic paths:
(1)
- In a newly created question, choose a multiple choice list (🇫🇷 "Réponse à choix multiples")
- Then choose the option "A list from the repository" (🇫🇷 "Retrouver dans le référentiel")
- In the search field, type "animal" then click "Search"
- One echo, the "ANIMALS" list, click on the "Download" button (the ⬇️ )
- 🐞 ❗ Impossible to generate the collected variables
- as a consequence, it is not possible to validate the whole question
(2)
- In a newly created question, choose a multiple choice list (🇫🇷 "Réponse à choix multiples")
- Then choose the option "A list from the repository" (🇫🇷 "Retrouver dans le référentiel")
- In the search field, type "NAF" then click "Search"
- 🐞 ❗ The imported list is not correctly encoded
(3)
- In a newly created question, choose a multiple choice list (🇫🇷 "Réponse à choix multiples")
- Then choose the option "A list from the repository" (🇫🇷 "Retrouver dans le référentiel")
- In the search field, type "NAF" then click "Search"
- After the import, most of the UI is laggy, for example getting in or out a question UI
(x)
In some particulars conditions (to be determined) it is not possible to both generate the collected variables and to validate the question.
The encoding problem is solved! ⭐
The feature is ok, but we still got an issue with Pogues performance when using a large list (the NAF codelist for example), we need to sort that out.
@loichenninger do we create a specific issue for that ?