[App] Pre-fill project name from the first selected source folder
Nobody has claimed this yet.
- 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
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
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- 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