-
Notifications
You must be signed in to change notification settings - Fork 8.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat: Round Robin weights future members toggle #17782
base: main
Are you sure you want to change the base?
Conversation
const line = lines[i].trim(); | ||
if (!line) continue; | ||
|
||
const [, , email, weightStr] = line.split(","); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We expect the format of the downloaded CSV. In the future we can rely on checking headers for a ID/EMAIL + weight so any CSV/sheets can be used
Graphite Automations"Add consumer team as reviewer" took an action on this PR • (11/21/24)1 reviewer was added to this PR based on Keith Williams's automation. |
@@ -267,6 +270,15 @@ function AddMembersWithSwitch({ | |||
}} | |||
onInactive={onAssignAllTeamMembersInactive} | |||
/> | |||
{!assignRRMembersUsingSegment ? ( |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Currently only render when were not using RR member assigment for attributes as the teamMember logic comes from internal and gets pretty complex. Will do this in a follow up to support weights on attribute assignees too
packages/features/eventtypes/components/AddMembersWithSwitch.tsx
Outdated
Show resolved
Hide resolved
The latest updates on your projects. Learn more about Vercel for Git ↗︎ 2 Skipped Deployments
|
7211443
to
7403547
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
packages/features/eventtypes/components/AddMembersWithSwitch.tsx
Outdated
Show resolved
Hide resolved
packages/features/eventtypes/components/EditWeightsForAllTeamMembers.tsx
Show resolved
Hide resolved
packages/features/eventtypes/components/AddMembersWithSwitch.tsx
Outdated
Show resolved
Hide resolved
E2E results are ready! |
When I go to 'edit weight', it correctly shows the weights. However, when I then click 'cancel' and go back to 'edit weight' all weights show as 100. See loom https://www.loom.com/share/1d73169aeab341d7b6a1376c3af63bb6 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
see comment: #17782 (comment)
What does this PR do?
Fixes: #17781 CAL-4771
Loom: https://www.loom.com/share/2df7aad3c6764094b3002f0c3530d2e4
How should this be tested?
Assign a RR to a team event
Select all team members
Edit weights for users
Test out form - save - check sheet/db that the weights updated
Download the current csv
Modify the weights of some of the users
Upload the CSV with the new weights
Save
Test out form - save - check sheet/db that the weights updated
Checklist