[Bug] Project rename dialog does not focus or select the name
Description
Opening Rename project in the Omnigent desktop app puts initial focus on the project-icon button. The project-name input is not focused and its existing value is not selected, so renaming requires an extra click and manual selection or deletion.
Expected behavior: when the dialog opens, the project-name input should receive focus and its entire value should be selected. Typing should immediately replace the current name.
The desktop app is a thin Electron shell that loads the server's regular React SPA, so this dialog uses the same frontend code in both the desktop app and a browser. The fix therefore applies to both surfaces.
Steps to reproduce
- Open the Omnigent desktop app with at least one project.
- Open that project's folder actions (kebab or right-click context menu).
- Choose Rename project.
- Observe that the name input is not focused and the existing project name is not selected.
This is reproducible consistently. The dialog's first focusable element is the icon button, and the project-name input has no explicit initial-focus handling.
Version
Observed in the desktop app; exact packaged version was not captured. The shared code path is present on current main at e7d88600e260e180d3f2f22debc73bfc6eb5d9bf.
OS
Desktop OS not recorded at report time.
Harness
Not applicable.
Harness mode
Not applicable.
Platform or device
Desktop app (Electron). The same dialog is also served in the browser web UI.
Observed impact
Anyone renaming a project encounters the extra interaction.
Authentication type
Not authentication-related.
Source: omnigent-ai/omnigent