Skip to content

Add Daily Stories, new games (emotion wheel + multiplayer memory match), guidance/chat resilience and UI updates#140

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

Add Daily Stories, new games (emotion wheel + multiplayer memory match), guidance/chat resilience and UI updates#140
PrajwolInCode wants to merge 2 commits intomainfrom
codex/fix-guidance-method-bug,-update-links-vhd5eb

Conversation

@PrajwolInCode
Copy link
Copy Markdown
Owner

Motivation

  • Introduce a lightweight stories feed and new micro‑games to enrich the Play & reset experience and surface calm, helpful content.
  • Make guidance and personalized feed more resilient by providing reliable local fallbacks when remote services fail.
  • Improve chat verification flow and UX for composing messages, plus subtle UI polish across several dashboard components.

Description

  • Added a new serverless endpoint get-wellness-stories that fetches and parses RSS feeds, caches results, and returns up to MAX_ITEMS; the Stories page and FeaturesPage UI were added to surface this feed (/stories, /features).
  • Enhanced get-personalized-feed to return a local starter card fallback via buildStarterResponse when an error occurs, and allow POST/GET handling improvements.
  • Implemented a new StoriesPage and FeaturesPage, wired navigation and route entries (App.tsx, navigation.ts, AppLayout.tsx, translations.ts) and added landing page jump behavior for feature/how sections.
  • Added new gameplay and engagement components: EmotionWheelCard and extended MemoryMatchGame with solo/multiplayer modes, WebSocket-based room logic using Supabase realtime, touch handling, and UI state for hosting/joining rooms, and integrated the emotion wheel into the Pause Corner.
  • Improved chat and guidance UX: animated typing for assistant messages (ChatMessageList), guidance fetching robustness and local fallback (useGuidance.js), simplified GuidanceCard copy/controls, and adjusted support chat verification gating and send flow to use a unified canSendMessage guard.
  • Misc UI polish and content tweaks: updated MoodCheckInCard styling/text, removed some onboarding state from DashboardPage, and small accessibility/interaction fixes across components.

Testing

  • Performed automated TypeScript checks via the project typecheck/build pipeline (npm run typecheck / npm run build) and confirmed no type errors during the changeset.
  • Started a local dev server (npm run dev) as a smoke test and exercised the Stories page, Memory Match solo play, and support chat flows to ensure pages mount and basic interactions run without runtime exceptions.
  • No new unit tests were added in this change; existing test suites (if present) were not modified as part of this PR.

Codex Task

@netlify
Copy link
Copy Markdown

netlify bot commented Apr 10, 2026

Deploy Preview for sortmylife ready!

Name Link
🔨 Latest commit 0c76d4d
🔍 Latest deploy log https://app.netlify.com/projects/sortmylife/deploys/69d8bb68e9069c0008ce26ca
😎 Deploy Preview https://deploy-preview-140--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