Skip to content
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

Application submission management clarity #781

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

julianweng
Copy link
Member

Some QoL improvements to the application submission management flow for club officers, aiming at reducing user error and increasing clarity for the application decision sending process:

  • Add warning toast when sending decisions while having selected applications (route send decisions to all submissions regardless of selection on frontend, so can result in wrong user assumptions about who the updates are sent to)
  • Wording changes to emphasize the above fact and warn users against the resend notifications feature
  • Route to send application updates now has detail breaking down why certain users were not sent new emails
  • (not that related) Putting in non-existent club/application ids into the /application route returns a proper X not found screen instead of an empty one

Copy link

codecov bot commented Feb 16, 2025

Codecov Report

Attention: Patch coverage is 68.75000% with 5 lines in your changes missing coverage. Please review.

Project coverage is 72.64%. Comparing base (9a18193) to head (7d07c37).

Files with missing lines Patch % Lines
backend/clubs/views.py 68.75% 5 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##           master     #781      +/-   ##
==========================================
- Coverage   72.67%   72.64%   -0.04%     
==========================================
  Files          32       32              
  Lines        7078     7091      +13     
==========================================
+ Hits         5144     5151       +7     
- Misses       1934     1940       +6     

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

Copy link
Member

@aviupadhyayula aviupadhyayula left a comment

Choose a reason for hiding this comment

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

LGTM, thanks for taking the initiative on this 🐐

Comment on lines +6625 to +6632
if skip["pending"]:
skip_msg += f" {skip['pending']} still marked as pending"
if skip["no_reason"]:
skip_msg += f" {skip['no_reason']} have no reason provided"
return Response(
{
"detail": f"{dry_run_msg} emails to {n} people, "
f"skipping {skip} due to one of (already notified, no reason, no email)"
f"{skip_msg if skip_msg else ''}",
Copy link
Member

@aviupadhyayula aviupadhyayula Feb 21, 2025

Choose a reason for hiding this comment

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

Not sure how this message shows up on the frontend (guessing it's a toast), but are these going to render as on the same line? Might be good to add newlines (or some sort of delimiter) between the messages if so.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants