Commit Graph

127 Commits

Author SHA1 Message Date
Brent Simmons 08b9a56ab3 Don’t show text in the timeline when there’s a title. 2018-02-19 22:06:24 -08:00
Brent Simmons 1614416fe0 Don’t show summary text in the timeline if it’s just “Comments.” (As in Hacker News.) 2018-02-19 22:05:47 -08:00
Brent Simmons 389f04bcfb Make the selected text in the timeline white. 2018-02-19 21:49:32 -08:00
Brent Simmons 12575901ec Use an NSTextField to draw the title in the timeline. 2018-02-19 21:26:15 -08:00
Brent Simmons 28f001b3ed Make the summary text start right after the title rather than on the next line. 2018-02-19 21:25:32 -08:00
Brent Simmons 6e875888c4 Reenable the code that draws the grid in the timeline. 2018-02-19 21:25:11 -08:00
Brent Simmons 127dd24016 Create and use MultiLineTextFieldSizer for sizing the title/text field in the timeline. 2018-02-19 20:28:00 -08:00
Brent Simmons 6d46b44e22 Remove no-longer-used RSSingleLineView and RSSingleLineRenderer. 2018-02-19 16:00:26 -08:00
Brent Simmons f11604df48 Switch to using NSTextField for timeline date and feed name views. 2018-02-19 15:56:15 -08:00
Brent Simmons 1ba2306b9c Show no-selection or multiple-selection text in the detail view when appropriate. 2018-02-18 21:49:46 -08:00
Brent Simmons 04694cef4c Tweak timeline font sizes a bit. 2018-02-18 20:28:31 -08:00
Brent Simmons 3d5be1022c Define a textOnlyColor for when an article has no title. 2018-02-18 16:13:58 -08:00
Brent Simmons 0ad41358fc Rewrite much of the timeline cell layout code. Move avatars to the right. 2018-02-18 15:13:47 -08:00
Brent Simmons 1e250839c3 Remove some commented-out code. 2018-02-18 13:01:34 -08:00
Brent Simmons 994426ffa1 Make drawing the grid in the timeline a DB5 option. 2018-02-18 13:00:54 -08:00
Brent Simmons 3731648d57 Mark articles starred/unstarred via contextual menu in the timeline. 2018-02-18 12:09:13 -08:00
Brent Simmons 3894a9ea14 Add a private extension to TimelineTableCellView. 2018-02-17 22:37:33 -08:00
Brent Simmons ad600884fc Skip drawing a light gray background for unloaded (or nonexistent) avatars in the timeline. 2018-02-17 22:29:40 -08:00
Brent Simmons 203637b30e Show a star in the timeline for starred articles. 2018-02-17 22:23:36 -08:00
Brent Simmons e789130248 Start work on laying out the star in the timeline cell. 2018-02-17 21:46:19 -08:00
Brent Simmons 9d39ae2de4 Create and use AppImages.swift for widely-referenced images. 2018-02-17 18:19:25 -08:00
Brent Simmons c5ed540194 Use CoalescingQueue.standard instead of one created by AppDelegate. 2018-02-17 17:45:05 -08:00
Brent Simmons c8fa1b71d9 Create and use a fetchAndMergeArticlesQueue (coalescing queue) for TimelineViewController. 2018-02-17 15:29:55 -08:00
Brent Simmons 7bcb8f7d12 Use appDelegate’s coalescing queue for reloading visible cells. 2018-02-17 15:16:30 -08:00
Brent Simmons 8e18c85b58 Remove no-longer-valid comment. 2018-02-17 12:36:18 -08:00
Brent Simmons c048b6bea0 Delete now-unused data source methods from TimelineViewController.. 2018-02-17 12:29:57 -08:00
Brent Simmons 673686ca68 Create TimelineDataSource as part of making TimelineViewController less big. 2018-02-17 12:21:15 -08:00
Brent Simmons 21f262e953 Make mark-as-starred menu item work; make it validate; change its name as needed. 2018-02-17 12:01:14 -08:00
Brent Simmons 1603d0b3f2 Make progress on the star/unstar command and on updating its toolbar item. 2018-02-16 22:35:04 -08:00
Brent Simmons e1a51b8acd When updating a timeline that’s already displaying, merge articles by articleID, so that updated versions replace older versions. 2018-02-16 21:21:27 -08:00
Brent Simmons 2f21dbf6be Remove extraneous get { from a bunch of read-only accessors. 2018-02-14 13:14:25 -08:00
Brent Simmons 09b8cd7811 Support the Copy command in the timeline. Fix #114. 2018-02-12 13:04:07 -08:00
Brent Simmons 1aac355418 Make all senders parameters for actions optional — Any? instead of AnyObject or Any. 2018-02-11 18:58:50 -08:00
Brent Simmons 46e0f781f8 Skip clearing undo stack when timeline view changes articles. Fix #341. 2018-02-11 17:45:02 -08:00
Brent Simmons c8d2fac9a6 Rename MarkReadOrUnreadCommand to MarkStatusCommand and make it handle starring/unstarring and deleting/undeleting. Also: add contextual menu for smart feeds in the sidebar. 2018-02-11 12:59:35 -08:00
Brent Simmons f5bfadfb33 Make the UnreadFeed conform to ArticleFetcher. It now displays articles in the timeline when selected. 2018-02-10 13:00:53 -08:00
Brent Simmons d46ae4df33 Add contextual menu to timeline. 2018-02-09 23:16:12 -08:00
Brent Simmons 582fd62080 Start work on timeline contextual menus. 2018-02-08 13:24:43 -08:00
Brent Simmons 765a91dd34 Restore selection in timeline after reload due to font size change. 2018-02-07 21:48:51 -08:00
Brent Simmons 2797c607c3 Update row height in timeline when font setting changes. 2018-02-07 21:46:54 -08:00
Brent Simmons 50dcf436d9 Change Cocoa imports to AppKit imports, because we don’t need CoreData imported (which Cocoa imports). 2018-02-02 22:51:32 -08:00
Daniel Jalkut d7f13ca4be Change from flatMap to new compactMap rename in Xcode 9.3. 2018-01-29 11:19:54 -05:00
Brent Simmons 285e3971d7 Re-sort the timeline when sort direction changes. Fix #65. 2018-01-28 11:45:18 -08:00
Brent Simmons 78e8823f23 Merge branch 'master' of https://github.com/brentsimmons/Evergreen 2018-01-28 11:33:58 -08:00
Brent Simmons ffd11b91ef Register for UserDefaults.didChangeNotification instead of using KVO on NSUserDefaultsController. 2018-01-28 11:33:45 -08:00
Brent Simmons 28c4ea82e5 Consider sort direction when sorting the Article array for the timeline. 2018-01-28 11:33:04 -08:00
Michael Tsai 063ed29d5d Share button now supports "EagleFiler Import" and "Add to Reading List".
List .URL before .string in the pasteboard types because otherwise the system will not propose sharing services that receive URLs but not text.
2018-01-22 11:02:29 -05:00
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