Commit Graph

80 Commits

Author SHA1 Message Date
Brent Simmons
807ad99aad Add new articles to the timeline when a feed that affects the timeline gets new articles. Fix #166. 2018-01-20 16:54:18 -08:00
Brent Simmons
9fea9c2d12 Create and use fetchUnsortedArticles(for:), which is common code that needed to be a separate function. 2018-01-17 22:03:13 -08:00
Brent Simmons
21f1863cd0 Unbreak the build by commenting out some in-progress code. 2018-01-17 21:51:24 -08:00
Brent Simmons
6b059671f5 Make progress on reloading timeline when feed updates. 2018-01-17 17:28:09 -08:00
Brent Simmons
c3bcf82713 Make the send-to-Micro.blog command work. Need some tweaking, but it mostly does the job. 2018-01-11 22:18:46 -08:00
Brent Simmons
ccc699741d Decrease the opacity of the placeholder color for avatars in the timeline. 2018-01-09 21:33:13 -08:00
Brent Simmons
8b2f9b333a Make feed icons and favicons show up more quickly and reliably in the timeline. 2018-01-09 21:09:09 -08:00
Brent Simmons
1b0648cd18 Make feed icons show up more promptly and reliably in the timeline. 2018-01-08 21:34:39 -08:00
Brent Simmons
0a1642abdf Draw a white unread indicator in the timeline when the cell is selected and emphasized. Fix #112. 2018-01-06 14:33:16 -08:00
Brent Simmons
0d4a58e2ab Create and use an NSTableView extension method: indexesOfAvailableRowsPassingTest. 2018-01-06 12:12:31 -08:00
Brent Simmons
cfcfe2b4b5 Make reloading the timeline cells even more efficient upon avatar-download. 2018-01-06 11:56:32 -08:00
Brent Simmons
f9b4e192e0 Make updating the timeline cells more efficient after downloading an avatar. 2018-01-06 11:18:03 -08:00
Brent Simmons
45f3f49a1f Fix bug where user avatars wouldn’t always show up in the timeline view promptly. 2018-01-05 13:22:16 -08:00
Brent Simmons
665561e5eb Show avatars in the timeline at the right times. 2018-01-04 21:20:09 -08:00
Brent Simmons
867e775e69 Show feed icons and avatars in the timeline. 2017-12-31 12:10:30 -08:00
Brent Simmons
b35193b823 Make timeline cell height calculation reliable by considering all the rects, instead of assuming that one or another is the determining rect. 2017-12-31 12:08:25 -08:00
Brent Simmons
04c35dc1bf Comment out code for showing favicons in the timeline, since I don’t think we’re going to do that. But not totally sure yet. 2017-12-30 16:12:49 -08:00
Brent Simmons
befc5efc77 Show feed names and favicons in timeline when appropriate.
I don’t quite like this. Maybe avatars are better.
2017-12-30 12:45:10 -08:00
Brent Simmons
0c54e61fbc Update the showFeedNames timeline property based on what will be shown in the timeline. 2017-12-30 10:56:58 -08:00
Brent Simmons
1d2d048207 Create two UTI types for articles, one public and one internal. 2017-12-26 16:18:46 -08:00
Brent Simmons
2dbb0a4988 Validate the Mark Older Articles as Read command. 2017-12-25 12:21:44 -08:00
Brent Simmons
c38b46a29e Implement markOlderArticlesAsRead. Fix #199. 2017-12-25 10:40:06 -08:00
Brent Simmons
70000c1d31 Progress on keyboard shortcuts. Add link to Technotes in Help menu. Fix #266. 2017-12-20 21:23:48 -08:00
Brent Simmons
6879c172c2 Make a bunch of progress on keyboard commands. 2017-12-20 12:59:31 -08:00
Brent Simmons
6371c0e9d2 Make right-arrow work to go from sidebar to timeline. Make left-arrow work to go from timeline to sidebar. 2017-12-19 15:24:38 -08:00
Brent Simmons
fcda565d91 Remove references to tags. Fix #259. 2017-12-18 18:20:13 -08:00
Brent Simmons
c65757bab3 Delete appInfo stuff — it was confusing and overkill as a UserInfo helper. 2017-12-18 12:34:07 -08:00
Brent Simmons
c83e0ca68d Do quite a bit less work on resizing the timeline. Fix #175. 2017-12-02 22:18:43 -08:00
Brent Simmons
6c135c80b0 Add TimelineHeaderView. 2017-11-29 13:35:25 -08:00
Brent Simmons
229a376a86 Don’t show avatars in the timeline (for now). Also: align to the top, and scale down-only (not up). This will allow us to use favicons when a bigger icon isn’t available. 2017-11-29 13:10:01 -08:00
Brent Simmons
dd05a24704 Do the first parts of showing feed avatars. 2017-11-28 21:39:09 -08:00
Brent Simmons
7bf8d51c38 Add stub for laying out avatar image view. 2017-11-27 13:16:08 -08:00
Brent Simmons
09926490a6 Add avatarImageView to timeline cell. 2017-11-27 13:10:57 -08:00
Brent Simmons
4e50529b16 Add FeaturedImageDownloader. 2017-11-26 19:57:45 -08:00
Brent Simmons
441a8f49b3 Add AuthorAvatarDownloader. 2017-11-26 13:16:32 -08:00
Brent Simmons
4052f85e10 Add avatar and featuredImage to TimelineCellData. 2017-11-25 21:27:35 -08:00
Brent Simmons
4cf3f8dfe7 Create and use SidebarCellAppearance and SidebarCellLayout with SidebarCell. 2017-11-24 21:39:59 -08:00
Brent Simmons
1f26a83ed8 Use a layer for background color for timeline table cell. Don’t use drawRect: for performance reasons. 2017-11-18 11:39:25 -08:00
Brent Simmons
00ff9016bc Draw using proper background color when selected but not emphasized. Fix #152. 2017-11-12 12:16:27 -08:00
Brent Simmons
861afa06c7 Draw a background color for the timeline cell, and make it opaque, so it looks not-weird when dragging. 2017-11-11 21:53:43 -08:00
Brent Simmons
51825f8f05 Write dragged feeds with various UTI types, including a custom feed type. 2017-11-07 21:14:58 -08:00
Brent Simmons
06de21776a Allow article drag from timeline view to other apps. Write URL on dragging. 2017-11-06 22:06:42 -08:00
Brent Simmons
b79ded1eb9 Write the string plist for the article. 2017-11-06 13:29:53 -08:00
Brent Simmons
f452021bd2 Create an ArticlePasteboardWriter, and return it from the timeline’s data source delegate method pasteboardWriterForRow. 2017-11-06 13:20:29 -08:00
Brent Simmons
a7464daf15 Mark Read command now works. 2017-11-05 21:27:34 -08:00
Brent Simmons
11aa68fd6f When timeline reloads due to a change in sidebar selection, post the selection-did-change notification so that status bar view and detail view can go blank (instead of continuing to show the previous selection). 2017-11-05 20:59:30 -08:00
Brent Simmons
57296279e4 Switch back to AnyObject from AnyHashable, because of http://openradar.appspot.com/34824398 2017-11-04 23:05:20 -07:00
Brent Simmons
e16911b363 Make deleting work. Can’t undo yet. But now everything is messed-up because of an AnyHashable casting bug. Don’t run this build. 2017-11-04 22:51:14 -07:00
Brent Simmons
c08bbaa970 Use AnyHashable instead of AnyObject as representedObject for tree nodes. 2017-11-04 15:27:32 -07:00
Brent Simmons
0960477be6 Move undoable commands into TimelineViewController private extension. 2017-11-04 10:39:47 -07:00