Hacktoberfest 2026:维护者为十月标记出来的 issue,仍然开放、适合新手。 浏览 Hacktoberfest issue

Supporting tree structure instead of flat list in navigation pane

未关闭
#280 1 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看

维护者通常 1 天内回复

还没有人认领这个 Issue。

评估

难度
4/5
预计耗时
3-5 天
新手友好度
50/100
Issue 类型
功能
描述清晰度
基本清楚
活跃度
冷清
技术栈
go
领域
cli

调研方向

先阅读 CONTRIBUTING.md,然后定位导航窗格的入口点,以及它对 Enter、空格和文件选择的处理。确认可由用户配置的树视图应如何在允许折叠文件夹的同时保留文件审查行为。完成的标准是该窗格同时支持平面视图和树视图,并支持所要求的文件夹和文件交互。

由索引模型根据 Issue 内容生成。

描述

Hi!

Just wanted to pretext, that installed revdiff 2 or 3 days ago, really love the project! It was taking me a long time to find a terminal diff viewer that fit the agentic workflow I liked and revdiff is hitting that sweet spot. Anyway heres an issue i'd like to flag with a ready PR if the maintainers allow. I was going to set up a PR initially but read the CONTRIBUTING.md and realized I should put up an issue first in case it doesnt fit the product direction.

Problem

current files are shown as a flat list in the navigation pane. Coming from an IDE perspective it's a bit hard to read and understand. I opted for an option to the user if they want to show a tree instead of just a flat list! Again, fully configurable and set by the user. Clicking Enter or space on the folder will collapse them while keeping the same behavior of clicking on the file becomes reviewed (same as before).

https://github.com/user-attachments/assets/040ce37e-19d3-454c-8ffc-1907adb2a822

主要语言
Go
星标
896
派生
92
平均合并
17 小时 49 分钟
30 天内合并 PR
17

环境准备

  • 没有 Dockerfile 或 Docker Compose 文件
  • 没有 Pull Request 模板
  • 阅读贡献指南

从这里开始

  1. 先读完整个 Issue,再读项目的贡献指南。
  2. 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
  3. Fork 仓库,在一个分支上完成修改。
  4. 提交 Pull Request,并在描述里引用这个 Issue 编号。

umputun/revdiff 的其他 Issue

查看 umputun/revdiff 的全部 Issue

相似的 Issue

更多 Go Issue

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。