Linh - Fix: FAQ Tool — Unanswered Question Logging Issue#1718
Linh - Fix: FAQ Tool — Unanswered Question Logging Issue#1718linh2020 wants to merge 1 commit intodevelopmentfrom
Conversation
|
This PR introduces technically sound enhancements to FAQ logging by broadening token support in verifyToken and refining duplicate question detection with case-insensitive, trimmed comparisons—a reliable approach that eliminates common UX pitfalls related to string inconsistencies. I appreciate making the email-sending step non-blocking; it ensures that logging remains robust even if no owner emails are present, and prevents user-facing errors tied solely to notification failures. These improvements strike a solid balance between usability and data integrity, and the step-by-step test instructions, along with video evidence, confirm the solution is well thought out. Before merging, just resolve the branch conflicts and confirm that the new authentication logic doesn’t introduce any regressions in protected endpoints. |
Anusha-Gali
left a comment
There was a problem hiding this comment.
Hi Linh,
I have reviewed your PR locally and it works as per requirement in both the modes. However one small UI issue would be: The question is not that clearly visible in dark mode in http://localhost:5173/unanswered-faqs.

Hi Anusha, Thank you for pointing that out. The visibility issue in dark mode on /unanswered-faqs was caused by hardcoded light-theme text colors, which created low contrast against the dark background. The component styling has been updated to use theme-aware colors so the question text, timestamp, and card styles adapt correctly in both themes. The fix has been pushed in a new PR: linh_fix_unanswered_faq_dark_mode_ui_1 Please pull and test in dark mode — the question text should now be clearly readable. |






Description
Related PRS (if any):
To test this backend PR you need to checkout the #3118 PR.
Main changes explained:
How to test:
REACT_APP_APIENDPOINT="http://localhost:4500/api"Screenshots or videos of changes:
Fix.FAQ.Tool.Unanswered.Question.Logging.Issue.-.11.September.2025.mp4
Note:
Include the information the reviewers need to know.