[SRAM Refactor]: Refactor frontend functionality used by CO member #2536

Open
opened 2026-08-25 12:32:30 +00:00 by EricvanSchaik · 0 comments
EricvanSchaik commented 2026-08-25 12:32:30 +00:00 (Migrated from github.com)

Description

The SRAM refactor milestone is prioritised per role (https://github.com/SURFnet/SRAM-Projects/issues/89). In this issue, the CO member frontend functionality will be refactored, namely rewriting the React class component CollaborationDetail to a functional component, and rewriting it in Typescript as well.

Task Overview

  • Convert the JS components that consume that API data to TypeScript
  • Convert the class components to functional components when rewriting them in TypeScript

Acceptance Criteria

  • CollaborationDetail is typescript
  • CollaborationDetail is a functional component

Definition of Done

  • Mypy succeeds on new code
  • Linting succeeds on new code
  • New React components are functional components

Notes

If this turns out to be too much work for one issue, focus on the endpoints that return user data, and frontend components that consume it

### Description The SRAM refactor milestone is prioritised per role (https://github.com/SURFnet/SRAM-Projects/issues/89). In this issue, the CO member frontend functionality will be refactored, namely rewriting the React class component CollaborationDetail to a functional component, and rewriting it in Typescript as well. ### Task Overview - [ ] Convert the JS components that consume that API data to TypeScript - [ ] Convert the class components to functional components when rewriting them in TypeScript ### Acceptance Criteria - [ ] CollaborationDetail is typescript - [ ] CollaborationDetail is a functional component ### Definition of Done - [ ] Mypy succeeds on new code - [ ] Linting succeeds on new code - [ ] New React components are functional components ### Notes If this turns out to be too much work for one issue, focus on the endpoints that return user data, and frontend components that consume it
Sign in to join this conversation.
No labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
eric/SBS#2536
No description provided.