feat: add canonical name endpoint and update product renaming functionality in admin panel
Test Suite / test (24.15.0) (push) Has been cancelled

This commit is contained in:
Nils-Johan Gynther
2026-05-09 22:58:23 +02:00
parent 3ff27701fc
commit 9f3f5c1cef
4 changed files with 115 additions and 40 deletions
@@ -677,9 +677,7 @@ class _ReceiptImportTabState extends ConsumerState<ReceiptImportTab> {
final selectedFileName = _pickedFile?.name ?? session?.fileName;
final selectedFileSizeBytes =
_pickedFile?.size ?? session?.fileBytes?.length;
final resultListHeight = items == null
? 0.0
: (items.length * 128.0).clamp(220.0, 620.0).toDouble();
return SingleChildScrollView(
padding: const EdgeInsets.all(16),
@@ -755,12 +753,12 @@ class _ReceiptImportTabState extends ConsumerState<ReceiptImportTab> {
],
),
const SizedBox(height: 4),
SizedBox(
height: resultListHeight,
child: ListView.builder(
key: const PageStorageKey<String>('receipt-import-result-list'),
itemCount: items.length,
itemBuilder: (context, i) {
ListView.builder(
key: const PageStorageKey<String>('receipt-import-result-list'),
shrinkWrap: true,
physics: const NeverScrollableScrollPhysics(),
itemCount: items.length,
itemBuilder: (context, i) {
return _ReceiptImportResultRow(
index: i,
item: items[i],
@@ -782,7 +780,6 @@ class _ReceiptImportTabState extends ConsumerState<ReceiptImportTab> {
matchedViaBadgeBuilder: _buildMatchedViaBadge,
);
},
),
),
const SizedBox(height: 16),
SizedBox(