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

@ -5174,6 +5174,30 @@ abstract class AppLocalizations {
/// **'Maintainers'**
String get storeSectionMaintainers;
/// No description provided for @storeSectionDataSource.
///
/// In en, this message translates to:
/// **'Data source'**
String get storeSectionDataSource;
/// No description provided for @storeDataSourceLicense.
///
/// In en, this message translates to:
/// **'Terms'**
String get storeDataSourceLicense;
/// No description provided for @storeDataSourceAttribution.
///
/// In en, this message translates to:
/// **'Attribution required'**
String get storeDataSourceAttribution;
/// No description provided for @storeDataSourceNote.
///
/// In en, this message translates to:
/// **'These terms cover the material this module fetches, not the module itself. It downloads on your behalf and ships no copy of the data.'**
String get storeDataSourceNote;
/// No description provided for @storeMaintainersNone.
///
/// In en, this message translates to: