Add Save Button to Script Output Window #11175

Closed
opened 2025-12-29 21:41:21 +01:00 by adam · 7 comments
Owner

Originally created by @madgrizzle on GitHub (May 14, 2025).

Originally assigned to: @Omripresent on GitHub.

NetBox version

v4.2.6

Feature type

New functionality

Proposed functionality

It would be an improvement to user experience if there were a Save button on a custom's script output panel so that it can be readily saved to a file. The button, ideally, would prompt a user to enter a filename and then have the file downloaded after submitting the filename.

Use case

I need to create CSV files from the data in the database and having the option to save the data would be convenient. Yes, the output can be selected, copied, and then pasted in a file, and then saved, but having the save option is a much better user experience.

Database changes

None

External dependencies

None

Originally created by @madgrizzle on GitHub (May 14, 2025). Originally assigned to: @Omripresent on GitHub. ### NetBox version v4.2.6 ### Feature type New functionality ### Proposed functionality It would be an improvement to user experience if there were a Save button on a custom's script output panel so that it can be readily saved to a file. The button, ideally, would prompt a user to enter a filename and then have the file downloaded after submitting the filename. ### Use case I need to create CSV files from the data in the database and having the option to save the data would be convenient. Yes, the output can be selected, copied, and then pasted in a file, and then saved, but having the save option is a much better user experience. ### Database changes None ### External dependencies None
adam added the status: acceptedtype: featurecomplexity: medium labels 2025-12-29 21:41:21 +01:00
adam closed this issue 2025-12-29 21:41:22 +01:00
Author
Owner

@Omripresent commented on GitHub (May 15, 2025):

I can assist with this one

@Omripresent commented on GitHub (May 15, 2025): I can assist with this one
Author
Owner

@bctiemann commented on GitHub (May 15, 2025):

Thanks @madgrizzle !

@bctiemann commented on GitHub (May 15, 2025): Thanks @madgrizzle !
Author
Owner

@Omripresent commented on GitHub (May 16, 2025):

It could also be useful when running a report to be able to download the log content as CSV

@Omripresent commented on GitHub (May 16, 2025): It could also be useful when running a report to be able to download the log content as CSV
Author
Owner

@Omripresent commented on GitHub (Jun 4, 2025):

Should I submit a PR for my addition? this seems to be assigned to @madgrizzle.

@Omripresent commented on GitHub (Jun 4, 2025): Should I submit a PR for my addition? this seems to be assigned to @madgrizzle.
Author
Owner

@jeremystretch commented on GitHub (Jun 4, 2025):

@Omripresent sorry, I think this was assigned to @madgrizzle by mistake. I'll assign it to you for a PR. Thanks!

@jeremystretch commented on GitHub (Jun 4, 2025): @Omripresent sorry, I think this was assigned to @madgrizzle by mistake. I'll assign it to you for a PR. Thanks!
Author
Owner

@jeremystretch commented on GitHub (Jun 18, 2025):

@Omripresent I see that you've closed PR #19646. Are you still working on this issue, or should it be reassigned?

@jeremystretch commented on GitHub (Jun 18, 2025): @Omripresent I see that you've closed PR #19646. Are you still working on this issue, or should it be reassigned?
Author
Owner

@Omripresent commented on GitHub (Jun 18, 2025):

My bad I was doing some branch cleanup and deleted the associated branch with this PR by mistake.. I'll restore and resubmit.

@Omripresent commented on GitHub (Jun 18, 2025): My bad I was doing some branch cleanup and deleted the associated branch with this PR by mistake.. I'll restore and resubmit.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/netbox#11175