bigskysoftware / bigskysoftware/htmx

Feature Request: http header HX-Redirect with value back

Open
#2,548 2 comments 0 reactions 0 assignees View on GitHub
Dominant language
JavaScript
Stars
49.4k
Forks
1.7k
Avg merge
3d 22h
Merged PRs (30d)
30

Description

I would like to propose a feature related to the http header HX-Redirect: would it be possible to send `back(-x)` instead of an url?

**Use case:**
- I have a popup for an entity which has a unique url that can be triggered from different pages (so different referer urls)
- this form has a delete button allowing to delete this entity
- ideally, the user would go back after deleting the entity

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.