mirror of
https://github.com/aome510/hackernews-TUI.git
synced 2026-04-26 09:25:56 +03:00
[PR #59] [MERGED] Update documentation and configuration structures #79
Labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/hackernews-TUI#79
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/aome510/hackernews-TUI/pull/59
Author: @aome510
Created: 12/24/2021
Status: ✅ Merged
Merged: 12/29/2021
Merged by: @aome510
Base:
main← Head:add-theme-documentation📝 Commits (10+)
f4e7ee1usearticle_md --format htmlas the defaultarticle_parse_command55ac21ause top/bottom padding of size 1266d6c3update README1f1daf5change default shortcuts fortopandbottomtogandG605bf22removeclientconfig option andclient.story_limitconfig option101c8dbreplaceArticleParseCommandwith generalCommandstructc7f55a7add a draft configuration documentatione52d5c9clean up example configuration file36d935aaddconfig::Keymap::custom_keymapsedac644fix parsing error for the example config file📊 Changes
20 files changed (+530 additions, -405 deletions)
View changed files
📝
README.md(+92 -134)➕
config.md(+232 -0)➖
examples/assets/article_view.png(+0 -0)➖
examples/assets/comment_view.png(+0 -0)➖
examples/assets/help_view.png(+0 -0)➖
examples/assets/story_search_view.png(+0 -0)➖
examples/assets/story_view.png(+0 -0)📝
examples/hn-tui.toml(+137 -164)📝
hackernews_tui/src/client/mod.rs(+10 -15)📝
hackernews_tui/src/config/keybindings.rs(+7 -15)📝
hackernews_tui/src/config/mod.rs(+18 -45)📝
hackernews_tui/src/config/theme.rs(+1 -2)📝
hackernews_tui/src/main.rs(+3 -2)📝
hackernews_tui/src/utils.rs(+15 -8)📝
hackernews_tui/src/view/article_view.rs(+1 -1)📝
hackernews_tui/src/view/async_view.rs(+3 -4)📝
hackernews_tui/src/view/help_view.rs(+6 -5)📝
hackernews_tui/src/view/list_view.rs(+1 -1)📝
hackernews_tui/src/view/search_view.rs(+2 -2)📝
hackernews_tui/src/view/story_view.rs(+2 -7)📄 Description
Brief description of changes
config.mdREAMDEREADMEBreaking changes
topandbottomcommands inArticleViewtogandGclientandclient.story_limitconfig options (use hard-coded story/search limits), replaceclient.client_timeoutbyclient_timeoutconfig::Commandstruct to represent a command as a config option (used forurl_open_commandandarticle_parse_command)keymap.custom_keymapsto add custom story view navigation shortcuts instead ofkeymap.custom_keymap.custom_view_navigationtoggle_sort_bycommand inStoryViewtotoggle_sort_by_date🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.