mirror of
https://github.com/aome510/hackernews-TUI.git
synced 2026-04-26 09:25:56 +03:00
Labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/hackernews-TUI#39
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/7
Author: @aome510
Created: 3/2/2021
Status: ✅ Merged
Merged: 3/2/2021
Merged by: @aome510
Base:
main← Head:3-link-parser📝 Commits (10+)
c97c819use spanned string to display comment view4dc4b4eadd link color39d60d0wrap comment view into a struct0a75d0cfix compile error2f8f591add link_id color style64a8256implement commentView using ViewWrapper trait791ee4aminor documentation/naming changesc058eedimplement EventListView traitb44e8f4add run debug script4b34b67implement open links in comment view📊 Changes
11 files changed (+423 additions, -163 deletions)
View changed files
📝
Cargo.toml(+3 -1)➕
run_debug(+3 -0)📝
src/hn_client.rs(+1 -1)📝
src/prelude.rs(+5 -1)📝
src/view/comment_view.rs(+196 -87)📝
src/view/event_view.rs(+80 -20)📝
src/view/mod.rs(+2 -19)📝
src/view/story_view.rs(+89 -29)📝
src/view/text_view.rs(+7 -5)➕
src/view/theme.rs(+6 -0)➕
src/view/utils.rs(+31 -0)📄 Description
Resolves #3.
CommentViewandStoryby implementingcursive::views::ViewWrapperaroundcursive::views::LinearLayout.CommentView. Now links mentioned in comments can be accessed via{link_id} Fcommand.{link_id}is placed next to the link.Ocommand to open the origin story's url inCommentViewandStoryView.🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.
config_parsercrates to allow optional configurations #63