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

Discrepancy between project chooser and project folder context menu re setting as active project

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

还没有人认领这个 Issue。

评估

难度
5/5
预计耗时
一周以上
新手友好度
30/100
Issue 类型
缺陷
描述清晰度
需要澄清
活跃度
停滞
领域
tooling

调研方向

打开一个 git 项目和一个非 git 文件夹来复现该差异,然后将 ProjectChooser 下拉菜单与每个文件夹的上下文菜单进行比较。首先确定是否应允许非 git 文件夹作为活动项目;当两个入口点都一致地应用这一决定时,即视为完成。

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

描述

What Happened?

Clicked on project chooser button and noticed a folder that was not a git repository appeared in the list. This conflicts with the context menu item for that project folder item which did not have a "Set as Active Project" item

Steps to Reproduce

Open a git project
Open another folder, not a git project
See context menus
See ProjectChooser dropdown

Expected Behavior

It needs to be decided whether "active project" can reasonable be anything other than a git repository. Many actions only make sense for a git repository. The projectchooser and the context menu should agree whether a folder can be made active project.

OS Version

8.x (Circe)

Session Type

Classic Session (X11, This is the default)

Software Version

Latest release (I have run all updates)

Log Output

Hardware Info

No response

主要语言
Vala
星标
521
派生
119
平均合并
1 天 7 小时
30 天内合并 PR
13

贡献指南

打开贡献指南

从这里开始

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

elementary/code 的其他 Issue

查看 elementary/code 的全部 Issue

相似的 Issue

更多 DevTools Issue

把新 issue 发到你的邮箱

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