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

Add user setting for turning gloss suggestion on/off #3229

Open imnasnainaec opened 2 weeks ago

imnasnainaec commented 2 weeks ago

Resolves #3182

This change requires a database script to add glossSuggestion: "On" to every user in the UsersCollection.


This change is Reviewable

codecov[bot] commented 2 weeks ago

Codecov Report

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

Project coverage is 74.86%. Comparing base (12f00ab) to head (59a0de0).

Files Patch % Lines
src/components/UserSettings/UserSettings.tsx 33.33% 2 Missing :warning:
Additional details and impacted files ```diff @@ Coverage Diff @@ ## master #3229 +/- ## ========================================== + Coverage 74.83% 74.86% +0.03% ========================================== Files 277 277 Lines 10622 10632 +10 Branches 1270 1270 ========================================== + Hits 7949 7960 +11 + Misses 2310 2309 -1 Partials 363 363 ``` | [Flag](https://app.codecov.io/gh/sillsdev/TheCombine/pull/3229/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/3229/flags?src=pr&el=flag&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=sillsdev) | `83.94% <100.00%> (+0.07%)` | :arrow_up: | | [frontend](https://app.codecov.io/gh/sillsdev/TheCombine/pull/3229/flags?src=pr&el=flag&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=sillsdev) | `66.83% <66.66%> (-0.01%)` | :arrow_down: | 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.