mirror of
https://github.com/aome510/hackernews-TUI.git
synced 2026-04-26 09:25:56 +03:00
[PR #41] [MERGED] [no-issue] refactor modules #68
Labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/hackernews-TUI#68
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/41
Author: @aome510
Created: 6/26/2021
Status: ✅ Merged
Merged: 6/26/2021
Merged by: @aome510
Base:
main← Head:no-issue-refactor-modules📝 Commits (7)
4aac9dause macro_rules to reduce code duplication in setting switch view shortcutsb2d4b4buse a config module folder2300df1fix error in keybindings.rs0de0742use a client module foldercbb12a3reduce import statements, change hn_client to client90b6beeproject can be compiled now!908c63ereduce import statements📊 Changes
18 files changed (+987 additions, -1057 deletions)
View changed files
➕
hackernews_tui/src/client/lazy.rs(+79 -0)➕
hackernews_tui/src/client/mod.rs(+265 -0)➕
hackernews_tui/src/client/parser.rs(+209 -0)➕
hackernews_tui/src/client/query.rs(+95 -0)➖
hackernews_tui/src/config.rs(+0 -254)📝
hackernews_tui/src/config/keybindings.rs(+28 -7)➕
hackernews_tui/src/config/mod.rs(+132 -0)➕
hackernews_tui/src/config/theme.rs(+103 -0)➖
hackernews_tui/src/hn_client.rs(+0 -656)📝
hackernews_tui/src/main.rs(+26 -79)📝
hackernews_tui/src/prelude.rs(+1 -1)📝
hackernews_tui/src/utils.rs(+1 -2)📝
hackernews_tui/src/view/article_view.rs(+2 -4)📝
hackernews_tui/src/view/async_view.rs(+4 -5)📝
hackernews_tui/src/view/comment_view.rs(+16 -18)📝
hackernews_tui/src/view/error_view.rs(+0 -1)📝
hackernews_tui/src/view/search_view.rs(+14 -16)📝
hackernews_tui/src/view/story_view.rs(+12 -14)📄 Description
configfolder module instead ofconfig.rsandkeybindings.rsfilesclientfolder module instead ofhn_client.rsfileuse(import) statements🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.