HTMX 14.0.0-B1 Bugs/Improvements
FIRST OFF, HTMX IS AWESOME. I am so happy you incorporated it into UNA. The entire page load on mobile was very tacky. This is a great improvement!!! Thanks UNA Team!
You know I'm the mobile guy, and I test with diligence. I will report things I see wrong or find here.
- More menu. It doesn't close when selecting from inside the popup menu. So the user must touch on the screen elsewhere to see content under menu. Easy fix: hide the menu on htmx change.
- Account settings. Any form that has content will popup the message about leaving the page will lose the data, HTMX fires before you press yes or no, so it always loads.
That's it for now. I'll keep testing. I love this feature!
-
-
·
Anton L
- ·
Hello. Thank you for the help and iteas: https://github.com/unacms/una/issues/4641#issuecomment-2102076590
-
·
Anton L
-
- · Wise
- ·
@Anton L found another. I will explain.
If site side menu has sub menus.... Say
Groups All Groups Search Top
And you are on any HTMX page enabled, it loads that content within the page. Let me give reproduce instructions.
- Goto a profile.
- Open site sidebar menu (left side)
- Select a menu option with submenu. (We will use groups)
- Select All groups
At this point it will load the All groups in the profile page htmx section. It doesn't take you to the groups page first.
Hope I explained well enough, if you need further explanation, let me know.
-
- · Wise
- ·
@Anton L here is another bug.
With HTMX enabled manage key for "Are you sure?" doesn't translate.
Here is the post:
-
-
·
Anton L
- ·
Hello. We just started the work with HTMX implementation in UNA, therefore it has different issues here and there. Thanks for your reports.
-
·
Anton L
-
- · Wise
- ·
Yes I understand. 😁 it is why I report everything I come across.
-
- · Wise
- ·
@Anton L please review
https://unacms.com/d/timeline-comments-14-0-0-b1
Please provide a github issue an patch for this issue so I can continue to test, I am now forced to leave htmx off because commenting is important!
-
- · Wise
- ·
I'm bringing this topic back up, because I am watching the github issue and have found no recent progress.
I don't think people understand just how important this feature is for mobile retention. It is 70% faster for switching tabs on a page than complete page reload.
The few bugs and continued integration shouldn't be too hard, the biggest being comments fail (which looks like it may have been fixed, I will have to look)
@Anton L would be great to see more additions and fixes for this is next beta 😁
-
- · Wise
- ·
@Anton L I just tested the last three commits!! Nice work!
Comments work site wide, and more menus disappear. 😁
I know you have the settings (changes will be lost) set as not needed now, but I would fix it too, htmx definitely loads prior to hitting yes or no.
This is a cool feature 😁
-
- · Wise
- ·
@Anton L I have a suggestion that would be easy to implement and look really good.
On the sub menus, when selecting a new menu, activate the circular loading dots over top of the new selected tab/menu and hide it once htmx is done (new menu displayed). This way a user knows content is loading.
Should be very easy to implement. 😁
I am back at testing this feature.... Will report back as I find anything else.
-
- · Wise
- ·
After a lot of testing, it seems this is the last visual bug...
When using search functions, header text is wrong when switching sub menu.
Reproduce:
Video->Search
Pick anything.
Search
Switch to Latest sub menu.
The header still says 'search'.
This is an absolute easy fix, after htmx is done, check if the header text is visible (check class or id) and if so, set it to the new pages title.
@Anton L 😎👍
Edit:
Any direct link to a module will show incorrect header text.
Example:
Video -> Popular Videos
Displays "Popular Videos" in header. Switch to Latest, Search, whatever, Popular Videos remains.
Replacing header text with page title will fix this across all modules and all third party modules as well.
-
- · Wise
- ·
@Anton L I found another bug. I commented on github issue, but putting here as well.
Messenger block does not work when loaded through HTMX.
Reproduce:
Add Messenger block to Group main page.
Goto Group main page -> Switch to Info -> Switch back to Group main page.
The messenger block doesn't reconnect and activate, so the typing area stays minimized.
* I have been using HTMX exclusively, and after the page title bug and this one, I would say it is ready for production.