[PR #22] [MERGED] [no-issue]add more options to config file #48

Closed
opened 2026-03-14 12:29:20 +03:00 by kerem · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/aome510/hackernews-TUI/pull/22
Author: @aome510
Created: 4/13/2021
Status: Merged
Merged: 4/13/2021
Merged by: @aome510

Base: mainHead: no-issue-add-colors-to-theme-config


📝 Commits (4)

  • d606300 make all custom colors configurable
  • 149b6f0 add a config file example
  • 3adb1f1 add page_scrolling to config
  • 202bc4e improve config file documentation

📊 Changes

12 files changed (+131 additions, -51 deletions)

View changed files

examples/hn-tui.toml (+32 -0)
📝 run_debug (+1 -1)
📝 src/config.rs (+61 -2)
📝 src/main.rs (+1 -12)
📝 src/view/comment_view.rs (+6 -4)
📝 src/view/help_view.rs (+5 -4)
📝 src/view/list_view.rs (+6 -1)
📝 src/view/mod.rs (+0 -1)
📝 src/view/search_view.rs (+4 -2)
📝 src/view/story_view.rs (+9 -4)
src/view/theme.rs (+0 -15)
📝 src/view/utils.rs (+6 -5)

📄 Description

  • add a default config file in examples/hn-tui.toml.
  • modify all custom colors defined in the codebase to be configurable.
  • add page_scrolling as a config option.

🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/aome510/hackernews-TUI/pull/22 **Author:** [@aome510](https://github.com/aome510) **Created:** 4/13/2021 **Status:** ✅ Merged **Merged:** 4/13/2021 **Merged by:** [@aome510](https://github.com/aome510) **Base:** `main` ← **Head:** `no-issue-add-colors-to-theme-config` --- ### 📝 Commits (4) - [`d606300`](https://github.com/aome510/hackernews-TUI/commit/d6063007d0785e6156f520d4ebc15353f9ecd4b9) make all custom colors configurable - [`149b6f0`](https://github.com/aome510/hackernews-TUI/commit/149b6f0883bb570587ae13e360ccfd2abd075f7c) add a config file example - [`3adb1f1`](https://github.com/aome510/hackernews-TUI/commit/3adb1f184f63ad74cd66cc78f65b11bf893b0b21) add page_scrolling to config - [`202bc4e`](https://github.com/aome510/hackernews-TUI/commit/202bc4e0f13925473963ddfbce82516cc2e7987e) improve config file documentation ### 📊 Changes **12 files changed** (+131 additions, -51 deletions) <details> <summary>View changed files</summary> ➕ `examples/hn-tui.toml` (+32 -0) 📝 `run_debug` (+1 -1) 📝 `src/config.rs` (+61 -2) 📝 `src/main.rs` (+1 -12) 📝 `src/view/comment_view.rs` (+6 -4) 📝 `src/view/help_view.rs` (+5 -4) 📝 `src/view/list_view.rs` (+6 -1) 📝 `src/view/mod.rs` (+0 -1) 📝 `src/view/search_view.rs` (+4 -2) 📝 `src/view/story_view.rs` (+9 -4) ➖ `src/view/theme.rs` (+0 -15) 📝 `src/view/utils.rs` (+6 -5) </details> ### 📄 Description - add a default config file in `examples/hn-tui.toml`. - modify all custom colors defined in the codebase to be configurable. - add `page_scrolling` as a config option. --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
kerem 2026-03-14 12:29:20 +03:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/hackernews-TUI#48
No description provided.