-
Notifications
You must be signed in to change notification settings - Fork 139
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
Reduce JS libs dependencies via HTMX 2 #2735
Comments
This issue depends on: "Update Django to next LTS" #2734 Context: https://django-htmx.readthedocs.io/en/latest/changelog.html#id9
|
Adding contextual link back to our Django Server Side Events issue: #2739 |
As of this comment, we have a release announcement for htmx 2.0.0, initially known as the https://htmx.org/posts/2024-06-17-htmx-2-0-0-is-released/ We should skate to where the puck will be on this front: given we are starting out fresh with htmx in our pending testing phase (hopefully). |
Installation notes:Django-htmx:https://django-htmx.readthedocs.io/en/latest/installation.html js library componenthttps://unpkg.com/browse/[email protected]/ partner rockstor-jslibs issue: rockstor/rockstor-jslibs#38 |
HTMX looks to be the right way to go on this front, especially given:
See/hear: https://talkpython.fm/episodes/show/437/htmx-for-django-developers-and-all-of-us
There is also Django middleware and PyCharm plugins.
PyPi: https://pypi.org/project/django-htmx/
Project Changelog: https://django-htmx.readthedocs.io/en/latest/changelog.html
The aim here would be to swap out the entirety of our rockstor-jslibs for whatever is required to do the same but via HTMX. And in the process eradicate our hands-on JS need entirely; hopefully.
This would be a piecemeal approach where we do one page/section at a time type as we gain familiarity, so likely an initial enlargement of our dependencies: but ultimately the proposed aim here is to standardise on HTMX entirely.
Required Dependencies
The text was updated successfully, but these errors were encountered: