elementary / elementary/code

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

Open
#1,605 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Vala
Stars
521
Forks
118
Avg merge
1d 8h
Merged PRs (30d)
14

Description

### 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

```shell

```

### Hardware Info

_No response_

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.