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

Open 💬 0 comments Opened Aug 22, 2026 by crissdev

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

<img width="737" height="444" alt="Image" src="https://github.com/user-attachments/assets/af8900cf-c8cf-4112-9fcf-f4eb26c0340b" />

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.

View original on GitHub ↗