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

Allow overriding the href of a custom link #18202

Open
AliMickey opened this issue Dec 11, 2024 · 0 comments
Open

Allow overriding the href of a custom link #18202

AliMickey opened this issue Dec 11, 2024 · 0 comments
Labels
status: needs triage This issue is awaiting triage by a maintainer type: feature Introduction of new functionality to the application

Comments

@AliMickey
Copy link

NetBox version

v4.1.5

Feature type

Data model extension

Triage priority

N/A

Proposed functionality

This is in reference to an original discussion #18178

This issue tackles this in a different way, by allowing custom links to have an override href (for example #), the generated link wont contain the base domain URL, thus allowing a user to right click and copy to clipboard.

This doesn't resolve the current issue with how spaces are handled where %20 is used.

I am open to implementing this some other way, I have been unsuccessful with using custom fields and config contexts. Using a custom field/description and pasting in the plain text for each device is not feasible.

Use case

Dynamically rendered plaintext, that can be copied to clipboard either natively or via right click -> copy on the browser.

Example use case is to copy a SSH shortcut for a given device, using primary_ip, and other custom field data such as username.

Database changes

No response

External dependencies

No response

@AliMickey AliMickey added status: needs triage This issue is awaiting triage by a maintainer type: feature Introduction of new functionality to the application labels Dec 11, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
status: needs triage This issue is awaiting triage by a maintainer type: feature Introduction of new functionality to the application
Projects
None yet
Development

No branches or pull requests

1 participant