sillsdev / TheCombine

This is a tool for supporting the rapid word collection workshop and post workshop clean-up
https://sillsdev.github.io/TheCombine/
MIT License
17 stars 13 forks source link

Clear spell-checker if new lang has no dictionary #3185

Open imnasnainaec opened 1 week ago

imnasnainaec commented 1 week ago

Fixes #3183


This change is Reviewable

codecov[bot] commented 1 week ago

Codecov Report

Attention: Patch coverage is 50.00000% with 2 lines in your changes missing coverage. Please review.

Project coverage is 74.92%. Comparing base (755fbe0) to head (b304873).

Files Patch % Lines
src/utilities/spellChecker.ts 50.00% 1 Missing and 1 partial :warning:
Additional details and impacted files ```diff @@ Coverage Diff @@ ## master #3185 +/- ## ========================================== + Coverage 74.86% 74.92% +0.06% ========================================== Files 277 277 Lines 10622 10625 +3 Branches 1270 1271 +1 ========================================== + Hits 7952 7961 +9 + Misses 2307 2303 -4 + Partials 363 361 -2 ``` | [Flag](https://app.codecov.io/gh/sillsdev/TheCombine/pull/3185/flags?src=pr&el=flags&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=sillsdev) | Coverage Δ | | |---|---|---| | [backend](https://app.codecov.io/gh/sillsdev/TheCombine/pull/3185/flags?src=pr&el=flag&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=sillsdev) | `84.02% <ø> (+0.10%)` | :arrow_up: | | [frontend](https://app.codecov.io/gh/sillsdev/TheCombine/pull/3185/flags?src=pr&el=flag&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=sillsdev) | `66.87% <50.00%> (+0.03%)` | :arrow_up: | Flags with carried forward coverage won't be shown. [Click here](https://docs.codecov.io/docs/carryforward-flags?utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=sillsdev#carryforward-flags-in-the-pull-request-comment) to find out more.

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.