Link icons (#677)

* Add LinkIcon component

* Visual UI updates

- Refactor some components
- Clearer text display
- Add obvious chevron icon when a "tile" will take the user somewhere else

* dart format

* Adjust release notes

* Add visual separator

* Cleanup unused imports
This commit is contained in:
Oliver 2025-07-04 21:16:04 +10:00 committed by GitHub
parent c30f1a19d1
commit 2adf8e3430
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
28 changed files with 261 additions and 195 deletions

View file

@ -8,7 +8,6 @@ import "package:inventree/inventree/model.dart";
import "package:inventree/widget/paginator.dart";
import "package:inventree/widget/refreshable_state.dart";
import "package:inventree/widget/company/supplier_part_detail.dart";
/*
* Widget for displaying a list of Supplier Part instances
@ -93,12 +92,7 @@ class _PaginatedSupplierPartListState
leading: InvenTreeAPI().getThumbnail(supplierPart.supplierImage),
trailing: InvenTreeAPI().getThumbnail(supplierPart.partImage),
onTap: () {
Navigator.push(
context,
MaterialPageRoute(
builder: (context) => SupplierPartDetailWidget(supplierPart),
),
);
supplierPart.goToDetailPage(context);
},
);
}