Commit Graph
268 Commits
Author SHA1 Message Date
Stuart Breckenridge 2a457b4c8f ✨ Adds posh context menus 2026-02-03 20:35:00 +08:00
Brent Simmons 4698696d8c Add logger to ArticleViewController. 2026-01-28 13:22:14 -08:00
Brent Simmons 8ec78a26bc Use label color instead of accent color so that the button doesn’t appear blue. Fix #5036. 2026-01-27 19:29:11 -08:00
Brent Simmons c635cb9d06 Add debug code for writing rendered article HTML to disk. 2026-01-08 20:30:51 -08:00
Brent Simmons a9b4efeaab Remove most uses of forEach. (Note: not talking about SwiftUI ForEach, which is fine and good and should not be removed.) 2026-01-04 12:36:41 -08:00
Brent Simmons 9ff1bd9836 Fix various SwiftLint warnings. 2026-01-02 17:50:35 -08:00
Brent Simmons d0d7d0c823 Fix various SwiftLint warnings. 2026-01-02 15:13:44 -08:00
Brent Simmons 9180ec3ecd Fix various SwiftLint warnings. 2026-01-02 15:05:23 -08:00
Brent Simmons e96b92a4c3 Fix various SwiftLint warnings. 2026-01-02 10:45:46 -08:00
Brent Simmons 36956c0345 Fix various SwiftLint warnings. 2026-01-02 10:17:41 -08:00
Brent Simmons dbaa8142e1 Fix various SwiftLint warnings. 2026-01-01 18:07:54 -08:00
Brent Simmons 0832a7cf67 Fix various SwiftLint warnings. 2026-01-01 17:55:12 -08:00
Brent Simmons 61e109a0d5 Fix various SwiftLint warnings. 2026-01-01 15:59:20 -08:00
Brent Simmons a0e9363127 Save state to UserDefaults. 2025-12-04 21:08:47 -08:00
Brent Simmons 599636b310 Create an SFSafariViewController safely — don’t crash on an unhandled Objective-C exception. 2025-12-04 09:32:46 -08:00
Brent Simmons c7843f8f1b Make IBOutlets strong instead of weak. 2025-11-19 19:43:09 -08:00
Brent Simmons c4fe05617e Move some things to RSCore. 2025-11-19 19:33:12 -08:00
Brent Simmons beeeabba24 Convert AppAssets to shared Assets. 2025-11-19 10:38:18 -08:00
Brent Simmons 39ffd38461 Continue conversion from AppAssets to shared Assets. 2025-11-18 22:08:33 -08:00
Brent Simmons 833d06c076 Fix various concurrency issues. 2025-11-18 20:22:48 -08:00
Brent Simmons b7c7c09ea6 Fix various concurrency issues. 2025-11-18 19:07:17 -08:00
Brent Simmons 415a6f4661 Fix various concurrency issues. 2025-11-18 16:29:59 -08:00
Brent Simmons 4fa0b65d98 Convert from default MainActor isolation to unspecified default isolation. 2025-11-17 21:53:40 -08:00
Brent Simmons b2875736b3 Simplify MainThreadOperation and MainThreadOperationQueue. Make MainThreadOperation a class instead of a protocol. (The extremely rare case where subclasses are a good idea.) 2025-11-11 19:09:33 -08:00
Brent Simmons 9efde554d4 Clean whitespace-only lines. 2025-11-05 11:22:10 -08:00
Brent Simmons faba422eca Rename some instances of webfeed as feed. 2025-11-03 09:32:50 -08:00
Brent Simmons 48bb1b407c Rename some instances of webfeed as feed. 2025-11-02 16:17:42 -08:00
Brent Simmons 37c332554d Rename article.webFeed to article.feed. 2025-11-02 15:12:00 -08:00
Brent Simmons 69aa4e734f Fix deprecation warning. 2025-11-02 10:30:36 -08:00
Brent Simmons 5e39b569a7 Merged main to branch. 2025-11-01 15:53:33 -07:00
Brent Simmons 4a9a9e755f Merge branch 'task/ios-wkuserscript-4309' 2025-09-28 11:55:37 -07:00
Brent Simmons 5a8403c053 Download and display image, since we can no longer get the image from the webview due to security policies. 2025-09-28 11:51:42 -07:00
Stuart Breckenridge 00d34234ff 🔥 Remove debug UIResponder code 2025-09-28 10:54:46 +08:00
Stuart Breckenridge c095334cff 🩹 Stop keyboard reappearing after it dismissal
Only allow the article search bar to start editing viewDidAppear. This stops the keyboard appearing at the wrong time. Fixes #4796
2025-09-28 10:53:25 +08:00
Brent Simmons 3cf3bc5763 Use shared WebViewConfiguration.configuration. Make sure allowsContentJavaScript is accessed on main thread. 2025-09-23 10:09:32 -07:00
Brent Simmons f80d081874 Fix a typo. 2025-09-23 10:08:57 -07:00
Brent Simmons 95d2d0e07b Remove extraneous whitespace. 2025-09-23 10:08:39 -07:00
Brent Simmons 4b7ea6d920 Mark classes as final when they can be, to communicate intent (don’t subclass these). Fix #4751. 2025-09-16 10:21:29 -07:00
Stuart Breckenridge cd31f676ce 📌 Apply #4323 js preferences to 7.0 2025-09-14 17:38:27 +08:00
Stuart Breckenridge 402fbd3da3 🩹 Amend #4323 JS pref changes cause reload only 2025-09-14 11:19:01 +08:00
Stuart Breckenridge b2e3ed7b92 Address #4323 Feedback
Note: the diff for Settings.storyboard is large, but it’s only to add a tableviewcell for the enableJS toggle.
2025-09-13 12:32:48 +08:00
Stuart Breckenridge 278994c86d Fixes #4323 adds option to disable js on iDevices 2025-09-11 22:19:35 +08:00
Stuart Breckenridge 04f659f704 💄 Liquid Glass Redesign for NetNewsWire
💄 Add `MainFeedCollectionViewController`

