[BB-6845] 'Show Report' button on List Entries sets 'team_ids' to 'undefined'
Story
"As a user, I want my reports to show immediately so that I don't have to change settings on the report page."
Full description
Clicking on the three dot expansion on the side of a completed run and selecting 'Show Report' on the Assigned lists page brings you to the reports page, and the API request is constructed so that the API request to the backend has &team_ids=undefined. This raises a ValueError on the backend as 'undefined' is not a valid short code, and the page returns an error message.
Completion criteria
- Fix the backend to send a more useful error message when receiving malformed team_ids rather than crashing with a ValueError
- Fix the frontend to specify the teams correctly when hitting 'Show Report'. Preferably, this should show the report for the teams the user is a part of by default, but all teams is also acceptable if that's faster to implement.
Documentation updates & improvements criteria
- Left to the assignee’s appreciation
Review timeline
- PR to be sent for review by
- First PR review to be completed by
- [Optional] Draft/WIP PR sent for review by
Edited by Fox Danger Piacenti