mirror of
https://github.com/aome510/hackernews-TUI.git
synced 2026-04-26 09:25:56 +03:00
[PR #62] [MERGED] Render story text in comment view #84
Labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/hackernews-TUI#84
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/62
Author: @aome510
Created: 1/9/2022
Status: ✅ Merged
Merged: 1/10/2022
Merged by: @aome510
Base:
main← Head:render-story-text📝 Commits (10+)
62b5c7dparse story textd31803crename structs, struct's fieldsa017249useHnTextwhen parsing story and comment's text8cdbe3bdecode HTML HN text before parsingff82ba2render story text in Comment View (wip)8a8267ehandle single<p>inside the story text638577fMerge branch 'main' into render-story-textc549363update NOTES.orge137976use level instead of height to represent a comment's depth7afc7cbtweak the documentation wording📊 Changes
4 files changed (+170 additions, -95 deletions)
View changed files
📝
NOTES.org(+10 -2)📝
hackernews_tui/src/client/mod.rs(+3 -3)📝
hackernews_tui/src/client/parser.rs(+109 -54)📝
hackernews_tui/src/view/comment_view.rs(+48 -36)📄 Description
Brief description of changes
levelto indicate comment's depth instead ofheightCommenttoHnText,COMMENT_REtoHN_TEXT_RE,CommentStatetoCollapseState. UseHnTextto represent a HN text (comment/story)🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.