Component Review for group-set-manager #604
Open
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
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.
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:
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.