Skip to content

Simple guide · Overview

Page status: HistoricalHistory group: Classified notes

NutsNews iOS — Saved Stories Thumbnail Ratio Patch

This patch updates the Saved Stories screen so saved-story thumbnails render with the same stable 3:2 thumbnail frame used by the home feed cards.

Visual overview

Primary diagram

System map

This patch updates the Saved Stories screen so saved-story thumbnails render with the same stable 3:2 thumbnail frame used by the home feed cards.

Render the repository-owned system map when you need it.

Diagram is not rendered yet.

View as text
NutsNews iOS — Saved Stories Thumbnail Ratio Patch

This patch updates the Saved Stories screen so saved-story thumbnails render with the same stable 3:2 thumbnail frame used by the home feed cards.

flowchart TB
  accTitle: NutsNews iOS — Saved Stories Thumbnail Ratio Patch
  accDescr {
    This patch updates the Saved Stories screen so saved-story thumbnails render with the same stable 3:2 thumbnail frame used by the home feed cards.
  }
  A["NutsNews iOS — Saved Stories Thumbnail Ratio Patch"] --> B["ios/NUTSNEWS_IOS_SAVED_THUMBNAILS_HOME_RATIO_PATCH_README.md"]
  B --> C["Auto-generated placeholder diagram"]

NutsNews iOS — Saved Stories Thumbnail Ratio Patch

Fullscreen diagram view.

NutsNews iOS — Saved Stories Thumbnail Ratio Patch

Section titled “NutsNews iOS — Saved Stories Thumbnail Ratio Patch”

This patch updates the Saved Stories screen so saved-story thumbnails render with the same stable 3:2 thumbnail frame used by the home feed cards.

  • Updates NutsNews/NutsNews/Features/Saved/SavedStoriesView.swift.
  • Uses a fixed 3:2 thumbnail frame for saved stories.
  • Uses scaledToFill, clipping, and the same rounded image shape pattern as home cards.
  • Updates the saved-story placeholder to match the home-card placeholder style more closely.
  • Does not change API, saved-story storage, search, settings, mood, stats, or digest behavior.
Terminal window
rm -rf ~/Downloads/nutsnews-ios-saved-thumbnails-home-ratio-patch
ditto -x -k \
~/Downloads/nutsnews-ios-saved-thumbnails-home-ratio-patch.zip \
~/Downloads/nutsnews-ios-saved-thumbnails-home-ratio-patch
Terminal window
cd /Users/ramideltoro/nutsnews-ios
zsh ~/Downloads/nutsnews-ios-saved-thumbnails-home-ratio-patch/nutsnews_ios_saved_thumbnails_home_ratio_patch/scripts/install_saved_thumbnails_home_ratio_patch.sh \
~/Downloads/nutsnews-ios-saved-thumbnails-home-ratio-patch/nutsnews_ios_saved_thumbnails_home_ratio_patch
Terminal window
cd /Users/ramideltoro/nutsnews-ios/NutsNews
xcodebuild \
-project NutsNews.xcodeproj \
-scheme NutsNews \
-destination 'platform=iOS Simulator,name=iPhone 17 Pro Max' \
build
  1. Open the app.
  2. Save a story from the home screen.
  3. Open the hamburger menu.
  4. Open Saved Stories.
  5. Confirm saved thumbnails use the same wide 3:2 crop/ratio as home feed cards.
  6. Open a saved story and confirm Article Detail still opens.
  7. Remove a saved story and confirm removal still works.
Terminal window
cd /Users/ramideltoro/nutsnews-ios
git status
git add \
NutsNews/NutsNews/Features/Saved/SavedStoriesView.swift \
NUTSNEWS_IOS_SAVED_THUMBNAILS_HOME_RATIO_PATCH_README.md
git commit -m "Match saved story thumbnail ratio to home"