mirror of
https://github.com/aome510/hackernews-TUI.git
synced 2026-04-26 09:25:56 +03:00
[PR #75] [MERGED] Code refactor and clean part II #89
Labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/hackernews-TUI#89
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/75
Author: @aome510
Created: 5/17/2022
Status: ✅ Merged
Merged: 5/21/2022
Merged by: @aome510
Base:
main← Head:22-05-07/code-refactor-and-cleanup-p2📝 Commits (7)
a1b8889cleanup724e415only display application logsdd779e3move UI initialize code frommaintoviewmodule1cd39eause function instead of macro to construct global story view navigation shortcuts95d8065rename view construct functions, add more comments, some cleanups6ae26c5use an enum to represent directionb1fb708cleanup comment collapsing code📊 Changes
12 files changed (+295 additions, -202 deletions)
View changed files
📝
hackernews_tui/src/client/mod.rs(+1 -2)📝
hackernews_tui/src/client/parser.rs(+2 -1)📝
hackernews_tui/src/client/query.rs(+11 -5)📝
hackernews_tui/src/config/mod.rs(+2 -4)📝
hackernews_tui/src/main.rs(+6 -102)📝
hackernews_tui/src/view/article_view.rs(+8 -5)📝
hackernews_tui/src/view/async_view.rs(+7 -7)📝
hackernews_tui/src/view/comment_view.rs(+87 -55)📝
hackernews_tui/src/view/mod.rs(+125 -0)📝
hackernews_tui/src/view/search_view.rs(+11 -8)📝
hackernews_tui/src/view/story_view.rs(+34 -12)📝
hackernews_tui/src/view/utils.rs(+1 -1)📄 Description
Brief description of changes
main.rstoview::mod.rs🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.