MichaelWest22
7dbb8acfa6
Upsert swap extension ( #3595 )
...
* add upsert swap extension
* improve upsert
* simplify upsert to not use morph
* add doco
* Add hx-upsert tag support as well
---------
Co-authored-by: MichaelWest22 <michael.west@docuvera.com>
2025-12-31 12:47:08 -07:00
Carson Gross
2f816af101
move swap delay and settle delay inside of __insertContent (makes more sense to me here)
2025-12-18 11:18:41 -07:00
Carson Gross
b2f4abae76
add hx-disable.js test and fix logic to be the same as hx-indicator
2025-12-07 10:22:35 -07:00
Carson Gross
42e84477dd
add tests to test.html
2025-12-07 10:09:03 -07:00
Carson Gross
24507afacc
move htmx config back to htmx-config
2025-12-06 07:57:41 -07:00
Carson Gross
99ad2bfb16
turning view transitions off by default
2025-12-06 07:32:57 -07:00
Carson Gross
259ab69b0f
fix hx-indicator
2025-12-05 11:01:37 -07:00
MichaelWest22
d569ce6ccf
move to registerExtension to avoid extension upgrade confusion ( #3546 )
...
* move to registerExtension to avoid extension upgrade confusion
* Also fix window.htmx export to make modules work with extensions and add initial types file
* update docs on module use
---------
Co-authored-by: MichaelWest22 <michael.west@docuvera.com>
2025-11-22 10:58:38 -07:00
MichaelWest22
44599fb4de
generalize hx-status and fix ajax issues ( #3528 )
...
Co-authored-by: MichaelWest22 <michael.west@docuvera.com>
2025-11-16 07:36:02 -07:00
Carson Gross
45543851be
support js: prefix in hx-vals
2025-11-15 08:41:43 -07:00
MichaelWest22
a9ba0a1c35
move tokenizer to parseConfig for all the things ( #3516 )
...
* move tokenizer to parseConfig for all the things
* move sse mode logic
* upgrade all JSON.parse!
---------
Co-authored-by: MichaelWest22 <michael.west@docuvera.com>
2025-11-12 04:55:02 -07:00
Carson Gross
503313c42b
add etag support
2025-11-08 19:54:13 -07:00
Carson Gross
e339abdcd2
move extension tests out to their own directory
2025-11-06 12:38:22 -07:00
Carson Gross
3858a82242
test reorg and docs
2025-11-06 11:30:55 -07:00
Carson Gross
30ff306c31
support the ability to configure the "meta" character for systems like fastHTML that can't use the colon character
2025-11-06 11:13:19 -07:00
Carson Gross
83da589d33
update __attributeValue to return both the attribute value and the source
2025-11-06 10:32:10 -07:00
MichaelWest22
994decb6fa
fix select and strip and title handling ( #3492 )
...
Co-authored-by: MichaelWest22 <michael.west@docuvera.com>
2025-11-06 23:47:53 +13:00
Carson Gross
395240dbd9
small cleanup
2025-11-02 18:53:47 -07:00
Carson Gross
835593025c
fix tests
2025-11-02 17:02:44 -07:00
Carson Gross
b74cdbd00b
more unit tests, code coverage at 96.5%
2025-11-02 16:15:56 -07:00
Carson Gross
307a51be9b
test extract headers
2025-11-02 16:03:49 -07:00
Carson Gross
96fb6b8525
disable & indicator unit tests
2025-11-02 15:47:28 -07:00
MichaelWest22
8d350c84c2
fix perload tests
2025-11-03 11:23:24 +13:00
Carson Gross
d241e3052f
request queue tests
2025-11-02 14:51:53 -07:00
Carson Gross
c483c83667
__handleStatusCodes unit test
2025-11-02 14:39:09 -07:00
Carson Gross
1bf6aa0768
__handleHistoryUpdate unit test
2025-11-02 13:33:45 -07:00
Carson Gross
7b43aa4913
__issueRequest tests
2025-11-02 13:19:23 -07:00
Carson Gross
4dfa2184e3
tests
2025-11-02 12:34:51 -07:00
Carson Gross
057fbbc923
unit tests for remaining public methods
2025-11-02 11:17:16 -07:00
Carson Gross
f889eb55c7
more unit tests
2025-11-02 11:05:44 -07:00
Carson Gross
e575afbc8b
add __normalizeSwapStyle unit tests
2025-11-02 10:43:48 -07:00
Carson Gross
1ca7fa4cd6
add parseInterval unit tests
2025-11-02 10:42:12 -07:00
Carson Gross
5d5fe1dd32
__parseTriggerSpecs unit tests
2025-11-02 10:38:43 -07:00
Carson Gross
4c8592d632
__tokenize unit tests
2025-11-02 10:34:23 -07:00
Carson Gross
68e277777b
__parseSwapSpec unit tests
2025-11-02 10:31:40 -07:00
Carson Gross
1a565595c4
css transition unit test (!!!!!!!!!)
2025-11-02 10:06:14 -07:00
Carson Gross
8a4271f673
swap unit tests
2025-11-02 09:26:53 -07:00
Carson Gross
d951834dc8
move preload/optimistic out of core
2025-11-01 13:16:35 -06:00
Carson Gross
969009716c
optimistic tests and a fix
2025-10-31 16:23:14 -06:00
Carson Gross
dc6445f0a8
clean up tests
2025-10-31 14:25:32 -06:00
scriptogre
afb1af04e1
add server-sent events (sse) streaming support
...
Implement native SSE handling with configurable stream modes (once/continuous), automatic reconnection with exponential backoff, and lifecycle events.
Streams are configured via hx-stream attribute or htmx.config.streams global defaults.
Update test infrastructure with ReadableStream-based mocking utilities.
# Conflicts:
# src/htmx.js
2025-10-28 16:13:43 +02:00
Carson Gross
b3ec7ff326
add trigger test
2025-10-27 07:35:15 -06:00
Carson Gross
ccdb704740
more ctx.request work
2025-10-26 15:11:42 -06:00
Carson Gross
2d0839a928
move code into four branch
2025-10-26 13:26:44 -06:00