Add setting to hide shared glossary components in projects they are s…
Glossary components are typically shared into other projects to make them available for translation translation work. When these are visible in the compnoent list of projects which are using them, it can cause confusion or distract translators from the actual components that are meant to be translated.
This PR adds a setting which hides those shared glossary components.
Codecov Report
:x: Patch coverage is 71.42857% with 2 lines in your changes missing coverage. Please review.
:white_check_mark: Project coverage is 91.51%. Comparing base (cd39f3b) to head (c0ea71d).
:warning: Report is 590 commits behind head on main.
| Files with missing lines | Patch % | Lines |
|---|---|---|
| weblate/trans/views/basic.py | 71.42% | 1 Missing and 1 partial :warning: |
:x: Your patch check has failed because the patch coverage (71.42%) is below the target coverage (100.00%). You can increase the patch coverage or adjust the target coverage.
Additional details and impacted files
@@ Coverage Diff @@
## main #15708 +/- ##
=======================================
Coverage 91.51% 91.51%
=======================================
Files 667 667
Lines 69634 69640 +6
Branches 7117 7118 +1
=======================================
+ Hits 63726 63732 +6
+ Misses 4135 4134 -1
- Partials 1773 1774 +1
| Files with missing lines | Coverage Δ | |
|---|---|---|
| weblate/trans/views/basic.py | 87.12% <71.42%> (-0.42%) |
:arrow_down: |
:rocket: New features to boost your workflow:
- :package: JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.
This pull request has been automatically marked as stale because there wasn’t any recent activity.
It will be closed soon if no further action occurs.
Thank you for your contributions!
Not stale
The new option should be documented in https://docs.weblate.org/en/latest/admin/projects.html#share-in-projects so that it is clear that glossary components might not be visible with it turned on.
PS: Please address the Copilot reviews, these are definitely valid points.
This pull request has been automatically marked as stale because there wasn’t any recent activity.
It will be closed soon if no further action occurs.
Thank you for your contributions!
I've commited the AI suggestions.
Also enabled edits:
This pull request has been automatically marked as stale because there wasn’t any recent activity.
It will be closed soon if no further action occurs.
Thank you for your contributions!