Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cherry-pick V0.3.0 with dictionary commits #879

Merged
merged 8 commits into from
Feb 26, 2025

Conversation

samuel-duhaime
Copy link
Collaborator

No description provided.

Add dictionary and list to demo-generator
Move clean_text function to helpers
Make sure the script generate the question, type, field, conditional and choices in the dictionary
Add abbreviation to the section and correct the path
I had to update the Excel for the generator-demo because some inputType was incorrect.
I also added a new type (Select) in the demo to show more possibility. I had to add a few columns to Widgets and InputRange, because we can do more with them.
I did create a function to process choices, and handle difficult case like spreadChoicesName
I had to change the inputType to something more readable for data analyst
This is going to help data analyst to understand the values for input range question.
I did change the choices name to values because it's more simple to understand.
I added a first line for the first line of the csv because it's not a header for all the document.
We do that to helps data analyst to understand all the conditionals of the survey.
I also did 'yarn format:python' to correct the error with the CI-Generator workflow.
Updated the copyright to 2025.
Add a todo to add traduction package gettext to handle multiple translations.
I did a 'yarn format:python' to format the files.
This fix is going to handle CustomConditional. I won't display the conditional at these case.
Extend all the choices.
Only add the conditional_name one time. It was diplucating the conditional name multiple times.
There was a bug with path without '.' and path with $relativePath. We handle all these cases now.
@samuel-duhaime
Copy link
Collaborator Author

@tahini Prêt pour les cherry-picks.

@samuel-duhaime samuel-duhaime merged commit 8c6ba4b into v0.3.0 Feb 26, 2025
@samuel-duhaime samuel-duhaime deleted the v0.3.0WithDictionaryCommits branch February 26, 2025 14:41
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