Skip to content

feat: ICR evaluation tab, strict mastery grading, class filters, difficulty stats & PDF upgrades - #231

Open
vishalsoni18 wants to merge 2 commits into
vicharanashala:mainfrom
vishalsoni18:feature/update-components
Open

feat: ICR evaluation tab, strict mastery grading, class filters, difficulty stats & PDF upgrades#231
vishalsoni18 wants to merge 2 commits into
vicharanashala:mainfrom
vishalsoni18:feature/update-components

Conversation

@vishalsoni18

Copy link
Copy Markdown

Summary of Changes

1. UI & Navigation

  • Added dedicated Evaluation tab to Teacher/Volunteer sidebar
  • Wired Evaluation tab to render IcrScanner component directly
  • Removed old ICR scanner trigger buttons from dashboards
  • Fixed "Back to Dashboard" button routing

2. Grading Logic

  • Strict 100% mastery: subtopic only gets Strong if ALL questions correct
  • Added topicStats (Easy/Med/Hard breakdowns) to EvaluationReport

3. Report & Display

  • Persistent Easy/Med/Hard counters under every concept mastery badge
  • Class filter tab bar in Evaluation Reports panel
  • Student class name shown in each report header
  • Replaced PASS/FAIL with CORRECT/INCORRECT

4. PDF Export

  • PDF includes Easy/Med/Hard breakdown per badge
  • Fixed Satisfactory (blue) badge styling in PDF

5. Historical Data

  • Backfilled mock topicStats into historical reports

6. Upstream Merge

  • Merged upstream monorepo restructure (mvp/ → frontend/ + backend/)

…iculty stats, PDF upgrades

- Added dedicated Evaluation tab to Teacher/Volunteer sidebar (ShieldCheck icon)
- Wired Evaluation tab in App.tsx to render IcrScanner component directly
- Removed old ICR scanner trigger buttons from Teacher and Volunteer dashboards
- Fixed Back to Dashboard button in IcrScanner to use onBack prop correctly
- Strict 100% mastery: subtopic gets Strong badge only if all questions correct
- Added topicStats (Easy/Med/Hard breakdowns) to EvaluationReport in types.ts and db.ts
- Computed topicStats in backend evaluation route per topic per difficulty
- Persistent Easy/Med/Hard counters shown under every concept mastery badge in PanelViews
- Class filter tab bar in Evaluation Reports panel (filter by e.g. Class 2 - A)
- Student class name shown prominently in each report card header
- Replaced PASS/FAIL labels with CORRECT/INCORRECT in IcrScanner verification step
- PDF export includes Easy/Med/Hard breakdown and Satisfactory badge styling
- Backfilled mock topicStats into historical evaluation reports in db.ts
- Upstream monorepo restructure (mvp/ -> frontend/ + backend/) merged and resolved
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant