Unable to duplicate request leaving name empty
- Dominant language
- TypeScript
- Stars
- 40k
- Forks
- 2.4k
- Avg merge
- 2d 13h
- Merged PRs (30d)
- 61
Description
### Expected Behavior
When duplicating request with empty name it should allow to left the name empty.
### Actual Behavior
When duplicating request with empty name it is required to provide a name. Otherwise a new request is not created.
### Reproduction Steps
1. Navigate to a request that have no name.
2. Press Ctrl+D.
3. In the Duplicate Request dialog left the New Name field empty.
4. Click Create.
Result: no new request is created.
### Is there an existing issue for this?
- [X] I have searched the [issue tracker](https://www.github.com/Kong/insomnia/issues) for this problem.
### Additional Information
_No response_
### Insomnia Version
2022.7.3
### What operating system are you using?
Windows
### Operating System Version
Windows 10 Pro, 22H2
### Installation method
download from insomnia.rest
### Last Known Working Insomnia version
_No response_
Contributor guide
Research direction
Reproduce the issue in the Duplicate Request dialog by opening an unnamed request, pressing Ctrl+D, leaving New Name empty, and clicking Create. Trace the request-duplication entry point and change the behavior so an empty name creates the duplicate, then verify the reproduction steps succeed on Windows.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- electron, typescript
- Domain
- desktop, frontend
- Issue type
- Bug
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 48/100