1881 Commits

Author SHA1 Message Date
Carson Gross
78e50ab5a1 edits 2022-05-27 12:18:06 -06:00
Carson Gross
8bba9c140a edits 2022-05-27 12:16:49 -06:00
Carson Gross
0d50bc85fa edits 2022-05-27 11:57:53 -06:00
Ben Beecher
d51d8cb74c
Adding support for client side redirects - HX-Location (#832)
* Adding support for client side boosted redirects

* First pass at hx-boost-redirect

* Fixing some small documentation issues

* Rename boost-redirect to Location
2022-05-27 11:39:23 -06:00
Carson Gross
2b6a4389cd edits 2022-05-27 11:29:57 -06:00
Carson Gross
f99a747017 Merge remote-tracking branch 'origin/master' 2022-05-27 09:52:55 -06:00
Carson Gross
9f2aeec184 handle corner case where demo doesn't use the normal canvas (modals)
fixes https://github.com/bigskysoftware/htmx/issues/780
2022-05-27 09:52:47 -06:00
Nathaniel Sabanski
b546c5d69d
Docs: Hotwire / Turbo to htmx Migration Guide (#911)
* Initial commit for migration guide.

* Added notes on Turbo Drive, Turbo Frames, Stimulus
Simplified hx-boost.
Added Hotwire / Turbo migration guide to examples.
Simplified language. Less is more.
Added Redirect after form submission section. Added references to hotwire docs.
Consistency.
First pass on Event interception / pausing.
Naming convention note.
Naming convention notes.
Reference to Event Naming in htmx manual.
Added hyperscript as an alternative solution to event interception / pausing.
Added async notes to Event interception / pausing area.
Simplified language.
Less words.
Added section on disabling buttons during submission.
Less words.
Event naming consistency.
Short is sweet.
Updated hyperscript example.
Comparing htmx and Hotwire.
Revised htmx vs Hotwire / Turbo
Revised htmx vs Hotwire / Turbo
Revision to htmx vs Hotwire / Turbo
Revised htmx vs Hotwire / Turbo

* Clarification of kebab case vs camel case.
2022-05-27 09:42:24 -06:00
Carson Gross
cc6dba15b0 add link 2022-05-27 08:57:34 -06:00
Carson Gross
cd8cf8fd09 Merge remote-tracking branch 'origin/master'
# Conflicts:
#	www/essays/a-response-to-rich-harris.md
2022-05-27 08:56:08 -06:00
Carson Gross
cf4889bae8 fix typo 2022-05-27 08:55:30 -06:00
dan-osull
898c22578d
Further doc fix for #895 (#910) 2022-05-26 17:04:41 -06:00
Nathaniel Sabanski
e350ea2676
Update hx-boost.md (#909) 2022-05-26 17:02:59 -06:00
Cory Zue
ef1d0fdbe0
Fix typo in bulk-update example (#914) 2022-05-26 17:02:43 -06:00
Dosenpfand
a576327c74
Fix dead links, typo, trailing white spaces (#924) 2022-05-26 17:02:30 -06:00
Nathaniel Sabanski
0f3c115e7e
Added missing documentation: htmx:timeout event (#921)
* Added missing htmx:timeout

* Added missing htmx:timeout documentation.

* Added helpful description to htmx:timeout
2022-05-24 06:34:10 -06:00
Denis Palashevskii
8bb0399052 Improvements in WebSocket extension
* Implement proper `hx-trigger` support
* Expose trigger handling API to extensions
* Implement safe message sending with sending queue
* Fix `ws-send` attributes connecting in new elements
* Fix OOB swapping of multiple elements in response
2022-05-14 21:19:28 +04:00
Carson Gross
bcd68ad437 example of boosted form 2022-05-13 09:09:58 -06:00
Carson Gross
742f05b9bd support filters on load event
fixes https://github.com/bigskysoftware/htmx/issues/752
2022-05-13 08:44:41 -06:00
Carson Gross
3f4b7bfb93 boost anchors w/a _self target
fixes https://github.com/bigskysoftware/htmx/issues/817
2022-05-13 08:29:08 -06:00
Carson Gross
8290da624b support next and previous (taken from hyperscript) in target expressions
fixes https://github.com/bigskysoftware/htmx/issues/814
2022-05-13 08:14:38 -06:00
Carson Gross
b735c291df support 'm' for minutes
fixes https://github.com/bigskysoftware/htmx/issues/807
2022-05-13 07:55:59 -06:00
Carson Gross
870ca5591b Merge branch 'master' into dev 2022-05-12 19:36:50 -06:00
Carson Gross
f7b73e6e38 https://github.com/bigskysoftware/htmx/issues/881 2022-05-12 19:36:39 -06:00
Carson Gross
13b3ccff0d Merge branch 'master' into dev
# Conflicts:
#	www/docs.md
2022-05-12 19:34:31 -06:00
Carson Gross
52267f5c74 doc fix for https://github.com/bigskysoftware/htmx/issues/895 2022-05-12 19:31:32 -06:00
Carson Gross
7ee07bb96f fix https://github.com/bigskysoftware/htmx/issues/908
respect the `enctype` attribute on form elements when submitting requests
2022-05-12 18:05:35 -06:00
Carson Gross
2dfffb5182 bump sass :( 2022-05-12 17:35:49 -06:00
Felix Ingram
caf838f2de
Update hx-boost.md (#874) 2022-05-12 16:47:59 -06:00
David Guillot
15eea5577c
Check for localStorage availability (#872)
* feat(utilities): check localStorage availability

* fix(history): don't try to cache if no access to localStorage
2022-05-12 16:47:28 -06:00
Ben Beecher
5b2d1f15c5
Documentation fix (#890) 2022-05-12 16:44:52 -06:00
Ben Beecher
4b5052984b
Attempts to fix case when htmx is loaded multiple times into browser (#883) 2022-05-12 16:44:34 -06:00
Qori El-Hafizh
c91f87727d
Fix a typo in reference.md (#897)
"has been moved to an extension"
2022-05-12 16:43:42 -06:00
Marek Romanowski
00631f3162 Style changes proposal 2022-05-10 08:14:31 +02:00
Ben Pate
eafd316d5f BUGFIX: API call to shouldCancel
This addresses problems using the WebSocket extension to send messages to a websocket server.  We were calling `shouldCancel` with the incorrect API signature, causing it to return FALSE (as in, don't cancel the event) when it should have returned TRUE (as in, yes, cancel the event)

I don't know why this worked in my tests before, but the test case it behaving correctly now.
2022-05-04 13:24:28 -06:00
Ben Pate
da12daaa31 Add documentation to shouldCancel function 2022-05-04 13:22:31 -06:00
Marek Romanowski
c8f3c30379 Style changes proposal 2022-05-03 11:21:15 +02:00
Ben Croker
6a7df0a8c1
More code sample improvements 2022-05-01 13:33:52 +02:00
Ben Croker
51959e41db
Fix spacing 2022-05-01 13:28:01 +02:00
Ben Croker
fda66d7b8f
Fix spacing 2022-05-01 13:25:29 +02:00
Ben Croker
9083ad86d1
Fixed code sample indentation 2022-05-01 13:20:40 +02:00
Ben Croker
218976c5ba
Fixed headings and levels 2022-05-01 13:03:15 +02:00
Ben Croker
9623a32626
Fix header level 2022-05-01 12:45:28 +02:00
Ben Croker
cdc494d7b7
Consistent lower case 2022-05-01 12:23:57 +02:00
Ben Croker
96a3f45b59
Added heading for clarity 2022-04-29 21:39:03 +02:00
Ben Croker
4f3bb039b3
Removed hard-coded number 2022-04-29 21:36:59 +02:00
Ben Pate
70f081318f Update reference.md
- fixed broken link to hx-vars and added a comment that this attribute has been deprecated
- removed a trailing space to make my markdown linter happy
2022-04-18 16:49:45 -06:00
Ben Pate
ca27475b7b Fix stylesheet in realtime tests
The stylesheet was preventing the "echo" test from working correctly.  WS messages were sent/received correctly, but the results could not be displayed because the container size was too small.  This patch allows the containers to grow, and display WS results correctly.
2022-04-18 14:09:30 -06:00
carson
3beec111b8 Merge remote-tracking branch 'origin/dev' into dev 2022-04-15 09:42:31 -06:00
carson
9e7d5e7939 attempt to reproduce https://github.com/bigskysoftware/htmx/issues/854 (unsuccessful so far) 2022-04-15 09:42:23 -06:00