327 Commits

Author SHA1 Message Date
carson
b42b0b1dfe fix test 2021-03-25 12:36:27 -06:00
1cg
148362560b
Merge pull request #381 from srkunze/ws-reconnect
WebSocket Reconnect
2021-03-23 19:29:18 -06:00
carson
6503e29832 add regression test for https://github.com/bigskysoftware/htmx/issues/427 2021-03-20 19:58:47 -06:00
Sven R. Kunze
c98c1abc33 added manual test (by @benpate) 2021-03-12 20:46:59 +01:00
carson
6026923ad1 site fixes and get rid of the broken ci 2021-03-11 05:53:57 -07:00
carson
e82219cc0d IE fixes 2021-03-09 08:54:16 -07:00
carson
71179f9db1 manually merge https://github.com/bigskysoftware/htmx/pull/402 2021-03-06 09:43:18 -07:00
carson
b54d6e57d3 Improve API 2021-03-06 06:50:56 -07:00
carson
835436a99b Multiple trigger issue - fix https://github.com/bigskysoftware/htmx/issues/392 and https://github.com/bigskysoftware/htmx/issues/390
Mark handling by element, rather than by event
introduce `consume` keyword on trigger to allow for preventing it from bubbling to parent
2021-02-27 20:01:39 -07:00
carson
e0decc9a19 Merge branch 'pull/388' into dev 2021-02-27 17:45:16 -07:00
carson
74c4abe1be add test for shouldCancel() contribution by Bo Peng 2021-02-27 17:44:39 -07:00
carson
02d637785b support target option on hx-trigger, fixes https://github.com/bigskysoftware/htmx/issues/376#issuecomment-786821075 2021-02-26 15:05:40 -07:00
carson
3bcae82498 return a promise for a bright hyperscript future 2021-02-26 14:20:49 -07:00
carson
5a68871ac3 find the correct element to trigger after request events on 2021-02-23 14:01:35 -07:00
carson
bb57526712 properly hide indicators when a request targets a parent element 2021-02-23 13:46:10 -07:00
carson
acd15a5f5a allow users to configure a full page refresh on a history miss 2021-02-19 09:50:04 -07:00
carson
d2b1e10719 all for want of a p: don't blow history out on first successful cache usage :/
potentially fixes https://github.com/bigskysoftware/htmx/issues/370
2021-02-18 11:13:15 -07:00
carson
aab37c8825 history testing infrastructure 2021-02-13 07:35:40 -07:00
Andy
38ff8fa54f morphdom-swap handles DocumentFragment properly 2021-02-06 04:55:12 +00:00
carson
bcb13d8004 Merge branch 'dev' into pull/352 2021-02-05 18:32:03 -07:00
Joe Mullally
8538f18c40 Add test for path-deps outerHTML case
This test reproduces issue #323
2021-02-05 20:38:02 +00:00
carson
08ba9f8c95 Merge remote-tracking branch 'origin/dev' into dev 2021-02-05 11:41:59 -07:00
carson
1a6f9b1ae5 ignore overridden default swap style for hx-boost
fixes https://github.com/bigskysoftware/htmx/issues/342
2021-02-05 11:41:52 -07:00
1cg
4a6ce115b6
Merge pull request #330 from benpate/pullrequest-preload-resources
Preload Resources

Awesome work @benpate !
2021-02-05 11:13:40 -07:00
1cg
8c3ced2573
Merge pull request #350 from andyhorng/hx-preserve-fix
Handle preserved element that might not be existing
2021-02-05 11:11:51 -07:00
carson
3c3cd304ae add test for hx-headers 2021-02-05 11:00:03 -07:00
Andy
dcd8f27988 Handle preserved element that might not be existing 2021-02-05 04:17:17 +00:00
carson
6ed5c7e1b8 temp work 2021-02-01 10:21:54 -07:00
Ben Pate
9e58594af1 Update preload extension
- preloading linked images is now optional
- update manual tests
- update documentation
2021-01-28 14:30:35 -07:00
carson
6ad731df1e Merge branch 'dev' into pull/334 2021-01-25 14:20:17 -07:00
carson
c773e86131 regression test for previous fix
move event cancellation before filtering so form submissions can be cancelled properly
2021-01-25 14:20:06 -07:00
Deniz Akşimşek
09f0f57c4f
Merge branch 'dev' into dev 2021-01-24 12:32:40 +03:00
carson
e0018b6d44 Remove event listeners on other elements when an element is removed from the DOM 2021-01-23 16:29:13 -07:00
carson
445e6e2b4d do not trigger after swap events and logic on element that has been removed by outerHTML swap 2021-01-23 15:50:28 -07:00
Ben Croker
7781cf5829
Improved test name 2021-01-22 10:23:14 +01:00
Ben Croker
3414e0ed69
Added missing hx-include to test 2021-01-22 10:02:12 +01:00
Ben Croker
10e068fcaa
Added test for two values included when not in form 2021-01-22 09:32:52 +01:00
Deniz Akşimşek
c36b18b189 move over changes from master (oops) 2021-01-15 15:00:01 +00:00
Ben Pate
4b1d6708d0 Handle preloaded resources
Updates to preload now preload any linked images included in the fragment html.  Stylesheets and scripts are not affected.
2021-01-12 19:21:09 -07:00
carson
58f373d1e5 config that disallows eval in htmx implementation
addressed https://github.com/bigskysoftware/htmx/issues/305
2021-01-04 10:36:56 -07:00
carson
219c78262d csp test page 2021-01-04 09:22:07 -07:00
carson
0d76f98167 update 2021-01-03 15:42:06 -07:00
1cg
d0b514f7ad
Merge pull request #268 from benpate/pullrequest-ignore-extensions
Add "ignore:" command for extensions

thank you!
2021-01-03 11:33:01 -07:00
Ben Pate
b4d5e9e2a0 Test cases
- added test cases for htmx:beforeProcessNode and htmx:afterProcessNode
2021-01-03 10:33:31 -07:00
carson
16765b39bf support the on load syntax in hyperscript 2021-01-03 09:15:43 -07:00
carson
2ead82eb78 Merge remote-tracking branch 'origin/dev' into dev 2021-01-03 08:04:35 -07:00
carson
6939290b8f support closest syntax in hx-indicator 2021-01-03 08:04:26 -07:00
1cg
953b325a6d
Merge pull request #300 from benpate/pullrequest-preload
Extension: Preload Updates

🔥 🔥 🔥
2021-01-02 18:11:02 -07:00
Ben Pate
8aa4f74745 Change Default Configuration
- allow inheritance
- change default trigger to mousedown
- move configuration event into `preload` attribute
- remove wait option (delay hardcoded to 100ms)
- update manual test cases
2021-01-02 17:55:36 -07:00
Ben Pate
3022030505 Add test cases
Manual test cases for now.
2021-01-01 21:54:49 -07:00