Julien-cpsn / ATAC

A simple API client (postman like) in your terminal
https://atac.julien-cpsn.com/
MIT License
1.86k stars 81 forks source link

[ux] selecting creating request without existing collection has no effect #12

Closed brandon1024 closed 5 months ago

brandon1024 commented 5 months ago

Issue Description

If you try to create a new request without having created a collection already, nothing happens when you press enter. This is a bit confusing.

Possible Solutions

One possible solution would be to create a default collection if this occurs. Maybe a collection with the name other.

Another approach could be to show a warning message.

Julien-cpsn commented 5 months ago

Now when there are no collection, it automatically chooses the "collection" option and bring you to the creating collection popup. Otherwise, nothing changes