openai / openai/codex

[App] Pre-fill project name from the first selected source folder

Open
#40,064 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

app enhancement
Dominant language
Rust
Stars
125k
Forks
19.4k
PR merge metrics
PR metrics pending

Description

What variant of Codex are you using?

Codex App (macOS)

What feature would you like to see?

Summary

When creating a project, if the Project name field is empty and the user selects a source folder, pre-fill the project name with that folder's basename.

For example:

  • Selected source folder: /path/to/landing-page
  • Suggested project name: landing-page

Motivation

For most projects, the project name will be the same as the primary source directory. Pre-filling it would remove a redundant typing step and make project creation feel more natural.

Suggested behavior

  • Only pre-fill the name when the field is empty.
  • Use the basename of the first selected source folder.
  • Keep the suggested name fully editable.
  • Never overwrite a name the user has entered or edited.

Screenshot

Image
Additional information

The screenshot shows the current state after selecting the landing-page source folder: the project-name field remains empty.

Related: #21996 discusses broader project naming and filesystem-path consistency, but does not cover automatically suggesting a project name from a selected existing folder.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by locating the Codex App project-creation flow and the source-folder selection handling. Verify how the project-name field tracks empty versus user-edited values, then confirm that selecting the first source folder fills only an empty field with its basename and leaves entered names unchanged.

Written by the indexing model from the issue text.

Assessment

Tech stack
macos, rust
Domain
desktop
Issue type
Feature
Difficulty
3/5
Estimated time
1-2 days
Activity status
Active
Clarity
Clearly specified
Newbie friendliness
74/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.