Skip to content

Simple guide · Overview

Page status: HistoricalHistory group: Classified notes

NutsNews iOS Hamburger Menu Patch

This patch moves the main header actions into one hamburger menu on the top left.

Visual overview

Primary diagram

System map

This patch moves the main header actions into one hamburger menu on the top left.

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

Diagram is not rendered yet.

View as text
NutsNews iOS Hamburger Menu Patch

This patch moves the main header actions into one hamburger menu on the top left.

flowchart TB
  accTitle: NutsNews iOS Hamburger Menu Patch
  accDescr {
    This patch moves the main header actions into one hamburger menu on the top left.
  }
  A["NutsNews iOS Hamburger Menu Patch"] --> B["ios/NUTSNEWS_IOS_HAMBURGER_MENU_PATCH_README.md"]
  B --> C["Auto-generated placeholder diagram"]

NutsNews iOS Hamburger Menu Patch

Fullscreen diagram view.

This patch moves the main header actions into one hamburger menu on the top left.

  • Replaces separate top header action buttons with one hamburger menu.
  • Adds these menu items:
    • Good Mood
    • Saved
    • Search
    • Settings
  • Keeps the centered NutsNews title.
  • Keeps existing full-screen/sheet presentation behavior.
  • Includes the Good Mood haptics build fix by using NutsNewsSettings.hapticsEnabledKey with @AppStorage.
  • NutsNews/NutsNews/Features/Feed/FeedView.swift
  • NutsNews/NutsNews/Features/Mood/GoodMoodView.swift
Terminal window
cd /Users/ramideltoro/nutsnews-ios
zsh ~/Downloads/nutsnews-ios-hamburger-menu-patch/nutsnews_ios_hamburger_menu_patch/scripts/install_hamburger_menu_patch.sh \
~/Downloads/nutsnews-ios-hamburger-menu-patch/nutsnews_ios_hamburger_menu_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. Home header should show one hamburger menu on the top left.
  2. Tap the hamburger menu.
  3. Confirm the menu includes Good Mood, Saved, Search, and Settings.
  4. Tap Good Mood and confirm the mood picker opens.
  5. Tap Saved and confirm Saved Stories opens.
  6. Tap Search and confirm Full Archive Search opens.
  7. Tap Settings and confirm Settings opens.