3735 Commits

Author SHA1 Message Date
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
Carson Gross
29d1f765a4 update build task to include extensions 2025-11-09 17:22:25 -07:00
Carson Gross
00ab434e75 clean up boost logic to not boost non-same-origin links & forms 2025-11-09 17:21:51 -07:00
MichaelWest22
0ea0fb0e1c
Ext doco (#3502)
* optimize oob and fix partial tests

* add extension doco and expose ctx.text to extensions

* fix handleAnchorScroll position

---------

Co-authored-by: MichaelWest22 <michael.west@docuvera.com>
2025-11-09 16:50:50 -07:00
MichaelWest22
dd10454f20
optimize oob and fix partial tests (#3500)
Co-authored-by: MichaelWest22 <michael.west@docuvera.com>
2025-11-10 10:11:21 +13:00
Carson Gross
bb046fdafc fix boosts 2025-11-09 14:09:03 -07:00
Christian Tanul
25c2a08617
Pimp out the website for htmx 4.0 (#3499)
flatten website directory structure and redesign UI
- move all templates from themes/htmx-theme/templates/ to www/templates/
- move all static assets from themes/htmx-theme/static/ to www/static/
- remove theme layer and update config.toml
- add tailwind css with typography plugin
- update hero section with 3D effects and subtle synthwave aesthetic
- update header with improved design and navigation
- add shortcut for search bar in header (CMD+K on macos, CTRL+K elsewhere)
- add status bar in header that displays title=... attribute on hover for any element
- update footer with improved design and navigation
- rename "examples" to "patterns" throughout site and docs
- reorganize patterns page from 7 categories to 4 (loading, interaction, display, advanced)
- add mac os9 finder-style design to patterns page with Chicago FLF font (classic OS9 window title font)
- add sidebar table of contents for /docs/, /reference/, and /htmx-4/ pages (mobile version still TODO)
- add `npm run site` script that uses npx for tailwindcss and zola-bin (no external dependencies needed)
- remove github buttons.js dependency and replace with custom buttons
- consolidate sponsor images into www/static/img/sponsors/ with logo-<company>.png|svg format
- standardize all image filenames to lowercase kebab-case
- clean up unused sponsor images from www/static/img/
- create construction_warning() shortcode for work-in-progress sections
- add reusable template components (toc, anchor links, sponsors shortcode)
- add horse easter egg when URL includes ?horse=true
- update website htmx.js to latest version
- update npm dependencie
2025-11-09 10:53:39 -07:00
Carson Gross
a419bc81f2 switch to hx-partial 2025-11-09 08:18:24 -07:00
Carson Gross
24e6d5d7c1 docs cleanup 2025-11-08 20:07:14 -07:00
Carson Gross
503313c42b add etag support 2025-11-08 19:54:13 -07:00
Carson Gross
ddb7bcd45a Merge branch 'feature/etag' into four 2025-11-08 19:28:10 -07:00
Carson Gross
76cb4bdea9 updated team 2025-11-08 19:27:59 -07:00
Carson Gross
497d85bc1a updated team 2025-11-08 19:00:20 -07:00
Carson Gross
5d26beadbb updated TODO 2025-11-08 17:51:32 -07:00
Carson Gross
f78de5a79f update docs 2025-11-08 17:47:27 -07:00
Carson Gross
7a7b5e9ba3 docs work 2025-11-08 17:31:15 -07:00
Carson Gross
61dcd67edd docs work 2025-11-08 17:17:07 -07:00
Carson Gross
e8eeb33db6 docs work 2025-11-08 16:53:57 -07:00
Carson Gross
324949d324 docs work 2025-11-08 16:50:39 -07:00
Carson Gross
de931ba2eb docs work 2025-11-08 13:17:47 -07:00
Carson Gross
bbcbf294fc docs work 2025-11-08 12:47:19 -07:00