Commit Graph

22 Commits

Author SHA1 Message Date
redz1029 57377b1b21 UI: Cyber/IT design overhaul with semantic status tokens (Material 3)
Re-theme TasQ with a refined enterprise "Cyber/IT" identity on Material 3.
Functionality is unchanged — only color/shape tokens and a few state widgets.

Foundation:
- Hand-tuned light + dark ColorSchemes (deep-slate surfaces, azure/teal/violet
  accents), tightened 12-16dp shape language, flat hairline-outlined cards.
- New AppStatusColors theme extension (success/warning/danger/info/neutral,
  per-brightness) replacing scattered raw Colors.green/orange/red/grey so status
  color is consistent and legible in dark mode.
- New TechChip mono primitive; StatusPill.kind; M3Card hairline variants;
  tightened AppSurfaces radii.

Per-screen:
- Tokenized status colors + radii across dashboard, tickets, tasks, IT service
  requests, attendance, whereabouts, network map, reports charts, auth, and
  shared/admin screens. Added _ticketStatusKind/_taskStatusKind/_isrStatusKind
  mappers so status carries meaning consistently.
- Fixed white pie-slice borders for dark mode; dropped ad-hoc dialog radius
  overrides in favor of the theme default. Categorical palettes (leave-type
  icons, team color picker, distribution charts) intentionally preserved.

Verified: flutter analyze lib clean; flutter build web green; visual QA in
light and dark (dashboard, tickets, attendance).

Co-Authored-By: claude-flow <ruv@ruv.net>
2026-09-26 15:13:47 +08:00
redz1029 3cb980b629 QA hardening: security RLS fixes, Flutter 3.47.5 upgrade, UI/validation fixes
Security — enforce write authorization server-side (was UI/RPC-only):
- it_service_requests RLS: block cross-office read/edit + self-approve (QA-015)
- pass_slips RLS: owner can complete but not self-approve (QA-046)
- swap_requests RLS: scope select/update to participants + admin (QA-047)
- storage: tighten it_service_attachments + task_attachments write/delete (QA-027)
- admin_user_management edge function: allow programmers to manage users (QA-016)

Fixes:
- workforce generator "uncovered shifts" false alarms (QA-043/044)
- network-map VLAN + New-location dialog validation, disabled-until-valid (QA-048)
- de-flake time-of-day-dependent dashboard metrics test (QA-045)

Toolchain:
- upgrade to Flutter 3.47.5 / Dart 3.13.4; font_awesome_flutter 11.0.0,
  flutter_quill 11.6.0, pdfrx 2.6.5; clear resulting deprecations (QA-002)

analyze clean; 139 tests pass; web build succeeds. Report + evidence in docs/qa/.

Note: also carries the in-progress Brick model cleanup already present in the
working tree. QA-001 (AI keys public in the build) is deferred by owner decision.

Co-Authored-By: claude-flow <ruv@ruv.net>
2026-09-26 11:52:16 +08:00
redz1029 30b301765b * Improved Task and Ticket Detail Screen
* Made Office assignment searchable in Task and Ticket Creation and Edit Screen
2026-05-10 17:54:03 +08:00
redz1029 48cd3bcd60 Offline Support 2026-04-27 06:20:39 +08:00
redz1029 5cb6561924 added ruflo 2026-04-09 19:01:53 +08:00
redz1029 81853c4367 Added programmer role and fixed snackbar not showing 2026-03-16 07:23:20 +08:00
redz1029 88432551c8 IT Service Request 2026-03-08 07:54:20 +08:00
redz1029 73dc735cce M3 Overhaul 2026-03-06 20:03:32 +08:00
redz1029 b1f5d209a2 Implemented subject suggestions in Task Creation and Edit.
Fix editing redirects
2026-03-03 18:39:01 +08:00
redz1029 1e678ea2e5 Add back button on ticket and task detail screens 2026-03-03 18:15:18 +08:00
redz1029 7115e2df05 Fix flickering issues due to reconnecting loop 2026-03-02 22:09:29 +08:00
redz1029 c9479f01f0 Implemented per stream subscription recovery with polling fallback 2026-03-01 17:24:04 +08:00
redz1029 dab43a7f30 A much more detailed notification 2026-02-27 07:05:08 +08:00
redz1029 5979a04254 * Push Notification Setup and attempt
* Office Ordering
* Allow editing of Task and Ticket Details after creation
2026-02-24 21:06:46 +08:00
redz1029 ee1bf5e113 Fix height of chat boxes 2026-02-23 18:50:31 +08:00
redz1029 83911b20ee Task and Ticket Detail screen scrollable 2026-02-22 01:17:43 +08:00
redz1029 d32449d096 Common Date and Time fomatters 2026-02-21 08:32:07 +08:00
redz1029 f9f3509188 Fixed Dashboard full page refresh 2026-02-18 23:37:21 +08:00
redz1029 5ec57a1cec Auto Task Assignment 2026-02-18 23:14:50 +08:00
redz1029 7fb465f6c9 Created App Surfaces for Theming 2026-02-17 07:27:42 +08:00
redz1029 01c6b3537c Major UI overhaul 2026-02-10 23:11:45 +08:00
redz1029 1f16da8f88 Initial commit 2026-02-09 20:10:42 +08:00