Skip to content

Improve HTMX error handling #16736

Description

@data-sync-user

Improve behavior when HTMX requests fail or replace components that require JavaScript initialization

  • Add an HTMX failure handler that reloads the page if a request fails so the UI does not remain in an inconsistent state
  • Investigate CodeMirror errors after HTMX swaps?
  • Make sure CodeMirror and other JavaScript-backed components are initialized correctly after HTMX updates
  • Verify that components continue working after repeated swaps

┆Issue is synchronized with this Jira Task

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    Priority

    None yet

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions