Commit Graph

309 Commits

Author SHA1 Message Date
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 b5525e1a9e Restore back button items. Issue #1337 2019-11-24 10:33:13 -06:00
Maurice Parker 4296c243ff Implement custom previews for context menus to crop cell separators. Issue #1221 2019-11-23 22:15:29 -06:00
Maurice Parker d7c3f1ee19 Don't attempt to move a feed if the drop target is the same as the source target. 2019-11-23 16:38:07 -06:00
Maurice Parker 01f86d8c1b Vertically center small fonts and favicons when we hit the row minimum. Issue #1329 2019-11-23 11:20:36 -06:00
Maurice Parker c8cfcae8e3 Fix drag and drop targeting bugs. 2019-11-22 19:59:25 -06:00
Maurice Parker dd7431d5cb Remove obsolete code. 2019-11-22 15:23:21 -06:00
Maurice Parker 89e9a7b80e Add filter button show/hide unread feeds. Issue #1311 2019-11-21 15:55:50 -06:00
Maurice Parker eed6333368 Restrict drag and drop to the same process (for now) 2019-11-21 13:49:05 -06:00
Maurice Parker 150e50082c Fix drag and drop target bugs 2019-11-21 13:22:33 -06:00
Maurice Parker 7243e0e07b Implement drag and drop feed arrangement 2019-11-20 20:28:50 -06:00
Maurice Parker f818a1618f Implement drag and drop feed arrangement. 2019-11-20 20:28:24 -06:00
Maurice Parker 985cef6b49 Remove title from timeline back button. Issue #1319 2019-11-19 18:16:03 -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 0f82561f6b Change alpha channel of custom separator to match stock table view separator. Issue #1309 2019-11-17 16:14:25 -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 f5cd5d7067 Reload expanded node so that the disclosure arrow is correct. 2019-11-14 15:39:11 -06:00
Maurice Parker ef84acc02d Implement better scroll interference avoidance strategy. 2019-11-13 15:31: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 2fd2b8b1b0 Update the refresh indicator since time when coming to the foreground. 2019-11-13 13:43:02 -06:00
Maurice Parker bed5cfa94d Only apply cell updates to the correct feed icon notification 2019-11-05 19:57:15 -06:00
Maurice Parker 560f36621f Add IconImage to encapsulate our icon processing logic 2019-11-05 18:05:57 -06:00
Maurice Parker 8efd94e24d Make special layout for Account rows (Section Headers). Issue #1253 2019-11-05 09:11:43 -06:00
Maurice Parker d4f9e73438 Fix bug where dragging a feed onto an empty account failed. Issue #1255 2019-11-05 07:12:51 -06:00
Maurice Parker 292e3789f4 Remove animation speed setting. Issue #1234 2019-11-04 14:19:13 -06:00
Maurice Parker f138c2d9aa Fix timeline secondary label coloring 2019-11-04 11:47:44 -06:00
Maurice Parker 274950a500 Removed extraneous row selection. 2019-11-03 19:44:13 -06:00
Maurice Parker ac06175170 Make account header separators slightly wider so that they always appear on non-retina devices. Issue #1244 2019-11-03 18:29:06 -06:00
Maurice Parker 0fa8ddd384 Change default master feeds table row animation to middle. Issue #1207 2019-11-03 17:45:10 -06:00
Maurice Parker 8fb87a7c87 Update label animations to match cell selection fading and changed table animation speeds to 1.5. Issue #1237 2019-11-02 19:57:01 -05:00
Maurice Parker 721752a16b Slightly move the feeds icons into the disclosure gutter. 2019-11-02 11:46:24 -05:00
Maurice Parker 6b2de18557 Add fade in fade out animation for Account unread counts. Issue #1228 2019-11-01 17:48:27 -05:00
Maurice Parker 7c1deb3309 Increase Feeds animation speed. Issue #1227 2019-11-01 11:55:11 -05:00
Maurice Parker 18bee355e0 Fix section header separator antialiasing issues. Issue #1226 2019-11-01 11:40:52 -05:00
Maurice Parker 3629108b09 Make section headers lighter color. Issue #1225 2019-11-01 09:55:17 -05:00
Maurice Parker 5720034f19 Change Feeds background color and update to emulate plain style tables more closely. Issue #1224 2019-11-01 06:34:26 -05:00
Maurice Parker b78b996e88 Animate Select Feed context menu result. Issue #1220 2019-10-31 20:55:08 -05:00
Maurice Parker 0c32e8de14 Don't try to scale the favicon for the master feed list. 2019-10-31 15:25:45 -05:00
Maurice Parker 280f754217 Reload nodes who's unread counts change as that could change the cell layout 2019-10-30 20:38:57 -05:00
Maurice Parker 42f4332023 Fix crash that can happen if updateUI is called before the UI is fully setup 2019-10-30 04:04:13 -05:00
Maurice Parker 2a39ada5ab Prevent label from overflowing into below cell when using editing controls 2019-10-30 02:41:33 -05:00
Maurice Parker 91d5e809e4 Make the progress view have rounded ends. 2019-10-29 19:52:21 -05:00
Maurice Parker 2fa43fb1e9 Change disclosure triangle so that it interacts with vibrancy the same way that the unread count indicator does 2019-10-29 19:29:37 -05:00
Maurice Parker d63a743550 Rename MasterTimelineAvatarView to AvatarView 2019-10-29 19:23:29 -05:00
Maurice Parker d537799969 Give disclosure triangles their own gutter. Issue #1210 2019-10-29 17:55:49 -05:00
Maurice Parker 032da1894a Use 24x24 size icons for feeds. Issue #1208 2019-10-29 16:39:42 -05:00
Maurice Parker 66b6d43408 Update Feeds to use higher resolution images when available. Issue #1208 2019-10-28 20:57:26 -05:00
Maurice Parker 8cb080da6d Implement custom separator since the builtin separator is crazy when animating adds and deletes. Issue #1192 2019-10-28 19:52:50 -05:00
Maurice Parker 29efea3d00 Set estimated row height for tableview cells 2019-10-28 17:18:44 -05:00
Maurice Parker 456abc965f Change disclosure triangles to be gray instead of blue. Issue #1200 2019-10-28 15:16:56 -05:00
Maurice Parker 498bb365b2 Use equilateral triangle for disclosure. Issue #1191 2019-10-28 15:08:00 -05:00
Maurice Parker 45a38c550b Make unread count font bold. Issue #1209 2019-10-28 14:15:04 -05:00
Jonathan Bennett 7682825469 Align feed icon with first line of label
Image was aligned with top padding, takes into consideration the image and font size (line height).
2019-10-28 01:44:33 -04:00
Brent Simmons 596d3e1101 Make the unread count color in the Feeds list a little lighter. Set up the colors as an app asset. 2019-10-26 21:30:44 -07:00
Brent Simmons 0581d94935 Add a little padding, left and right, to the unread count view in the Feeds list. 2019-10-26 21:19:37 -07:00
Maurice Parker 473053e813 Update the updated since label on every appearance 2019-10-25 17:07:40 -05:00
Maurice Parker 8304b174bf Change refresh label to use "Updated" instead of "Refreshed" 2019-10-25 16:27:10 -05:00
Maurice Parker 74c9290e6a Change disclosure image to be a filled triangle. Issue #1175 2019-10-25 14:57:01 -05:00
Maurice Parker bdd085345b Change refreshed label color to be more subtle 2019-10-25 13:39:59 -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 9376fcd64a Added deactivate context menu for accounts. 2019-10-23 20:22:31 -05:00
Maurice Parker f0d1cf6239 Add Account Inspector context menu item for Accounts 2019-10-23 19:58:18 -05:00
Maurice Parker a39aab58e4 Fix vertical padding for Feeds that have more than one line. Issue #1150 2019-10-23 15:31:54 -05:00
Maurice Parker bac205ef84 Tweak the vibrancy icon transition animation 2019-10-23 11:56:36 -05:00
Maurice Parker eea450bee3 Make icon vibrancy deselections match the deselection animation 2019-10-23 11:47:21 -05:00
Maurice Parker 17af3f28bf Hide unread account information unless the Account is collapsed. Issue #1159 2019-10-23 08:53:09 -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 528284999f Correct vibrancy configuration for Settings 2019-10-22 03:31:25 -05:00
Maurice Parker d9a165151d Rename to VibrantTableViewCell 2019-10-22 02:35:47 -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 ba8d1dfa83 Convert parameter usages of automated to animated 2019-10-09 21:24:56 -05:00
Phil Viso 93ab639509 Updated modal copy. Copy update removed the need for separate versions of the modal. 2019-10-07 21:13:00 -05:00
Phil Viso b635fd4d45 Fixed swipe direction in copy 2019-10-07 20:00:14 -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
Phil Viso 50250c13de Made delete action destructive 2019-10-04 22:03:31 -05:00
Maurice Parker 77ba42f102 Add unread count to the timeline 2019-09-30 20:01:02 -05:00
Maurice Parker 2c3f665b58 Add accessibility labels to custom disclosure button 2019-09-30 13:32:54 -05:00
Maurice Parker 9f126bfb8f Add a background if the image is too dark and we are in dark mode. 2019-09-29 19:40:12 -05:00
Maurice Parker a37e4b7920 Fixed feed separators for disclosure rows 2019-09-28 12:11:33 -05:00
Maurice Parker 09a3a03fc4 Add Get Info context menu option 2019-09-28 07:00:18 -05:00
Maurice Parker 08f7e6d1a4 Fix to only animate the disclosure chevron with button presses 2019-09-27 11:54:50 -05:00
Maurice Parker 3464fbfc7f Animate chevron rotation 2019-09-27 05:42:16 -05:00
Maurice Parker 25fa5e0167 Make chevron disclosure button look better in dark mode 2019-09-26 20:54:46 -05:00
Maurice Parker 2f04ffd5ed Use correct selected color for disclosure button 2019-09-26 20:48:18 -05:00
Maurice Parker c33cd8f988 Remove folder icons and feed indenting. Issue #1063 2019-09-26 20:40:32 -05:00
Maurice Parker 59f58ca424 Move disclosure chevrons to the left hand side. Issue #1063 2019-09-26 19:43:17 -05:00
Maurice Parker f1819fb39c Use correct name for display 2019-09-23 12:05:44 -05:00
Maurice Parker 124997feca Reset feed to feed metadata relationship on reload 2019-09-22 21:20:01 -05:00
Maurice Parker e8a68511f1 Add a small amount of corner clipping to favicons 2019-09-21 17:24:50 -05:00
Maurice Parker db2ee18299 Unify the colori scheme into primary and secondary accent colors 2019-09-18 02:49:57 -05:00
Maurice Parker 372fb06716 Implement different icons for each individual smartfeed 2019-09-17 20:26:49 -05:00
Maurice Parker 4f401099b6 Fix empty space that sometimes appeared between the first section and the navigation bar of Feeds 2019-09-14 19:51:23 -05:00
Maurice Parker 979fcbc013 Don't update feed selection for zero rows. 2019-09-12 13:49:23 -05:00
Maurice Parker efcbdd642a Fix cell icon tint colors 2019-09-11 19:29:27 -05:00
Maurice Parker 7ec360a81e Delete unnecessary node reload 2019-09-11 17:20:33 -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 ab38e755d3 Move apply snapshot to the viewWillAppear callback to prevent table artifacts 2019-09-11 14:33:39 -05:00
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 aac3c86561 Ensure that selected feed is visible when transitioning to three panel mode 2019-09-10 16:38:59 -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 98761510dd Reload visible cells after expanding/collapsing folders since the folder row might not get updated 2019-09-09 10:06:13 -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 8b901819a6 Make table views scroll even if the root split is collapsed 2019-09-08 08:30:08 -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 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 9b17293f4e Fix bugs in automated routing on application launch 2019-09-06 07:29:36 -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 afce6ff26f Add keyboard shortcuts for Add Feed and Add Folder 2019-09-05 15:07:35 -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 ac37443dbb Stubbed out menu item keyboard shortcuts and implemented the numbered ones 2019-09-05 13:14:14 -05:00
Maurice Parker 7a452e2a3c Add keyboard arrow key navigation 2019-09-04 21:06:29 -05:00
Maurice Parker 68143aa2c5 Implement keyboard shortcut infrastructure and first shortcuts 2019-09-04 16:24:16 -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 e6a4338a86 Restore the feed selection if an account containing the selection is expanded 2019-09-03 13:59:22 -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 2e71cc573d Cap the possible destination index used during Feed moves 2019-09-03 12:07:18 -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 1a9acdcc50 Remove TreeController from Delete command as it is no longer used there 2019-09-01 14:56:27 -05:00
Maurice Parker 858bdb7f21 Rename AppCoordinator to SceneCoordinator as that name better defines its purpose 2019-09-01 12:43:07 -05:00
Maurice Parker 397d75c6f6 Restore animation when adds and deletes happen to feed items 2019-09-01 10:11:03 -05:00
Maurice Parker 27883632d0 Fix bug that prevented reading article user activities from being restored 2019-08-31 20:23:14 -05:00
Maurice Parker 87030a5921 Implement stateRestorationActivity to save most relevant current user activity 2019-08-31 19:30:21 -05:00
Maurice Parker 762710266d Reload all cells when a batch update completes because we might be out of sync even though we called apply on the datasource. This can happen when moving a feed into and out of a folder. 2019-08-30 16:19:06 -05:00
Maurice Parker 197fc0170e Optimize and fix unread count updates 2019-08-29 14:35:18 -05:00
Maurice Parker be8c14bc65 Change to reload the individual row instead of just changing its contents 2019-08-28 20:21:50 -05:00
Maurice Parker 7062744758 Make sure we manually correct some state when using diffable datasources 2019-08-28 20:08:30 -05:00
Maurice Parker 89a38fa2b5 Change Feeds to use diffable data sources 2019-08-28 18:06:27 -05:00
Maurice Parker 9c66f6160e Clean activities when the associated data is deleted 2019-08-28 11:30:40 -05:00
Maurice Parker 3d408d0b27 Prevent autolayout from messing around with our disclosure chevron 2019-08-25 20:06:45 -05:00
Maurice Parker cf5fd4fa89 Invalidate content size correctly 2019-08-25 20:06:02 -05:00
Maurice Parker a0b11da438 Prevent autolayout from messing with our manually set frames 2019-08-25 20:00:34 -05:00
Maurice Parker 0b48c3893d Change AppCoordinator to directly call controller API's since that matches the Coordinator pattern better than sending them notifications 2019-08-25 11:38:04 -05:00
Maurice Parker 7f024586bb Add navigation and toolbar theming for light mode. Issue #698 2019-08-23 12:27:45 -05:00
Maurice Parker 5a5a66d59f Remove unneeded notifications 2019-08-22 16:50:20 -05:00
Maurice Parker d67b9193c5 Add large titles to Feeds controller (again) 2019-08-22 11:16:07 -05:00
Maurice Parker c4e2420966 Change to get currently selected unread count item from total number of articles shown in timeline 2019-08-21 13:10:08 -05:00
Maurice Parker eb8de035d7 Work around bug where cell tintColor isn't always correctly inherited from the window 2019-08-20 16:37:31 -05:00
Maurice Parker 64fd5016a9 Commenting out feed context menus due to buggy implementation in Beta 6 2019-08-20 05:43:39 -05:00