Skip to content

Add Stories feed, new games and UI tweaks; improve guidance/feed fallbacks#138

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

Add Stories feed, new games and UI tweaks; improve guidance/feed fallbacks#138
PrajwolInCode wants to merge 2 commits intomainfrom
codex/fix-guidance-method-bug,-update-links-d6qvz6

Conversation

@PrajwolInCode
Copy link
Copy Markdown
Owner

Motivation

  • Provide a lightweight wellbeing stories feed and surface it in the app as a new StoriesPage route and nav item.
  • Improve resilience when personalized guidance/feed fails by returning local fallback content.
  • Enhance the Play & reset area with new mini-games (mood wheel), accessibility and touch improvements for the memory game, and subtle UX polish across cards.
  • Make chat feel more alive with a typed-out assistant message animation and simplify guidance fetching/UX.

Description

  • Added a new serverless endpoint netlify/functions/get-wellness-stories.ts that fetches and parses RSS feeds from configured sources with caching and a ?refresh=1 option and returns up to MAX_ITEMS stories.
  • Updated netlify/functions/get-personalized-feed.ts to accept GET/POST, add buildStarterResponse for a local starter card fallback, and return starter items on internal errors instead of failing with 500.
  • Introduced StoriesPage and hooked it into routing/navigation (App.tsx, navigation.ts, AppLayout.tsx), added a FeaturesPage, and updated translations to include stories.
  • Implemented UI/UX changes: animated assistant typing (ChatMessageList), guidance flow improvements and local fallback text (useGuidance.js and GuidanceCard), redesigned MoodCheckInCard, added EmotionWheelCard and inserted it into PauseCornerSection, simplified DashboardPage, and added MemoryMatchGame touch/hover and turn-resolution handling.

Testing

  • Ran TypeScript type-check and a local build (tsc --noEmit and npm run build) to validate compilation, and both completed successfully.
  • Manual smoke checks of the new pages/components in the dev server were performed (route rendering, Stories fetch fallback), and no runtime build errors were observed.
  • No automated unit tests were added in this change.

Codex Task

@netlify
Copy link
Copy Markdown

netlify bot commented Apr 10, 2026

Deploy Preview for sortmylife ready!

Name Link
🔨 Latest commit 615366b
🔍 Latest deploy log https://app.netlify.com/projects/sortmylife/deploys/69d8b7a8cdc90a00082f0673
😎 Deploy Preview https://deploy-preview-138--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