Commit Graph
69 Commits
Author SHA1 Message Date
Stuart Breckenridge fa39785e5e 🎨 Fix wrapping and delete old code 2026-01-23 08:07:26 +08:00
Brent Simmons a164fe82e9 Remove some now-unneeded guard statements. 2026-01-22 10:15:29 -08:00
Brent Simmons c7ecf5ecc2 Avoid some instances of force-unwrapping. Add defensive code about the view being loaded. 2026-01-22 10:00:40 -08:00
Brent Simmons 8f1d5ee77f Disable next unread button when there are no unread articles anywhere. Fix #5000. 2026-01-21 21:29:25 -08:00
Brent Simmons 8c05226e5a Set the search controller to not automatically capitalize the first letter. Fix #4997. 2026-01-21 15:35:18 -08:00
Brent Simmons 45eacffc80 Merge pull request #5002 from stuartbreckenridge/main
Multiple Fixes
2026-01-21 09:27:27 -08:00
Stuart Breckenridge dc2eb4ad2a Fix #4993 2026-01-21 22:10:58 +08:00
Stuart Breckenridge 3d59ffbf8c Fix #4991
Navigation title/subtitle does not participate in dynamic type
2026-01-21 21:48:28 +08:00
Stuart Breckenridge b660d23128 Fix #4998
change tint and scopebarbackground
2026-01-21 21:42:47 +08:00
Brent Simmons fba76983d3 Use diffable data source APIs to update cells rather than direct cell access. 2026-01-20 21:21:09 -08:00
Brent Simmons 179d4675b0 Fix SwiftLint issues. 2026-01-20 09:10:06 -08:00
Stuart Breckenridge 79598ab98e 🔥 Remove unused code 2026-01-20 22:31:19 +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
Brent Simmons 7a10ca2723 Make navigationBarTitleLabel and navigationBarSubtitleTitleLabel so they can only be created once. Remove an unneeded return. Set navigationItem.title in case the custom view disapepars for some unknown reason. 2026-01-19 17:16:40 -08:00
Brent Simmons 9704d73182 Set navigationItem.title to nil on viewDidLoad to not allow "Timeline" to accidentally show as the title in the navigation bar. 2026-01-19 17:09:39 -08:00
Brent Simmons 8ed864ff1f Fix a case of flashing in the timeline while favicons and feed icons are being downloaded. Create and use updateIconForVisibleArticles for both favicon and feed icon notifications. 2026-01-19 16:02:51 -08:00
Brent Simmons fcfc68dabb Fix SwiftLint issue. 2026-01-17 13:57:18 -08:00
Stuart Breckenridge 5893ecaf89 🩹 Make sure toolbar buttons active after search
Fixes #4966
2026-01-17 08:41:56 +08:00
Brent Simmons c9ce198eef Fixed some SwiftLint issues. 2026-01-14 21:05:05 -08:00
Stuart Breckenridge ab26a96caf 💄 Make timeline nav subtitle same font as feeds 2026-01-13 21:03:08 +08:00
Stuart Breckenridge cad2774d4c 🐛 Fix context menu crash
Fix #4945
2026-01-12 20:24:46 +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 d9216a3275 Fix various SwiftLint warnings. 2026-01-02 15:58:36 -08:00
Brent Simmons fb1b901efe Fix various SwiftLint warnings. 2026-01-02 11:42:12 -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 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 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 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 f4429de5d8 🔥 Remove willChangeTo displayMode: 2025-08-18 14:23:13 +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 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 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