mirror of
https://github.com/aome510/hackernews-TUI.git
synced 2026-04-26 09:25:56 +03:00
[PR #34] [MERGED] [no-issue] add custom story view navigation #58
Labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/hackernews-TUI#58
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/34
Author: @aome510
Created: 5/17/2021
Status: ✅ Merged
Merged: 5/19/2021
Merged by: @aome510
Base:
main← Head:no-issue-add-custom-view-navigation📝 Commits (10+)
0b52390add CustomKeyMap9573b5eadd from_day_offset_to_time_offset_in_secsdc5a81emove src/view/utils to src/utils.rs15e311dremove filter past days key shortcutsa896c83use hn_client::StoryNumericFiltersf144f64implement query for numericFilterse41ceebadd derive Debug to most of the struct with derive macro9680feaadd default for custom_keymap and add more documentation for custom_keymap in the default config file10e9566add story filters description for StoryView status bar50560ebimplement key_groups for help_view📊 Changes
16 files changed (+425 additions, -248 deletions)
View changed files
📝
README.md(+5 -4)📝
src/config.rs(+10 -6)📝
src/hn-tui-default.toml(+37 -4)📝
src/hn_client.rs(+97 -14)📝
src/keybindings.rs(+33 -15)📝
src/main.rs(+76 -7)📝
src/prelude.rs(+1 -0)📝
src/utils.rs(+9 -16)📝
src/view/article_view.rs(+1 -2)📝
src/view/async_view.rs(+5 -6)📝
src/view/comment_view.rs(+0 -1)📝
src/view/error_view.rs(+0 -1)📝
src/view/help_view.rs(+145 -113)📝
src/view/mod.rs(+0 -1)📝
src/view/search_view.rs(+0 -1)📝
src/view/story_view.rs(+6 -57)📄 Description
Changes
q,w,e,rfor filter stories by date.StoryViewnavigationDerive(Debug)for most of the structsview/utils.rstoutils.rsHelpViewto support displaying description for custom keymap.🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.
ArticleView#75