UI updates (#849)

* Updated dashboard

- Display "outstanding" badges
- Display "overdue" badges
- Pull-to-refresh

* Remove dead code

* Refactor app colors

* Add "pending shipments" icon

* Remove custom spinner

* Refactor error dialog

* Updated redirect after login

* Refactor login/account pages

- Better UX and confirmation messages

* Refactor API error messages

* Improve token management

- Secure storage
- Handle session expiry
- Per-profile HTTPS certificate checks

* Improved error messages
This commit is contained in:
Oliver
2026-07-06 21:10:10 +10:00
committed by GitHub
parent f737172180
commit 349a8e0ef5
45 changed files with 1240 additions and 477 deletions
+2 -2
View File
@@ -60,7 +60,7 @@ class _BuildItemDetailWidgetState
// Unallocate button
buttons.add(
SpeedDialChild(
child: const Icon(TablerIcons.minus, color: Colors.red),
child: Icon(TablerIcons.minus, color: COLOR_DANGER),
label: L10().unallocate,
onTap: () async {
_unallocateStock(context);
@@ -99,7 +99,7 @@ class _BuildItemDetailWidgetState
L10().unallocateStock,
L10().unallocateStockConfirm,
icon: TablerIcons.minus,
color: Colors.red,
color: COLOR_DANGER,
acceptText: L10().unallocate,
onAccept: () async {
widget.item.delete().then((result) {