redz1029
858520bd8d
Offline rediness
2026-05-03 14:50:14 +08:00
redz1029
783c5eb0be
* Task/Ticket desktop dialogs — widened from 520 → 600dp, and tasks now uses SizedBox(width: 600) instead of ConstrainedBox(maxWidth:) which was the root cause of the "still small" issue (max-only never forced expansion)
...
* Pass Slip + Leave — both dialogs gained an isSheet flag; callers now branch on AppBreakpoints.tablet: bottom sheet on mobile, dialog on desktop
2026-04-30 06:45:51 +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
872c2aab87
UI Enhancements in IT Service Request, Announcements, Workforce and notification fixes
2026-03-22 18:00:10 +08:00
redz1029
049ab2c794
Added My Schedule tab in attendance screen
...
Allow 1 Day, Whole Week and Date Range swapping
2026-03-22 11:52:25 +08:00
redz1029
beb21e48d0
Announcements: Show snackbar on event and enhanced comment notification messages
2026-03-21 19:28:18 +08:00
redz1029
3fb6fd5c93
Announcements and IT Job Checklist
2026-03-21 18:51:04 +08:00
redz1029
d484f62cbd
Implement push notification reminder system with 9 notification types
...
Adds comprehensive push notification reminders using pg_cron + pg_net:
- Shift check-in reminder (15 min before, with countdown banner)
- Shift check-out reminder (hourly, persistent until checkout)
- Overtime idle reminder (15 min without task)
- Overtime checkout reminder (30 min after task completion)
- IT service request event reminder (1 hour before event)
- IT service request evidence reminder (daily)
- Paused task reminder (daily)
- Backlog reminder (15 min before shift end)
- Pass slip expiry reminder (15 min before 1-hour limit, with countdown banner)
Database: Extended scheduled_notifications table to support polymorphic references
(schedule_id, task_id, it_service_request_id, pass_slip_id) with unique constraint
and epoch column for deduplication. Implemented 8 enqueue functions + master dispatcher.
Uses pg_cron every minute to enqueue and pg_net to trigger process_scheduled_notifications
edge function, eliminating need for external cron job. Credentials stored in vault with
GUC fallback for flexibility.
Flutter: Added ShiftCountdownBanner and PassSlipCountdownBanner widgets that display
persistent countdown timers for active shifts and pass slips. Both auto-dismiss when
user completes the action. FCM handler triggers shift countdown on start_15 messages.
navigate_to field in data payload enables flexible routing to any screen.
Edge function: Updated process_scheduled_notifications to handle all 9 types with
appropriate titles, bodies, and routing. Includes pass_slip_id in idempotency tracking.
Co-Authored-By: Claude Haiku 4.5 <noreply@anthropic.com >
2026-03-20 18:26:48 +08:00
redz1029
74197c525d
Enhanced material design 3 implementation
2026-03-20 15:15:38 +08:00
redz1029
3af7a1e348
Added configurable shift types and holiday settings
2026-03-18 16:51:34 +08:00
redz1029
4eaf9444f0
Enhanced Logbook layout
2026-03-18 10:56:31 +08:00
redz1029
3e3e4d560e
Ensures allowing assigned IT Staff to check in outside geofence when and IT Service Request venue is outside premise
2026-03-17 07:20:24 +08:00
redz1029
81853c4367
Added programmer role and fixed snackbar not showing
2026-03-16 07:23:20 +08:00
redz1029
885b543fb5
Pass Slip and Leave approval/rejection push notifications
2026-03-15 22:36:33 +08:00
redz1029
f8c79acbbc
Fixed Leave rejection and approvals
2026-03-11 18:59:28 +08:00
redz1029
21e6d68910
Fixed In Progress ISR not reflecting on IT Staff Pulse Dashboard Status Pill
...
Made the Location Tracking more persistent
2026-03-11 07:43:14 +08:00
redz1029
ccc1c62262
Background location tracking
2026-03-09 22:33:35 +08:00
redz1029
0f675d4274
Attendance log now record both check in and out photos and allow IT Staffs, Dispatchers and Admins to view for verification
2026-03-08 18:45:31 +08:00
redz1029
8bf0dc13d7
Workforce rotation settings and location permission handling
2026-03-08 17:31:39 +08:00
redz1029
88432551c8
IT Service Request
2026-03-08 07:54:20 +08:00
redz1029
3dbebd4006
Attendance validation involving Location Detection + Facial Recoginition with Liveness Detection
2026-03-07 23:46:43 +08:00
redz1029
c6f536edeb
Initial Commit: Duty Schedule and Attendance Logbook
2026-03-07 10:16:28 +08:00
redz1029
94088a8796
Implemented Task Pause and Resume
2026-03-04 07:12:00 +08:00
redz1029
c123c09233
AI Subject, Description and Action taken support
2026-03-04 00:38:35 +08:00
redz1029
2e99ec1234
Proper tasks and tickets ordering
2026-03-03 18:52:42 +08:00
redz1029
d9270b3edf
Reports
2026-03-03 07:38:40 +08:00
redz1029
7115e2df05
Fix flickering issues due to reconnecting loop
2026-03-02 22:09:29 +08:00
redz1029
5713581992
Push notification tap redirect to corressponding ticket or task
2026-03-02 21:09:38 +08:00
redz1029
eb49329b16
Prevent task starting and completion without assigned it staff
2026-03-02 20:22:42 +08:00
redz1029
43d2bd4f95
Fixed horizontal scrollbar, limit per page by 10 rows on desktop
...
Fixed duplicate entries in activity logs
2026-03-02 20:11:49 +08:00
redz1029
b9722106ff
Task file attachments
2026-03-01 22:11:21 +08:00
redz1029
3950f3ee94
Fixed ghost channel subscription
2026-03-01 20:31:13 +08:00
redz1029
029e671367
Per channel skeleton
2026-03-01 20:10:38 +08:00
redz1029
2100516238
Tickets and task retrieval optimization
2026-03-01 18:27:19 +08:00
redz1029
294d3f7470
Initial implementation of navigation from notification(not yet working)
2026-03-01 17:59:23 +08:00
redz1029
c9479f01f0
Implemented per stream subscription recovery with polling fallback
2026-03-01 17:24:04 +08:00
redz1029
e91e7b43d2
A bit of notification turn on reminder
2026-03-01 05:45:23 +08:00
redz1029
ec46c33c35
Fixed typing provider error
2026-02-28 22:41:19 +08:00
redz1029
f7f22c50d2
Moved long running task to an isolate
2026-02-28 22:05:28 +08:00
redz1029
d3239d8c76
Skeleton loading
2026-02-28 21:47:24 +08:00
redz1029
c5e859ad88
realtime controller
2026-02-28 19:45:21 +08:00
redz1029
e99b87bd20
Activity logs
2026-02-28 18:04:31 +08:00
redz1029
5a74299a1c
Added Task Number filter
2026-02-28 16:45:17 +08:00
redz1029
0a8e388757
Move push notification to client instead of db trigger
2026-02-28 16:19:08 +08:00
redz1029
dab43a7f30
A much more detailed notification
2026-02-27 07:05:08 +08:00
redz1029
6ccf820438
FCM push Notifications
2026-02-25 23:37:08 +08:00
redz1029
eaabc0114c
Proper pagination
2026-02-25 18:25:00 +08:00
redz1029
546c254326
Allow task completion even if signatories are still empty, put an indicator for completed tasks with incomplete details.
2026-02-24 22:08:53 +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