Commit Graph

153 Commits

Author SHA1 Message Date
Brent Simmons
b65d563c7c Remove no-longer needed appearance code, now that WKWebView supports @media(prefers-color-scheme: dark). 2019-04-02 21:57:34 -07:00
Matt Meissner
eaefa4540c Remove Javascript class twiddling for darkmode
As of 10.14.4, WKWebView supports the `@media(prefers-color-scheme:dark)`
CSS query to handle darkmode transitions.
2019-04-01 09:44:43 -05:00
Brent Simmons
071da5d784 Make the n key work to go to next unread. 2019-03-18 21:39:18 -07:00
Brent Simmons
70bc4a7b45 Pay attention to the changed key when handling feed setting change notifications. 2019-03-17 13:54:30 -07:00
Maurice Parker
4518357e09 Made it so that tabbing to the timeline selects something. Issue #558. 2019-03-04 18:08:53 -06:00
Brent Simmons
68cabaab51 Merge pull request #571 from vincode-io/Issue-517
Added ability to move between timeline and detail using arrows.  Issue #267
2019-03-04 11:33:09 -08:00
Brent Simmons
129759ba7f Comment-out the code that runs when timeline view becomes first responder. It fixed a bug, but introduced a new bug. 2019-03-03 21:52:55 -08:00
Brent Simmons
b2708e677b Merge pull request #572 from vincode-io/Issue-558
Made sure an item in the timeline is selected - Issue #558
2019-03-03 17:05:39 -08:00
Maurice Parker
e0b8236356 Recalculate the key view loop to pick up the changes in the timeline views. Issue #557 2019-03-03 17:55:54 -06:00
Maurice Parker
6fa019702d Made sure an item in the timeline is selected when getting focus - Issue #558 2019-03-03 15:51:52 -06:00
Brent Simmons
96ab26f82e Remove unused argument to TimelineCellData.init. 2019-03-03 11:46:23 -08:00
Maurice Parker
edac0eab76 added missing files from last commit 2019-03-02 17:30:41 -06:00
Maurice Parker
7b02038397 Implemented the right arrow from the timeline and the left arrow from the detail view. Issue-517 2019-03-01 16:56:40 -06:00
Brent Simmons
752b697505 Revert the state restoration changes, because it needs more study. We’ll revisit this when we add multiple window support, some time after 5.0 ships. 2019-02-25 22:25:29 -08:00
Brent Simmons
e0c7f8737b Add menu command and keyboard shortcut to move focus to the search field. 2019-02-24 23:03:32 -08:00
Brent Simmons
315af1ef7f Show search results in timeline. Show selected item in detail view. 2019-02-24 22:39:57 -08:00
Brent Simmons
0ed06cde47 Make MainWindowController an NSToolbarDelegate and don’t use a separate object. 2019-02-18 19:02:40 -08:00
Brent Simmons
74b3ecdab8 Remove references to the no-longer-used TimelineSelectionDidChange notification. 2019-02-18 14:54:38 -08:00
Brent Simmons
e0514cb665 Merge. 2019-02-18 13:33:01 -08:00
Brent Simmons
fd5726b56d Fix keyboard shortcuts in the timeline. 2019-02-18 13:10:16 -08:00
Brent Simmons
19023f9168 Rewire contextual menu in timeline view. 2019-02-18 12:38:14 -08:00
Brent Simmons
076df956f9 Continue rewiring progress. 2019-02-17 22:00:04 -08:00
Brent Simmons
80761b4a83 Make progress on wiring views back together to handle selection changes. 2019-02-17 21:43:51 -08:00
Brent Simmons
175552d113 Make the timeline show articles. 2019-02-17 19:38:17 -08:00
Brent Simmons
2574e1bbd7 Remove references to the SidebarSelectionDidChange notification. 2019-02-17 18:52:34 -08:00
Brent Simmons
9a15068fdd Continue work on swapping timeline views. 2019-02-17 18:46:28 -08:00
Brent Simmons
0f5383b2f9 Continue progress on swapping timeline views. 2019-02-16 22:22:26 -08:00
Brent Simmons
3408a4c725 Make progress on swapping timeline views. 2019-02-16 22:14:06 -08:00
Daniel Jalkut
c54d2f94cc Fix #547 by implementing state restoration in the sidebar and timeline view controllers. 2019-02-15 13:38:07 -05:00
Daniel Jalkut
cd695848f0 Change split view state restoration from user defaults to standard window restoration mechanism. I don't think you need to include the manual window frame autosave name stuff either because I think it's automatically handled by AppKit's default state restoration. 2019-02-15 11:16:38 -05:00
Daniel Jalkut
80cfc9c0fe Differentiate the color for code and pre blocks. 2019-02-15 09:34:12 -05:00
Brent Simmons
8d79827346 Start TimelineContainerViewController. 2019-02-14 21:58:45 -08:00
Brent Simmons
aa9cfcaef4 Start TimelineTableViewController. Create TimelineTableView.xib. 2019-02-14 21:47:08 -08:00
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