feat(studio): show module origin store ('from <store>')

StoreItem gains source (mapped from StoreEntry.source); the store grid
shows a 'from <store>' label for operator-added stores (bundled seed
unlabelled). Foundation for grouping by store. EN+DE l10n.

Signed-off-by: flemming-it <stefan.a.flemming@googlemail.com>
This commit is contained in:
flemming-it 2026-06-22 00:59:51 +02:00
parent 255348c062
commit 27cf7e8382
7 changed files with 44 additions and 0 deletions

View file

@ -1930,6 +1930,19 @@ class _StoreCardState extends State<_StoreCard> {
color: theme.colorScheme.onSurfaceVariant,
),
),
// Origin store ("from <store>") only for
// operator-added stores; the built-in seed
// ("bundled") needs no label.
if (item.source.isNotEmpty &&
item.source != 'bundled')
Text(
l.storeFromSource(item.source),
maxLines: 1,
overflow: TextOverflow.ellipsis,
style: theme.textTheme.labelSmall?.copyWith(
color: theme.colorScheme.onSurfaceVariant,
),
),
],
),
),