-
Notifications
You must be signed in to change notification settings - Fork 81
feat: Modified discussions FE so that ONLY users with verified emails #789
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
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## master #789 +/- ##
==========================================
+ Coverage 93.56% 93.75% +0.18%
==========================================
Files 165 166 +1
Lines 3561 3618 +57
Branches 957 972 +15
==========================================
+ Hits 3332 3392 +60
+ Misses 212 210 -2
+ Partials 17 16 -1 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
awais-ansari
requested changes
Jul 23, 2025
d806ffd
to
404f3bd
Compare
87450b8
to
22d2d5e
Compare
8279356
to
f0f083d
Compare
f0f083d
to
40cdd0d
Compare
awais-ansari
approved these changes
Jul 23, 2025
ayesha-waris
approved these changes
Jul 23, 2025
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
INF-2037
Description
This PR implements the frontend logic to restrict forum posting (adding posts, responses, or comments) to users with verified email accounts, as per the product requirement.
Key Features:
When a user with an unconfirmed email clicks on “Add a post/response/comment,” they will now see a modal dialog that:
Prompts them to verify their email.
Provides a button to send an account confirmation email.
Informs them to reload the page after verification.
The language and appearance of the dialog follow the design mock provided.
Notes:
This feature is guarded by a backend waffle flag "only_verified_users_can_post".
Screenshot

Merge Checklist
Post-merge Checklist