Skip to content

fix: fixed email confirmation params issue #791

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

Merged
merged 5 commits into from
Jul 23, 2025
Merged

Conversation

sundasnoreen12
Copy link
Contributor

INF-2037

Description

Fixed email confirmation checks issues

Merge Checklist

  • If your update includes visual changes, have they been reviewed by a designer? Send them a link to the Sandbox, if applicable.
  • Is there adequate test coverage for your changes?

Post-merge Checklist

  • Deploy the changes to prod after verifying on stage or ask @openedx/edx-infinity to do it.
  • 🎉 🙌 Celebrate! Thanks for your contribution.

Copy link

codecov bot commented Jul 23, 2025

Codecov Report

Attention: Patch coverage is 94.73684% with 1 line in your changes missing coverage. Please review.

Project coverage is 93.83%. Comparing base (76da74a) to head (874ca92).
Report is 1 commits behind head on master.

Files with missing lines Patch % Lines
...ussions/post-comments/comments/comment/Comment.jsx 66.66% 1 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##           master     #791      +/-   ##
==========================================
+ Coverage   93.75%   93.83%   +0.08%     
==========================================
  Files         166      166              
  Lines        3618     3620       +2     
  Branches      973      973              
==========================================
+ Hits         3392     3397       +5     
+ Misses        210      207       -3     
  Partials       16       16              

☔ 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.


const addPost = useCallback(() => {
if (isEmailVerified) { dispatch(showPostEditor()); } else { openEmailConfirmation(); }
}, [isEmailVerified, openEmailConfirmation]);
if (!isEmailVerified && onlyVerifiedUsersCanPost) { openEmailConfirmation(); } else { dispatch(showPostEditor()); }
Copy link
Contributor

Choose a reason for hiding this comment

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

Both can be combined as a selector

@awais-ansari awais-ansari merged commit fa77205 into master Jul 23, 2025
6 checks passed
@awais-ansari awais-ansari deleted the sundas/confirm-email branch July 23, 2025 15:32
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.

2 participants