* Update contribution guidelines
Break the PRs section into technical requirements and guidelines for how
we reviews. Add new info about how to craft PRs that are easy for us to
review.
* Fix typo
* Add note about extensions
* New extension guidelines
`keyup` only works with a keyboard, and ignores pasting with a right click or programmatically updating the value with JS.
`input` is a better event for detecting any "inputs to the input".
Co-authored-by: Sam Eaton <sam@eaton.party>
* Added a Django + HTMX forms link
- Added a Django server example link to "How to create a Django form (using HTMX) in 90 seconds 🐎".
- This article has received over 10k views and positive comments so far. I wrote the article; I would have benefitted from seeing it when I was first learning to use HTMX.
* Update server-examples.md
Appended to the list as requested
* Current behavior testing
Testing current library behavior
* Test should remove correct handler
* Add question in htmx:confirm event detail
* Allow skipping window.confirm
* Additional test without hx-confirm value
* Wrap htmx.off in finally
* More correct assertion in case of no calls to confirm
* Remove erroneously added formatting
* Remove erroneously added formatting
* Documentation, fix loop
---------
Co-authored-by: mat <matt@techspace.asia>
responseInfo.pathInfo.anchor is assumed to be an ID here, so use getElementById instead of querySelector, which doesn't accept all valid characters (for example parentheses)
* Write WS and SSE test backend in node
* Refactor pages so that the URLs work
* Add tab highlighting script
* Fix stream with multiple events
* Fix highlighting on ext links
* Refactor WS code
* Support event trigger tests
* Add some jitter to the intervals
* Delete old go backend
* Update README with new info and credits
* Update top-level README
* Move ws to dev dependencies
* Remove extraneous go server
* Fix misplace comment
* add missing quotation mark
* make `.htmx-indicator` unsortable
* change cursors to indicate grabbable items
* bug fix:
bug:
when an item is dragged fast enough before the previous request was
completed, dropping after request completion resulted in the addition
of an extra item to the list.
fix:
disable sortable on End event, and re-enable it on htmx:afterSwap.
* add a few inline comments + better naming