Commit Graph

120 Commits

Author SHA1 Message Date
Brent Simmons
fb1fdc10ad Add TimelineContainerView. 2019-02-13 22:05:31 -08:00
Brent Simmons
9220cee0bb Create TimelineTableRowView and TimelineTableCellView in code. 2019-02-13 21:33:50 -08:00
Brent Simmons
8df96613c4 Move a bunch of code from DetailViewController to DetailWebViewController, where it belongs. 2019-02-12 22:57:19 -08:00
Brent Simmons
2f8bee998e Place the comment in the right place in DetailWebView. 2019-02-12 22:56:44 -08:00
Brent Simmons
bdf94c21f0 Make DetailContainerView a separate file. 2019-02-12 22:56:19 -08:00
Brent Simmons
af150b9b42 Remove baseURL from ArticleRenderer. 2019-02-12 22:55:26 -08:00
Brent Simmons
c78f5d442d Make DetailContainerView opaque. Make the timeline’s scroll view opaque. 2019-02-12 18:24:46 -08:00
Brent Simmons
104445c413 Move live-resize handler from detail container to DetailWebView, where it belongs. 2019-02-12 18:18:08 -08:00
Brent Simmons
28466a3fea Remove probably-unneeded code to set next responder. 2019-02-12 18:13:54 -08:00
Brent Simmons
2dfec50261 Create and use DetailWebViewControllerDelegate. 2019-02-12 18:12:12 -08:00
Brent Simmons
9b92fcfc2c Make baseURL a private extension computed var for Article. 2019-02-11 22:43:04 -08:00
Brent Simmons
350ab27371 Start DetailWebViewController. This is part of working on the search feature. We’ll need two separate web views — one for search results, one for normal use. 2019-02-11 22:36:31 -08:00
Brent Simmons
8de4ff4ee3 Rationalize the ArticleRenderer API. 2019-02-10 22:06:03 -08:00
Brent Simmons
9d9afea52a Simplify articles and article variables. 2019-02-10 21:46:53 -08:00
Brent Simmons
1498823c20 Simplify communication with DetailStatusBarView. 2019-02-10 21:39:11 -08:00
Brent Simmons
a74e0762e7 Simplify the view hierarchy for the detail view — remove one unneeded view. 2019-02-10 20:51:28 -08:00
Brent Simmons
5dbf194875 Delete some commented-out text. 2019-02-10 17:16:23 -08:00
Brent Simmons
7f4634b790 Get rid of TimelineContextualMenuDelegate. 2019-02-10 16:47:46 -08:00
Brent Simmons
68af34e397 Remove some commented-out code. 2019-02-10 16:36:56 -08:00
Brent Simmons
583ca1ac01 Move the sidebar contextual menu handling into SidebarViewController. 2019-02-10 12:27:22 -08:00
Brent Simmons
b910bdbf49 Remove some unused code. 2019-02-09 22:41:21 -08:00
Brent Simmons
39d07aec2e Remove MainWindowSplitView, which was unused. 2019-02-09 22:28:33 -08:00
Brent Simmons
c40efd2c89 Remove some unused code. 2019-02-09 22:09:38 -08:00
Brent Simmons
df768da253 Stop using the builtin textField and imageView in the sidebar cell — this fixes the drag image issue. Fix #532. 2019-02-09 18:54:16 -08:00
Brent Simmons
1c2759dd2b Skip reloading HTML in the detail view when the article is set and it’s the same article that was already set. 2019-02-09 12:15:05 -08:00
Brent Simmons
4d3bceda93 Skip reloadData in TimelineViewController when the articles array represents the same articles as the previous array. Just reload visible cells in that case. 2019-02-08 19:53:41 -08:00
Brent Simmons
58012a97f3 Remove unused code. 2019-02-07 22:45:19 -08:00
Brent Simmons
0e31e526e4 Remove unused code from TimelineTableView. 2019-02-07 22:27:26 -08:00
Brent Simmons
7184f8c439 Remove unused code from TimelineTableRowView. 2019-02-07 22:24:41 -08:00
Brent Simmons
2ece915ac3 Do less work in timeline table cell views, which should make scrolling imperceptibly faster. 2019-02-07 22:01:31 -08:00
Brent Simmons
6fba06425c Allow for a drop-on index when dragging a single local feed. 2019-02-07 21:27:24 -08:00
Maurice Parker
a520cdfa4b added accessibility label for sidebar cell 2019-02-06 14:37:58 -06:00
Brent Simmons
f09de46bbb Implement dragging multiple feeds in the sidebar. Use the same code for single and multiple cases. 2019-02-05 22:28:30 -08:00
Brent Simmons
ddccbdf610 Add addFeed and addFeeds to the Container protocol. This was confusing before. Now you can add directly to a Folder or Account. 2019-02-05 21:48:32 -08:00
Brent Simmons
c07119feba Implement accepting a single local feed drag and drop in the sidebar. 2019-02-05 21:01:53 -08:00
Brent Simmons
7ce4a21194 Add rebuildTreeAndRestoreSelection method and use it where appropriate in SidebarViewController. 2019-02-05 21:00:53 -08:00
Brent Simmons
3a5741a5dd Make exportDictionary and internalDictionary private vars instead of functions in FeedPasteboardWriter. 2019-02-05 21:00:10 -08:00
Brent Simmons
c4e97c028b Use semantic markup — header and article tags — in HTML view. 2019-02-04 18:03:35 -08:00
Brent Simmons
cda559728c Refresh smart feeds when articles refresh. 2019-02-03 12:06:11 -08:00
Brent Simmons
3f57cdf4f7 Restore the selection after rebuilding the sidebar after a name change. 2019-02-02 17:01:40 -08:00
Brent Simmons
25b6027745 Re-sort the sidebar when the display name for a feed or folder changes. 2019-02-02 12:36:07 -08:00
Brent Simmons
51ef880d4f Remove the gear menu from the bottom of the sidebar. Animate in and out the refresh-status view (a la Mail). 2019-02-01 20:53:02 -08:00
Brent Simmons
21a5a00cd1 Moving some work from my laptop to my iMac. 2019-02-01 20:26:40 -08:00
Brent Simmons
a936c34c53 Further tighten up the timeline. Align the top of the avatar with the top of the text. 2019-01-30 21:51:35 -08:00
Brent Simmons
3a5f95f6b6 Tighten up the timeline — increase information density a bit. Fix #525. 2019-01-29 22:33:27 -08:00
Brent Simmons
75199d2546 Add @objc for the two delegate methods implemented. This fixes a bug where the Add button wasn’t enabled after your typing. 2019-01-27 21:09:25 -08:00
Brent Simmons
7df22a2b6f Refresh automatically based on the setting in the General prefs pane. Fix #60. 2019-01-27 18:00:09 -08:00
Brent Simmons
b9032b295f Make TimelineStringFormatter a struct rather than a class. 2018-12-27 22:29:45 -08:00
Brent Simmons
9c13950815 Remove unused extension. 2018-12-27 22:18:39 -08:00
Brent Simmons
7cb218b37f Remove TimelineDataSource, which was overkill. 2018-12-27 22:16:38 -08:00