Skip to content

Strikes removed from api/cohorts and cohorts page on client#291

Merged
MBreathe merged 1 commit intoHackYourFuture:mainfrom
MBreathe:feature/remove-strikes-col
Feb 2, 2026
Merged

Strikes removed from api/cohorts and cohorts page on client#291
MBreathe merged 1 commit intoHackYourFuture:mainfrom
MBreathe:feature/remove-strikes-col

Conversation

@MBreathe
Copy link
Contributor

@MBreathe MBreathe commented Feb 2, 2026

This pull request removes the "strikes" field from the trainee summary in both the backend and frontend, as well as from the API specification. The change streamlines the trainee data model and updates the UI to reflect this removal.

Backend/API changes:

  • Removed the strikes property from the TraineeSummary interface and from the response object construction in CohortsController.
  • Deleted the strikes field from the API response schema in api.yaml.

Frontend/UI changes:

  • Removed the "Strikes" column from the cohort trainees table header and from each trainee's row in CohortAccordion.tsx.

… removed strikes from cohorts page in client, ran npm audit fix on server
@MBreathe MBreathe self-assigned this Feb 2, 2026
@MBreathe MBreathe added the documentation Improvements or additions to documentation label Feb 2, 2026
Copilot AI review requested due to automatic review settings February 2, 2026 11:59
@MBreathe MBreathe requested a review from sima-milli as a code owner February 2, 2026 11:59
@MBreathe MBreathe added FE Frontend ticket BE Backend ticket labels Feb 2, 2026
@MBreathe MBreathe linked an issue Feb 2, 2026 that may be closed by this pull request
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This pull request removes the "strikes" field from the trainee summary data in both the backend API and frontend UI for the cohorts page. The changes streamline the trainee data model by eliminating the display of strike counts in the cohort overview.

Changes:

  • Removed strikes property from the TraineeSummary interface and response construction in the backend cohorts controller
  • Removed strikes field from the API schema definition
  • Removed "Strikes" column from the cohort trainees table in the UI
  • Updated AWS SDK dependencies from version ~3.830.0 to 3.980.0

Reviewed changes

Copilot reviewed 3 out of 4 changed files in this pull request and generated no comments.

File Description
server/src/controllers/CohortsController.ts Removed strikes property from TraineeSummary interface and response object construction
server/api.yaml Removed strikes field from the API response schema
client/src/features/cohorts/components/CohortAccordion.tsx Removed "Strikes" table column header and data cell from the cohort trainees table
server/package-lock.json Updated AWS SDK and related dependencies (unrelated to strikes removal)
Files not reviewed (1)
  • server/package-lock.json: Language not supported

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Copy link
Member

@stasel stasel left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good

@MBreathe MBreathe merged commit 5383763 into HackYourFuture:main Feb 2, 2026
7 checks passed
@MBreathe MBreathe deleted the feature/remove-strikes-col branch February 2, 2026 12:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

BE Backend ticket documentation Improvements or additions to documentation FE Frontend ticket

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Remove strikes column from the cohort overview

3 participants