Skip to content

Add typed suggestion selector for audio lessons#1015

Open
mircealungu wants to merge 1 commit intomasterfrom
feature/typed-audio-lesson-suggestions
Open

Add typed suggestion selector for audio lessons#1015
mircealungu wants to merge 1 commit intomasterfrom
feature/typed-audio-lesson-suggestions

Conversation

@mircealungu
Copy link
Copy Markdown
Member

Summary

  • Replace free-text topic input with a 3-option pill selector: Words only (default) | Topic | Situation
  • Font size bumped to 16px to prevent iOS mobile zoom
  • maxLength increased from 24 to 48 chars
  • Input stays rendered but hidden when "Words only" is selected to avoid layout shift
  • Suggestion type persisted to localStorage per language

Test plan

  • Select "Words only" → generate → lesson has no topic prefix
  • Select "Topic", type "cooking" → generate → lesson uses cooking theme
  • Select "Situation", type "at a restaurant" → generate → lesson is a roleplay dialogue
  • Switch between types → no layout jump
  • Reload page → selection and text are preserved
  • Test on mobile → input should not trigger zoom

🤖 Generated with Claude Code

Companion API PR: zeeguu/api#517

… Situation)

Replace the free-text topic input with a pill-based type selector that
distinguishes between plain word lessons, topic-themed lessons, and
situational roleplay lessons. Font size bumped to 16px to prevent
mobile zoom, maxLength increased to 48 chars.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
@netlify
Copy link
Copy Markdown

netlify bot commented Apr 2, 2026

Deploy Preview for voluble-nougat-015dd1 ready!

Name Link
🔨 Latest commit bb02346
🔍 Latest deploy log https://app.netlify.com/projects/voluble-nougat-015dd1/deploys/69ce961879321f000867e2e2
😎 Deploy Preview https://deploy-preview-1015--voluble-nougat-015dd1.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

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant