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#72
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/56
Author: @aome510
Created: 12/17/2021
Status: ✅ Merged
Merged: 12/17/2021
Merged by: @aome510
Base:
main← Head:51-add-font-highlight📝 Commits (10+)
bc38992implement font-highlighting parser for comment text48a8333additaliccomponent style0339092not usingsubstringto get the substring when parsing41976edclean up parser codeae4580bhandle empty string for some regex(s)b2f86c4handle open comment link commands with link ID starts from 1e21fab7add parse rule for markdown single-line code blockf57a24fparse story title into a styled stringaff5e11parse story's category and add component style for each category38ef107removeregexmodule📊 Changes
5 files changed (+219 additions, -144 deletions)
View changed files
📝
hackernews_tui/src/client/parser.rs(+180 -93)📝
hackernews_tui/src/config/theme.rs(+28 -2)📝
hackernews_tui/src/view/comment_view.rs(+6 -5)📝
hackernews_tui/src/view/help_view.rs(+4 -2)📝
hackernews_tui/src/view/story_view.rs(+1 -42)📄 Description
Part 1 of #51.
Brief description of changes
CommentViewthat adds highlight/color toStoryViewthat adds highlight/color to story's categories (Show HN,Ask HN, etc) and implement a parser for parsing story title1and change the correspondingopen_link_*commands inCommentView🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.