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] Add result from direct method call #495

Closed
rtheil-growlink opened this issue Mar 9, 2022 · 7 comments
Closed

[Feature request] Add result from direct method call #495

rtheil-growlink opened this issue Mar 9, 2022 · 7 comments
Labels

Comments

@rtheil-growlink
Copy link

rtheil-growlink commented Mar 9, 2022

Doing firmware development for devices using Azure IoT. Working on implementing direct method calls. I prefer IoT Explorer because the Direct method screen doesn't delete the method name or payload after invoking. This means I can send the same command over and over again until the firmware does what I want. Azure portal wipes these fields on every invoke. What's missing is the result from a direct method call, as seen here:
image

I'd like to see the result from the direct method call in its own readonly text box below the "Response timeout in seconds" slider, like it is in the Azure web portal.
image

Right now the problem is that the result only shows in a pop up notification in the corner then disappears. Can't copy or examine the response body, especially when large. Often I take that response and drop it in jsonlint.com to look at the data.
image

@rtheil-growlink rtheil-growlink added enhancement New feature or request needs review Review required by team member labels Mar 9, 2022
@rtheil-growlink rtheil-growlink changed the title [Feature request] <Enter feature request title here> [Feature request] Add result from direct method call Mar 9, 2022
@YingXue
Copy link
Member

YingXue commented Apr 19, 2022

Hi @rtheil-growlink
We did tackle issue a while back, and the decision we made is giving users a 'Notification Center'.
If you go back to home, you should be able to locate it - the third item in left nav.
We didn't provide a link in short messages, but if your response is super long, we will show a cropped message and inform you that the full message is in the 'Notification Center' to make it more accessible.

@YingXue YingXue closed this as completed Apr 19, 2022
@YingXue YingXue added workaround provided and removed needs review Review required by team member labels Apr 19, 2022
@rtheil-growlink
Copy link
Author

Thanks for that info. Here's why that doesn't work well:

I choose an iot hub, go to devices, search for a device, click that device, click direct method, enter my direct method details, and click invoke. I then get a notification, it disappears, I need to copy the text from the response. So I click home, click notification center, choose the notification, then copy my text. Now I need to call that direct method again. So I choose an iot hub, go to devices, search for a device, click that device, click direct method, enter my direct method details, and click invoke.

The problem here is the constant repeating of the process to get to the direct method, or other, screen in order to get the notification I need to copy the response from. Having to go to notifications is time consuming.

@rtheil-growlink
Copy link
Author

This one really shouldn't be closed, as the "workaround" isn't really helpful at all, and is far too time consuming to be useful for development purposes.

@YingXue YingXue reopened this Jul 26, 2022
@YingXue
Copy link
Member

YingXue commented Jul 26, 2022

Relates to #514

@YingXue
Copy link
Member

YingXue commented Jul 28, 2022

Thanks for that info. Here's why that doesn't work well:

I choose an iot hub, go to devices, search for a device, click that device, click direct method, enter my direct method details, and click invoke. I then get a notification, it disappears, I need to copy the text from the response. So I click home, click notification center, choose the notification, then copy my text. Now I need to call that direct method again. So I choose an iot hub, go to devices, search for a device, click that device, click direct method, enter my direct method details, and click invoke.

The problem here is the constant repeating of the process to get to the direct method, or other, screen in order to get the notification I need to copy the response from. Having to go to notifications is time consuming.

Oh I forgot to point out one thing that could make your life easier before the next release (which is btw coming early next week where we added a copy button next to the response), and that is there is a 'go back' button on top of the notification center's page, which directly take you back to where you came from, and in your case the 'direct method' page.
image

@rtheil-growlink
Copy link
Author

Oh, interesting. I have never noticed that. Not sure, based on its position, if I would have realized it's to go back to where I was. Will watch for that in my next tests.

@YingXue
Copy link
Member

YingXue commented Aug 2, 2022

Releasing https://github.com/Azure/azure-iot-explorer/releases/tag/v0.14.11 which adds copy button on both places and fix scroll bar to the notificaiton center.

@YingXue YingXue closed this as completed Aug 2, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants