Add /faq page covering anon + logged-in audiences#178
Merged
Conversation
Quantic now spans enough distinct concepts (portfolio vs radar vs buy plan, Pulse community sharing, Telegram bot, AI insights, multi-currency, dividend import) that visitors hit "wait, what?" friction without a canonical reference. The recent footer disclaimer covered the legal angle; this PR covers the curiosity angle. **New `/faq` page** — public route (works for both auth states), inherits the existing Layout chrome (header, language/theme toggles, footer with disclaimer). Each question is an expand/collapse card using the same `useState(isExpanded)` + `ChevronDown` pattern that `PortfolioInsights` already uses — no new dep, no accordion install needed. **22 questions across 7 sections** covering both audiences: - Getting started (free? broker? demo? portfolio vs radar?) - Portfolio & Radar (how to add, multi-currency, YoC, target price, community target, dividend score) - Dividends (upcoming math, broker import, supported brokers) - AI insights (which model, usage limit, data privacy) - Pulse (what is it, who sees, opt-out) - Telegram (connecting, what to ask) - Data & privacy (source, accuracy, no data sales) Footer gets a small `FAQ` link next to the copyright line. Full en + es i18n in the same commit. Sections use the existing motion variants (`fadeUp`, `staggerChildren`, `onceInView`) from `lib/motion.ts` so the page matches the home-redesign motion language. Reduced-motion safe via the global CSS guard. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
Was claiming Claude — actual current provider is Google's Gemini 2.5 Flash (`app/services/ai_providers/gemini_provider.rb`). The provider layer is agnostic per the AiProviders.current pattern, so the answer keeps the "can swap to OpenAI / Anthropic depending on the task" framing. en + es both updated. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
Footer link was the only entry point — discreet to the point of invisibility. Adds an "FAQ" NavLink to both desktop and mobile nav, always visible regardless of auth state, so anonymous visitors scoping the product can find it next to Home. Footer link kept as a backup for users who scroll. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
Footer link now reads "Frequently Asked Questions" / "Preguntas frecuentes" instead of "FAQ". The nav keeps the acronym since it fits the compact nav row better; the footer has the breathing room for the full phrase and reads less cryptic. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
4 tasks
fleveque
added a commit
to fleveque/pulse
that referenced
this pull request
May 25, 2026
Mirror of fleveque/dividend-portfolio#178: a small footer link to the Quantic FAQ alongside the existing copyright + Francesc Leveque line. Opens in a new tab since it's an external cross-app link. Reuses the same "Frequently Asked Questions" / "Preguntas frecuentes" copy as the Quantic footer for consistency. Co-authored-by: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
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
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.
Why
Quantic now spans enough distinct concepts — Portfolio vs Radar vs Buy Plan, Pulse community sharing, Telegram bot, AI insights, multi-currency, dividend import — that visitors (especially pre-signup) hit "wait, what?" friction without a single canonical reference. The recent footer disclaimer (#177) addressed the legal angle; this PR addresses the curiosity angle.
What
New
/faqpage atapp/frontend/pages/FaqPage.tsx. Public route registered inApp.tsxnext to/loginso both anonymous visitors and logged-in users get it. Inherits the existing Layout chrome automatically (header, language/theme toggles, disclaimer-bearing footer).Expand/collapse pattern reuses
PortfolioInsights.tsx'suseState(isExpanded)+ChevronDownapproach — noshadcn/accordioninstall needed, keeps the dep surface flat.22 questions across 7 sections, covering both audiences:
Footer link added next to the copyright line in
Layout.tsx.Full en + es i18n in the same commit — Spanish translations land alongside English, no lag.
Motion reuses the existing
lib/motion.tsvariants (fadeUp,staggerChildren,onceInView) so the page speaks the same motion language as the home redesign.prefers-reduced-motionhonored via the global CSS guard.Out of scope (deferred)
/faq#how-do-i-import)Test plan
npx tsc --noEmit— cleannpx vite build— succeeds/faqlogged out → all sections render, cards expand/collapse/faqlogged in → same page, full chrome🤖 Generated with Claude Code