Skip to content

Conversation

@Ritabear
Copy link
Collaborator

Types of changes

Thanks for sending a pull request! Please fill in the following content to let us know better about this change.
Please put an x in the box that applies

  • [ X] Bugfix
  • New feature
  • Refactoring
  • Breaking change (any change that would cause existing functionality to not work as expected)
  • Documentation Update
  • Other (please describe)

Description

  • queryset
  • sort by speak_name
  • test case

@Ritabear Ritabear requested a review from mattwang44 July 26, 2025 07:09
@codecov
Copy link

codecov bot commented Jul 26, 2025

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 74.60%. Comparing base (f9e61b3) to head (3ea0e4b).
⚠️ Report is 6 commits behind head on master.

Additional details and impacted files
@@            Coverage Diff             @@
##           master    #1255      +/-   ##
==========================================
+ Coverage   74.59%   74.60%   +0.01%     
==========================================
  Files          84       84              
  Lines        3184     3186       +2     
==========================================
+ Hits         2375     2377       +2     
  Misses        809      809              

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

reviewer.groups.add(group)

api_client.force_authenticate(user=user)
api_client.force_authenticate(user=auth_user)
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

#1247 (comment)
why does it need force_authenticate()?

Suggested change
api_client.force_authenticate(user=auth_user)

if not role or role != "Reviewer":
return JsonResponse({'detail': 'role is not given or invalid.'}, status=400)
qs = User.objects.filter(is_active=True,verified=True, groups__name= "Reviewer")
qs = User.objects.get_valid_users_by_role(role).order_by('speaker_name')
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

conflict with #1256?

@Ritabear
Copy link
Collaborator Author

Ritabear commented Aug 8, 2025

@mattwang44 想請matt 大大幫我看一下><


- name: Set up Python dependencies
run: |
poetry env use python
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

why do we need this?

@Ritabear Ritabear closed this Aug 27, 2025
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.

3 participants