mirror of
https://github.com/bigskysoftware/htmx.git
synced 2026-02-14 20:16:44 +00:00
3.0 KiB
3.0 KiB
Big Open Questions
- Are we going support a morph swap out of the box? (Michael)
- Are we going to support CSS transitions?
- Maybe at least a simple version, wait on transition events?
- We could say just use morph
- Are we going to add head tag merging support to core?
- How should we handle response code mapping? (telroshan)
TODOs
- SSE/streaming functionality (Christian)
- Support
hx-action="js:..."andjs:orjavascript:broadly- Allow users to turn off eval
- Build out a "patterns" set of examples to replace examples, cleaned up, add more advanced cases
- Updated website design
- Need to make
203 - No Contentnot do the main swap once swapping settles down (lol)- See "Open Questions"
- quirks.js implementation
- retrigger historical events based on mapping
- revert to older API (esp
htmx.ajax) - Move deprecated features into quirks.js?
- out of band swaps?
- out of band selects?
revert to htmx 2.0 attribute resolution- mode to log elements that should marked as
:inherited
- Unify __parseTriggerSpecs and __parseSwapModifiers somehow
htmx.onLoad()function- An "upgrade report" tool for htmx 2.0 applications
- Produces a report of all elements that need to be
- Marked as
:inherited - Need to have their swap strategy adjusted (all of them?)
- Use of no-longer supported events
- Use of old htmx API calls (???)
- Collect results into
localStorageas a JSON array, w/path -> element id (or just outer HTML if no id) - Display results via HTML
- Marked as
- Produces a report of all elements that need to be
- Audits
- Event audit
- JavaScript API audit
- Configuration options audit
- Headers: request & response
- Michael has thoughts on request headers
- I think we need to add the
htmx-requestto the element making the request as well as the indicators - Current
__resolveSwapEventTargetlogic is wrong: we should instead capture the parent hierarchy before swap and always dispatch the event on the element and, if it is disconnected, dispatch it again on the first connected parent - Add a
:mergeoption for things likehx-indicator, where you want to merge in parent attribute values?- hx-disable needs it too
- Server Actions (Christian)
- Request security configuration (disallow cross-site requests by default)
- Handling
<script>tags: should we avoid hoisting all inserted script tags? - Make attribute prefix configurable via
htmx.config.prefixdefaults tohx- Optimistic response support (would be easy now)Preload support?Add in extended selectors (1cg)Add in custom events like revealed, etc(needs review)Add<partial>support for SSE & out of band swapsAdd history supportfull refresh every time (no local stuff, htmx has taught us our lesson)
Add explicit inheritances supportCreate test infrastructureDecide how we are going to distinguish public from private APIWhen should wepreventDefault()on a triggering event?trigger modifiers