💄 Add and hook up UICollectionView in Storyboard

🚧 Collection view loads temp cells

🚧 UICollectionView

- Adds capsule shape for iPad selection
- Add filter button, newItem button, settings button
- Configures the collection view based on platform
- implementsDidSelectItem at
- Clears cell background on iPad
- Adds cell textColor for iPad
- Storyboard changes

🚧 Adds unread count and favicon support

🚧 Smartfeed icons now display

🚧 iPhone cells are consistent in light/dark mode

💄 Sidebar modernised

Known bug: Sidebar text doesn’t adapt to dark/light mode changes on iPad

💄 Modern Sidebars

Fixes some accessibilty issues and adds swipe actions.

🩹 Become firstResponder

🩹 Workaround #4691

💡 Remove print statement

💄 Fixes to storyboard

- adjusts constraints on timeline header view
- launch screens now adopt look of liquid glass

Restore coordinator behaviour

⚡️ Tweaks to MainFeedCollectionViewController

- On iPhone, returning to the feeds view deselect the current feed with an animation.
- On iPhone, prefers large titles defaults to `false`
- Capsule background with smaller corner radius for iPhone added for selected status.

🩹 Fixes folder height

💄 Fix unread count vertical alignment

💄 Restores header & use UICellConfigurationState

💄 Sidebar tweaks

💄 Folders now highlight on as drop target

💄 Sidebar fixes

- Moves more code to cell configuation state
- Allows sidebar to move to larger sizes

🩹 Fixes #4694  folder expansion using keyboard

💄 Adds new cell types for the Timeline

♻️ Remove dead code and re-orders to viewWillApp

🩹 Reordering of code from viewWA to viewDA

💄 Removes unused code, tweaks layout

💄 Multiple tweaks to sidebar and timeline

💄 Add missing constraint

♿️ Puts timeline metadata in a stackview

🎨 Adds stackview function

💄 🚑️ Moves to modern UISliders

Timeline customiser now uses modern UISliders as they have tickmark functionality.

`TickMarkSlider` marked as deprecated.

💄 Make All Unread cell icon tint correctly

💄 Extend edges under opaque bars on timeline

💄 Image View Controller uses modern button style

🚚 Renames `MainTimelinePseudoFeedCell`

💄 Improve feed selection animations

🩹 Use shouldSelectItem to handle selection logic

🩹 Fix fill settings for stack view

💄 Comment out usage of MainTimelineTitleView

🔧 Remove iOS cells from macOS target

💄 Give columns some flexibility

💄 Fix chevron size and alignment

💄 Don’t prefer large navigation bar titles

They create a delay in animation on iPhone.

🩹 Fixes nav bar subtitle performance

🎨 Minor refactor

- Switch logic in cell state
- Prefer traitCollection.userInterfaceIdiom

➕ Add updated mac code for the About view

💄 NSGlassVisualEffectView for About
2025-07-23 21:58:47 +08:00
Stuart Breckenridge 29a63aa065 💄 Hide subtitle in article view 2025-06-13 19:54:29 +08:00
Brent Simmons 4d930dd5e4 Restore changes reverted in previous beta. 2025-05-09 20:30:04 -07:00
Brent Simmons 9aa93166b7 Revert more changes since 6193 in hopes of fixing the scrolling bug. 2025-05-09 09:22:34 -07:00
Brent Simmons ee9c14783f Revert webview changes that might be the cause of the no-scroll-on-coming-back-from-sleep bug. 2025-05-08 21:29:58 -07:00
Ethan Wong e6a11197fe Allow ImageViewController to be closed with the space key on physical keyoard for iOS. 2025-04-28 21:04:02 -07:00
Brent Simmons b7d4041781 Simplify WebView loading on iOS. 2025-04-28 21:00:31 -07:00
Stuart Breckenridge ad12d1c1de 🚑️ Fixes #4483 by showing bars on rotation
On rotation, if the device is a .phone and it is transitioning to a `.regular` horizontal size class—it’s big—bars in the article view are surfaced to workaround a crash. This doesn’t affect behaviour on smaller iPhones or iPads.
2025-01-12 20:45:01 -08:00