Skip to content

Add Stories & Tarot features, multiplayer Memory Match, chat/guidance fallbacks and UI enhancements#142

Open
PrajwolInCode wants to merge 2 commits intomainfrom
codex/fix-guidance-method-bug,-update-links-ups3kd
Open

Add Stories & Tarot features, multiplayer Memory Match, chat/guidance fallbacks and UI enhancements#142
PrajwolInCode wants to merge 2 commits intomainfrom
codex/fix-guidance-method-bug,-update-links-ups3kd

Conversation

@PrajwolInCode
Copy link
Copy Markdown
Owner

Motivation

  • Introduce new wellbeing content and micro-features (daily stories RSS reader, AI tarot readings, emotion wheel, multiplayer memory game) to expand the product experience.
  • Improve resiliency and UX for content and chat by adding local fallbacks and more flexible verification handling.
  • Polish onboarding, guidance, and dashboard interactions to make gentle guidance and check-ins more reliable and approachable.

Description

  • Added serverless endpoints: netlify/functions/get-wellness-stories.ts (RSS feed parser + in-memory cache) and netlify/functions/tarot-reading.ts (AI-backed tarot reading endpoint with Turnstile verification and JSON schema output), and enhanced get-personalized-feed.ts to build and return local starter cards on error via buildStarterResponse and accept POST/GET methods more flexibly.
  • Updated support chat verification flow to skip Turnstile when not configured and only enforce verification when the secret key is present, and improved session token handling for chat session creation.
  • Client-side: added new pages FeaturesPage, StoriesPage, and TarotReadingPage, wired routes in src/App.tsx, and updated navigation and layout to expose the new features and pages (navigation.ts, AppLayout.tsx).
  • New and improved UI components: EmotionWheelCard, enhanced MemoryMatchGame with optional multiplayer via Supabase realtime websocket, animated assistant typing in ChatMessageList, redesigned MoodCheckInCard, tweaks to GuidanceCard, OnboardingTour modal improvements, and landing page anchor/navigation behavior.
  • Guidance hook improvements in src/hooks/useGuidance.js to fallback to local guidance text and persist cache when live guidance is unavailable, and minor copy/UX updates across dashboard and pause corner.

Testing

  • Performed a full TypeScript build and app bundle via npm run build, which completed successfully and surfaced no type errors.
  • Exercised new serverless handlers with automated smoke build checks and verified endpoints return expected shapes in error and success modes (local dev runs).
  • No new unit tests were added in this change set. Existing test suite was run (npm test) and passed in the environment used for the rollout.

Codex Task

@netlify
Copy link
Copy Markdown

netlify Bot commented Apr 10, 2026

Deploy Preview for sortmylife ready!

Name Link
🔨 Latest commit 3a48930
🔍 Latest deploy log https://app.netlify.com/projects/sortmylife/deploys/69d8c1480a7d130008a5b28c
😎 Deploy Preview https://deploy-preview-142--sortmylife.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify project configuration.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant