Commit Graph

579 Commits

Author SHA1 Message Date
Maurice Parker d8513385e1 More refactoring to remove IndexPath dependencies 2019-09-11 05:45:35 -05:00
Maurice Parker 7278a86523 Refactor to reduce usage of IndexPath's in SceneCoordinator 2019-09-11 05:33:54 -05:00
Maurice Parker 597f1f4adc Made unread indicator and article links slightly brighter 2019-09-11 04:02:52 -05:00
Maurice Parker 8076cac266 Convert timeline to use the diffable datasource to lookup articles instead of the coordinator's article table 2019-09-10 20:32:03 -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 411413d783 Remove unnecessary selection that was causing the search function to crash 2019-09-10 16:18:40 -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
Maurice Parker e3361abc77 Force the scroll even if the currently selected row is the same 2019-09-10 07:48:40 -05:00
Maurice Parker 6708017b5d Fix how the subsplit view controller was found 2019-09-10 07:22:32 -05:00
Maurice Parker 8a018acc00 Prevent the three panel configuration code from being called too fast when entering the background 2019-09-09 20:24:35 -05:00
Maurice Parker 35226b4af9 Fix the display mode button transitions between three panel mode and regular mode 2019-09-09 18:07:49 -05:00
Maurice Parker 93f6debae6 Changed preffered display mode to all visible 2019-09-09 17:40:18 -05:00
Maurice Parker d80d48916a Animate portrait to landscape transitions in three panel mode 2019-09-09 16:59:24 -05:00
Maurice Parker c59584a8f7 Change to trigger switch to and from three panel mode based on device orientation 2019-09-09 16:21:27 -05:00
Maurice Parker 122e7853a7 Correct issue where launches in portrait on iPad could result in NNW getting confused about being in three panel mode 2019-09-09 15:29:18 -05:00
Maurice Parker c5c7b12fa4 Rename and move entitlements file for iOS share extension 2019-09-09 12:46:38 -05:00
Maurice Parker bf14dd5a03 Rework keyboard commands so that the ones with menu bar counterparts on the mac act like the ones on the mac 2019-09-09 12:08:47 -05:00
Maurice Parker 98761510dd Reload visible cells after expanding/collapsing folders since the folder row might not get updated 2019-09-09 10:06:13 -05:00
Phil Viso cf404859e4 Fixed sort order description being flipped 2019-09-08 17:42:43 -05:00
Phil Viso 01c48e788b Implemented group by feed for iOS 2019-09-08 17:41:00 -05:00
Maurice Parker 7a1da9a01e Rough out the new share extension for iOS 2019-09-08 17:35:38 -05:00
Maurice Parker 1718810701 Automatically dismiss the add account view when an account is added 2019-09-08 10:18:45 -05:00
Maurice Parker ccaeeb8e6d Automatically dismiss the account detail view when the account is deleted. 2019-09-08 10:04:36 -05:00
Maurice Parker c4f7090b9c Automatically expand any activated accounts and clean up the expandedNodes table for inactivated accounts 2019-09-08 09:58:27 -05:00
Maurice Parker e61efbe47a Split AccountsDidChange notification into both add and delete notifications and automatically expanded new accounts on iOS 2019-09-08 09:43:51 -05:00
Maurice Parker 7f4027a527 Make sure we respect the expanded state of the sections when rebuilding the shadow table 2019-09-08 08:55:07 -05:00
Maurice Parker 9dc8f8d37a Clear the timeline if the deleted feed is showing in the timeline 2019-09-08 08:40:15 -05:00
Maurice Parker fc6341704b Make Add Feed activity indicator adopt darkmode appearance 2019-09-08 08:37:59 -05:00
Maurice Parker 51e37373df Don't block feedburner links as there are valid scenarios for those 2019-09-08 08:31:13 -05:00
Maurice Parker 8b901819a6 Make table views scroll even if the root split is collapsed 2019-09-08 08:30:08 -05:00
Maurice Parker 5bfeb77706 Update Add Account to use correct form of sheet showing 2019-09-08 06:43:29 -05:00
Maurice Parker 1caaf3c154 Organize settings folder 2019-09-08 04:52:05 -05:00
Maurice Parker 2497c50ade Add padding to settings account header to make it look like the other section headers 2019-09-08 04:48:30 -05:00
Maurice Parker bfdafee2ea Center service headings in add sync service scenes 2019-09-08 04:09:05 -05:00
Maurice Parker fe874f3ca7 Update Settings for Accounts to work with the latest SwiftUI 2019-09-07 20:50:57 -05:00
Maurice Parker a01b9ebe73 Add Done button to Setting modal 2019-09-07 16:43:44 -05:00
Maurice Parker dcd2a9c4f6 Reimplement Import and Export OPML 2019-09-07 15:30:54 -05:00
Maurice Parker a4b30c2f0e Add refresh interval to settings again 2019-09-07 14:33:15 -05:00
Maurice Parker 3b4ec7262f Refactor website links to make code clearer and more concise 2019-09-07 14:10:20 -05:00
Maurice Parker 22553b661d Begin to convert Settings to the latest SwiftUI 2019-09-07 14:00:31 -05:00
Maurice Parker ec4a6f3e0a Add search articles keyboard shortcut and make search work in three panel mode 2019-09-07 09:01:29 -05:00
Maurice Parker 12e417d311 Fix detail view link color. Issue #965 2019-09-06 18:14:51 -05:00
Maurice Parker 7d8a0234b6 changed to queue a reload of all visible cells when a favicon comes in 2019-09-06 17:22:12 -05:00
Maurice Parker a6f6462afd Make arrow key scrolling work like it does on the Mac timeline 2019-09-06 13:45:45 -05:00
Maurice Parker c8b5b10edd Check if the split is collapsed to see if we are maintaining the selection 2019-09-06 11:22:35 -05:00
Maurice Parker aa7c60ee3a Prevent row selection on iPhone as keeping selected rows highlighted is an iPad only feature 2019-09-06 11:11:28 -05:00
Maurice Parker cdbaeda97b Return to the Feeds scene when Add is executed using a keyboard shortcut key in another scene 2019-09-06 10:57:37 -05:00
Maurice Parker cc1c45095c Make feeds become first responder on load so that the keyboard is ready to go on initial app launch 2019-09-06 10:52:21 -05:00
Maurice Parker d0570d16a8 Prevent attempt to restore article selection when there are no articles 2019-09-06 10:38:02 -05:00
Maurice Parker 9f6203e839 Improve launch performance and fix Search home page quick action 2019-09-06 10:29:00 -05:00
Maurice Parker d6ea701d26 Prevent global keyboard shortcuts from being executed in modal dialogs 2019-09-06 07:58:36 -05:00
Maurice Parker 9b17293f4e Fix bugs in automated routing on application launch 2019-09-06 07:29:36 -05:00
Maurice Parker 1e7ed5bf35 Make the scrolling check more succinct and readable 2019-09-05 21:19:00 -05:00
Maurice Parker a2dda5f0f8 Add scroll or go to next unread keyboard shortcut 2019-09-05 21:14:19 -05:00
Maurice Parker 18d442d901 Add select previous unread keyboard shortcut 2019-09-05 18:02:40 -05:00
Maurice Parker 6d24ea642a Add expand and collapse all folders shortcuts 2019-09-05 16:38:33 -05:00
Maurice Parker 734ce4bc67 Rename expand and collapse functions to be more descriptive 2019-09-05 16:08:57 -05:00
Maurice Parker 953259f0d3 Add selected row expanding and collapsing keyboard shortcuts 2019-09-05 16:04:07 -05:00
Maurice Parker c9fd7d01d9 Add delete feed keyboard shortcut 2019-09-05 15:54:58 -05:00
Maurice Parker 9a52834b7a Implement shortcuts found in the Articles menu of NNW for Mac 2019-09-05 15:43:01 -05:00
Maurice Parker afce6ff26f Add keyboard shortcuts for Add Feed and Add Folder 2019-09-05 15:07:35 -05:00
Maurice Parker 7582ade6f5 Implement more keyboard shortcuts 2019-09-05 14:50:05 -05:00
Maurice Parker 73828e5115 Remove the coordinator dependency from KeyboadManager as it wasn't needed 2019-09-05 14:37:07 -05:00
Maurice Parker 988ec75d75 Added Brian Warren's image stretching fix to the iOS app 2019-09-05 13:21:14 -05:00
Maurice Parker ac37443dbb Stubbed out menu item keyboard shortcuts and implemented the numbered ones 2019-09-05 13:14:14 -05:00
Maurice Parker efd17502e0 Stub out all the global shortcut functions and move global shortcuts to the RootSplitViewController 2019-09-05 11:29:04 -05:00
Maurice Parker ac03992430 Fix bug in arrow key navigation where focus could get stolen from the timeline 2019-09-05 10:46:24 -05:00
Maurice Parker 7a452e2a3c Add keyboard arrow key navigation 2019-09-04 21:06:29 -05:00
Maurice Parker ae06544dd5 Add iframe to the list of max width elements to prevent youtube videos and others from being too large 2019-09-04 17:32:10 -05:00
Maurice Parker dabb78cde4 Merge branch 'mac-release' 2019-09-04 17:20:37 -05:00
Maurice Parker 8758d28cd7 Implement keyboard shortcut infrastructure and first shortcuts 2019-09-04 16:24:48 -05:00
Maurice Parker 68143aa2c5 Implement keyboard shortcut infrastructure and first shortcuts 2019-09-04 16:24:16 -05:00
Thomas Pritchard 091b43a9fb Apply figure styles to iOS as well 2019-09-04 19:58:30 +01:00
Maurice Parker 00a84ce6b5 Fix bug that prevented timeline from being restored after searching ends 2019-09-04 10:42:28 -05:00
Maurice Parker a29f69c0cb Create separate launch storyboard for iPad since we don't use large titles on iPad in three panel mode which is the only one you will see while launching 2019-09-04 04:46:13 -05:00
Maurice Parker 17a5d291f4 Remove become and resign first responder code in Feeds and Timeline 2019-09-03 20:39:00 -05:00
Maurice Parker fc872cf88f Add missing activity type 2019-09-03 19:58:48 -05:00
Maurice Parker 640faaa114 Simplify the article replacement logic 2019-09-03 16:07:02 -05:00
Maurice Parker 5cb099aee6 Add next unread as a user activity and more aggressively invalidate user activities 2019-09-03 15:52:59 -05:00
Maurice Parker e6a4338a86 Restore the feed selection if an account containing the selection is expanded 2019-09-03 13:59:22 -05:00
Maurice Parker b7ba2c809c Use better function for looking up article index 2019-09-03 13:43:59 -05:00
Maurice Parker bf572633f8 Enable drag and drop between accounts 2019-09-03 13:27:23 -05:00
Maurice Parker 960f09826b Add separator line to section headers so that they don't look smooshed together when collapsed 2019-09-03 13:00:31 -05:00
Maurice Parker 4bce625f18 Clear search results when no timeline fetcher is specified 2019-09-03 12:25:27 -05:00
Maurice Parker 2a00c879f8 Change to animate search results changes 2019-09-03 12:12:42 -05:00
Maurice Parker 2e71cc573d Cap the possible destination index used during Feed moves 2019-09-03 12:07:18 -05:00
Maurice Parker d5adbccd5b
Merge pull request #949 from correia/issue-948
Fix for issue #948 — bad highlight state for table cell views in light mode.
2019-09-03 11:56:14 -05:00
Jim Correia 061872b7ff Simplified/corrected highlighted/selected appearance of feed and timeline cells.
- Set the highlighted text color on labels in table cells. This will be used
  for both the highlight and selected states automatically. (And since it is
  used for both states, we avoid anachronistic state where we have black
  text on a dark blue background in light mode as we transition from none ->
  highlighted -> selected.)

- Keep the selected/highlighted overrides to adjust colors for non-UIControl
  subelements.
2019-09-02 22:39:01 -07:00
Jim Correia 932f6fdd30 Added NNWTableViewCell; a base class for cells with the NNW selection color.
Defined a semantic color for the selection color which is identical to
netNewsWireBlue.

MasterFeedTableViewCell and MasterTimelineTableViewCell now subclass
NNWTableViewCell and no longer directly customize their selected background
view.
2019-09-02 22:38:42 -07:00
Maurice Parker 0d6dbb6df3 Fix broken select next where it wasn't going to the next available fetcher in the Feeds scene 2019-09-02 17:28:28 -05:00
Maurice Parker 613cea5c7a Change next unread function so that it skips the current article even if that article is marked as unread 2019-09-02 17:24:20 -05:00
Maurice Parker fafb7de868 Remove Refresh shortcut item 2019-09-02 16:05:55 -05:00
Maurice Parker 93b702f170 Automatically copy any url in the pasteboard to the feed field for feed adds 2019-09-02 15:54:49 -05:00
Maurice Parker c5fed06581 Add refresh home screen shortcut. 2019-09-02 15:45:09 -05:00