roos-fs tasks #821
open(PROJECT) Introduce New Entity “Team” for Project/Shift Management
Added by Vadim Pariev 5 months ago. Updated 5 days ago.
0%
Description
Summary
To support upcoming features in project and shift management, we need to introduce a new entity: Team.
Requirements
- Create Team Entity
An admin should be able to create a team with the following fields:
- Name (required)
- Description (short text, optional)
- Assigned Users (only users with role Operator)
NOTE
IT might need the role for the Team manager or other implimentation but for now out of scope
- Editing & Deleting Teams
- Admins must be able to edit and delete a team.
- Only admins have permission to perform these actions.
- User Assignment Rules
Only users with the Operator role can be added to a team.
Assignment happens in two places:
- Team creation/editing screen
- User creation/editing screen - Operators can be assigned to a team from here as well.
- Additional Notes
- A user may belong to one team.
- Validation: prevent assigning users with roles other than Operator.
- When a user is deleted or their role changes, team assignment rules must be removed.
- Team changes, user assignement are logged in the tema activity log (analog to the user)
- List view
The system must include a Teams List View that shows the following information for each team:
- Team Name
- Number of Assigned Users (count of operators in the team)
- Clicking a row should open the team details page.
- Action items are utilised the same way as other parts of the
The list must support:
- Pagination or scrolling
- Sorting by team name, project and etc.
- Search/filter
Updated by Vadim Pariev 5 months ago
- Subject changed from Introduce New Entity “Team” for Project/Shift Management to (PROJECT) Introduce New Entity “Team” for Project/Shift Management
Updated by Vadim Pariev 5 months ago
- Assignee changed from Ivan Danyliv to Max Zadorozhniy
Updated by Max Zadorozhniy 5 months ago
- Status changed from In progress to In review
Updated by Alex Katasonov 5 months ago
- Status changed from In review to Deployed (QA)
Updated by Max Zadorozhniy 5 months ago
- Assignee changed from Max Zadorozhniy to Olena Tretjakova
Updated by Olena Tretjakova 5 months ago
· Edited
- Status changed from Deployed (QA) to QA Failed
Environment: Staging.
Actual Results:
- Users filtering by 'Users Count' on the 'Teams' page does not work. https://screenrec.com/share/HQvimgR6pT
- Team Deletion Does Not Work (Table & Details Page)
Deleting teams does not work in the following places:
Using the Delete icon next to a team in the Teams table
Using the Delete button on the Team Details page.
Issue occurs under these conditions:
After an operator is removed from the team, or
After an operator’s role is changed
In these cases:
The operator remains assigned to the team on the User Details page
As a result, the team cannot be deleted https://screenrec.com/share/7FjphHlyLn https://www.loom.com/share/a34dc9093523442087f943ba40a3393a - The activity log does not display the removal of users from the team.
- The system allows creating several teams with the same name. https://screenrec.com/share/U7hgqVfYj4
- The current implementation for assigning operators to a team is not convenient. It should be updated to align with the operator assignment experience on the “Create New Project” page. https://screenrec.com/share/fJdGaYHCsm
- When the left-side menu is collapsed, menu items should display icons only, with no text labels. https://screenrec.com/share/eYgC8qTJVc
- The 'Create New Team' button did not translate to German https://screenrec.com/share/ZzD8XvuKco
- The “Users Count” column header does not display sorting arrows (up/down icons), and users cannot sort the Teams list by the number of users. https://screenrec.com/share/WHerFX5jfd
- The text in the Assigned section on the Team Detail page does not translate into German (No Users Assigned) https://screenrec.com/share/XScj5lY7yD
- When clicking the EN/DE toggle in the Assignment section, user emails appear and disappear even when no users are assigned. https://screenrec.com/share/S94RLpaW1b
Acceptance criteria:
- Create Team
1.1 An admin can create a team with the following fields: Team Name (required), Description (optional, short text), Assigned Users (optional)
1.2 Only users with the Operator role are available for selection in the Assigned Users field.
1.3 A team is successfully created when all required fields are valid and the admin clicks Save/Create.
- Edit Team
2.1 An admin can edit an existing team.
2.2 An admin can update: Team Name, Description, Assigned Users (Operators only).
2.3 All team updates are recorded in the Team Activity Log.
- Delete Team
3.1 An admin can delete a team.
- User Assignment Rules
4.1 Only users with the Operator role can be assigned to a team.
4.2 Users with roles other than Operator cannot be assigned to a team.
4.3 A user can belong to only one team at a time.
- Assignment from User Management
5.1 Team assignment changes made from the User screen are reflected on:
The Team details page
The Teams list user count
5.2 All assignment changes are logged in the Team Activity Log.
- Role Change & User Deletion Handling
6.1 If an assigned user’s role is changed from Operator to another role, the team assignment is automatically removed.
6.2 If a user is deleted, they are removed from the team.
6.3 Both role changes and deletions affecting teams are logged in the Team Activity Log.
- Teams List View
7.1 The system displays a Teams List View.
7.2 Each row displays: Team Name, Number of assigned users (Operators count)
7.3 Clicking a team row opens the Team Details page.
7.4 Action items (Edit / Delete) behave consistently with other list views in the system.
- List View Features
8.1 The Teams List supports pagination or infinite scrolling.
8.2 The Teams List supports sorting (e.g., by team name, project, etc.).
8.3 The Teams List supports search and filtering.
Steps to Reproduce:
- Create the 'QA team' team. Click the field in the assigned Users section, only users with the role Operator are displayed in drop the users down. (Name: QA team, Description: Description, user: OlenaOper test, olena.tretjakova+6@matecube.dev, Role: Operator). https://screenrec.com/share/P7vBQkUDNn
- Click the 'Edit' icon next to 'QA another team' team in the 'Teams' table.
- Change Name to 'QA', description to 'Changing team' and add one more user olena.tretjakova+13@matecube.dev).https://screenrec.com/share/MhsJADwgtE
- All team updates are recorded in the Team Activity Log. https://screenrec.com/share/LIZKsMVSAN
- Delete the 'QA' team. The 'QA' team is deleted.
- Create a new team named “QA”. Assign two users to the team. olena.tretjakova+6@matecube.dev and olena.tretjakova+13@matecube.dev https://screenrec.com/share/y2SRbO6tDh
- Change the role for olena.tretjakova+6@matecube.dev to Manager and delete olena.tretjakova+13@matecube.dev user.
- The 'QA' team have no users. https://screenrec.com/share/nsvDyBXWH2
- The activity log does not display the removal of users from the team.https://screenrec.com/share/JnTAX6mvtS
- Clicking the 'View' icon opens the Team Details page.
- Clicking the 'Edit' icon opens the Team Edit page.
- The Teams List supports sorting (e.g., by team name, project, etc.).
- The Teams List supports search and filtering. (Except filtering by 'Users Count').
- Access to the “Teams” table is restricted to the Admin role. The table does not appear for other user roles.
Updated by Max Zadorozhniy 5 months ago
- Status changed from Open to In progress
Updated by Max Zadorozhniy 5 months ago
- Status changed from In progress to In review
Updated by Max Zadorozhniy 5 months ago
- Status changed from In review to Deployed (QA)
Updated by Max Zadorozhniy 5 months ago
- Assignee changed from Max Zadorozhniy to Olena Tretjakova
Updated by Olena Tretjakova 5 months ago
- Status changed from Deployed (QA) to QA Failed
- Assignee changed from Olena Tretjakova to Max Zadorozhniy
Environment: Staging.
Actual Results:
-
Users filtering by 'Users Count' on the 'Teams' page does not work. https://www.loom.com/i/5d7f4f3f1c924480a309139b74231d0e
-
When the number of users in the Assigned Users dropdown is more than three, the “Create New Team” button is blocked by the content of Assigned Users dropdown.
https://www.loom.com/i/3ba13da336de44dc89ce6a65b42ed4b1 -
The 'Edit Team' functionality does not allow adding an operator. It only allows deleting the current operator (by clicking the 'x' icon), and then adding an operator from the dropdown. However, in this case, the operator that was deleted does not appear in the dropdown.
https://www.loom.com/share/14ce743a747a4414b69408bafcf1b174
Updated by Max Zadorozhniy 5 months ago
- Status changed from QA Failed to In progress
Updated by Max Zadorozhniy 5 months ago
- Status changed from In progress to In review
Updated by Alex Katasonov 5 months ago
- Status changed from In review to Deployed (QA)
Updated by Alex Katasonov 5 months ago
- Assignee changed from Max Zadorozhniy to Olena Tretjakova
Updated by Olena Tretjakova 5 months ago
- Status changed from Deployed (QA) to Ready for Deployment (prod)
- Assignee changed from Olena Tretjakova to Vadim Pariev
Environment: Staging.
Actual Results:
-
Users filtering by 'Users Count' on the 'Teams' page works correctly.
-
When the number of users in the Assigned Users dropdown is more than three, the opened dropdown blocks the ‘Create New Team’ button. After the user selects operators, the dropdown closes and the ‘Create New Team’ button becomes clickable.
-
The ‘Edit Team’ functionality already supports adding an operator.
Updated by Vadim Pariev 4 months ago
- Status changed from Ready for Deployment (prod) to Closed