Commit Graph
661 Commits
Author SHA1 Message Date
Brent Simmons fb35e2857c Fix build error. 2025-11-02 10:30:28 -08:00
Brent Simmons bb8a7633d6 Remove references to MAC_APP_STORE. 2025-11-01 22:27:39 -07:00
Brent Simmons 5e39b569a7 Merged main to branch. 2025-11-01 15:53:33 -07:00
Brent Simmons b368392c5f Add markdown column to the articles table. Save and fetch markdown as part of articles. 2025-10-29 17:04:34 -07:00
Brent Simmons afd4c2f938 Merge branch 'main' of https://github.com/Ranchero-Software/NetNewsWire 2025-10-08 17:51:17 -07:00
Brent Simmons 5d0236f7e4 Show the web view after navigation did commit rather than after didFinish, which can prevent a surprisingly long delay in some cases. Fix #4030. 2025-10-07 09:20:24 -07:00
Brent Simmons 375914f906 Fix crashing bug when adding a folder. 2025-10-05 11:43:41 -07:00
Brent Simmons d7a23a69da Set sidebar collapse state synchronously so there’s no visible collapsing on launch. 2025-10-03 20:42:19 -07:00
Brent Simmons 7a455d7c6e Check the unread count — instead of doing a database fetch of articles, which is costly — to decide to include the mark-all-read menu item. Do the fetch when actually marking-all-read. Fix #4630. 2025-10-03 14:20:23 -07:00
Brent Simmons 3513b3d373 Fix build warning. 2025-10-02 21:31:36 -07:00
Brent Simmons 69813ac7e2 Remove unused os_log. 2025-10-02 21:18:36 -07:00
Brent Simmons 1aad7ec98a Fix warnings in copyArticleURL and copyExternalURL. 2025-10-01 16:24:12 -07:00
Brent Simmons 374b005a83 Handle multiple selection when validating and performing the copy-article-url and copy-article-external-url commands. Fix #3681. 2025-10-01 09:41:38 -07:00
Brent Simmons 070ab886d5 Make Sidebar the first toolbar item by default, as per https://marioaguzman.github.io/design/toolbarguidelines/ 2025-09-29 22:02:13 -07:00
Brent Simmons 55cb86f258 Use new shared WebViewConfiguration. 2025-09-22 22:20:28 -07:00
Brent Simmons 718204e4d8 Make sure window is non-nil before using it — don’t force-unwrap it. Fix #3827. 2025-09-16 11:02:41 -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 661f40bd5d 📌 Add formatter to match #3892 2025-09-14 11:36:53 +08:00
Stuart Breckenridge fd915fee9e Fixes #3892 - Formatter used for unread counts 2025-09-11 21:19:16 +08:00
Brent Simmons ad463becea Migrate state restoration with legacy (pre-secure-state-restoration) data. 2025-08-15 17:24:24 -07:00
Brent Simmons 03d27d12c1 Be explicit about legacy and secure window state, in order to make it possible to migrate from legacy to secure. 2025-08-15 11:42:54 -07:00
Brent Simmons 8daa9de75b Remove unneeded type check. 2025-08-14 21:33:04 -07:00
Brent Simmons 91f66835f9 Mark classes as final. Create private Key structs instead of duplicating string literals. Make supportsSecureCoding let instead of var. 2025-08-14 16:24:54 -07:00
Brent Simmons 74890781c5 Remove unneeded return. 2025-08-14 16:23:03 -07:00
Brent Simmons 15132bcbd9 Remove unneeded return. 2025-08-14 16:22:52 -07:00
Maurice Parker 17860b72f5 Change Mac state preservation to be NSSecureCoding compliant 2025-08-13 14:24:29 -05: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
Stuar Breckenridge 5d750facd3 💄 Improve legibility of unread count on macOS 2025-06-22 07:55:53 +08:00
Stuar Breckenridge 58e2060fc3 💄 Make macOS timeline swipe under sidebar
Fixes #4670
2025-06-22 07:53:53 +08:00
Stuart Breckenridge c5184b610c ✨ Bubbles and Sparkles for cleaning, images on tl 2025-06-20 22:09:28 +08:00
Stuart Breckenridge ece3d14478 💄 Adds images to sidebar menu items 2025-06-20 21:58:44 +08:00
Stuart Breckenridge 05907db70a 💄 Move sidebar toggle to sidebar 2025-06-20 20:02:10 +08:00
Stuart Breckenridge 0483e9bb9d 🔥 Don’t use image there! 2025-06-20 19:50:52 +08:00
Stuart Breckenridge cabaa32be5 🔥 Removes unused #available checks 2025-06-20 19:48:15 +08:00
Stuart Breckenridge 00b8affe5f 💄 Updates unread count text to be subtle (macOS) 2025-06-20 16:01:58 +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 86f6d51428 Fix typos. 2025-04-28 21:45:23 -07:00
Ethan Wong bb1fb146ea Do not make the sidebar first responder when it’s collapsed. 2025-04-28 21:10:27 -07:00
Henrik Hørlück Berg 389c8529cc Disable audio autoplay on macOS
- To be in-line with how this is threated on iOS
2025-04-28 21:07:47 -07:00
Ethan Wong d4f9c25df4 Allow 'Open Link' item to show on the contextual menu of web links. (fixes #3666) 2025-04-28 08:40:28 -07:00
haikusw 29d46d3cb4 rename to shorter version since we no longer need to distinguish between this and other dragOperation type. 2025-04-27 22:02:15 -07:00
Tyler aabb149307 Address 3580 by using only the items in the DraggingInfo to handle the drag and no view properties associated with a single window.
Remove cached `draggedNodes` optimization and just always use the data on the dragging pasteboard because it works both within the same window and across two windows.

Add support for WebFeedPasteboardWriter to include a parent containerName in the pasteboard dictionary written for a WebFeed object (which doesn't know about it's parent) because we need this for drag and drop to be able to perform a move operation.

Fix issue with dragged feeds not knowing their parent folder and delete deleting the wrong item by telling WebFeedPasteboardWriter what the container of items is.  Remove code that is now unused now that draggedNodes is removed and consolidate code that was expanded to handle both node and pasteboard items since we are just using pasteboard items now.
2025-04-27 22:01:58 -07:00
Nate Weaver c028880e58 Return [Article] from articlesForIndexes() instead of Set<Article> 2025-04-27 21:53:43 -07:00
J-rg d5f02d8529 Fix blurry sidebar symbols (#3268) 2025-04-27 19:01:11 -07:00
Sean Santry 3b3b228d5d Save Sidebar open/collapsed state between launches. Fixes #2707 2025-04-27 16:36:14 -07:00
Ethan Wong a82a1e16f9 Fix: bottom inset of TimelineTableView disappeared on macOS Monterey 2025-04-27 16:26:50 -07:00
Brent Simmons 2826913235 Add and use ArticleRenderingSpecialCases — the one special case is The Verge’s feed. This works around their bug. 2025-04-25 21:14:35 -07:00
Brent Simmons 6ad239fb39 Add sharingServicesForItems_noDeprecationWarning to silence deprecation that we’re accepting. 2025-04-25 09:30:49 -07:00
Brent Simmons c43776ae36 Fix several warnings. 2025-04-25 08:55:50 -07:00