Enhance audience management features with new components and API integrations

- Added `AssignCoursesModal`, `AudienceMemberRow`, `AudienceTable`, and related components for improved audience management UI.
- Implemented audience invite actions including resend and revoke functionality.
- Updated audience API to support importing members and assigning courses.
- Refactored audience data handling to include status and invite management.
- Improved overall user experience with pagination and selection features in the audience table.
This commit is contained in:
Rotimi Best
2026-03-22 18:42:23 +01:00
parent e9c4082f89
commit 3919ff6c2f
157 changed files with 13183 additions and 872 deletions
+593
View File
@@ -0,0 +1,593 @@
# Forms Product PRD
## Status
- Draft
## Date
- March 22, 2026
## Implementation Plan
- See [implementation-plan.md](./implementation-plan.md) for phased delivery, ticket breakdown, and recommended sprint sequencing.
## Purpose
Build a standalone Forms product for schools and education teams to collect structured responses such as student feedback, course reviews, enrollment requests, parent intake, event registrations, and internal staff forms, while reusing as much of the existing exercise question engine as possible.
## Executive Summary
ClassroomIO already has a strong reusable question engine:
- `@cio/question-types` already centralizes question contracts, answer serialization, renderer contracts, and form-state helpers, and explicitly calls out reuse for future products such as forms/assessments.
- `@cio/ui/custom/exercise-question` already supports question rendering in `edit`, `take`, `preview`, `review`, and `submission` modes across 12 question types.
- The current exercise stack already handles templates, file upload answers, submission storage, and submission summary visualizations.
The main constraint is that the current product is still deeply shaped around courses, lessons, grading, and enrolled students. That makes it a poor fit for Google Forms / Typeform style workflows if we try to ship Forms by directly reusing the `exercise` and `submission` entities as-is.
### Recommendation
Build Forms as a new top-level product domain, but reuse the existing question engine and renderer stack aggressively.
### Reuse Estimate
- **High reuse (60-70%)**: question types, renderer contracts, answer payloads, file upload answer model, template structure, summary visualization patterns.
- **Medium reuse (20-30%)**: builder UI shell, preview flow, submission list components, analytics presentation patterns.
- **Low reuse (0-15%)**: database entities, API routes, auth model, response ownership, publishing/sharing model, grading workflow.
## Problem Statement
Today, exercises can technically ask many of the same questions that a form would ask, but they are optimized for assessment, not response collection.
That creates hard product limits for schools and organizations that want to collect:
1. Student feedback after a course or session.
2. School review forms and satisfaction surveys.
3. Enrollment and application forms.
4. Parent intake and consent forms.
5. Staff requests and internal administrative forms.
6. Event registration forms.
The current exercise product does not map cleanly to these workflows because:
1. Exercises are attached to a `course`, often also a `lesson` and `section`.
2. Exercise access is enforced through course membership middleware.
3. Submissions are tied to `groupmember` and carry grading state, total score, reviewer, and feedback fields.
4. The UX assumes students, instructors, grading, due dates, and completion rather than respondents, publish/share, response settings, and collection workflows.
5. There is no public share-link, embeddable form, thank-you page, response export, response caps, or form lifecycle model.
## Product Thesis
If ClassroomIO turns the current exercise question engine into a standalone Forms product, the platform gets a second major content primitive:
- `Learning content` for teaching and assessment.
- `Response collection` for school operations and feedback.
This expands ClassroomIO from LMS-only workflows into school operations workflows without throwing away the investment already made in the exercise system.
## Current-State Audit
| Area | Current State | Reuse Value | Forms Gap |
| --- | --- | --- | --- |
| `@cio/question-types` | Shared package for question keys, answer payloads, render contracts, serializer, form state | High | Naming is exercise-centric, but architecture is already reusable |
| `@cio/ui/custom/exercise-question` | Full renderers for `edit`, `take`, `preview`, `review`, `submission` | High | Needs forms shell, branding, page layout, respondent UX |
| Question type coverage | 12 types: radio, checkbox, textarea, true/false, short answer, numeric, fill blank, file upload, matching, ordering, hotspot, link | High | Some types are assessment-first; forms also need presentational blocks and contact fields |
| Exercise builder UI | Existing authoring flow with question reorder, media, templates, preview | Medium | Assumes course exercise editing and points/correctness |
| Submission summary UI | Already shows aggregated response charts and individual response replay | Medium | Needs forms response inbox, filters, export, respondent metadata |
| `exercise` table | Has `courseId`, `lessonId`, `sectionId`, `isUnlocked`, `dueBy` | Low | Needs standalone `form` ownership and publish lifecycle |
| `question` table | Bound to `exerciseId` only | Low | Needs form-owned question model or generalized questionnaire ownership |
| `submission` table | Has `exerciseId`, `courseId`, `submittedBy`, grading fields, feedback | Low | Needs form response model without grading assumptions |
| `question_answer` table | Stores `answerData` JSON and file-upload compatible payloads | Medium | Tied to `groupMemberId`; needs respondent abstraction |
| Course exercise routes | Course-member-only access and course-scoped RPC surface | Low | Needs public/authenticated share flows and org-level management |
| Exercise templates | Existing template metadata and questionnaire payload | Medium | Needs form template gallery and form-specific defaults |
## Data Sources Checked
- `packages/question-types/README.md`
- `packages/question-types/src/exercise-types.ts`
- `packages/question-types/src/render-contract.ts`
- `packages/question-types/src/form-state.ts`
- `packages/question-types/src/question-type-capabilities.ts`
- `packages/question-types/tests/form-and-render-contract.test.ts`
- `packages/ui/src/custom/exercise-question/question-renderer.svelte`
- `packages/ui/src/custom/exercise-question/question-list.svelte`
- `packages/ui/src/custom/exercise-question/question-form-root.svelte`
- `apps/api/src/routes/course/exercise.ts`
- `apps/api/src/routes/course/submission.ts`
- `apps/api/src/services/exercise/exercise.ts`
- `apps/api/src/services/submission/submission.ts`
- `packages/utils/src/validation/exercise/exercise.ts`
- `packages/utils/src/validation/submission/submission.ts`
- `packages/db/src/schema.ts`
- `apps/dashboard/src/lib/features/course/api/exercise.svelte.ts`
- `apps/dashboard/src/lib/features/course/components/exercise/edit-mode.svelte`
- `apps/dashboard/src/lib/features/course/components/exercise/submissions/summary.svelte`
- `apps/dashboard/src/lib/features/course/components/exercise/submissions/individual.svelte`
## Primary Users
- **School operators** collecting enrollment, consent, and intake data.
- **Teachers and tutors** collecting student feedback and course reviews.
- **Administrators** running internal requests, surveys, and registration forms.
- **Parents and students** responding through public or authenticated form flows.
## Goals
1. Launch a standalone Forms product without rebuilding the question engine from scratch.
2. Reuse the existing question type system and UI renderer stack as the shared questionnaire layer.
3. Support the highest-value school use cases first: feedback, review, enrollment, registration, and intake forms.
4. Support both internal authenticated forms and public shareable forms.
5. Ship response collection, response review, and export as first-class workflows.
6. Keep the exercise product working unchanged.
## Non-Goals (v1)
- Full Typeform-style branching at question level.
- Payments inside forms.
- Complex computed fields or spreadsheet formulas.
- Workflow automation builder for multi-step approvals.
- E-signatures with legal compliance guarantees.
- PDF-to-form conversion.
- External app integrations beyond CSV export and email notifications.
## Confirmed Product Decisions
1. Forms will be a **new top-level product**, not a hidden exercise mode inside courses.
2. The shared question engine remains the foundation for both Exercises and Forms.
3. Forms v1 will support **draft**, **published**, **closed**, and **archived** lifecycle states.
4. Forms responses are **never graded**. Points, correctness, grading state, and reviewer workflow do not belong in the forms domain.
5. Forms v1 will support **one-page** and **multi-step/page** presentation modes.
6. Public forms are required for enrollment and feedback use cases, but must include abuse protection.
7. Authenticated internal forms are also required for staff and student-only workflows.
8. File upload is supported in Forms, but public file upload must be guarded with rate limits and storage controls.
9. Existing exercise question types are reused first; new form-only block types can be added later.
10. The first implementation prioritizes reuse over perfect naming cleanup. Renaming `exercise-question` to a broader package is optional follow-up, not a blocker.
## Core Use Cases
### UC-1: Student Feedback Form
- A school admin creates a feedback form.
- Shares a link after a course/session.
- Students submit ratings, free text, and optional anonymous feedback.
- Admin reviews aggregate charts and individual comments.
### UC-2: Enrollment Form
- A school publishes an enrollment form publicly.
- Parent or student fills out personal data, preferences, and file uploads.
- Staff exports responses or reviews them inside the dashboard.
### UC-3: Internal Review Form
- A school shares a private authenticated form with teachers or staff.
- Respondents can submit once or multiple times depending on settings.
- Admin sees response metadata, completion times, and exports data.
### UC-4: Event Registration
- A team creates a registration form with attendance preferences and contact details.
- Form can close automatically at end date or after a response limit.
- Staff monitors response counts in real time.
## Functional Requirements
### FR-1: Form Lifecycle and Management
Admins can:
1. Create a new form from scratch or from a template.
2. Save a form as draft.
3. Publish a form and generate a shareable URL.
4. Close a form manually or automatically by schedule/limit.
5. Archive a form without deleting responses.
6. Duplicate an existing form.
Each form must support:
- Title
- Description
- Organization ownership
- Status: `DRAFT | PUBLISHED | CLOSED | ARCHIVED`
- Slug/share URL
- Optional start date
- Optional end date
- Optional response limit
- Optional success/thank-you message
### FR-2: Form Builder
Reuse the existing exercise question builder patterns for:
1. Add question
2. Edit question
3. Reorder questions
4. Delete questions
5. Add images and videos to questions
6. Preview form
7. Save changes
Forms-specific builder additions:
1. Mark question as required/optional.
2. Toggle anonymous collection.
3. Choose response mode:
- one page
- one question/page
4. Configure respondent fields:
- collect name
- collect email
- authenticated respondent only
- anonymous allowed
5. Configure submission rules:
- one response per respondent
- multiple responses allowed
- save and continue later (optional)
### FR-3: Sharing and Access
Forms v1 must support two access models:
1. **Public link**
- Anyone with the link can respond.
- Optional CAPTCHA / anti-bot protection.
2. **Authenticated organization form**
- User must sign in.
- Access may be limited to organization members.
Phase 2 access model:
3. **Targeted private form**
- User must sign in and be explicitly assigned or invited.
- Best fit for internal staff/student workflows.
### FR-4: Respondent Experience
Respondents can:
1. Open the form through a share link or internal dashboard link.
2. See form title, description, branding, and instructions.
3. Complete questions across supported question types.
4. Upload files when allowed.
5. Submit the form.
6. See a thank-you screen after successful submission.
Optional v1 capabilities:
- Save draft and resume later for authenticated respondents.
- Edit own response when form setting allows it.
### FR-5: Response Management
Admins can:
1. View all responses for a form.
2. Filter responses by date, completion status, and respondent metadata.
3. Open a single response and inspect answers question-by-question.
4. Export responses to CSV.
5. Delete a response when policy allows it.
6. Close the form to stop new responses while preserving existing ones.
### FR-6: Response Analytics
Reuse and extend the current submission summary patterns to provide:
1. Total responses
2. Response completion rate
3. Response trend over time
4. Per-question aggregates for structured questions
5. Individual response replay for qualitative review
Out of scope for v1:
- AI summarization of comments
- Sentiment analysis
- Cross-form benchmarking
### FR-7: Templates
Forms can be created from templates for common education use cases:
- student feedback
- course review
- enrollment
- parent intake
- event RSVP
- staff request
The existing template machinery should be reused where practical, but forms need their own template taxonomy and defaults.
## Recommended Architecture
### Principle
Reuse the question engine, not the course-bound entities.
### Why not reuse `exercise` and `submission` directly?
Because the current schema and route model are tightly coupled to:
- `courseId`
- `lessonId`
- `sectionId`
- `submittedBy -> groupmember`
- grading state
- score totals
- instructor review workflow
- course membership authorization
Trying to bend those entities into a general forms product will create permanent product and technical debt.
## Technical Design
### 1. Shared Layer to Reuse
These assets should remain shared across Exercises and Forms:
1. `@cio/question-types`
2. `@cio/ui/custom/exercise-question`
3. Answer payload serialization and codecs
4. File-upload answer payload model
5. Question renderer registry
6. Template questionnaire JSON shape
7. Submission summary chart primitives
### 2. New Domain Model
#### 2.1 New `form` table
```sql
CREATE TABLE form (
id UUID PRIMARY KEY DEFAULT gen_random_uuid(),
organization_id UUID NOT NULL REFERENCES organization(id) ON DELETE CASCADE,
title VARCHAR NOT NULL,
description TEXT,
status VARCHAR NOT NULL DEFAULT 'DRAFT',
slug VARCHAR NOT NULL,
access_mode VARCHAR NOT NULL DEFAULT 'PUBLIC',
response_mode VARCHAR NOT NULL DEFAULT 'ONE_PAGE',
collect_name BOOLEAN NOT NULL DEFAULT false,
collect_email BOOLEAN NOT NULL DEFAULT false,
allow_anonymous BOOLEAN NOT NULL DEFAULT true,
allow_multiple_responses BOOLEAN NOT NULL DEFAULT true,
allow_edit_response BOOLEAN NOT NULL DEFAULT false,
allow_save_draft BOOLEAN NOT NULL DEFAULT false,
response_limit INTEGER,
starts_at TIMESTAMPTZ,
ends_at TIMESTAMPTZ,
success_message TEXT,
settings JSONB NOT NULL DEFAULT '{}',
created_by_profile_id UUID,
created_at TIMESTAMPTZ NOT NULL DEFAULT NOW(),
updated_at TIMESTAMPTZ NOT NULL DEFAULT NOW(),
UNIQUE (organization_id, slug)
);
```
#### 2.2 Form questions and options
Recommended v1 approach:
- Create `form_question` and `form_question_option` tables mirroring the current exercise question structure.
- Keep the payload shape aligned with the shared question contracts.
- Do **not** attempt a risky generic cross-product table migration in v1.
Reason:
- It ships faster.
- It avoids destabilizing the existing exercise product.
- It still preserves maximum code reuse at the question-engine layer.
Longer-term option:
- Introduce a generalized `questionnaire`, `questionnaire_question`, and `questionnaire_response` model that both Exercises and Forms can use.
#### 2.3 New `form_response` table
```sql
CREATE TABLE form_response (
id UUID PRIMARY KEY DEFAULT gen_random_uuid(),
form_id UUID NOT NULL REFERENCES form(id) ON DELETE CASCADE,
organization_id UUID NOT NULL REFERENCES organization(id) ON DELETE CASCADE,
respondent_profile_id UUID,
respondent_email VARCHAR,
respondent_name VARCHAR,
status VARCHAR NOT NULL DEFAULT 'SUBMITTED',
source VARCHAR DEFAULT 'link',
submitted_at TIMESTAMPTZ NOT NULL DEFAULT NOW(),
started_at TIMESTAMPTZ,
completed_at TIMESTAMPTZ,
metadata JSONB NOT NULL DEFAULT '{}'
);
```
#### 2.4 New `form_response_answer` table
```sql
CREATE TABLE form_response_answer (
id BIGSERIAL PRIMARY KEY,
form_response_id UUID NOT NULL REFERENCES form_response(id) ON DELETE CASCADE,
form_question_id BIGINT NOT NULL REFERENCES form_question(id) ON DELETE CASCADE,
answer_data JSONB,
created_at TIMESTAMPTZ NOT NULL DEFAULT NOW()
);
```
### 3. API Surface
New org-level routes should be introduced rather than extending course exercise routes:
- `GET /organization/:orgId/forms`
- `POST /organization/:orgId/forms`
- `GET /organization/:orgId/forms/:formId`
- `PUT /organization/:orgId/forms/:formId`
- `POST /organization/:orgId/forms/:formId/publish`
- `POST /organization/:orgId/forms/:formId/close`
- `GET /organization/:orgId/forms/:formId/responses`
- `GET /organization/:orgId/forms/:formId/responses/:responseId`
- `GET /forms/:slug`
- `POST /forms/:slug/respond`
Optional authenticated draft routes:
- `POST /forms/:slug/draft`
- `PUT /forms/:slug/draft/:draftId`
### 4. Dashboard Experience
#### 4.1 Admin UI
New dashboard areas:
1. Forms list page
2. Form builder page
3. Form response inbox
4. Form analytics page
5. Form settings/share page
#### 4.2 Respondent UI
New public/internal form runner:
1. Load form by slug or secure token
2. Render via shared question components in `take` mode
3. Submit to forms response endpoint
4. Show thank-you state
### 5. Security and Abuse Controls
Public forms introduce risks the exercise system does not currently have.
Forms v1 must include:
1. Rate limiting on public submit endpoints.
2. Bot protection on public forms.
3. File upload limits by size/type/count.
4. Optional authenticated-only setting.
5. Slug collision prevention.
6. Safe export permissions restricted to authorized org users.
### 6. Reporting and Export
CSV export must include:
- response id
- submitted at
- respondent metadata
- one column per question
- file upload URLs or file identifiers
The dashboard must also support:
- total responses
- incomplete vs submitted
- per-question breakdown
- individual response view
## Migration and Reuse Strategy
### Phase 0: Shared Abstractions Cleanup
Low-risk cleanup before or during build:
1. Confirm shared packages remain exercise-agnostic in behavior.
2. Remove assumptions that all respondents are students.
3. Allow shared labels to accept forms-specific copy.
4. Extract any builder logic that currently depends on course page state.
### Phase 1: Forms MVP
Ship:
1. Form CRUD
2. Draft/publish/close lifecycle
3. Public and authenticated forms
4. Shared question renderer reuse
5. Response collection
6. Response inbox
7. CSV export
8. Basic analytics
### Phase 2: Education Workflow Expansion
Add:
1. Templates for common school forms
2. Save-and-resume drafts
3. Edit submitted response
4. Section/page builder
5. Invite-only forms
6. Better branding and embed support
### Phase 3: Advanced Forms
Add:
1. Conditional logic
2. Hidden fields and prefill
3. Webhooks/integrations
4. AI summaries
5. Approval workflows
## Delivery Estimate
### Team Assumption
- 2 full-stack engineers
- 1 product designer shared part-time
- QA support during stabilization
### Rough Timeline
1. **Foundation and schema**: 1-2 weeks
2. **Builder and shared renderer integration**: 2-3 weeks
3. **Public/internal form runner and submission flow**: 2 weeks
4. **Response inbox, analytics, export**: 2 weeks
5. **Polish, abuse controls, QA, rollout**: 1-2 weeks
### Total
- **8-11 weeks** for a strong MVP
- **12-16 weeks** if v1 also includes save/resume, response editing, sections, and invite-only targeting
## Key Risks
1. **Direct schema reuse temptation**
- Reusing `exercise` and `submission` directly will look faster initially but create major long-term coupling and UX compromises.
2. **Public file upload abuse**
- This needs careful limits and monitoring from day one.
3. **Shared package naming drift**
- The code can stay shared even if names remain exercise-centric for now, but this will become awkward if Forms grows quickly.
4. **Builder assumptions**
- Some existing builder state is currently tied to course/exercise pages and will need extraction.
5. **Reporting expectations**
- Users comparing the product to Google Forms or Typeform will expect polished analytics and exports even in early versions.
## Open Questions
1. Should public forms support anonymous file uploads in v1, or should file upload require authentication first?
2. Do schools need one-response-per-email enforcement for public forms?
3. Should forms live only under organizations, or also under public site/subdomain contexts?
4. Is section/page support mandatory for MVP, or acceptable in phase 2?
5. Do we need respondent notification emails on submit in v1?
6. Do we need staff assignment/routing after submission, or is inbox + export enough for MVP?
## Success Metrics
1. At least 3 high-value school workflows can be completed without abusing exercises as forms.
2. Form creation to publish time is under 10 minutes for common templates.
3. Public form submission success rate stays above 98%.
4. At least 70% of question rendering code is shared with the exercise product.
5. Zero regressions in exercise creation, submission, and grading flows.
## Bottom Line
It is realistic to build a strong Forms product on top of the current exercise implementation, but only if the reuse happens at the **question engine layer**, not by forcing form workflows into the existing course exercise and grading model.
The existing investment already removed the hardest part, which is rich question rendering and answer modeling. What remains is the product work that makes something feel like Google Forms or Typeform: publishing, sharing, respondent identity, response management, analytics, and public-safe submission infrastructure.
+162
View File
@@ -0,0 +1,162 @@
# Forms Product Implementation Plan
## Scope Lock
1. Forms is a new top-level product domain and must not be implemented by repurposing course exercise routes or submission entities directly.
2. Shared question rendering and answer modeling must be reused from `@cio/question-types` and `@cio/ui/custom/exercise-question`.
3. Exercise behavior must remain backward compatible throughout delivery.
4. MVP includes public forms and authenticated organization forms.
5. Invite-only / explicitly targeted forms are phase 2, not MVP.
6. MVP includes draft, published, closed, and archived lifecycle states.
7. MVP includes response inbox, per-question aggregates, and CSV export.
8. MVP excludes grading, points, reviewer workflow, and correctness semantics.
9. MVP may ship with form-specific question tables rather than a generalized cross-product questionnaire schema.
10. Public forms must ship with abuse controls before general rollout.
## Delivery Phases
1. Phase A: Shared foundations and schema.
2. Phase B: API validation, services, and public/internal response flow.
3. Phase C: Dashboard builder and management UI.
4. Phase D: Response inbox, analytics, and export.
5. Phase E: Hardening, abuse controls, rollout, and follow-up platform extraction.
## Ticket Breakdown
| ID | Phase | Area | Task | Key Files | Depends On | Done When |
| --- | --- | --- | --- | --- | --- | --- |
| FORM-A1 | A | Shared Contracts | Audit `@cio/question-types` and `@cio/ui/custom/exercise-question` for exercise-only assumptions and document the locked reusable surface | `packages/question-types/*`, `packages/ui/src/custom/exercise-question/*`, `prd/forms-product/README.md` | None | Reuse boundaries are explicit and no hidden coupling remains undiscovered |
| FORM-A2 | A | Shared Labels | Extend shared render contracts so host apps can inject forms-specific labels and submit copy without introducing hardcoded strings | `packages/question-types/src/exercise-types.ts`, `packages/question-types/src/render-contract.ts`, `packages/question-types/src/index.ts` | FORM-A1 | Forms runner can use shared components with product-appropriate copy |
| FORM-A3 | A | DB Schema | Add `form` table with lifecycle, access, response settings, timing, slug, and org ownership | `packages/db/src/schema.ts` | None | Schema compiles and form entity supports draft/publish/close flows |
| FORM-A4 | A | DB Schema | Add `formQuestion` and `formQuestionOption` tables aligned to shared question contracts | `packages/db/src/schema.ts` | FORM-A3 | Form questions/options persist independently of exercises |
| FORM-A5 | A | DB Schema | Add `formResponse` and `formResponseAnswer` tables for respondent identity and answer storage | `packages/db/src/schema.ts` | FORM-A3, FORM-A4 | Responses can be stored without grading or groupmember coupling |
| FORM-A6 | A | DB Relations/Types | Add DB relations and exported inferred types for forms entities | `packages/db/src/relations.ts`, `packages/db/src/types.ts` | FORM-A3, FORM-A4, FORM-A5 | Query layer can consume typed forms entities cleanly |
| FORM-A7 | A | DB Migration | Generate migration SQL and metadata for all new forms tables and constraints | `packages/db/src/migrations/*` | FORM-A3, FORM-A4, FORM-A5 | Migration applies cleanly against local DB |
| FORM-A8 | A | Validation | Add form CRUD schemas, publish/close schemas, public response schemas, and response query schemas | `packages/utils/src/validation/form/form.ts`, `packages/utils/src/validation/form/index.ts` | FORM-A3, FORM-A4, FORM-A5 | API can validate form authoring and response payloads consistently |
| FORM-A9 | A | Query Layer | Add CRUD queries for forms, form questions/options, and response storage/read paths | `packages/db/src/queries/form/*` | FORM-A6 | Query layer supports form create/read/update/publish/respond flows |
| FORM-B1 | B | API Errors | Add forms-specific error codes for unavailable form, closed form, invalid responder, response limit reached, and duplicate response | `apps/api/src/utils/errors.ts` | None | Forms routes can return precise failure codes |
| FORM-B2 | B | API Service | Add org-side forms service for create, get, list, update, duplicate, archive, publish, and close | `apps/api/src/services/form/form.ts`, `apps/api/src/services/form/index.ts` | FORM-A8, FORM-A9 | Admin lifecycle actions work through a single service layer |
| FORM-B3 | B | API Service | Add public/internal form runner service to resolve form by slug and compute access rules | `apps/api/src/services/form/runner.ts` | FORM-A8, FORM-A9 | Public and authenticated forms load through one normalized response model |
| FORM-B4 | B | API Service | Add response submission service with typed answer serialization using shared question contracts | `apps/api/src/services/form/response.ts` | FORM-A8, FORM-A9 | Shared renderer payloads can be submitted and persisted end-to-end |
| FORM-B5 | B | API Service | Implement one-response-per-user/email and response-limit enforcement | `apps/api/src/services/form/response.ts` | FORM-B4 | Duplicate/over-limit submissions are blocked server-side |
| FORM-B6 | B | API Service | Add authenticated draft save/resume support only if retained in MVP; otherwise defer and mark explicitly | `apps/api/src/services/form/response.ts`, `apps/api/src/services/form/runner.ts` | FORM-B4 | Scope decision is resolved and API shape is stable |
| FORM-B7 | B | API Routes | Add organization management routes for forms CRUD and lifecycle actions | `apps/api/src/routes/organization/form.ts`, route exports, `apps/api/src/app.ts` | FORM-B2 | Org admins can manage forms over typed RPC routes |
| FORM-B8 | B | API Routes | Add public routes for `GET /forms/:slug` and `POST /forms/:slug/respond` | `apps/api/src/routes/public/form.ts`, `apps/api/src/app.ts` | FORM-B3, FORM-B4, FORM-B5 | Public runner is reachable without course context |
| FORM-B9 | B | API Routes | Add org response routes for list/detail/export preparation | `apps/api/src/routes/organization/form.ts` | FORM-B2, FORM-B4 | Dashboard can load responses and analytics data |
| FORM-B10 | B | File Upload | Reuse upload answer payload model for forms file upload and add size/type restrictions by access mode | `apps/api/src/services/form/response.ts`, shared upload helpers, form routes | FORM-B4 | File-upload questions work safely for forms |
| FORM-C1 | C | Dashboard Types | Add forms feature request/response types inferred from API contracts | `apps/dashboard/src/lib/features/forms/utils/types.ts` | FORM-B7, FORM-B8, FORM-B9 | Dashboard code uses inferred API types only |
| FORM-C2 | C | Dashboard API | Add forms API classes for management, runner, and responses | `apps/dashboard/src/lib/features/forms/api/*.svelte.ts`, `.server.ts` where needed | FORM-C1 | Components can call form APIs through feature-local classes |
| FORM-C3 | C | Navigation | Add forms entry point and routing in dashboard navigation | `apps/dashboard/src/lib/features/ui/navigation/*`, new routes under `apps/dashboard/src/routes/forms/*` | FORM-C2 | Admin can discover and enter forms product from dashboard |
| FORM-C4 | C | Builder State | Create forms builder store/state using shared question contracts without course/exercise dependencies | `apps/dashboard/src/lib/features/forms/store/*`, util files | FORM-C2 | Builder state supports question add/edit/reorder/preview |
| FORM-C5 | C | Builder UI | Build forms editor page reusing shared question renderer/edit mode patterns | `apps/dashboard/src/lib/features/forms/components/builder/*`, routes | FORM-C4 | Admin can author a form end-to-end |
| FORM-C6 | C | Settings UI | Build form settings panel for lifecycle, access mode, identity collection, limits, and success screen copy | `apps/dashboard/src/lib/features/forms/components/settings/*` | FORM-C5 | Admin can configure MVP settings without raw JSON |
| FORM-C7 | C | Public Runner UI | Build form runner page for public and authenticated response flows using shared question renderer in `take` mode | `apps/dashboard/src/routes/forms/respond/[slug]/+page.svelte` or public site equivalent, feature components | FORM-C2, FORM-B8 | Respondents can complete and submit forms |
| FORM-C8 | C | Preview UI | Add builder preview mode matching shared runner behavior | `apps/dashboard/src/lib/features/forms/components/preview/*` | FORM-C5, FORM-C7 | Admin preview matches live runner closely |
| FORM-C9 | C | Templates UI | Add starter templates for feedback, review, enrollment, intake, RSVP, and staff request | `apps/dashboard/src/lib/features/forms/components/templates/*`, template seed/query source as needed | FORM-C5 | Admin can create common forms quickly |
| FORM-C10 | C | Translations | Add forms translation keys and remove hardcoded UI copy from forms feature | `apps/dashboard/src/lib/utils/translations/en.json` and peer locales as needed | FORM-C5, FORM-C6, FORM-C7 | Forms UI follows translation conventions |
| FORM-D1 | D | Response Inbox | Build responses list with filters, counts, completion metadata, and detail drill-in | `apps/dashboard/src/lib/features/forms/components/responses/*`, routes | FORM-B9, FORM-C2 | Admin can inspect submissions without export |
| FORM-D2 | D | Response Detail | Build single-response review view using shared question replay patterns | `apps/dashboard/src/lib/features/forms/components/responses/response-detail.svelte` | FORM-D1 | Admin can inspect each answer question-by-question |
| FORM-D3 | D | Analytics | Build per-question aggregate analytics using submission summary/chart patterns already used in exercises | `apps/dashboard/src/lib/features/forms/components/analytics/*` | FORM-D1 | Admin can see distribution charts and basic trends |
| FORM-D4 | D | Export | Implement CSV export service and dashboard trigger | `apps/api/src/services/form/export.ts`, form routes, dashboard responses UI | FORM-B9, FORM-D1 | Export produces one row per response with respondent metadata and question columns |
| FORM-D5 | D | Permissions | Ensure only authorized org users can view responses and exports | forms services/routes, auth middleware wiring | FORM-B7, FORM-B9 | Response data is not exposed to unauthorized users |
| FORM-E1 | E | Abuse Controls | Add rate limiting and bot protection for public response endpoints | public form routes, middleware/config | FORM-B8 | Public forms are protected against basic spam/abuse |
| FORM-E2 | E | Monitoring | Add logging and monitoring hooks for submit failures, file-upload abuse, and export usage | forms services/routes | FORM-B8, FORM-D4, FORM-E1 | Operational visibility exists before rollout |
| FORM-E3 | E | QA/Tests | Add validation, query, API, and dashboard tests for form create/publish/respond/export flows | tests across `packages/utils`, `packages/db`, `apps/api`, `apps/dashboard` | FORM-D4 | Core flows have regression coverage |
| FORM-E4 | E | Rollout | Add feature flag, rollout checklist, and production enablement notes | forms config/docs, PRD references | FORM-E1, FORM-E2, FORM-E3 | Safe staged rollout is documented and executable |
| FORM-E5 | E | Follow-up Platforming | Evaluate whether to generalize forms/exercises into a shared questionnaire persistence layer after MVP stability | follow-up PRD/docs | FORM-E4 | Decision is made with real usage data instead of pre-optimizing |
## Route Targets
### Organization Management Routes
1. `GET /organization/:orgId/forms`
2. `POST /organization/:orgId/forms`
3. `GET /organization/:orgId/forms/:formId`
4. `PUT /organization/:orgId/forms/:formId`
5. `POST /organization/:orgId/forms/:formId/publish`
6. `POST /organization/:orgId/forms/:formId/close`
7. `GET /organization/:orgId/forms/:formId/responses`
8. `GET /organization/:orgId/forms/:formId/responses/:responseId`
9. `GET /organization/:orgId/forms/:formId/export`
### Public / Runner Routes
1. `GET /forms/:slug`
2. `POST /forms/:slug/respond`
### Optional Authenticated Draft Routes
Only if MVP keeps save/resume:
1. `POST /forms/:slug/draft`
2. `PUT /forms/:slug/draft/:draftId`
## Acceptance Criteria by Phase
### Phase A
1. New forms schema exists without altering exercise semantics.
2. Shared question/render contracts are usable by forms without hardcoded exercise wording.
3. Query layer can create and read forms, questions, and responses independently from courses.
4. Build passes for `@cio/db`, `@cio/utils`, and `@cio/question-types`.
### Phase B
1. Org admins can create, update, publish, close, and fetch forms through API routes.
2. Public and authenticated forms can be loaded by slug without course membership.
3. Response submission persists typed answers and enforces lifecycle and limit rules.
4. File upload questions work with safe restrictions.
### Phase C
1. Dashboard has a discoverable Forms area.
2. Admin can author a form, configure settings, preview it, and publish it.
3. Respondent-facing runner works for public and authenticated forms.
4. No hardcoded user-facing copy is introduced in dashboard forms UI.
### Phase D
1. Admin can list responses, open a single response, and inspect answers.
2. Admin can see basic aggregate analytics for supported structured question types.
3. CSV export includes response metadata and one column per question.
### Phase E
1. Public endpoints have rate limiting and bot mitigation.
2. Submit, export, and failure paths are monitored.
3. Automated tests cover create/publish/respond/export paths.
4. Rollout can be staged safely behind a feature flag.
## Verification Commands
1. `pnpm --filter @cio/question-types build`
2. `pnpm --filter @cio/db build`
3. `pnpm --filter @cio/utils build`
4. `pnpm --filter @cio/api build`
5. `pnpm --filter @cio/dashboard build`
6. Run targeted tests for forms validation, API routes, and dashboard feature flows.
## Suggested First Sprint Slice
1. `FORM-A1` to `FORM-A9`
2. `FORM-B1` to `FORM-B5`
3. `FORM-B7`, `FORM-B8`
4. `FORM-C1`, `FORM-C2`
This gets the core platform decision made early, lands the schema/query/API foundation, and proves the highest-risk assumption: that the shared question engine can power a new standalone product without breaking exercises.
## Suggested Second Sprint Slice
1. `FORM-C3` to `FORM-C8`
2. `FORM-D1`, `FORM-D2`
3. `FORM-E1`
This delivers an MVP loop: create form, publish form, submit response, inspect response, and keep public endpoints safe enough for controlled rollout.
## Post-MVP Follow-Up Candidates
1. Invite-only / explicitly targeted forms.
2. Save and resume drafts if not shipped in MVP.
3. Edit submitted response.
4. Multi-section/page builder if one-page MVP ships first.
5. Shared questionnaire persistence model for exercises and forms.
+671
View File
@@ -0,0 +1,671 @@
# Self-Paced IELTS Preparation Platform PRD
## Status
- Draft
## Date
- March 20, 2026
## Purpose
Define the product requirements needed for ClassroomIO to support a serious self-paced IELTS preparation experience that can realistically help learners improve enough to pass the exam and reach target band scores.
---
## 1. Executive Summary
### The Problem
Most online IELTS products fail in one of two ways:
- They provide content without enough exam-like practice.
- They provide practice without enough feedback to explain why learners are stuck.
For a self-paced IELTS course to work, the platform must do more than host lessons. It must support:
- exam-version selection between `Academic` and `General Training`
- timed practice across all four papers
- feedback aligned to official IELTS scoring criteria
- progress tracking by skill, question type, and score blocker
- deliberate practice loops that turn mistakes into improvement
Without these features, learners may complete many lessons and still remain underprepared for the actual test.
### Product Vision
ClassroomIO becomes a serious IELTS preparation platform where a learner can:
1. Diagnose their current level
2. Follow a structured study path
3. Practise each paper under realistic conditions
4. Receive useful feedback and performance analytics
5. Build enough consistency to reach a target band in a fully self-paced format
### Product Outcome
The platform should be capable of supporting a complete self-paced IELTS program, including:
- study content
- drills
- scored exercises
- mock tests
- skill analytics
- Writing and Speaking feedback workflows
- adaptive study planning
---
## 2. Background and Context
IELTS is not only a language test. It is a performance test with fixed task types, strict timing, and band-based scoring. A learner may have decent English and still underperform because of:
- poor task understanding
- weak timing control
- weak familiarity with question types
- poor Writing structure
- weak Speaking development
- lack of accurate review after practice
Official IELTS preparation resources emphasize:
- test format familiarity
- sample questions
- writing scoring criteria
- speaking band descriptors
- realistic trial-test experience
This means a self-paced platform must not be built like a generic course catalog. It must be built like a guided test-preparation system.
### Official Reference Alignment
This PRD is aligned with official IELTS preparation and format resources checked on March 20, 2026:
- IELTS test types and format
- sample test resources
- writing preparation resources
- speaking band descriptors
Sources:
- https://ielts.org/en-us/for-test-takers/how-to-prepare
- https://ielts.org/take-a-test/preparation-resources/sample-test-questions/general-training-test
- https://ielts.org/take-a-test/preparation-resources/writing-test-resources
- https://ielts.org/cdn/ielts-guides/ielts-speaking-band-descriptors.pdf
---
## 3. Goals and Non-Goals
### Goals
- Support a full self-paced IELTS preparation journey for `Academic` and `General Training`.
- Enable learners to practise every major IELTS task type in a platform-native way.
- Provide enough structured feedback for learners to understand why they are losing marks.
- Support full mock-test experiences with meaningful review.
- Track learner progress by band target, skill, question type, and recurring weakness.
- Make the platform usable for both first-time candidates and resit candidates.
### Non-Goals
- Replacing the official IELTS exam registration flow
- Delivering official IELTS scores
- Supporting unrelated English certifications in v1
- Building a live tutoring marketplace in v1
- Building a full proctoring system in v1
---
## 4. Target Users
### Primary Users
- IELTS candidates preparing independently
- Resit candidates who missed their target band previously
- Learners targeting immigration, university admission, or professional registration
### Secondary Users
- IELTS teachers authoring prep courses
- Course admins managing mock tests, exercise banks, and learner analytics
### Key Learner Segments
| Segment | Need |
|---------|------|
| First-time learner | Needs structure, exam understanding, and guided practice |
| Resit candidate | Needs diagnosis, score-blocker analysis, and targeted repair |
| Academic candidate | Needs stronger support for academic Reading and Writing Task 1 visuals |
| General Training candidate | Needs stronger support for practical Reading and letter writing |
| Band 5.5 to 6.5 learner | Needs controlled improvement, stronger basics, and repeated routines |
| Band 6.5 to 7.5 learner | Needs consistency, tighter accuracy, and high-quality feedback |
---
## 5. Core Jobs To Be Done
### Learner Jobs
- Help me choose the correct IELTS version and understand the format.
- Help me know my current level honestly.
- Help me focus on the mistakes that are actually keeping my band low.
- Let me practise in a way that feels close to the real exam.
- Show me exactly why my answers are wrong.
- Help me improve Writing and Speaking, not just objective questions.
- Give me a realistic study plan based on my target score and exam date.
### Teacher/Admin Jobs
- Create structured IELTS learning paths.
- Add drills, scored exercises, and mock tests throughout the course.
- Review Writing and Speaking performance if human feedback is enabled.
- Track student performance at paper level and skill level.
---
## 6. Product Principles
- Practice must be exam-aligned, not generic.
- Feedback must explain failure, not just announce it.
- Timed performance matters as much as content coverage.
- Self-paced does not mean unguided.
- Weakness-driven learning is more important than content volume.
- Writing and Speaking need explicit support, not token placeholders.
---
## 7. Functional Requirements
## 7.1 Learner Onboarding and Target Setup
### Purpose
Start each learner with the correct test version, target band, and study path.
### Requirements
- Learner selects `Academic` or `General Training`
- Learner enters:
- target overall band
- minimum section bands if required
- planned exam date
- prior IELTS history
- confidence by skill
- Platform runs or recommends a diagnostic assessment
- Platform creates an initial learner profile:
- strongest paper
- weakest paper
- likely score blocker
- recommended study path
### Why It Matters
IELTS prep fails when all learners receive the same sequence regardless of target, timeline, and weakness.
---
## 7.2 Course Structure and Learning Path
### Purpose
Support a full IELTS curriculum as a structured self-paced journey.
### Requirements
- Courses support modular sections such as:
- exam foundations
- Listening
- Reading
- Writing Task 1
- Writing Task 2
- Speaking
- mock tests
- review workshops
- Courses support branching or filtered paths for:
- Academic-only lessons
- General Training-only lessons
- Lessons support:
- notes
- downloadable materials
- embedded media
- linked exercises
- recommended study sequence
### Why It Matters
IELTS learners need both structured progression and version-specific content where the exam differs.
---
## 7.3 Exercise Engine
### Purpose
Support platform-native practice activities instead of relying only on lesson notes.
### Requirements
- Exercises can be attached to lessons or sections
- Exercise question types must support at minimum:
- `RADIO`
- `CHECKBOX`
- `TRUE_FALSE`
- `SHORT_ANSWER`
- `TEXTAREA`
- `FILL_BLANK`
- `MATCHING`
- `ORDERING`
- Exercises support:
- question-level points
- answer explanations
- pass/fail thresholds
- attempt tracking
- unlocked/locked status
- Exercises support lesson-level usage patterns such as:
- quick check
- skill drill
- end-of-lesson quiz
- section review
### IELTS-Specific Requirement
The exercise layer must support explicit practice for:
- Listening form completion
- Listening note completion
- Listening multiple choice
- Listening maps and plans
- Reading True/False/Not Given
- Reading Yes/No/Not Given
- Reading matching headings
- Reading matching information
- Reading summary completion
- Reading sentence completion
- vocabulary and paraphrase drills
- grammar correction drills
### Why It Matters
Learners need repeated, interactive practice on recurring IELTS task types, not only prose explanations.
---
## 7.4 Timed Practice Engine
### Purpose
Recreate the pressure and pacing of IELTS.
### Requirements
- Timer support at:
- exercise level
- lesson review level
- paper level
- full mock-test level
- Support timed sets for:
- Listening sections
- Reading passages
- Writing Task 1
- Writing Task 2
- full Writing paper
- Speaking simulation prompts
- Support auto-submit or time expiry handling
- Preserve attempt metadata:
- start time
- end time
- time spent
- paused state if allowed
### Why It Matters
Many learners know the material but collapse under timing pressure.
---
## 7.5 Listening Practice Experience
### Purpose
Deliver IELTS-style Listening in a realistic way.
### Requirements
- Audio playback support for Listening sections
- Audio should be restricted to the intended attempt flow for exam simulation mode
- Question order must match recording order
- Support answer entry formats such as:
- one word only
- no more than two words
- numbers
- names
- Post-submission review must show:
- correct answer
- transcript or relevant transcript segment
- explanation of distractor or missed signal
### Advanced Requirements
- Track spelling errors separately from comprehension errors
- Track distractor-driven mistakes
- Track performance by Listening question type
---
## 7.6 Reading Practice Experience
### Purpose
Support IELTS Reading with enough fidelity to train strategy and accuracy.
### Requirements
- Reading passages support:
- section title
- passage body
- question groups
- question-type labels
- Support Academic and General Training passage banks separately
- Question groups support major IELTS Reading patterns
- Post-submission review must show:
- correct answer
- evidence location or explanation
- likely error reason
### Advanced Requirements
- Passage annotation or highlighting in review mode
- Track performance by question type
- Track time per passage or question group
---
## 7.7 Writing Practice and Evaluation
### Purpose
Support meaningful Writing improvement instead of only collecting essays.
### Requirements
- Writing tasks must support:
- Academic Task 1
- General Training Task 1
- Task 2 essays
- Writing editor must support:
- timer
- word count
- draft autosave
- prompt display
- planning notes area or planning guidance
- Feedback must map to official Writing criteria:
- `Task Achievement/Task Response`
- `Coherence and Cohesion`
- `Lexical Resource`
- `Grammatical Range and Accuracy`
- Support both:
- AI-assisted feedback
- human-reviewed feedback when enabled
### Additional Requirements
- Model answers at different quality levels or band levels
- rewrite workflow after feedback
- self-assessment checklist before submission
- recurring grammar error tracking
### Why It Matters
Writing is one of the most common score blockers and cannot be solved by multiple-choice practice.
---
## 7.8 Speaking Practice and Evaluation
### Purpose
Support realistic Speaking preparation in a self-paced format.
### Requirements
- Speaking tasks must support:
- Part 1 short-answer prompts
- Part 2 cue cards
- Part 3 follow-up prompts
- Part 2 must support a one-minute preparation stage
- Learner can record responses
- Learner can replay their own recordings
- Feedback must map to official Speaking criteria:
- `Fluency and Coherence`
- `Lexical Resource`
- `Grammatical Range and Accuracy`
- `Pronunciation`
### Additional Requirements
- prompt banks by common IELTS topic families
- follow-up question generation or curated prompt trees
- repair-strategy training for hesitation and reformulation
- pronunciation notes or clarity-focused feedback
### Why It Matters
Speaking in a self-paced system requires structured prompt handling and performance review, not only reading sample answers.
---
## 7.9 Full Mock Tests
### Purpose
Give learners a realistic test rehearsal and readiness signal.
### Requirements
- Full mock tests support:
- Listening
- Reading
- Writing
- Speaking simulation
- Mock tests can be taken as:
- full exam flow
- paper-only mode
- section-only mode
- Result screen must show:
- overall performance summary
- paper-by-paper breakdown
- question-type breakdown
- Writing and Speaking feedback if available
- recommended next actions
### Why It Matters
Mock tests are where learners discover whether their training holds under pressure.
---
## 7.10 Review, Error Log, and Weakness Tracking
### Purpose
Turn practice into improvement.
### Requirements
- Every attempt should generate review data
- Platform should track recurring mistakes by:
- skill
- paper
- question type
- rubric criterion
- grammar pattern
- vocabulary weakness
- Learner should have a personal error log
- Platform should recommend targeted next practice from error patterns
### Example Error Categories
- distractor trap
- poor paraphrase recognition
- timing issue
- spelling issue
- off-task writing
- weak paragraph development
- unclear speaking expansion
### Why It Matters
Without structured review, learners repeat the same mistakes and only gain false confidence.
---
## 7.11 Study Planning and Adaptive Prep
### Purpose
Help learners stay on a realistic path to their band goal.
### Requirements
- Learner can choose a prep timeline such as:
- `4 weeks`
- `8 weeks`
- `12 weeks`
- Platform recommends weekly workload based on:
- target band
- current level
- exam date
- weak papers
- Plan updates based on performance
- Study planner should include:
- drills
- full practice
- review blocks
- mock tests
- recovery days or lighter review days
---
## 7.12 Progress Analytics
### Purpose
Give learners and course admins meaningful visibility into readiness.
### Learner Analytics
- current estimated level
- trend by paper
- trend by question type
- Writing criterion history
- Speaking criterion history
- error-log trends
- study consistency metrics
### Admin Analytics
- completion rates
- exercise difficulty
- common failure patterns across learners
- most-failed question types
- most-used and least-used practice assets
### Why It Matters
A serious prep platform must show whether learners are actually getting closer to target.
---
## 7.13 Content Authoring for IELTS Instructors
### Purpose
Make it practical to build and maintain high-quality IELTS prep content.
### Requirements
- Create lesson-linked exercises without manual database work
- Tag exercises by:
- paper
- test version
- question type
- band range
- topic
- skill focus
- Create mock-test bundles from existing question banks
- Add model answers and explanation blocks
- Reuse exercise templates across courses
### Why It Matters
The IELTS domain depends heavily on repeatable task patterns. Good author tooling reduces friction and improves consistency.
---
## 8. User Flows
## 8.1 Learner First-Run Flow
1. Learner enrolls in IELTS prep course
2. Learner selects `Academic` or `General Training`
3. Learner enters target band and exam date
4. Platform runs diagnostic or assigns diagnostic set
5. Platform generates study path and first-week plan
## 8.2 Lesson-to-Practice Flow
1. Learner studies lesson note
2. Learner completes attached exercise
3. Learner receives immediate results
4. Platform logs mistakes
5. Platform recommends next drill or review task
## 8.3 Writing Improvement Flow
1. Learner attempts timed writing task
2. Platform scores or annotates response
3. Learner reviews criterion-level feedback
4. Learner rewrites one paragraph or full task
5. Platform tracks revision quality over time
## 8.4 Mock-Test Flow
1. Learner starts full mock
2. Learner completes papers under timing rules
3. Platform returns score and breakdown
4. Platform highlights weakest score blockers
5. Learner receives targeted follow-up plan
---
## 9. MVP Scope
### Must Have
- learner onboarding with target-band setup
- Academic vs General Training branching
- lesson-linked exercises
- timed Listening and Reading practice
- timed Writing task submissions
- Speaking prompt and recording support
- full mock-test capability
- criterion-based Writing and Speaking feedback
- learner error log
- progress dashboard
### Should Have
- model answers by band range
- adaptive study plans
- exercise tagging by question type and band level
- attempt-level analytics for admins
### Later
- richer Speaking AI feedback
- automated prompt generation
- peer review workflows
- mobile-native speaking rehearsal features
---
## 10. Success Metrics
### Learner Success Metrics
- % of learners completing diagnostic within first 3 days
- % of active learners completing at least one full mock test
- % of learners with measurable improvement across 4 weeks
- Writing resubmission rate after feedback
- Speaking practice completion rate
### Product Success Metrics
- average weekly practice attempts per active IELTS learner
- mock-test completion rate
- review completion rate after wrong answers
- exercise completion rate by question type
- retention from onboarding to first mock test
### Outcome Metrics
- self-reported learner confidence increase
- % of learners reporting target-band attainment
- % of resit learners reporting improvement from prior attempt
---
## 11. Risks and Failure Modes
- Too much passive content, not enough active practice
- Weak Writing and Speaking feedback quality
- Poor exam realism in timed flows
- Lack of separation between Academic and General Training content
- Generic analytics that do not show score blockers
- Exercise banks that are large but poorly tagged
- Publish path that creates lessons but omits exercises
---
## 12. Technical/Product Notes for ClassroomIO
### Current Platform Implications
- Lesson notes alone are not enough for IELTS prep.
- Exercise support is essential at the course-content level.
- Course authoring must make it easy to attach real exercises to lessons and sections.
- Draft publishing should eventually support course exercises directly if course generation is intended to be complete at publish time.
### Immediate Product Gaps to Close
- robust IELTS exercise library support
- mock-test packaging and scheduling
- Writing and Speaking scoring workflows
- richer learner analytics tied to band improvement
---
## 13. Open Questions
- Should Writing feedback be AI-only, human-only, or hybrid by pricing tier?
- Should Speaking practice support audio only in v1, or audio plus transcript plus scoring?
- Should mock tests be locked by schedule or always open?
- Should estimated band prediction be shown directly to learners, or only criterion-level trends?
- Should draft publishing create exercises automatically as part of full AI-authored course generation?
---
## 14. Recommendation
The platform should treat IELTS as a practice-and-feedback product, not a content-delivery product. The strongest investment areas are:
- real exercises
- timed practice
- Writing and Speaking feedback
- mock tests
- weakness-driven analytics
If these areas are implemented well, ClassroomIO can support a self-paced IELTS course that is materially more useful than a traditional LMS course with notes and quizzes.