forked from NetBSD/pkgsrc
-
Notifications
You must be signed in to change notification settings - Fork 51
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Brief description of application changes: integrate Official HN APIs: -#36: use the official APIs to display the Story View - Front Page similarly to HN front-page. -#37: remove StoryPooling feature and replace it with LazyLoadingComments feature which lazily loads comments on demand. -#39: allow all configuration options to be optional. Previously, user needs to create the config file based the example config. Now, if an option is not specified, a default value will be used instead (for more information/ documentation, refer to the example config file). Brief description of codebase changes: -Refactor the repo into 3 separate crates: hackernews_tui for main binary crate, config_parser (lib) and config_parser_derive (proc-macro) for the libraries to parse configuration options from the config file. -#38: reduce the .clone() usage, move the application's hn_client::HNClient to global state. -small refactoring and documentation improvements
- Loading branch information
Showing
4 changed files
with
195 additions
and
191 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,3 @@ | ||
@comment $NetBSD: PLIST,v 1.1 2021/03/18 21:57:35 pin Exp $ | ||
@comment $NetBSD: PLIST,v 1.2 2021/06/12 17:14:24 pin Exp $ | ||
bin/hackernews_tui | ||
share/examples/hackernews-tui/hn-tui-default.toml |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.