* Move History storage to sessionStorage and history path to window
* Fix type warnings
* Revert currentPathForHistory to move it to its own PR
* fix test
* Improve history support and events
* Improve history event overrides
* Improve history support and events
* Improve history event overrides
* Update Documentation of new event changes
* Add event testing for updated events
* update event doco and rename to historyElt to be consistent
* Improve history support and events
* Improve history event overrides
* Update Documentation of new event changes
* Add event testing for updated events
* update event doco and rename to historyElt to be consistent
* Fix loc coverage test coverage
* Standardize history restore functions to use proper htmx swap functions
* Add test for hx-history-elt attribute
* Fix broken merge conflict resolution
* Follow up to #3234
Add missing part of migration from UNPKG to jsDelivr
* Restore UNPKG support in package.json
---------
Co-authored-by: scrhartley <scrhartley@github.com>
* move delay and view transitions to inside swap function
* Fix indenting and add tests
* move delay and view transitions to inside swap function
* Fix indenting and add tests
* revert rollback of feat: handle 'unset'for HX-Reselect in swap function
* adding javalin-htmx examples to server integration examples
Adding two examples of using htmx with the javalin server library
* Update www/content/server-examples.md
Co-authored-by: Vincent <vichenzo-thebaud@hotmail.com>
---------
Co-authored-by: Vincent <vichenzo-thebaud@hotmail.com>
* Fixes issue 1537 - OOB does not escape query selector
* Adds test cases for oob swaps where the id contains special characters
* Updated oob multiple elements with the same ID test
* fix(issue-1537): resolved conflicts with master
* fix(issue-1537): fixed codestyle issues
---------
Co-authored-by: Fraser Chapman <fraser.chapman@gmail.com>
Co-authored-by: David Martiník <david.martinik@powerflow.cz>
* update web test-runner and remove temp summaryReporter workaournd
* Update error reporting to show in context of the test file and as a summary at the bottom
* Change innerHTML to innerText for title element
Some security checks are grumpy when using innerHTML. Using innerText
instead calms them.
Signed-off-by: Emil Hemdal <emil@hemdal.se>
* Add Type Hints/Cast
* Change to textContent instead of innerText
Also remove type hinting/casting since it is no longer needed
Signed-off-by: Emil Hemdal <emil@hemdal.se>
---------
Signed-off-by: Emil Hemdal <emil@hemdal.se>
* Remove old IE support
* don't need regex in normalizePath
* fix verifyPath to handle about: situations like some iframes now that there is no fallback
* improve diff
* fix logic mistake in last diff improvment
* Update url normlization test post testing upgrade
* remove un-needed document
* Improve loc coverage by removing dead paths caused by bad type checks and add some tests for other paths
* removed exception for https://github.com/microsoft/playwright/issues/5894 that was fixed in 2022 with webkit 16.0
* Fix old npm dependencies
* implement web-test-runner tests for headless alongside Mocha browser tests
* Increase test and code coverage
* update to 100% coverage and impove eslint
* Update testing Doco
* revert all htmx changes and updates/disable tests needed
* fix browser mocha test
* Default testing to use playwrite only instead of puppeter
* playwright install fix
* Imporve test summary reporting
* flatten false looks closer to original