How camizzz0/help-center-insw works
This is the INSW public help-center frontend: visitors browse FAQ categories, search help content, read guides, watch tutorials, and submit content feedback. React routes select the page; page components retrieve content through the shared API client and compose presentation components. FAQ visibility includes a documented frontend role simulation, not authentication. The API client sends requests to an external backend. The README is empty, so capability coverage is based on the source index and shown excerpts; some page and integration details remain unsampled.
Main entry points: FaqPage.jsx FAQ category · App.jsx Route dispatcher · api.js API client · SearchResultsPage.jsx Search results
Components 25
Routing and Shell
- Route dispatcher
client/src/App.jsx - Help home
client/src/pages/LandingPage.jsx - Site header
client/src/components/layout/Header.jsx - Site footer
client/src/components/layout/Footer.jsx - Breadcrumb
client/src/components/layout/Breadcrumb.jsx
Help Discovery
- FAQ category
client/src/pages/FaqPage.jsx - Search results
client/src/pages/SearchResultsPage.jsx - Hero search
client/src/components/HeroSearch.jsx - FAQ accordion
client/src/components/FaqAccordion.jsx - FAQ navigation
client/src/components/FaqSidebar.jsx - Search result card
client/src/components/search/SearchResultCard.jsx
Content and Feedback
- Guide listing
client/src/pages/GuidesPage.jsx - Guide detail
client/src/pages/GuideDetailPage.jsx - Tutorial listing
client/src/pages/TutorialsPage.jsx - Tutorial detail
client/src/pages/TutorialDetailPage.jsx - Guide card
client/src/components/GuideCard.jsx - Tutorial card
client/src/components/TutorialCard.jsx - Video player
client/src/components/VideoModal.jsx - Content feedback
client/src/components/ContentFeedback.jsx
Shared Services
- Pagination
client/src/components/Pagination.jsx - Role simulator
client/src/components/RoleSimulator.jsx - Viewer role rules
client/src/utils/viewerRole.js - API client
client/src/services/api.js
Other components
- Help visitor
- Help-center backend
Connections 44
- Help visitor → Route dispatcher: opens
client/src/App.jsx - Route dispatcher → Help home: routes to
client/src/App.jsx - Route dispatcher → Search results: routes to
client/src/App.jsx - Route dispatcher → FAQ category: routes to
client/src/App.jsx - Route dispatcher → Guide listing: routes to
client/src/App.jsx - Route dispatcher → Guide detail: routes to
client/src/App.jsx - Route dispatcher → Tutorial listing: routes to
client/src/App.jsx - Route dispatcher → Tutorial detail: routes to
client/src/App.jsx - Help home → API client: loads content
client/src/pages/LandingPage.jsx - Help home → Hero search: renders
client/src/pages/LandingPage.jsx - Help home → FAQ accordion: shows popular FAQs
client/src/pages/LandingPage.jsx - Hero search → Search results: navigates to
client/src/components/HeroSearch.jsx - Search results → API client: searches
client/src/pages/SearchResultsPage.jsx - Search results → Search result card: renders results
client/src/pages/SearchResultsPage.jsx - Search results → Pagination: uses
client/src/pages/SearchResultsPage.jsx - FAQ category → API client: loads FAQs
client/src/pages/FaqPage.jsx - FAQ category → FAQ accordion: renders
client/src/pages/FaqPage.jsx - FAQ category → FAQ navigation: uses
client/src/pages/FaqPage.jsx - FAQ category → Pagination: uses
client/src/pages/FaqPage.jsx - FAQ category → Role simulator: offers role simulation
client/src/pages/FaqPage.jsx - FAQ category → Viewer role rules: reads role rules
client/src/pages/FaqPage.jsx - FAQ accordion → Viewer role rules: filters visibility
client/src/components/FaqAccordion.jsx - FAQ accordion → Content feedback: renders feedback
client/src/components/FaqAccordion.jsx - Role simulator → Viewer role rules: updates role
client/src/components/RoleSimulator.jsx - Guide listing → API client: loads guides
client/src/pages/GuidesPage.jsx - Guide listing → Guide card: renders
client/src/pages/GuidesPage.jsx - Guide listing → Pagination: uses
client/src/pages/GuidesPage.jsx - Guide detail → API client: loads guide
client/src/pages/GuideDetailPage.jsx - Guide detail → Content feedback: collects feedback
client/src/pages/GuideDetailPage.jsx - Tutorial listing → API client: loads tutorials
client/src/pages/TutorialsPage.jsx - Tutorial listing → Tutorial card: renders
client/src/pages/TutorialsPage.jsx - Tutorial listing → Pagination: uses
client/src/pages/TutorialsPage.jsx - Tutorial detail → API client: loads tutorial
client/src/pages/TutorialDetailPage.jsx - Tutorial detail → Video player: opens player
client/src/pages/TutorialDetailPage.jsx - Tutorial detail → Content feedback: collects feedback
client/src/pages/TutorialDetailPage.jsx - Tutorial card → Video player: opens player
client/src/components/TutorialCard.jsx - Video player → Content feedback: renders feedback
client/src/components/VideoModal.jsx - Content feedback → API client: submits feedback
client/src/components/ContentFeedback.jsx - API client → Help-center backend: sends HTTP requests
client/src/services/api.js - Help home → Site header: renders
client/src/pages/LandingPage.jsx - FAQ category → Site header: renders
client/src/pages/FaqPage.jsx - Search results → Site header: renders
client/src/pages/SearchResultsPage.jsx - FAQ category → Breadcrumb: renders
client/src/pages/FaqPage.jsx - Search results → Site footer: renders
client/src/pages/SearchResultsPage.jsx