Commit Graph

54 Commits

Author SHA1 Message Date
Brent Simmons 53ec85c6bb Fix status bar color. 2018-02-24 11:04:47 -08:00
Brent Simmons 5643a51d16 Skip showing favicons in the timeline when they’re too small to look good. 2018-02-23 23:31:59 -08:00
Brent Simmons 443958423e Tweak some timeline settings. 2018-02-23 23:03:01 -08:00
Brent Simmons 5d756d6a20 Fix layout bug with 1-line title and 0-line summary. 2018-02-23 22:20:59 -08:00
Brent Simmons c5742d0242 Use separate text field for title, summary, and text-only in the timeline. 2018-02-23 22:15:35 -08:00
Brent Simmons d3846a6a37 Continue progress toward variable row heights. 2018-02-21 22:48:34 -08:00
Brent Simmons ab6d232377 Start work on multiline text measurement. 2018-02-20 22:32:14 -08:00
Brent Simmons c9df252f9a Remove TimelineCellData attributed string properties that are no longer needed. 2018-02-20 13:06:35 -08:00
Brent Simmons b39bcd9a77 Remove RSTextDrawing and all references to it. 2018-02-19 22:06:36 -08:00
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 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 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 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 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
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 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 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 c83e0ca68d Do quite a bit less work on resizing the timeline. Fix #175. 2017-12-02 22:18:43 -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 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 b8f69779ed Fix build error. The app builds and runs now — and then crashes. But still, it’s progress! 2017-10-05 13:09:09 -07:00
Brent Simmons 4d677b2055 Fix a bunch of build errors. 2017-09-24 12:24:44 -07:00
Brent Simmons 54ca352a70 Continue fixing build errors. 2017-09-17 17:56:04 -07:00
Brent Simmons 92a60d8f06 Continue fixing build errors. 2017-09-17 17:03:58 -07:00
Brent Simmons 0336e30b0d Continue to fix build errors. 2017-09-17 16:30:45 -07:00