Kong / insomnia

The open-source, cross-platform API client for GraphQL, REST, WebSockets, SSE and gRPC. With Cloud, Local and Git storage.
https://insomnia.rest
Apache License 2.0
34.81k stars 1.97k forks source link

Place drop-down chevron on top of the request name #7788

Open DusanLesan opened 3 months ago

DusanLesan commented 3 months ago

Discussed in https://github.com/Kong/insomnia/discussions/7424

Originally posted by **DusanLesan** May 16, 2024 Currently, the request list when shrunken down to the minimum allowed size, unnecessary space is taken by always keeping space for the drop-down chevron icon. Here is how it currently looks like with the focus on the request name and the icon displayed: ![0](https://github.com/Kong/insomnia/assets/20520590/d38c95bf-8641-449c-810c-c9d5abc34ea0) And even if the icon is not displayed, request names are truncated even though there would be enough space for full name: ![select-20240516-203009](https://github.com/Kong/insomnia/assets/20520590/8b4e8085-a773-4456-a177-97bee0384c3c) Please save the usable space and allow users to further shrink request list without names becoming truncated by overlaying drop-down icon over titles instead. Here is an example how it can work without dedicated space for the icon: ![1](https://github.com/Kong/insomnia/assets/20520590/302e885c-c57a-4774-a0ff-b4ebf05b3d4b) And if user focuses any request, only then the menu is overlayed over the entry name: ![2](https://github.com/Kong/insomnia/assets/20520590/8e10983d-5cc8-42d2-b336-6e57c94b0d12)
symtalha14 commented 1 month ago

Can anyone from the maintainers please confirm whether this is something that we can submit a PR for?

Thanks