Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Upgrade HTMX example to HTMX 2.0 #146

Merged
merged 1 commit into from
Jul 1, 2024
Merged

Upgrade HTMX example to HTMX 2.0 #146

merged 1 commit into from
Jul 1, 2024

Conversation

pamella
Copy link
Collaborator

@pamella pamella commented Jul 1, 2024

Issues

Resolves #111

Description

Upgrade HTMX example to HTMX 2.0

Steps to test

  • Make sure the HTMX example is working properly, with no broken behavior.
Screencast.from.01-07-2024.12.00.58.webm

@@ -16,9 +16,8 @@
/>
<script src="https://stackpath.bootstrapcdn.com/bootstrap/5.3.3/js/bootstrap.min.js"></script>
<!-- HTMX -->
<script src="https://unpkg.com/[email protected]/dist/htmx.min.js"></script>
<script src="https://unpkg.com/htmx.org/dist/ext/json-enc.js"></script>
Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The json-enc extension was not being used.

Comment on lines +31 to +32
hx-select="#messages-list"
hx-select-oob="#messages-list"
Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This change was necessary to make the create thread behavior work properly.

@pamella pamella requested a review from fjsj July 1, 2024 15:05
@fjsj fjsj merged commit 067f7f0 into main Jul 1, 2024
18 checks passed
@fjsj fjsj deleted the feat/htmx-2 branch July 1, 2024 18:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Upgrade HTMX example to HTMX 2.0
2 participants