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

refactor: remove multiple imports + uppercase constants #257

Merged
merged 5 commits into from
Oct 18, 2024

Conversation

QRuhier
Copy link
Contributor

@QRuhier QRuhier commented Oct 18, 2024

Copy link

sonarcloud bot commented Oct 18, 2024

Quality Gate Failed Quality Gate failed

Failed conditions
0.0% Coverage on New Code (required ≥ 80%)

See analysis details on SonarCloud

@QRuhier QRuhier merged commit 9c161dd into feat/add-talking-surveys Oct 18, 2024
5 of 6 checks passed
@QRuhier QRuhier deleted the refactor/remove-multiple-imports branch October 18, 2024 11:37
laurentC35 added a commit that referenced this pull request Oct 29, 2024
* build: add env var for talking surveys

* feat(#240): add capmi app to the router rules

* feat(#242): inject externalResources script at start

* feat(#238): add global variable before initalize with Lunatic

fix: #238

* fix: types in LunaticData

* fix: types again

We use only one function to initalize surveyUnit correctly

Co-Authored-By: Quentin Ruhier <99256289+QRuhier@users.noreply.github.com>

* feat(#231): add external service-worker in condition where VITE_EXTERNAL_RESOURCES_URL is defined (#252)

fix: #231

* feat: add talking questionnaires synchro (#246)

* feat: get externalResources during synchronization

* chore: add comments & remove unused imports/exports

* fix: get external resources only for needed questionnaires

* feat: delete external resources for not needed questionnaires

* feat: delete external resources root-cache if no external questionnaire needed

* feat: handle progress bar for external resources synchro

* fix: handle promises for external resources

* perf: optimize cache lookup during external resources synchronization

* feat : handle errors on fetching external url

* chore: remove unused functions & imports

* feat: delete old external resources caches

* docs: add external resources synchronization

* refactor: simplify externalResources functions

* test: set vitest

* test: add tests for external resources synchro

* fix: import const

* ci: add test in jobs

* ci: remove condition on target branch for pull_request

* ci: fix test job

* test : fix sonar config

* docs : update external resources synchro

* docs: improve external resources synchro

* refactor: remove multiple imports + uppercase constants (#257)

* refactor : set const for imports of env var VITE_EXTERNAL_RESOURCES_URL

* refactor: uppercase constants

* refactor: regroup core exported constants

* chore: remove unused import

* fix: duplicate export

* test(sonar) : fix coverage config

* ci : adapt CI for tests & sonar

* ci: rename ci & jobs

---------

Co-authored-by: Quentin Ruhier <quentin.ruhier@insee.fr>
Co-authored-by: Quentin Ruhier <99256289+QRuhier@users.noreply.github.com>
Co-authored-by: Emmanuel DEMEY <demey.emmanuel@gmail.com>
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