Commit Graph
2706 Commits
Author SHA1 Message Date
Brent Simmons ec90003718 Merge pull request #5533 from dave-atx/fix-iphone-duo-layout
Drop the empty navigation bar over articles when the bars move to a side
2026-11-04 09:54:44 -08:00
Brent Simmons 04174247d6 Merge pull request #5511 from stuartbreckenridge/fix/article-image-selection-on-duo
Fix full-screen image layout and resizing on iOS
2026-11-04 09:45:48 -08:00
Brent Simmons ac1e1a8571 Merge pull request #5510 from stuartbreckenridge/fix/modernise-find-in-article
🔎 Refresh article search controls
2026-11-04 09:41:57 -08:00
Brent Simmons 522a2c7112 Merge pull request #5506 from dave-atx/fix-article-edge-swipe
Let a left-edge swipe reveal the timeline over an article
2026-11-04 09:34:15 -08:00
Brent Simmons 0cd3486f73 Use photo instead of app icon for thumbnail preview on iOS. 2026-11-03 16:22:17 -08:00
Brent Simmons 0a0ac86153 Rebuild notification inspector only for own account’s feed icons. 2026-11-03 15:43:53 -08:00
Brent Simmons 7035083833 Use shared NetNewsWire feed icon. 2026-11-03 15:43:23 -08:00
Brent Simmons c300d573f3 Skip icon and avatar lookups in timelines that don't show icons. 2026-11-03 14:58:56 -08:00
Brent Simmons e166dbdd9c Reload iOS timeline cells for icon change only when a visible cell might show that icon. 2026-11-03 14:20:48 -08:00
Dave Marquard 4a035abd92 Drop the empty navigation bar over articles when the bars move to a side
The article puts an empty view in the navigation bar's title so a tap on
the bar can enter full screen. With the iOS 27.1 vertical bar (the iPhone
Duo's outer screen, and the inner one in landscape) the bar buttons move
to a side edge, and that title view is all that's left in the top bar. It
keeps an empty bar across the top of the article.

Leave the title view out while verticalBarEdge is set, and update it when
the trait changes. Tapping the bar to enter full screen isn't available
in that layout, which only matters with the full-screen setting on.

The new API is behind #if compiler(>=6.4.2), the Swift in Xcode 27.2, so
Xcodes whose SDKs don't have it still build.

Verified in the iOS 27.2 iPhone Duo simulator: the outer screen in both
orientations and the inner one in landscape. Inner portrait keeps its
horizontal bar and the tap zone.

Fixes #5530.

Written with help from Claude Code.
2026-11-03 14:02:00 -08:00
Dave Marquard 84d894d4d6 Let a left-edge swipe reveal the timeline over an article
The article is a UIPageViewController, and a no-op pan recognizer on its
internal scroll view refuses simultaneous recognition within 40pt of the
left edge, so swiping from there doesn't page back and navigate back at
the same time. It refused every other recognizer there too, including the
split view's reveal gesture. The swipe did nothing over the article while
it still worked alongside the toolbars, where the page view controller
isn't under the touch.

Narrow the refusal to the page view controller's own pan. Paging is still
held back near the edge, and everything else gets the touch.

Found on an unfolded iPhone Duo, where the article fills a 669pt-wide
expanded split view and the timeline is otherwise only reachable from the
sidebar button.

Written with help from Claude Code.
2026-11-03 14:02:00 -08:00
Brent Simmons 9bc39f5172 Split ThumbnailDownloader out from ArticleThumbnailFinder. 2026-11-03 13:40:27 -08:00
Brent Simmons dc27b508b3 Make IconImageCache the source of icon notifications. 2026-11-03 11:53:31 -08:00
Brent Simmons 966641c723 Remove SingleFaviconDownloader. 2026-11-03 11:36:06 -08:00
Brent Simmons 16e54269d7 Load icons at start of background refresh, so widgets and notifications are more likely to get their proper icons. 2026-11-03 09:53:28 -08:00
Brent Simmons 9b35e47f68 Request a feed icon when it isn’t in memory. 2026-11-03 09:50:36 -08:00
Brent Simmons ab921e0885 Reload article view icon only if it’s for the articles feed icon, favicon, or authors. 2026-11-02 16:54:53 -08:00
Brent Simmons e485ea07d9 Finish every article icon scheme task and don’t call a stopped one. 2026-11-02 16:09:39 -08:00
Brent Simmons 2915cb44e7 Parse HTML thumbnails off the main thread at fetch time. Remove batching. 2026-11-01 21:27:18 -08:00
Brent Simmons a204df0d22 Remove articleThumbnailURLs. Cache thumbnail URLs in memory. Parsing is super-fast. 2026-11-01 20:55:18 -08:00
Brent Simmons 24ab32aa80 Parse HTML thumbnails for first 1,000 articles before rows load, so we have thumbnail state for layout. 2026-11-01 20:45:26 -08:00
Brent Simmons 35ae2068c1 Remove prefetching. 2026-11-01 11:30:10 -08:00
Brent Simmons ce90c7390f Remove some unused code. 2026-10-31 15:45:41 -07:00
Brent Simmons 7766bb197a Edit comment. 2026-10-31 15:42:18 -07:00
Brent Simmons c2fe18475a Reload all timeline cells on iOS when feed icons setting changes, so row heights get recalculated. 2026-10-31 12:04:40 -07:00
Brent Simmons f41d3d2ac7 Set only the image on the cell so each download doesn’t rebuild the whole cell. 2026-10-31 11:58:29 -07:00
Brent Simmons 1302f57d3e Use findThumbnailURLs. 2026-10-31 11:05:35 -07:00
Brent Simmons d404b3b8da Update cells about to be displayed, so thumbnail that arrives after the cell was prepared doesn’t leave the row gray. 2026-10-31 10:43:14 -07:00
Brent Simmons 1759eebd55 Remove now-unused three-day image cache flush. 2026-10-30 21:36:01 -07:00
Brent Simmons 8119738499 Use UICollectionViewDataSourcePrefetching to prefetch iOS timeline thumbnails. 2026-10-30 18:05:16 -07:00
Brent Simmons 3da931b856 Find HTML images before updating rows when a timeline thumbnail fails. 2026-10-30 17:52:02 -07:00
Brent Simmons f19b70fda5 Update visible cells directly when a thumbnail arrives. 2026-10-30 17:26:17 -07:00
Brent Simmons 6489ad278d Reconfigure rather than reload cells in iOS timeline. 2026-10-30 17:24:34 -07:00
Brent Simmons d823ef56e9 Reload all rows in iOS timeline when thumbnail display changes. 2026-10-30 17:22:56 -07:00
Brent Simmons 3d6a4fc4d7 Load saved thumbnail URLs before applying changes to the timeline. 2026-10-30 17:19:29 -07:00
Brent Simmons 837406d14f Use ArticleThumbnailFinder chosen thumbnail URLs. 2026-10-30 17:05:19 -07:00
Brent Simmons 60640b235e Use timeline copy in iOS image viewer only if correctly signed. 2026-10-29 12:30:00 -07:00
Brent Simmons 01369a21d3 Try downloading thumbnails again when networking comes back. 2026-10-28 11:49:34 -07:00
Brent Simmons 3cff328792 Look for images in HTML when provided thumbnail fails or is too small. 2026-10-28 11:22:00 -07:00
Brent Simmons f5b5f28ff2 Add routesThumbnailImages so that only webviews get the local image cache URL scheme. 2026-10-28 10:09:49 -07:00
Brent Simmons 640878163e Open image in image viewer from local copy. 2026-10-27 14:29:05 -07:00
Brent Simmons a01029386f Add TimelineThumbnailsDisplay.thumbnailMode. 2026-10-27 14:10:51 -07:00
Brent Simmons 07468ada23 Fix comment. 2026-10-27 11:27:13 -07:00
Brent Simmons 69bebf67af Avoid recomputing thumbnail URL. 2026-10-27 11:24:58 -07:00
Brent Simmons 15110763e9 Download visible thumbnails ahead of next screen prefetches. 2026-10-27 10:59:09 -07:00
Brent Simmons 34e7559a3e Batch iOS timeline cell reloads. 2026-10-27 10:43:01 -07:00
Brent Simmons 6831d31fc9 Create DownloadedImageCache. 2026-10-26 21:05:41 -07:00
Brent Simmons 9f4f9d0162 Show thumbnails in timeline. 2026-10-26 14:41:13 -07:00
Brent Simmons c5758c7da5 Fix build error. 2026-10-26 14:35:58 -07:00
Brent Simmons 4e1489c458 Rejigger previews properly. 2026-10-26 14:31:29 -07:00