weblate icon indicating copy to clipboard operation
weblate copied to clipboard

Add setting to hide shared glossary components in projects they are s…

Open softworkz opened this issue 4 months ago • 7 comments

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.

softworkz avatar Aug 05 '25 03:08 softworkz

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

Impacted file tree graph

@@           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:

... and 1 file with indirect coverage changes

:rocket: New features to boost your workflow:
  • :package: JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

codecov[bot] avatar Aug 05 '25 04:08 codecov[bot]

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!

github-actions[bot] avatar Sep 04 '25 08:09 github-actions[bot]

Not stale

softworkz avatar Sep 04 '25 09:09 softworkz

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.

nijel avatar Sep 05 '25 15:09 nijel

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!

github-actions[bot] avatar Nov 03 '25 02:11 github-actions[bot]

I've commited the AI suggestions.

Also enabled edits:

image

softworkz avatar Nov 03 '25 02:11 softworkz

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!

github-actions[bot] avatar Dec 04 '25 02:12 github-actions[bot]