thunderclient / thunder-client-support

Thunder Client is a lightweight Rest API Client Extension for VS Code.
https://www.thunderclient.com
Other
3.61k stars 126 forks source link

request list does not show correct request type #1493

Closed m3dbedb closed 6 months ago

m3dbedb commented 6 months ago

Describe the bug In collections tab there are request type logo, it is always shows get request sign

To Reproduce Open collection tree, add collection with post request. It is stored as post, but always shows as get

Expected behavior It is expected that thunder show post logo before request name in request list

Platform:

Are you using the free version/paid version/trial: free Смок

m3dbedb commented 6 months ago

I will clarify: you can not apply changes without sending request. You add new request, select put method, add request body, but there is no option to store changes, that's why request always shown with "get" method.

rangav commented 6 months ago

When you save request it will update the method in the sidebar.

Use Ctrl/Cmd + S to save request

m3dbedb commented 5 months ago

Also it would be great to mark unsaved request with red star like this: Get stat *

rangav commented 5 months ago

The unsaved indicator is displayed in v2.19.5 https://github.com/rangav/thunder-client-support/releases/tag/v2.19.5

Screenshot 2024-03-12 at 17 26 53