Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feature-Request: Display Request-Status when action is performed (loading icon or something) #848

Open
edvinkuric opened this issue May 17, 2021 · 3 comments · Fixed by quanterion/vscode-restclient#1 · May be fixed by #1137

Comments

@edvinkuric
Copy link

edvinkuric commented May 17, 2021

Thank you for providing such a lovely tool, i am currently using it a lot and trying to move from postman.

I think this feature isn't present yet within the plugin, but i am using the following setup:

  • REST Client Version: 0.24.5
  • VSCode Version: 1.56.2
  • OS Version: Windows 10

Current state

When performing a request (which can take a long time), i currently cannot see what the current request-status is or if my action has been performed at all (or if my pc is stuck/frozen 😄).

Desired state

When performing a request, the user should be able to see if he started/performed this action by displaying a loading-icon (optional: with according loading-text message)

I see 3 possibilities for the implementation:

  1. add a loading icon directly after the "Send Request"-Button (see screenshot at bottom)
  2. Open the Response-window before the actual response comes in and display some kind of loading-screen.
  3. A notification window, which pops up (at bottom right) and displays the current status (like when the vscode-update is performed)

I don't know what the best solution would be to tackle this problem, but any described solution (or combination of these) would already bring benefits.

Description

When performing a request, which takes a long time (like 20+ seconds), i cannot confirm if my performed actions have been correct or my pc has some kind of issue which causes the request to not be performed at all. Most of the time, i try to click 2 to 5 times on the same "Send Request"-Button, which doesn't help with the performance. 😅
In this case, my API-Calls were POST-Requests which were performing various image processing tasks - this could take up to a minute.

To solve this problem, the current state of the request should be visible by using a loading-icon or some kind of additional message/notification.

I think this feature should be relatively easy to implement once the best solution has been decided and contributes a lot to the user experience of this tool.

image

I would love to get some feedback or other suggestions on this - thank you very much 😄
BR, Edvin

@adibradfield
Copy link
Contributor

So it currently does give you an indication in the status bar. Whilst waiting for a response, you will see "Waiting" with a little spinner:

image

Once you get the response, you will see the response time and size of the response instead:

image

As a side note, you can also click the "Waiting" in the status bar to cancel a request. I do agree though that this could be more clear moving the spinner to the response window.

@edvinkuric
Copy link
Author

@adibradfield great to see that there is at least something, thank you very much :)

Is there any way to track the status of multiple API calls (without opening VSCode multiple times), e.g. when performing 3 times on the same API call ?

@Huachao
Copy link
Owner

Huachao commented Jul 7, 2021

@edvinkuric currently no

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
3 participants