Skip to content

fix(mobile): widget preview fallback image and bump to 2.8.1 - #782

Merged
guytepper merged 2 commits into
mainfrom
fix/widget-preview-image-main
Sep 16, 2026
Merged

guytepper merged 2 commits into
mainfrom
fix/widget-preview-image-main

Conversation

@guytepper

Copy link
Copy Markdown
Member

Replaces #781.

The latest Android EAS build (2.8.1 / 195, from web-app) failed in the Bundle JavaScript phase:

Unable to resolve module ../../../../../assets/station-images/tlv-center.jpg
from apps/mobile/src/screens/settings/components/widget-previews/use-widget-preview-route.ts

The widget preview hook required the Tel Aviv station photo by a relative asset path, which no longer exists once station photos move into the shared stations package. This resolves the fallback through stationsObject["3700"].image instead, which works on both main (local assets) and web-app (shared package), so the two branches merge cleanly.

Also bumps the app version to 2.8.1.

Verified with tsc and a local expo export:embed --platform android run.

https://claude.ai/code/session_011jM97HiV3pwKNCTwietM9v

@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Sep 16, 2026 •

Copy link
Copy Markdown

Codex Review Summary

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review ✅ Completed 2026-09-16T18:05:02.835023Z acff2b8 PR opened
ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

@coderabbitai

coderabbitai Bot commented Sep 16, 2026 •

Copy link
Copy Markdown

Review Change StackReview Change Stack

No actionable comments were generated in the recent review. 🎉

ℹ️ Recent review info
⚙️ Run configuration

Configuration used: Repository UI

Review profile: CHILL

Plan: Advanced

Run ID: 7cb7d4e3-b91f-40c9-bc5b-0fd726c6de49

📥 Commits

Reviewing files that changed from the base of the PR and between 726f438 and acff2b8.

📒 Files selected for processing (2)
  • apps/mobile/app.config.ts
  • apps/mobile/src/screens/settings/components/widget-previews/use-widget-preview-route.ts

Included review availability: Your plan provides up to 2 included reviews per hour; 1 remains after this review.


📝 Walkthrough

Walkthrough

The mobile app version changed to 2.8.1. The widget preview route now uses station 3700’s image from stationsObject instead of a direct static asset import.

Changes

App version update

Layer / File(s) Summary
Update mobile app version
apps/mobile/app.config.ts
The Expo app version changed from 2.8.0 to 2.8.1.

Widget preview image update

Layer / File(s) Summary
Use station image for widget preview
apps/mobile/src/screens/settings/components/widget-previews/use-widget-preview-route.ts
The default origin image now uses station 3700’s image from stationsObject instead of the direct tlv-center.jpg asset import.

Priority: ➖ Normal

Estimated code review effort: 1 (Trivial) | ~5 minutes

Change: Bug fix

Merge Risk: ⚪ Minimal · up to acff2

The version bump and station-image fallback change are ready to merge.

🚥 Pre-merge checks | ✅ 4 | ❌ 1

❌ Failed checks (1 warning)

Check name Status Explanation Resolution
Docstring Coverage ⚠️ Warning Docstring coverage is 0.00% which is insufficient. The required threshold is 80.00%. Docstring coverage is scoped to functions touched by this diff. Analyzed 1 functions across 2 files. Write docstrings for the functions missing them to satisfy the coverage threshold.
✅ Passed checks (4 passed)
Check name Status Explanation
Title check ✅ Passed The title clearly identifies the widget preview fallback image fix and the app version bump to 2.8.1.
Description check ✅ Passed The description explains the Android build failure, the fallback image change, the version bump, and verification steps. It is directly related to the changeset.
Linked Issues check ✅ Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check ✅ Passed Check skipped because no linked issues were found for this pull request.
  • Fix all pre-merge checks with AI
✨ Finishing Touches 💡 1
📝 Generate docstrings 💡
  • Create stacked PR
  • Commit on current branch

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands.

@guytepper
guytepper merged commit 7149fdb into main Sep 16, 2026
4 checks passed
@guytepper
guytepper deleted the fix/widget-preview-image-main branch September 16, 2026 18:09
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