feat(studio): show a source module's data terms before the install button
Some checks failed
Security / Security check (push) Failing after 2s

The store detail sheet now carries a data-source block for source.*
modules: publisher, upstream url, the terms in plain words, and any
attribution the operator has to carry with the output. It sits above
maintainers and above the install button, because it is a decision
input rather than a footnote.

The values are selectable: compliance notes get written by copying,
not retyping. A note names whose terms these are, so nobody reads them
as the module's own licence. Four guards, including that an empty
attribution renders no empty row.

Signed-off-by: flemming-it <stefan.a.flemming@googlemail.com>
This commit is contained in:
flemming-it 2026-09-09 12:36:45 +02:00
parent fb809a4cbd
commit 35a79d0bb6
8 changed files with 307 additions and 44 deletions

View file

@ -3052,6 +3052,19 @@ class AppLocalizationsEn extends AppLocalizations {
@override
String get storeSectionMaintainers => 'Maintainers';
@override
String get storeSectionDataSource => 'Data source';
@override
String get storeDataSourceLicense => 'Terms';
@override
String get storeDataSourceAttribution => 'Attribution required';
@override
String get storeDataSourceNote =>
'These terms cover the material this module fetches, not the module itself. It downloads on your behalf and ships no copy of the data.';
@override
String get storeMaintainersNone => 'not specified';