Commit Graph

297 Commits

Author SHA1 Message Date
Maurice Parker
f79eaf7c19 Avoid redundant shadow table rebuilds when auto-expanding containers. 2020-02-18 09:30:58 -08:00
Maurice Parker
03c1ed2625 Make handling of programmatic feed selection when filtered or collapsed more consistent. Issues #1788 and #1792 2020-02-17 17:40:40 -08:00
Maurice Parker
76bad13ae1 Rebuild the backing stores to except spotlight search result restoration. Issue #1759 2020-02-04 11:00:55 -08:00
Maurice Parker
e47e2d4ea0 Fetch any potential new articles and merge them when returning to the foreground. Issue #1761 & #1754 2020-02-03 14:05:22 -08:00
Martin Hartl
83241cc329 Don’t show “Go to feed” action if already inside feed 2020-02-02 21:44:54 +01:00
Maurice Parker
df3c78b1c6 Change next/prev feed searches so that they skip collapsed sections. Issue#1755 2020-01-30 18:37:22 -07:00
Maurice Parker
f9589faa59 Keep queued WKWebViews in a hidden view until they are needed. Issue #1563 2020-01-29 17:39:40 -07:00
Maurice Parker
fdde879910 Rest the currentFeedIndexPath if it has become invalidated by a shadow table rebuild. Issue #1741 2020-01-29 17:06:35 -07:00
Maurice Parker
967410e0f5 Don't rebuild the shadow table during launch for unread counts. Issue #1733 2020-01-29 12:19:28 -07:00
Maurice Parker
6b23cadc41 Empty the timeline when ending the search to make sure diffable datasources don't keep some search cells around. Issue #1736 2020-01-29 11:41:05 -07:00
Maurice Parker
f96bb9c3e0 Store more article view controller state when destroying and recreating them. Issue #1729 2020-01-29 11:30:52 -07:00
Maurice Parker
03fbdbbe66 Exempt folders from the read filter if they have a child selected. Issue #1735 2020-01-29 11:18:17 -07:00
Maurice Parker
b292ea97fc Dismiss the search bar if next unread takes us out of the search timeline. Issue #1722 2020-01-28 17:16:49 -07:00
Maurice Parker
76aa603874 Change to no longer filter currently selected Feed. Issue #1728 2020-01-28 16:51:50 -07:00
Maurice Parker
6ac6136612 Make animations individually selectable and no longer animate navigation selections. Issue #1439 2020-01-27 21:57:52 -07:00
Maurice Parker
3a99e6430f Make the article icon code specify the desired article so that it can't pull the wrong one by mistake. Issue #1707 2020-01-27 12:58:32 -07:00
Maurice Parker
99fbd2d1a1 Remove extraneous code that was causing the unread counts to sometimes not be displayed. Issue #1711 2020-01-27 11:28:59 -07:00
Maurice Parker
f2ac6ff1df Add functionality to clear the timeline and article views if their respective items get collapsed or filtered. Issue #1708 2020-01-26 21:18:43 -07:00
Maurice Parker
4a63b28c73 Change how next and previous articles are selected so that animation timings can't impact them. Issue #1707 2020-01-26 14:21:04 -07:00
Maurice Parker
fdde6d0583 Make sure that the smart feed section is expanded before selecting the all unread feed. Issue #1673 2020-01-25 16:13:33 -07:00
Maurice Parker
aa94fbeacf Merge articles instead of replacing them for add remove feed and account functions. Issue #1692 2020-01-23 18:07:20 -07:00
Maurice Parker
deab8f8c6c Change to stop recycling the article view controller when switching panel modes on the iPad. Issue #1570 2020-01-21 11:05:47 -07:00
Maurice Parker
8df8dfdb75 Update the Feeds list when a Feed's unread count gets above zero and the read filter is on. Issue #1550 2020-01-19 16:44:13 -07:00
Maurice Parker
046162b303 Update the SceneCoordinator to use the same lookup method to determine if the node should be getting its unread count from the SceneCoordinator. 2020-01-16 15:24:48 -07:00
Maurice Parker
d68eccc55e Exit search if Go To Feed is selected. Issue #1557 2020-01-15 17:53:12 -07:00
Maurice Parker
21cf8415d2 Add confirmation for Mark As Read actions. Issue #1603 2020-01-11 11:30:16 -07:00
Maurice Parker
f1e01bd43f Automatically show the nav and toolbars when separating controllers. Issue #1593 2020-01-09 21:22:29 -07:00
Maurice Parker
078c5dbb5c Reset the timeline middle position anytime we replace the articles. Issue #1565 2020-01-08 11:06:41 -07:00
Martin Hartl
02ab44c3eb Only show mark unread above/below actions if articles above/below contained unread items 2020-01-07 22:48:15 +01:00
Martin Hartl
d96a2b4097 Add keyboard shortcut for “Mark Above as Read” 2020-01-04 09:42:29 +01:00
Martin Hartl
5ee491ebee Replace “Mark Older as Read” actions with “Mark Above/Below as Read” actions 2020-01-03 09:00:25 +01:00
Maurice Parker
c2d298b836 Add the image title text to zoomed images. Issue #1468 2019-12-31 18:06:27 -07:00
Maurice Parker
af76e44c0f Changed ArticleViewController to utilize UIPageViewController to provide gesture based navigation. 2019-12-31 16:55:39 -07:00
Maurice Parker
84d1ccadfd Clear the saved middle position when emptying the timeline. Issue #1464 2019-12-24 17:55:56 -07:00
Maurice Parker
58b24f3349 Rename callback: to completion: 2019-12-14 18:01:34 -07:00
Maurice Parker
1ae421d3c8 Change to check correct unread value to determine timeline button state. Issue #1433 2019-12-14 15:29:20 -07:00
Maurice Parker
e303d64c1d Refresh feeds and sidebar when downloaded articles update all their unread counts. Issue #1430 2019-12-10 18:17:54 -07:00
Maurice Parker
8ca6ffc379 Restore focus to the timeline after searching so that keyboard shortcuts work. Issue #1387 2019-12-08 18:31:55 -07:00
Maurice Parker
5dcab57256 Change so that focus is on Feeds when restoring a feed. Issue #1386 2019-12-08 18:25:22 -07:00
Maurice Parker
7a6b818f57 Only reset the timeline under certain conditions. Issue #1422 2019-12-08 18:14:33 -07:00
Maurice Parker
f159371967 Change to make sure all queue's get cleared before suspending the database. Issue #1389 2019-12-02 14:14:35 -06:00
Maurice Parker
4f3f56bda5 Correct scenario where article view controller wasn't getting popped of the navigation stack when there wasn't a selected article. 2019-12-01 13:45:18 -06:00
Maurice Parker
6ed1c27856 Correct split view collapse logic for when running side by side. 2019-12-01 12:04:28 -06:00
Maurice Parker
1f924a80fa Restore feed selection after initial layout so that the visible area tests are correct. 2019-11-29 17:36:22 -06:00
Maurice Parker
7d39933ba4 Add article exception fetcher to always restore article to timeline regardless of timeline state. 2019-11-29 14:31:15 -06:00
Maurice Parker
3d582270ad Add filter exceptions so that the correct timeline is always selected regardless of filter state. Issue #1366 2019-11-28 12:40:33 -06:00
Maurice Parker
a458c8cc8b Change animation for apply filter on load. 2019-11-27 20:08:03 -06:00
Maurice Parker
219b5a89ba Fix issue where over optimization was causing crashes due to the diffable datasource not being available 2019-11-27 19:54:52 -06:00
Maurice Parker
24634dfaaa Optimize the initial load so that a Filtered Feeds state restoration doesn't animate on startup 2019-11-27 15:21:39 -06:00
Maurice Parker
708c7de7fa Make sure the first build of the backing stores isn't filtered so that state restoration has something to work with. 2019-11-27 14:52:40 -06:00
Maurice Parker
81c4756f97 Persist article read filters across application launches. Issue #1349 2019-11-27 11:43:36 -06:00
Maurice Parker
ebd7f4904d Persist the Feeds Read filter across application launches. Issue #1349 2019-11-26 20:23:12 -06:00
Maurice Parker
8cb25e7c5e Move private functions to private extension 2019-11-26 17:32:30 -06:00
Maurice Parker
4a9e79cd1e Persist and restore container expanded state across application launches. Issue #1361 2019-11-26 16:33:11 -06:00
Maurice Parker
a85d266253 Auto expand newly activated accounts. 2019-11-25 08:14:33 -06:00
Maurice Parker
6a56936850 Moved expanded state away from Node so that it won't get lost on rebuilds. Issue #1346 2019-11-24 18:29:00 -06:00
Maurice Parker
74297944e9 Clear current article so that wrapping occurs 2019-11-24 14:36:17 -06:00
Maurice Parker
5c4cd072ce Make next unread button work with new async feed functionality. 2019-11-24 13:37:56 -06:00
Maurice Parker
57e8a98b57 Stop animating the initial timeline load. Issue #1334 2019-11-24 10:27:02 -06:00
Maurice Parker
6d18cfec7c Refactor SmartFeedController to find SmartFeeds by FeedIdentifier instead of the string identifier. 2019-11-23 12:30:18 -06:00
Maurice Parker
7667dbf60e Add hide read feeds menu option 2019-11-22 10:55:54 -06:00
Maurice Parker
eea5d6f327 Change ReadFilter to ReadFilterType and differentiate the ReadFilter from the query filter. 2019-11-22 09:40:39 -06:00
Maurice Parker
654f40a98e Add always on unread "filter" to Unread. 2019-11-21 20:31:58 -06:00
Maurice Parker
6d8fca01ea Filter async requests based on ReadFilter. 2019-11-21 19:54:35 -06:00
Maurice Parker
adbb5b6392 Remove callback that shouldn't have been added. 2019-11-21 19:08:40 -06:00
Maurice Parker
e8826130a4 Add timeline filter button 2019-11-21 18:22:43 -06:00
Maurice Parker
64c1a615b0 Make sure top level nodes are always expanded. 2019-11-21 16:25:00 -06:00
Maurice Parker
89e9a7b80e Add filter button show/hide unread feeds. Issue #1311 2019-11-21 15:55:50 -06:00
Maurice Parker
56d43f8f2d Do a full reload of the article when rearranging the UI to accommodate for split screen color changes. 2019-11-20 18:16:54 -06:00
Maurice Parker
7c947b935d Rewrite three panel mode so that background screenshooting will work. 2019-11-20 16:41:13 -06:00
Maurice Parker
504bb82f80 Make three panel mode landscape test more accurate 2019-11-19 17:20:24 -06:00
Maurice Parker
7148aac925 Change to not animate when clearing the timeline. 2019-11-19 16:59:53 -06:00
Maurice Parker
bdf9add8f1 Populate timeline asynchronously and restore timeline after search. Issues #1307 & #1308 2019-11-19 11:16:43 -06:00
Maurice Parker
fc235a029e Remove toolbar autohiding and add optional fullscreen mode. 2019-11-18 19:12:24 -06:00
Maurice Parker
70aa3f2091 Clear up compiler warnings and auto layout constraint warnings. 2019-11-17 10:30:50 -06:00
Maurice Parker
16da609fa9 Restore Smart Feed or Folder path if possible when restoring an Article. Issue #1241 2019-11-15 18:26:52 -06:00
Maurice Parker
5283d2efbe Implement Feed protocol. 2019-11-15 06:19:14 -06:00
Maurice Parker
06bd5b3a6f Renamed Feed and related classes/instances to WebFeed 2019-11-14 20:11:41 -06:00
Maurice Parker
0d66259650 Add ArticleFetcherType and change state restoration to use new type. 2019-11-14 15:06:32 -06:00
Maurice Parker
179cce177c Fix Feed Inspector form size on iPad 2019-11-13 17:02:14 -06:00
Maurice Parker
38535910ef Change Select Feed to Go to Feed. Issue #1240 2019-11-13 15:22:22 -06:00
Maurice Parker
3d2806287a Fix to show display mode button on launch for iPad in portrait. Issue #1291 2019-11-12 16:13:59 -06:00
Maurice Parker
766cd2f868 Save and restore scroll position when transitioning between three column mode and normal. Issue #1242 2019-11-11 16:59:42 -06:00
Maurice Parker
3acc992a2f Use grouped inset style on Settings #1266 2019-11-07 06:40:10 -06:00
Maurice Parker
560f36621f Add IconImage to encapsulate our icon processing logic 2019-11-05 18:05:57 -06:00
Maurice Parker
05e0e34f6b Configure three panel mode when coming from background. Issue #1251 2019-11-05 15:46:28 -06:00
Maurice Parker
48b475a33c Create an empty article controller if we are separating controllers and one doesn't exist. Issue #1172 & Issue #1177 2019-11-03 18:10:49 -06:00
Maurice Parker
01c8eb3ad5 Correct settings display size. Issue #1236 2019-11-03 07:30:36 -06:00
Maurice Parker
b78b996e88 Animate Select Feed context menu result. Issue #1220 2019-10-31 20:55:08 -05:00
Maurice Parker
46cd259110 Use feed icon when available for timeline title image 2019-10-28 21:33:13 -05:00
Maurice Parker
6a281c7672 Replace Mark All as Read with progress indicator. Issues #1157 and #1165 2019-10-25 13:34:59 -05:00
Maurice Parker
f0d1cf6239 Add Account Inspector context menu item for Accounts 2019-10-23 19:58:18 -05:00
Maurice Parker
7b51a272b0 Only clear Feed/Timeline selection after view begins to appear. Issue #1156 2019-10-22 19:20:35 -05:00
Maurice Parker
b0881f47fc Remove dead code 2019-10-22 17:22:02 -05:00
Maurice Parker
67251da7ac Hide the Add NetNewsWire feed option if already subscribed 2019-10-21 18:02:44 -05:00
Maurice Parker
effec24674 Change settings from using SwiftUI to using UIKit 2019-10-21 11:51:33 -05:00
Maurice Parker
94f31b18bc Automatically show the add feed sheet if the user asks to continue in the app on a failed Siri Add Feed 2019-10-20 19:05:11 -05:00
Maurice Parker
eca5f8259a Enhance full image view support to work with 3 panel mode and split window views 2019-10-16 20:20:36 -05:00
Maurice Parker
8656753423 Rename MarkArticlesReadAlertController to UndoAvailableAlertController to better reflect its new purpose 2019-10-10 15:13:20 -05:00
Maurice Parker
7e30bba16a Fix next unread and first unread timeline animations 2019-10-09 21:39:11 -05:00
Maurice Parker
ba8d1dfa83 Convert parameter usages of automated to animated 2019-10-09 21:24:56 -05:00
Phil Viso
b963d97922 Show an alert the first time mark all as read is tapped 2019-10-07 19:48:58 -05:00
Phil Viso
461c681a9d Added a flag to suppress mark all as read warning alert 2019-10-07 19:33:30 -05:00
Maurice Parker
b3a5929d6d Fix places in iOS app that need to be using the undo manager 2019-10-04 11:41:30 -05:00
Maurice Parker
cf59733ca1 Fix article extractor error handling and recovery for when Mercury can't process a page 2019-10-03 21:06:47 -05:00
Maurice Parker
0000e03083 Add the ability to handoff from iOS to Mac 2019-10-03 15:49:27 -05:00
Maurice Parker
0c9a1ba8d0 Add notification deep linking for iOS 2019-10-03 09:53:21 -05:00
Maurice Parker
66d9e882ad Don't track back navigation when the app is in the background 2019-10-01 04:31:42 -05:00
Maurice Parker
14e808971d Don't clear the current article activities if we have a article view controller push pending. 2019-10-01 03:51:48 -05:00
Maurice Parker
ed2257a4f4 Reenable background iOS screenshooting 2019-09-30 14:04:18 -05:00
Maurice Parker
a7bee3a6d5 Animate navigation for First Unread. Issue #1071 2019-09-30 12:36:25 -05:00
Maurice Parker
1f26a91af9 Prevent scrolling while reloading cells Issue #1085 2019-09-29 15:53:50 -05:00
Maurice Parker
09a3a03fc4 Add Get Info context menu option 2019-09-28 07:00:18 -05:00
Maurice Parker
bed02fc572 Added per feed article extraction 2019-09-27 19:58:09 -05:00
Maurice Parker
ca4a7f8b0b Add Feed Inspector 2019-09-27 19:45:09 -05:00
Maurice Parker
945f06be88 Prevent unintended collapsing behavior 2019-09-25 11:02:28 -05:00
Maurice Parker
98befac78c Animate reader view button 2019-09-24 16:34:11 -05:00
Maurice Parker
eb69967899 Clear article extractor when article selection changes 2019-09-24 11:32:54 -05:00
Maurice Parker
026c7cfd6d Initial article extractor implementation for iOS 2019-09-24 06:46:53 -05:00
Maurice Parker
394618a687 Rename DetailViewController to ArticleViewController to fix name collision 2019-09-24 04:29:15 -05:00
Maurice Parker
cb1e8e393e Fix controller collapsing behavior 2019-09-23 20:48:45 -05:00
Maurice Parker
a9047105db Remove unnecessary system message controller 2019-09-23 19:23:23 -05:00
Maurice Parker
b8dd63b553 Remove obsolete split view controller code 2019-09-23 17:56:10 -05:00
Maurice Parker
3cd33902cf Add small icon to timeline title view 2019-09-21 17:59:58 -05:00
Maurice Parker
3decd23c45 Convert iOS to use Javascript rendering 2019-09-20 20:33:28 -05:00
Maurice Parker
e2816cba7a Implement Add NNW news in the settings 2019-09-15 12:03:28 -05:00
Maurice Parker
7a9ad97b32 Don't reload feeds or articles if they are reselected. Issue #1017 2019-09-13 11:19:19 -05:00
Phil Viso
cc6767e0f6 Removed duplicate sort parameter change handling functions 2019-09-13 08:29:56 -05:00
Phil Viso
8a6e3c9f37 Merge branch 'master' of https://github.com/brentsimmons/NetNewsWire into GroupArticlesByFeed
# Conflicts:
#	Mac/MainWindow/Timeline/TimelineViewController.swift
2019-09-13 08:23:31 -05:00
Maurice Parker
125fb858b4 Clear the currently selected article when search ends 2019-09-12 10:32:58 -05:00
Maurice Parker
139cc4b236 Add the ability to hide the Feeds when in three panel mode 2019-09-12 10:27:03 -05:00
Maurice Parker
be84fc5a6b Simplify the section and folder expand/collapse logic 2019-09-11 16:53:27 -05:00
Maurice Parker
1b97aad79c Simplify code by moving the expanded indicator to Node 2019-09-11 15:24:38 -05:00
Maurice Parker
fc0181cc2a Make Node to IndexPath resolving methods private as they should no longer be used by the controllers 2019-09-11 14:00:07 -05:00
Maurice Parker
cf6a9c45b4 Clear selected article if you are using a phone and navigate away from the detail controller 2019-09-11 13:48:53 -05:00
Maurice Parker
b1ddfb33ce Correct assignment of timeline controller 2019-09-11 12:07:09 -05:00
Maurice Parker
856006a19f Fixed timeline loading bug for portrait on the iPad 2019-09-11 10:41:48 -05:00
Maurice Parker
d8b7d603bf Fix next and previous buttons on Detail 2019-09-11 09:45:48 -05:00
Maurice Parker
c44fcbc198 Reformat article variables 2019-09-11 09:16:04 -05:00
Maurice Parker
19c8f9a067 Make currentArticleRow private 2019-09-11 09:15:22 -05:00
Maurice Parker
8545252265 Remove the usage of IndexPaths for the interface between the coordinator and the timeline 2019-09-11 09:11:33 -05:00
Maurice Parker
7278a86523 Refactor to reduce usage of IndexPath's in SceneCoordinator 2019-09-11 05:33:54 -05:00
Maurice Parker
7a595fcc66 Remove the shim controller as it is no longer needed 2019-09-10 18:26:27 -05:00
Maurice Parker
670ae92f04 FIx navigation feed clearing code so that it works in three panel mode 2019-09-10 17:18:10 -05:00
Maurice Parker
4fa9ec0828 Remove obsolete sidebar hiding code 2019-09-10 17:08:11 -05:00
Maurice Parker
c470e56c39 Clear the feed when we navigate back to the Feeds and Timeline isn't showing. 2019-09-10 17:02:41 -05:00
Maurice Parker
aac3c86561 Ensure that selected feed is visible when transitioning to three panel mode 2019-09-10 16:38:59 -05:00
Maurice Parker
0f66e2b5e3 Use correct method to scan the nodes 2019-09-10 08:24:55 -05:00
Maurice Parker
bceccd76b5 Restore the timeline selection lost while transitioning to three panel mode 2019-09-10 08:06:43 -05:00
Maurice Parker
2b17735cb0 Fix detail view overlay bug 2019-09-10 07:49:24 -05:00