Skip to content

CLIENT: Cohorts Page - Teacher view – add cohort #14

@RoderickLei

Description

@RoderickLei

Problem Description

As a teacher, I want to create a new cohort so that I can organize students into it.

Required Changes

  • Add a button to add cohorts to the cohorts page.
  • Implement input for entering cohort id.
  • call API on submit to create cohort and refresh the cohort list.

Goal

Enable teachers to create cohorts from the interface.

Acceptance Criteria

  • “Add cohort” button visible above cohort list.
  • Clicking button opens input.
  • Submitting form creates a new cohort through API.
  • New cohort appears in list without needing page reload.
  • Error handling for invalid input or backend errors.

Dependencies

Backend: Endpoint for creating cohorts must exist.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

Status

Done

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions