-
-
Notifications
You must be signed in to change notification settings - Fork 1.4k
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 new Open Method called DISCARD or NONE #597
Comments
Hiya, |
Hi! I really love the interface and all its features and was working on something that would expand on it by being able to have links that would run applications on the workstation. I have written a small proxy type application that sits in the system tray and accepts HTTP request, and when a request was sent to it, it would include some commands via query string parameters. The app would then have ability to run the executable. The only issue at the moment is that when clicking the link, it works perfectly in opening the application I specified but it also opens a web browser tab that is basically blank or shows no response. I was wondering if it would be possible to just call the link and then discard or ignore any response, which I am assuming you are doing something to open the response in the modal or workspace. http://localhost:2222/?EXEPATH=notepad.exe&ARGS=c:\temp\logs\Prox20220410.log&DEBUG=true |
Makes sense, I think this is the same as Action Buttons mentioned in #383, which is already on the Roadmap. But it's not quite as simple as just adding an extra option to the opening method. It would need to be a function that makes a HTTP request from the frontend to the endpoint (and you would need to manage that endpoint and CORS and stuff yourself) Another option in the meantime (if you don't want to fork the project yourself), is to just build a simple widget (see building dynamic widgets) |
#383 is along the same line but more for running server-side commands to control things inside the container that is hosting Dashy. My idea allows Dashy to be used to perform actions on the client computer. Since a user would have to manually install the proxy and configure it and formulate the URLs to execute whatever application I see it as a very low security risk. Yet it would be simple to get up and running. Overall, this provides a complete solution to use Dashy as an all-in-one Local/Remote dashboard. I may fork the code and take a look at the current process and see if I can come up with a solution. |
Now that I think of it, it would almost be like how a status check works. Hit the URL and instead of updating the status check icon just dispose of the response. |
I think this is exactly how action buttons are intended to work, very similar to status check, but happens on button click. I'm going to close this ticket, as already on the roadmap, but you can track the progress of this feature in #383 |
Is your feature request related to a problem? If so, please describe.
No response
Describe the solution you'd like
Would like an additional option called DISCARD added to the Opening Methods that would discard the response result completely instead of opening it in a default New Tab.
Priority
Medium (Would be very useful)
Is this something you would be keen to implement
No
The text was updated successfully, but these errors were encountered: