Skip to content

Conversation

@LovleenKala
Copy link

@LovleenKala LovleenKala commented May 16, 2025

Team Member Name

Lovleen Kala

Component Name

Group-Set-Editor

Files Included:
group-set-editor.component.ts
group-set-editor.component.html
group-set-editor.component.scss

Component purpose

The Group Set Editor component is a parent component that contains nested components, including the group-member-list and group-selector. These nested components handle more specific tasks, such as managing individual group members and selecting groups within a group set, while the Group Set Editor serves as the overall manager for group set interactions within a unit context.

image

The primary purpose of the Group Set Editor component is to manage group sets within a unit context. It allows tutors and convenors to add, remove, lock, and update groups within a selected group set. It also supports features like group filtering, sorting, and pagination, and integrates with services like newGroupService, alertService, and groupService.

Before Migration:

Screenshot 2025-05-16 at 6 19 06 PM Screenshot 2025-05-16 at 6 19 16 PM

Component outcomes and interactions

Expected outcomes:

Allows users to create, edit, lock, and delete groups within a group set context.

Provides real-time feedback for group updates using alertService.

Supports filtering and sorting of group lists based on group names and tutorial assignments.

Interacts with Group, Unit, Project, GroupSet, and UnitRole models for data handling.

Component migration plan

Migrate the TypeScript file to Angular 17, preserving the original logic for group management.

I plan to manually include the code for group-member-list and group-selector directly within the group-set-editor component rather than pulling from two separate branches. This approach aims to minimize the risk of merge conflicts that could arise from integrating separate branches.

Test the component against common scenarios, including group creation, deletion, and data export.

@LovleenKala LovleenKala changed the title Component Review for group-set-editor Component Review for group-set-manager May 18, 2025
@zara1504
Copy link

Hey Lovleen, your documentation looks good. You've outlined all the parts you are going to migrate well and what their interactions are. The component itself is well described, and you've outlined a good plan to migrate the nested components as well. Also, the diagram you made showing the component and what it handles is clear and good to show which part is getting handled where. Let me know how it goes :)

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.

2 participants