Commit Graph
2688 Commits
Author SHA1 Message Date
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
Brent Simmons 47ef9bc51c Stop using enum type as notification object, since that won’t work. 2026-10-26 14:31:16 -07:00
Brent Simmons 53adcc286e Add thumbnail support to iOS timeline cells. Show thumbnails in Timeline Layout settings preview. 2026-10-26 12:57:43 -07:00
Brent Simmons 1e0cfb9da4 Tweak timeline previews. 2026-10-26 12:16:44 -07:00
Brent Simmons 0611366ad2 Create and use TimelineFeedIconsDisplay. 2026-10-26 11:36:44 -07:00
Brent Simmons 9655f1660c Add shared thumbnail setting to defaults. 2026-10-26 10:11:55 -07:00
Brent Simmons 2c17fb77c9 Add thumbnail storage. 2026-10-23 12:11:33 -07:00
Brent Simmons 322b839387 Update tests to pass in attachments parameter. 2026-10-23 08:46:30 -07:00
Brent Simmons d9ec7df6f9 Fix build error. 2026-10-22 20:55:50 -07:00
Brent Simmons e2bc3b4102 Remove unneeded helper functions. 2026-10-22 14:11:46 -07:00
Brent Simmons 1f5ca7b080 Remove unneeded return keywords. 2026-10-22 14:02:53 -07:00
Brent Simmons d2833b65ca Move AppDefaults to Shared. Make Mac and iOS version extensions of AppDefaults. 2026-10-22 14:00:59 -07:00
Brent Simmons 2ce850441b Make AppDefaults an enum instead of singleton class. 2026-10-22 13:46:32 -07:00
Brent Simmons b45fcbc7d0 Migrate iOS UserDefaults from suite to standard. Fixes #5466. 2026-10-22 13:32:07 -07:00
Brent Simmons 59c0afe4a9 Respect the user preference for JavaScript so that YouTube embedded videos and similar appear in the preview when they should. 2026-10-22 09:45:12 -07:00