Commit Graph
133 Commits
Author SHA1 Message Date
Dave Marquard abb71358b6 Use the system find bar for Find in Article on iOS
Find in Article was a custom search bar plus JavaScript that walked the
page text and drew its own highlights. It predates WKWebView's
UIFindInteraction (iOS 16), and its state lived in the page, so on iPad,
where the article view stays on screen and reuses its web view for the
next article, the bar kept the previous article's text and result count
and Next / Previous did nothing.

Turn on isFindInteractionEnabled and drive the web view's find
interaction instead. ArticleViewController handles find:, findNext: and
findPrevious:, so the system Find menu (Find, Find Next, Find Previous)
works with a hardware keyboard, and the old ⌘F key command goes away.
It also passes Use Selection for Find to the web view, which otherwise
only gets it while it's first responder, so the menu item works when the
view controller has focus. The find bar is dismissed when the article
changes or the article view goes away. The share sheet's Find in Article item still works.

Verified on iPad Pro 11-inch (iOS 27.0) and iPhone 18 Pro (iOS 27.2)
simulators: ⌘F, ⌘G, switching articles from the timeline and with the
next-article button, and the share sheet item.
2026-11-22 07:06:12 -08:00
Brent Simmons a1a60648bf Add hide-feed-icons-in-sidebar setting to iOS. 2026-11-07 21:24:07 -08:00
Brent Simmons d85eb9d27a Remove inverted trailing title constraint from the image viewer. 2026-11-04 11:54:40 -08:00
Brent Simmons 193da682bf Rename MainTimelineModernViewController to MainTimelineViewController. Fixes #5452. 2026-10-02 20:50:16 -07:00
Brent Simmons 4bbe6d3557 Use manual cell layout in timeline. 2026-06-22 10:55:38 -07:00
Brent Simmons 98b05ca283 Put image view in navigation controller so that close and share buttons are laid out properly (ignoring iPad traffic lights). Fixes #5260. 2026-05-27 11:38:09 -07:00
Brent Simmons 5e00e44aa3 Update the launch screens to be a plain background so that it’s not so jarring when the UI appears. 2026-03-31 09:34:08 -07:00
Brent Simmons 5974d0adc4 Make sure next unread button is centered in article view toolbar. 2026-03-30 09:17:27 -07:00
Stuart Breckenridge fc48e247c9 💄 Micro-tweaks to cell previews 2026-02-02 23:26:10 +08:00
Stuart Breckenridge 6f53c4adc5 💄 Fix #5061 - Stop unsatisfiable warnings 2026-02-01 18:33:33 +08:00
Stuart Breckenridge c745a07bb2 💄 Fix #5062 - Ensure StackView font adjusts 2026-02-01 18:26:43 +08:00
Stuart Breckenridge 1bc74848c8 Fix 5048 2026-01-30 05:26:47 +08:00
Stuart Breckenridge bd1d159fc2 🔥 Remove old timeline from Storyboard 2026-01-25 18:45:44 +08:00
Stuart Breckenridge 3b5db807ae ⚡️ Cells go under sidebar
leading swipe action misbehaves on ipad when sidebar is displayed
2026-01-25 17:29:26 +08:00
Stuart Breckenridge 3aba6ce688 ✨ Timeline as CollectionView 2026-01-25 13:56:56 +08:00
Stuart Breckenridge 442b4c0219 additional collectionview work 2026-01-24 23:07:06 +08:00
Stuart Breckenridge 3836d08b11 Additional collection view work 2026-01-24 15:21:34 +08:00
Stuart Breckenridge 12f13d2378 More wrapping fixes 2026-01-23 21:50:54 +08:00
Stuart Breckenridge a2a717c82b ✨ Consolidate logic into once cell type 2026-01-23 07:56:31 +08:00
Stuart Breckenridge e81816d69c bring in changes 2026-01-23 07:55:31 +08:00
Stuart Breckenridge 8be15491f6 Fix #5001 2026-01-21 21:52:31 +08:00
Stuart Breckenridge 5fbaad8b63 Fix #4984
Top separtor extends to unread indicator; other separators extended to text/icon; bottom separator no longer exists.
2026-01-20 21:29:02 +08:00
Stuart Breckenridge 9567f5e9c3 💄 Fix layout and use lineHeight to stop clipping 2026-01-18 18:31:40 +08:00
Stuart Breckenridge ddc767da44 💄 Give Article Title a larger height
Should address #4970
2026-01-17 08:29:52 +08:00
Stuart Breckenridge ef95db3cb2 💄 Add constraint to bottom of icon
Fix #4969
2026-01-17 07:44:57 +08:00
Stuart Breckenridge 02f81cd124 Fixes #4723 / 🔥Deletes old timeline cell code
New Timeline Customizer uses modern cells and provides dual previews (with, without cells). As a result, modern cells have a isPreview property that is used to adjust inset behaviour for iPad previews.

