Commit Graph
9 Commits
Author SHA1 Message Date
ssbg04 2a2b1ed0a8 Feat: implement notifications, search history, and UI enhancements 2026-07-19 23:04:39 +08:00
ssbg04 d983c0d2d8 feat: teacher section scoping, session expiry fix, and notification timeline sorting
Backend:
- studentController: scope teacher student list/count by timeline-latest enrollment
  (ORDER BY ay.year_range DESC, e.grade_level DESC, e.id DESC) instead of MAX(id)
- documentController: same timeline-based scoping for teacher document access
- folderController: same timeline-based scoping for teacher folder access
- dashboardController: same timeline-based scoping for teacher dashboard stats
- archiveController: same timeline-based scoping for teacher archive view
- notificationController: replace MAX(id) enrollment subqueries with timeline sort;
  add broadcast notification support (entity_type IS NULL, category IN (student/document/system))
- schema, routes, reports, requirements, users: various supporting updates

Frontend:
- auth_repository: restore FlutterSecureStorage for JWT token storage
  (was broken: migrated to SharedPreferences while all other repos read from FlutterSecureStorage,
  causing all API calls to send null token silently)
- student_model: add latestEnrollment getter computed dynamically from enrollments list;
  expose latestGradeLevel/latestSection as getters with fallback to server-supplied values
- student_provider: invalidate studentDetailProvider on update/bulkEnroll/bulkGraduate
- inactivity_wrapper: fix timeout 3000s -> 300s (5 min); improve _handleInactivity guard
- dashboard, documents, settings, students, users screens: various UI updates

Chore:
- .gitignore: add .env, *.db, student uploads, debug/scratch scripts, flutter build artifacts
- remove tis_rms.db from git tracking (runtime data, should never be committed)
2026-06-23 01:13:00 +08:00
ssbg04 ad166c860f Updates UI/UX 2026-06-20 18:22:27 +08:00
ssbg04 4e5a9c7c74 fix: design of error dialog, design of windows navigation and android navigation 2026-06-20 16:08:05 +08:00
ssbg04 dad079db78 Fix: many 2026-06-20 15:27:27 +08:00
ssbg04 df06411ba0 Revert "ADD: auto-capitalization, back confirmation, buttons hide, and added side bar menu"
This reverts commit 639a32aed4.
2026-06-11 19:06:32 +08:00
ssbg04 639a32aed4 ADD: auto-capitalization, back confirmation, buttons hide, and added side bar menu 2026-06-03 23:56:45 +08:00
ssbg04 c99ad4bce1 major update:large codebase changed 2026-06-03 19:51:44 +08:00
ssbg04 654104cbed first commit 2026-05-17 00:12:57 +08:00