Commit Graph
55 Commits
Author SHA1 Message Date
Brent Simmons 0832a7cf67 Fix various SwiftLint warnings. 2026-01-01 17:55:12 -08:00
Brent Simmons 6e015c1aba Merge (manually) state restoration changes from 6.2.1. 2025-12-30 21:00:07 -08:00
Stuart Breckenridge 1b822cf0ad 🩹 Fix to make sure unread count displays 2025-12-12 20:24:58 +08:00
Brent Simmons c7843f8f1b Make IBOutlets strong instead of weak. 2025-11-19 19:43:09 -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 415a6f4661 Fix various concurrency issues. 2025-11-18 16:29:59 -08:00
Brent Simmons 1f51119aa3 Convert RSCore to approachable concurrency. 2025-11-13 17:11:34 -08:00
Brent Simmons 143e5e1da8 Use Swift 6.2 tools and Swift 6 language mode with RSTree. Deal with fallout. 2025-11-10 11:26:10 -08:00
Brent Simmons 9efde554d4 Clean whitespace-only lines. 2025-11-05 11:22:10 -08:00
Brent Simmons 7e120bcbb4 Rename some instances of webfeed as feed. 2025-11-03 10:16:03 -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 b29b2bcbc6 Rename WebFeed class to Feed. 2025-11-02 14:51:46 -08:00
Brent Simmons 49d2d6dfe6 Rename Feed to SidebarItem. Fix #4752. 2025-11-02 12:17:44 -08:00
Brent Simmons 5e39b569a7 Merged main to branch. 2025-11-01 15:53:33 -07:00
Brent Simmons 925f5c1ed4 Pass the markdown parameter. 2025-10-29 21:08:25 -07:00
Stuart Breckenridge 92bddedb96 🚑️ Fix #4794 - Resolve context preview glitches
`CroppingPreviewParameters` used the wrong frame — the entire cell, inclusive of what was under the sidebar. The revised code uses the cell’s contentView as the preview and includes the respective preview for dismissing the preview.

`CroppingPreviewParameters` is still used on the sidebar.
2025-09-25 21:35:44 +08: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 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 f4429de5d8 🔥 Remove willChangeTo displayMode: 2025-08-18 14:23:13 +08:00
Stuart Breckenridge 4eca8f227a 💄 Enable trunction with NSMutableParagraphStyle 2025-08-16 18:56:30 +08:00
Stuart Breckenridge 49e22cacb4 Fix #4722 - Use custom title/subtitle views
This restores the ability to tap the feed title and display the inspector.

- A tap gesture is added to both title/subtitle, and pointer interaction is added to just the title.
- As the title/subtitle is updated, user interaction is disabled when the feed is PseudoFeed.
2025-08-16 18:36:11 +08:00
Stuart Breckenridge bf77f36a66 🐛 🔥 Fixes avatars and deletes code 2025-08-15 20:51:43 +08:00
Stuart Breckenridge 59a4d37925 🔥 Removes unused code (fixes #4720) 2025-08-15 20:22:44 +08:00
Stuart Breckenridge 90bd75f203 Fixes #4719 by adjusting paragraph style 2025-08-15 19:58:12 +08:00
Stuart Breckenridge d5529774c7 💄 Make sidebar selection more obvious
on ipad, when a sidebar item is selected the text is bold; otherwise regular.

twaks the background margins for selected timeline items.
2025-07-30 21:53:42 +08:00
Stuart Breckenridge 0be7ecbde6 🩹 Remove setNeedsLayout 2025-07-26 18:41:27 +08:00
Stuart Breckenridge 3251861e3d 🔥 Removes unused titleView code; fixes cell ID 2025-07-24 22:27:40 +08:00
Stuart Breckenridge 5941dd119e 🔥 Removes some unrequired calls 2025-07-24 22:15:08 +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 057ab42036 💄 Removes Unread count from MainTimelineView
+ adjusts contraints to ensure icon and title are centred.
2025-06-14 14:46:41 +08:00
Stuart Breckenridge 9dd088fac9 🔥 Removes subtitle code from Timeline 2025-06-14 14:45:27 +08:00
Stuart Breckenridge 31eb4cf37d 🩹 Make subtitle nil on timeline 2025-06-13 22:56:18 +08:00
Stuart Breckenridge 6428bf575f 💡 Adds FIXME 2025-06-13 20:13:25 +08:00
Stuart Breckenridge 6eb65e9f61 💄 Switch to using platform filter button 2025-06-13 19:22:43 +08:00
Stuart Breckenridge dfa45434ac 🩹 Makes sure search bar is added to phone 2025-06-13 17:53:19 +08:00
Stuart Breckenridge 54d3aa4be8 💄 Move search bar
Note: Device rotation can cause a crash.
2025-06-13 15:53:22 +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
Brent Simmons 86f6d51428 Fix typos. 2025-04-28 21:45:23 -07:00
Brent Simmons b7d4041781 Simplify WebView loading on iOS. 2025-04-28 21:00:31 -07:00
Brent Simmons 2e019492f7 Remove force-unwrapping which may be trigger a crashing bug. 2025-04-27 21:25:03 -07:00
Brent Simmons eb10ccaea0 Remove force-unwrapped optionals which may be the cause of a crash bug. 2025-04-27 21:19:20 -07:00
Brent Simmons 016726a21d Make coordinator not force-unwrapped — fix crashing bug. Fix #4618. 2025-04-26 16:06:33 -07:00
Brent Simmons aa75efaa2e Fix test-time crashes by making sure some main thread code runs on main thread. 2025-04-20 21:21:38 -07:00
Brent Simmons 8c14c98664 Reload cells when HTMLMetadata is available. 2025-01-19 17:59:54 -08:00
Brent Simmons e7992441bb Handle more cases in willChangeTo displayMode delegate method. Create and use setRefreshToolbarItemVisibility method on TimelineViewController. 2025-01-18 21:47:05 -08:00