Old cell code has been removed.
2025-08-22 08:22:54 +08:00
Stuart Breckenridge 0769241a60 🩹 Fixes unread trailing alignment 2025-08-21 06:50:38 +08:00
Stuart Breckenridge 0050146577 💄 Make tile consistent
.tile is the default behaviour to maintain the display of three columns  when selecting a timeline item.
2025-08-18 23:01:02 +08:00
Stuart Breckenridge 95fbd8a81c 🔥 Delete MainFeedViewController from Storyboard 2025-08-18 13:59:35 +08:00
Stuart Breckenridge 90bd75f203 Fixes #4719 by adjusting paragraph style 2025-08-15 19:58:12 +08:00
Stuart Breckenridge 146b877745 Fixes #4715
Addresses vertical layout, makes disclosure indicator symbolScale `medium`.
2025-08-14 20:12:43 +08:00
Stuart Breckenridge 4886bb6718 Fixes #4714
Unread count text is now centre justified.
2025-08-14 20:00:58 +08:00
Stuart Breckenridge bfde95c9af 💄 Pins constraint to safe area 2025-07-30 21:59:32 +08:00
Stuart Breckenridge a6c872004d 💄 Tidied up storyboard
pins cell content to safe area.
2025-07-26 20:20:10 +08:00
Stuart Breckenridge 3251861e3d 🔥 Removes unused titleView code; fixes cell ID 2025-07-24 22:27:40 +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 6eb65e9f61 💄 Switch to using platform filter button 2025-06-13 19:22:43 +08:00
Stuart Breckenridge b15a5a50b8 💄 Remove unused flex spacer in toolbar 2025-06-13 14:54:29 +08:00
Stuart Breckenridge e201f11410 💄 Changes iOS to use insetGrouped for Feeds view 2025-06-13 14:32:14 +08:00
Brent Simmons 5a2816334f Use displace mode and set primary fraction for split view controller. 2025-01-17 22:14:28 -08:00
Brent Simmons 5b892d1d99 Use automatic instead of tile behavior for split view. 2025-01-04 19:29:18 -08:00
Brent Simmons f180c37d1a Make sure iPad shows Feeds view on first run. 2024-12-30 21:32:18 -08:00
Brent Simmons b601c181dd Rename Master* to Main*. 2024-12-24 12:09:41 -08:00
Brent Simmons a86d4dbab4 Rename MasterFeed* to MainFeed*. 2024-12-24 11:37:23 -08:00
Maurice Parker a6b19fb22a Change to new iOS 3 panel UISplitViewController 2024-12-22 22:03:08 -08:00
Brent Simmons 3c6e1bd43c Fix warning about not having set an initial view controller. 2024-12-14 21:55:28 -08:00
Maurice Parker 5716bc3d19 Fix compiler warnings 2021-09-30 09:35:44 -05:00
Maurice Parker b69f936cb1 Change the Mark All As Read confirmation back to an Alert. Fixes #2968 2021-04-03 11:02:15 -05:00
Stuart Breckenridge 6eba67c158 Adds context menus to mark all as read 2021-02-01 08:12:20 +08:00
Stuart Breckenridge 7c4e93e1c4 adds add item context menu for iOS 14 2021-01-31 22:37:47 +08:00