Repository navigation
Venus page: her daily videos play on the web, the phone apps come next - #300
Merged
Merged
Conversation
The app has drawn a Venus video on each counted streak day since the venusStories flag went on in production. The page now says so, and says only what the app does: one video for each of the first 100 streak days (the files stop there), in the app's language, replayed from the streak until the day ends, with a comeback cut for a streak started over. It names where: the app from 3.0 on and the web app, since the 2.9 build in the stores has no player. Adding the pack to WhatsApp needs the 3.1 app, so that card stays "coming soon". Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
The page said the videos were in the app from 3.0 on. The stores still serve 2.9, and 2.9 has no player and a different runtime, so no update reaches it. Today only the web app plays them. The page now says that, and says they are coming to the iPhone and Android apps, with no version number to go stale. The replay line now names the play button on the streak, which is what calls the replay on Home and on the streak screen. Tapping the streak row itself opens the streak screen. Co-Authored-By: Claude Opus 5.5 <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.
What changed
/venusstill said Venus's daily streak videos were "coming soon". They are on in production (venusStories: trueon the public/app-configsince 26 Oct 09:03 UTC), but today only the web app plays them: the phone build the stores serve is still 2.9, which has no player. So the page now says where they play, and that the phone apps come next. Only the words of the "she speaks your language" block change, plus the comment above the page that explained the old state:The site has no other language versions of this page, so this is the only copy.
Round 1 (review fixes)
requestVenusReplay.Where each claim comes from (langx/langx
origin/main)curl -s https://api.langx.io/app-config→"venusStories":true,updatedAt2026-10-26T09:03:20.952Zmedia.langx.io/venus/v1/manifest.json: 808 entries, days 1–100, 101 per locale (en, tr, es, pt-BR, fr, de, ru, ar), 8returncuts. With no file for a day,useVenusStoryreturnsnulland nothing is drawn, so nothing plays after day 100.apps/mobile/src/hooks/useVenusStory.tspicks the file withuseLocale()'s localeapps/mobile/src/lib/venusStory.ts→venusVideoForreturnsnullunlessstreak.qualifiedToday.VenusStoryHostopens it once per account per counted day, mounted for signed-in people only (enabled={!isGuest}inapp/(app)/_layout.tsx).requestVenusReplayis thevenus.watchAgainplay button on Home's streak row (app/(app)/(tabs)/home.tsx) and on the streak screen's hero (screens/StreakScreenV3.tsx).venusVideoForstops returning the video once the profile's day changes.venusCutFor: a day 1 withlongest > 1plays thereturncut, not the introductionvenusStoriesin the flag schema, thevenus-dayfile-name builder,watchAgain).VenusStoryHosthas no web exclusion; on web it only starts muted.Checks
npx vite buildpasses, and so doesnpm run postbuild(sitemap and markdown).npm run check: 0 errors, 0 warnings.npx vitest run: 44/44, including the build-output tests (/venusstarts nothing hidden).build/venus.htmlhas nodata-revealand no "3.0". "Coming soon" appears there only once, on the WhatsApp card.scrollWidthequalsclientWidth).Screenshots
Taken from the built page (
vite preview, headless Chrome): the daily-video block at 375 and 1280 wide.venus-daily-videos-375.pngvenus-daily-videos-1280.pngNot verified
POST /me/check-in, since 1 Sept). This PR does not repeat that rule and does not touch the FAQ.Part of the plan in langx/langx#2067
🤖 Generated with Claude Code