Saurabh taking over Shreya P - Phase 3 Creating frontend for activity FAQ section #3241
Saurabh taking over Shreya P - Phase 3 Creating frontend for activity FAQ section #3241VMD281 wants to merge 20 commits into
Conversation
✅ Deploy Preview for highestgoodnetwork-dev ready!
To edit notification comments on pull requests, go to your Netlify project configuration. |
|
The UI looks well-implemented, but the functionality is not working as expected. Here are the issues I noticed: |
angad363
left a comment
There was a problem hiding this comment.
I followed the provided instructions and tested the FAQ section. Everything is working as expected. The FAQ section is rendering correctly, with the four category selection buttons, dropdown arrows for answers, and the contact link functioning properly. The UI looks good and is fully responsive. Everything aligns with the provided screenshot. Approving the PR. Refer to the attached screenshot for confirmation.
d02a53c
d02a53c to
67c71e9
Compare
67c71e9 to
424d0b4
Compare
sayali-2308
left a comment
There was a problem hiding this comment.
- Branch: vaibhavi_CommunityPortal_FaqSection
- Tested as: Admin user
- Date: January 30, 2026
What Was Tested:
-
Navigation:
- Accessed FAQ page at
/communityportal/Activities/activityid/faq - Page loaded with "Frequently Asked Questions" title
- Accessed FAQ page at
-
Category Filter Buttons:
- Tested all 5 category buttons: All, General, Events, Participation, Other
- Questions filter correctly based on selected category
- Button states update properly when clicked
-
FAQ Dropdown Functionality:
- Clicked dropdown arrows (▼) next to each question
- Answers expand correctly below questions
- Dropdown arrows work smoothly
-
Contact Link:
- Clicked "contact us" link at bottom
- Email address copied to clipboard successfully
- Clipboard feedback works
-
FAQ Questions Display:
- All 6 questions display correctly: What is One Community?, How can I participate?, Is One Community free to join?, How can I contact One Community?, What kind of events does One Community organize?, Where is One Community located?
FAQ section for activities works as expected. All category filters, dropdown functionality, and contact features function correctly.
| @@ -0,0 +1,150 @@ | |||
| .faq-container { | |||
There was a problem hiding this comment.
Please ensure that we use module.css
| import './FaqSection.css'; | ||
|
|
||
| function FaqSection() { | ||
| const faqs = [ |
There was a problem hiding this comment.
Always good to keep the const FAQs in a different file and have the core logic only in this jsx?
There was a problem hiding this comment.
Also, is this the best place for these FAQs? These seem to be general to oneCommunity and not a specific activity. being inside CommunityPortal/Activites feels wrong
| <CPProtectedRoute path="/communityportal" exact component={CPDashboard} /> | ||
| <Route path="/communityportal/login" component={CPLogin} /> | ||
| <CPProtectedRoute | ||
| path="/communityportal/activities/:activityid/faq" |
There was a problem hiding this comment.
:activityId implies a dynamic route that should change based on the chosen activity. This implementation uses it as a static "activityId"
… NoshowViz import
…ate NoshowViz import
…ate NoshowViz import
|























Description [Re-done by new Dev: Samman]
Related PRS (if any):
Not related to any PR
Main changes explained:
How to test:
npm installandnpm run start:localto run this PR locallyScreenshots of changes: