3755 Commits

Author SHA1 Message Date
Carson Gross
45dfd97a5d Merge remote-tracking branch 'origin/four' into four 2025-11-22 11:20:47 -07:00
Carson Gross
9c91fe3bbf placeholder for alex to work on the compat extension 2025-11-22 11:20:40 -07:00
MichaelWest22
1a14d3d9ea
handle duplicates in action query params and form data (#3543)
Co-authored-by: MichaelWest22 <michael.west@docuvera.com>
2025-11-22 11:01:12 -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
24ee8ef50f
extension trigger can not replace meta character or extensions don't fire 2025-11-21 13:09:38 +13:00
Carson Gross
1134ab2f6f i'm an idiot, make onLoad use htmx:after:process 2025-11-20 10:21:56 -07:00
Carson Gross
5dc0301f9f update TODOs 2025-11-19 11:27:07 -07:00
Carson Gross
2046d05e8f tests that I missed 2025-11-19 11:18:38 -07:00
Carson Gross
0e1cdad9f1 merge streaming changes 2025-11-19 11:18:25 -07:00
Carson Gross
e52f853dab update scum's photo 2025-11-19 11:05:35 -07:00
Carson Gross
53691cac7f add stephen to the team page 2025-11-19 10:54:15 -07:00
Carson Gross
bee0e5cae0 web socket skeleton code for stu 2025-11-19 10:51:02 -07:00
Carson Gross
376c8b540f prep alpha3 release v4.0.0-alpha3 2025-11-18 10:58:27 -07:00
Carson Gross
7dc5d03a16 prep alpha3 release 2025-11-18 10:47:23 -07:00
Carson Gross
a7f8bebe7b prep alpha3 release 2025-11-18 10:45:30 -07:00
Carson Gross
6225ad3743 prep alpha3 release 2025-11-18 10:45:26 -07:00
Carson Gross
0794ae8572 Merge in headers from https://github.com/bigskysoftware/htmx/pull/3533 (leave HX-Request-Type out for now until we discuss) 2025-11-18 10:42:49 -07:00
MichaelWest22
aaff01750e
Implement hx-custom template tag support (#3537)
Co-authored-by: MichaelWest22 <michael.west@docuvera.com>
2025-11-18 07:19:03 -07:00
MichaelWest22
75b2a57d1f
handle inputs for web components that are form associated (#3523)
* use new formData(form) to capture web component inputs as well

* Handle duplicate name inputs better

* Add Tests

* restore comments

* restore default check

---------

Co-authored-by: MichaelWest22 <michael.west@docuvera.com>
2025-11-18 07:17:32 -07:00
MichaelWest22
0d72f8b2e2
add hx-confirm htmx:confirm event with async issueRequest (#3532)
Co-authored-by: MichaelWest22 <michael.west@docuvera.com>
2025-11-18 07:16:03 -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
d94fd73fe0 Docs error for hx-status
fixes   https://github.com/bigskysoftware/htmx/issues/3520
2025-11-15 10:46:40 -07:00
Carson Gross
73dda15f0c support js: prefix in hx-vals
fixes  https://github.com/bigskysoftware/htmx/issues/3521
2025-11-15 10:35:38 -07:00
Carson Gross
45543851be support js: prefix in hx-vals 2025-11-15 08:41:43 -07:00
Carson Gross
d1675b81bb Merge remote-tracking branch 'origin/four' into four 2025-11-15 08:26:19 -07:00
Carson Gross
4c06231682 change langauge 2025-11-15 08:26:09 -07:00
MichaelWest22
f3953b29b0
Remove find ext tokenizer (#3518)
* move tokenizer to parseConfig for all the things

* move sse mode logic

* upgrade all JSON.parse!

* convert the find extended selector tokenizer to regex solution

* convert the find extended selector tokenizer to regex solution

---------

Co-authored-by: MichaelWest22 <michael.west@docuvera.com>
2025-11-12 06:15:34 -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
Christian Tanul
ee4ef5f18d
update /patterns & /help page (#3513)
* fix autofocus on mobile search bar

* improve pattern documentation structure and titles

- inline-validation.md → active-validation.md
- bulk-update.md → bulk-actions.md
- delete-row.md → delete-in-place.md
- sortable.md → drag-to-reorder.md
- click-to-edit.md → edit-in-place.md
- value-select.md → linked-selects.md
- reset-user-input.md → reset-on-submit.md
- Merged tabs-hateoas.md and tabs-javascript.md into single tabs.md
- Removed obsolete files:
- file-upload-input.md (merged into file-upload.md)
- web-components.md (content moved to /docs - not a pattern)
- Refreshed titles and descriptions
- Updated icons for better visual consistency
- Disabled interactive demos:
- Commented out {{ demo_environment() }} and demo code blocks in: animations, click-to-load, infinite-scroll, file-upload, bulk-actions, drag-to-reorder, edit-in-place, active-search
- Minor formatting cleanup across multiple pattern files

* update /help page
2025-11-10 19:56:53 -07:00
Tristan Druyen
11d38e33b6
[4] Small docs fix for <hx-partial> (#3509)
Another small docs fix
2025-11-10 17:16:06 -07:00
Carson Gross
a1e8be7261 lol fix links 2025-11-10 17:01:20 -07:00
Carson Gross
5a83dc99e2 missed a file 2025-11-10 12:47:21 -07:00
Carson Gross
1f3298f6f3 alpha announcement 2025-11-10 12:42:40 -07:00
Carson Gross
374073e7ad docs 2025-11-10 12:25:26 -07:00
Carson Gross
5690bbc64c alpha2 prep v4.0.0-alpha2 2025-11-10 12:14:17 -07:00
Carson Gross
4e8b5b53a0 support autofocus 2025-11-10 12:07:34 -07:00
Christian Tanul
0168bbca84
update "Patterns" page (#3510) 2025-11-10 11:12:51 -07:00
Carson Gross
98a0e2b2a7 Merge remote-tracking branch 'origin/four' into four 2025-11-10 11:12:38 -07:00
Carson Gross
d69aa7ac6d make it so 4xx and 5xx can be added to noSwap as strings 2025-11-10 11:12:31 -07:00
Christian Tanul
b16b96e757
website fixes (#3504)
* comment out TailwindCSS play CDN from base.html

* simplify tailwindcss classes in favor of server-side rendering

* fix table of contents anchors mistakenly using hx-boost

* fix _hyperscript not working after boost

* update href attributes in ToC to avoid boosting links
2025-11-10 07:15:03 -07:00
Christian Tanul
006a87441f
Fix title not decoded on boost ("&lt;/&gt; htmx" instead of "</> htmx") (#3507)
* fix page title HTML entities being escaped with hx-boost

* add test for decoding HTML in title

* simplify title HTML entity decoding, update website htmx.js

* simplify further & update htmx.js in www/
2025-11-11 02:46:33 +13:00
MichaelWest22
778a40f03f
replace state on initial state load (#3506)
Co-authored-by: MichaelWest22 <michael.west@docuvera.com>
2025-11-10 06:31:12 -07:00
MichaelWest22
d353a0909c
fix up handle swap extension point and doco (#3505)
Co-authored-by: MichaelWest22 <michael.west@docuvera.com>
2025-11-10 06:30:00 -07:00
MichaelWest22
5568bc2d73
fix bug in hx-config setting wrong level for + merge (#3508)
Co-authored-by: MichaelWest22 <michael.west@docuvera.com>
2025-11-11 02:07:27 +13:00
MichaelWest22
d121ba520e
Handle event.state null by reloading to handle back event to first page 2025-11-11 00:49:06 +13:00
MichaelWest22
d622812882
Allow any extension to be regisgtered unless you allow list via meta tag (#3503)
* optimize oob and fix partial tests

* Allow any extension to be registered unless you allow list via meta tag.

---------

Co-authored-by: MichaelWest22 <michael.west@docuvera.com>
2025-11-09 21:38:15 -07:00
Carson Gross
68b5d9137f lets get a little aggressive on the ol nav... 2025-11-09 18:30:12 -07:00
Carson Gross
dbbda6b9f4 rebuild and re-www 2025-11-09 18:23:51 -07:00
Carson Gross
0e254520af start re-implementing scroll & show, still needs focus
website now uses real preload extension!
2025-11-09 18:18:37 -07:00
Carson Gross
2d2b77b3f7 make preload handle boosted elements, defaulting to mousedown 2025-11-09 17:24:26 -07:00