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

Extend ObjectEditView to support HTMX requests #17221

Closed
jeremystretch opened this issue Aug 20, 2024 · 0 comments
Closed

Extend ObjectEditView to support HTMX requests #17221

jeremystretch opened this issue Aug 20, 2024 · 0 comments
Assignees
Labels
complexity: medium Requires a substantial but not unusual amount of effort to implement status: accepted This issue has been accepted for implementation type: feature Introduction of new functionality to the application
Milestone

Comments

@jeremystretch
Copy link
Member

NetBox version

v4.1-beta1

Feature type

New functionality

Proposed functionality

Extend NetBox's generic ObjectEditView to support modifying objects via HTMX POST requests. This view currently supports HTMX only for GET requests.

This will entail checking whether a POST request is HTMX-enabled, and if so returning the applicable rendered content directly (rather than returning a 302 redirect).

Use case

This change is necessary to support editing objects in place within an HTML template, and will unlock future functionality.

Database changes

None

External dependencies

None

@jeremystretch jeremystretch added status: accepted This issue has been accepted for implementation type: feature Introduction of new functionality to the application complexity: medium Requires a substantial but not unusual amount of effort to implement labels Aug 20, 2024
@jeremystretch jeremystretch added this to the v4.1 milestone Aug 20, 2024
@jeremystretch jeremystretch self-assigned this Aug 20, 2024
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Nov 22, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
complexity: medium Requires a substantial but not unusual amount of effort to implement status: accepted This issue has been accepted for implementation type: feature Introduction of new functionality to the application
Projects
None yet
Development

No branches or pull requests

1 participant