MichaelWest22
5b550e5c49
Optimize Head regex ( #2781 )
...
* remove shared tag regex utility function that is no longer really needed
* fix head-support manual test to point to externally hosted extension
* minimize regex
2024-10-02 19:20:23 -06:00
Carson Gross
b4048ebb59
add moveBefore
support
2024-08-23 15:20:01 -06:00
Carson Gross
df16ed8e96
manual test for keeping indicators visible
2024-08-05 12:29:33 -06:00
Carson Gross
e99d8976f5
Manual test to ensure disabled elements are scrubbed when saving history
2024-08-05 12:22:51 -06:00
Carson Gross
f3ae976aa2
fix outerHTML body swapping issue
...
fixes https://github.com/bigskysoftware/htmx/issues/2639
2024-06-18 10:28:53 -06:00
Carson Gross
1e07206ed2
ignore empty files
2024-05-22 14:53:29 -06:00
Carson Gross
ab4e9deabc
remove manual tests for extensions
2024-03-26 15:56:40 -06:00
Carson Gross
c16758a198
alpha2
2024-02-09 11:13:47 -07:00
Carson Gross
15c69b141b
pain
2024-01-25 21:06:50 -07:00
Fernando Comunello
e9bce8db65
Improve head tag parsing on template fragments ( #2024 )
...
Fix https://github.com/bigskysoftware/htmx/issues/2018
2023-12-20 15:37:42 -07:00
Dan Palmer
0b37d0507d
Fix relative resource URLs for boosted links ( #1960 )
...
Fix relative URLs
2023-11-19 07:56:06 -07:00
Jordan Stewart
59f4da1d9d
fix problem with styles at the start of the server content ( #1768 )
...
fix problem with styles at the start of the server content when navigating through history
2023-09-21 12:10:04 -06:00
Viktor Szépe
b085d89459
Fix assorted comment typos ( #1590 )
2023-07-17 11:36:04 -04:00
Carson Gross
110dd63e97
two small bug fixes:
...
* do not use template parsing for full body response content
* clear polling when reprocessing an element to avoid stacking up poll requests
latter fixes https://github.com/bigskysoftware/htmx/issues/1350
2023-04-11 09:32:52 -06:00
Carson Gross
613f7b61d5
Support an opt-in cache-buster parameter that is sent up with htmx GET requests but that is stripped from the URL pushed into the browser's history
2023-01-08 17:35:07 -07:00
Carson Gross
6ec00b7bed
update head-support.js
2022-10-28 10:17:27 -06:00
Carson Gross
fe4c002db9
maybe ios history bug
2022-10-27 08:51:04 -06:00
Carson Gross
5652c01635
maybe ios history bug
2022-10-27 08:50:50 -06:00
Carson Gross
accd55d4e8
document the new head-support
extension
2022-10-18 13:39:07 -06:00
Carson Gross
9c74684881
rename
2022-10-15 09:35:55 -06:00
Carson Gross
418ce8e1e2
tighten up logic and trigger event w/ request info for better filtering possibilites
2022-10-13 14:42:03 -06:00
Carson Gross
c6c1395469
head-merge extension
2022-10-13 14:25:30 -06:00
Carson Gross
7e7a5b4361
fix https://github.com/bigskysoftware/htmx/issues/827
...
keep local URL anchors along for the magical ride into the history API, and scroll to the target directly to avoid adding a junk history entry along the way
have i mentioned that I hate the javascript history API?
2022-07-11 13:34:40 -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
carson
faec23002c
Merge remote-tracking branch 'origin/dev' into dev
2022-02-16 19:21:03 -07:00
carson
5cb4b4dd16
move title update after pushUrlIntoHistory()
...
fixes https://github.com/bigskysoftware/htmx/issues/746
2022-02-16 19:20:55 -07:00
Ben Pate
546e346e98
Restore hx-ws and hx-sse tags ( #811 )
...
absolute 👑
* Restore WS and SSE code
First pass at restoring removed ws and sse code. More to come.
* More progress on WS and SSE restore
* Update htmx.js
crucial whitespace
* Update documentation
* Combine SSE and WS servers into single "realtime" demo
* Realtime Test Server Updates
- separated tests for old- and new- style calling
- updated intro content and stylesheet
- removed extensions from manual test suite
* Remove SSE/WS from manual tests
2022-02-12 11:11:30 -07:00
makasaurus
8a7228c02a
adding support for hx-trigger="restore"
( #668 )
...
* adding support for hx-trigger="restore"
* switching over to an extension + docs + tests
Co-authored-by: 1cg <469183+1cg@users.noreply.github.com>
2022-02-04 11:09:18 -07:00
carson
ee507565d0
Merge branch 'dev' into pull/660
...
# Conflicts:
# src/htmx.js
# www/extensions.md
2021-11-23 13:43:29 -07:00
carson
80ed121060
Fixes https://github.com/bigskysoftware/htmx/issues/620 - Refresh breaks history cache
2021-11-20 19:30:07 -07:00
Ben Pate
3bd85e1e8d
Add test servers
2021-11-10 18:28:39 -07:00
Ben Pate
de228177bf
Quick check in to demo
2021-11-09 13:45:04 -07:00
Ben Pate
2aca696c88
Rebuild SSE using new Extension API
...
- internal API has been moved to a constructor variable.
- added reconnect with exponential backoff
- initial tests of SSE features are working
- added many JSDoc comments in the process.
- added link to "sse triggers" test
2021-10-29 13:24:16 -06:00
Ben Pate
93acf88431
Update test cases
...
- trigger tests working.
- settle tests failing
2021-10-25 21:56:24 -06:00
Ben Pate
dd5b92b46a
Triggers working
2021-10-25 20:15:56 -06:00
Ben Pate
a1113ec111
More tests working
...
- multichannel test works well.
- removing debug code from simple SSE example
2021-10-24 12:34:01 -06:00
Ben Pate
260b82314a
Initial port
...
- rebuilding this fork because of a corrupted git repository. This branch is "working" but needs more testing to be certain.
- major changes to the way that htmx handles extensions. this will need to be vetted more carefully before we proceed.
2021-10-24 11:56:45 -06:00
Mamés Palmero
443c271d40
Fix root: option of the intersect event
2021-09-27 15:25:15 +02:00
carson
c77cb83c54
clean up tests for 1.5.0
release
2021-07-12 10:48:53 -06:00
carson
94a9ef1dbb
consume white space after interval
2021-07-09 17:52:21 -06:00
carson
0eeb922a1e
scroll fixes
2021-07-09 06:01:56 -06:00
carson
e621b52867
tests and bug fixes for scrolling targets
2021-07-08 13:11:48 -06:00
carson
1298c41435
use clicked event to track button clicks as well for OSX
2021-07-02 12:30:08 -06:00
carson
6d1a86836e
track last clicked button using focus to include value in submission
2021-07-01 13:54:11 -06:00
carson
f6efc4a8c3
add intersect
event for intersection observer
...
supports the `root` and `threshold` config variables
2021-05-18 13:19:03 -06:00
Sven R. Kunze
c98c1abc33
added manual test (by @benpate)
2021-03-12 20:46:59 +01:00
carson
5a68871ac3
find the correct element to trigger after request events on
2021-02-23 14:01:35 -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
aab37c8825
history testing infrastructure
2021-02-13 07:35:40 -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