Settings - Delete Account -> Self Deactivate: - backend: add POST /api/auth/self-deactivate (immediate, no email link) Guards against last-admin and hidden super-admin. Revokes FCM tokens, sends notification email, logs activity - auth.js route: add /self-deactivate route - auth_repository.dart: add requestSelfDeactivation() - auth_provider.dart: add requestSelfDeactivation() (calls logout() after) - settings_screen.dart: 2-step _handleDeactivateAccount: Step 1 confirm, Step 2 type DEACTIVATE. Danger zone card updated to deactivation theme Report screen - compliance filter button label overflow: - Wrap label Text in Flexible to ellipsize instead of clip Settings - Edit Schedule Dates modal button overflow: - Column layout on narrow screens so buttons are never squished Document screen - Open With not working on Windows: - Use openwith.exe (Windows 8+) with fallback to rundll32 OpenAs_RunDLL Windows sidebar - Archive tab: - Move Archives from ACCOUNT group to OVERVIEW group
41 KiB
BACKEND WORKFLOW (F:\SumbrerongBato\tis_rms_server\backend)
- Read/Analyze Task → Inspect backend directory.
- Draft Code → Execute Quality Gate (Accept / Decline).
- Post-Code Loop: Analyze Errors → Resolve → Re-verify until Errors == 0.
- Terminal Exit: If build clean → Execute
git push.
FRONTEND WORKFLOW (F:\SumbrerongBato\tis_rms_server\frontend)
- Read/Analyze Task → Inspect frontend directory.
- Draft Components/Logic → Execute Quality Gate (Accept / Decline).
- Post-Code Loop: Analyze UI/Build Errors → Resolve → Re-verify until Errors == 0.
- Terminal Exit: If build clean & lint passes → Execute
git push.
⚡️ TOKEN COMPRESSION PROTOCOL
1. INPUT RESTRICTIONS (CONTEXT DRYING)
- Ignore system-level file-tree re-reads unless files change (Δ).
- Avoid parsing historical chat history beyond the immediate code break.
- Reference internal libraries by name only; do not request full source mappings.
2. OUTPUT SYSTEM CONSTRAINTS (ZERO BLOAT)
- NO natural language intros, greetings, or conversational transitions.
- NO explanations, rationales, or "why this works" breakdowns.
- NO summaries of work completed or code recap commentary.
- Exclude all code comments, inline documentation, and docstrings.
3. PATCH FORMATTING (MICRO-DIFFS ONLY)
- BANNED: Full-file reprinting, multi-line blocks of unchanged code.
- MANDATORY: Return micro-diff format or target lines replacement only:
- [old line] + [new line] - If a file creation is required, generate minimal skeleton logic only.
4. QUOTA BRAKING
- Max output limit per prompt turn = 150 tokens.
- If patch logic requires >150 tokens: STOP, emit
[TOKEN LIMIT BRAKE], and wait for chunked instructions.
📱 FLUTTER UI/UX RULES
- Stack: Flutter (latest) + Riverpod (AsyncNotifier/Notifier) + Material 3 (
useMaterial3: true). - Palette: Use existing
Theme.of(context).colorSchemetokens only. Never hardcode hex values. - Layout: Stack actions vertically on Android (
Columnwith full-widthElevatedButton). - Output: No design essays. Return optimized widget code immediately.
TODO
- dont do tasks with "(dont do)"
SETTINGS SCREEN
-
Delete account -> update to self deactivates, remove email function for deletion, use email for deactivation add client side 2 times confirmation dialog
-
report screen -> compliance -> fix fliter button label is in half
-
settings screen -> acadmeic year and auto graduation -> edit schedule date modal -> fix button labels is in half
DOCUMENT SCREEN
- file preview screen -> open with is not working
WINDOWS SIDE NAV BAR
- windows app -> side bar nav move the archive tab to overview group
DONT DO
-
CSV bulk add student, academic and section [acad year, grade level, sections]
-
print list history, print email to the student make it optional, add date of print, add status (done, not done, in progress, picked up), add message to email can be manual message typed by registrar/staff,
-
teacher no assigned section theme color
-
bug in bulk add student enrollment
-
recycle bin -> search history not delete history
-
add missing students by document type kpi
-
notification separate admin and teacher
-
bug in bulk add student enrollment
-
report all filter and export
TIS_RMS Server Manager (dont do)
Windows Service - NSSM nodejs
-
backup/restore db and files
-
backup: database backup, automatic schedule, snapshot retention
-
restore: restore database, validate backup, restart service automatically
-
files: mirror backup, verify files, restore files,
-
can choose where to store db and files separately
-
dashboard: server status, cpu mem usage, connected users, uptime
-
service: controls windows service stop start restart
-
logs, server logs, error logs
-
settings backup path, file backup path, database location