@dan.d: I only tested the 2.x version. I believe I was able to extend the session multiple times without any page refreshes, but I can test again to verify.
Considering there are other issues currently being worked on to replace jQuery with Drupal Dialogs ( https://www.drupal.org/project/autologout/issues/3339695 ✨ Use Drupal.dialog call instead of jQuery dialog RTBC ) I don't know that it makes sense to do a larger refactor of the JS in this branch.
I've updated the branch to fix the JS scope and event issues I found.
I've tested the latest version of this branch in a vanilla d10 with no other autologout patches, everything appears to be working correctly. Multiple dialog issue is fixed.
I am testing this patch with version 2.0.0 and it appears that these changes:
document.dispatchEvent(new Event('preventAutologout'));
are not properly triggering the 'preventAutologout' event. I'm being logged out despite 'mousemove' events triggering.
Confirming that I was having this issue:
- Version 2.1.2 of MaxLength module.
- After upgrading to CKE5, the remaining character count was not updating on Paragraph content fields with the max length set (it was working in CKE4 on for those fields).
- I updated to MaxLength 3.0.0-beta1 and the issue appears to be resolved.
DMRupp → created an issue.
I removed "Needs issue summary update" because I added the detail that the inline forms error module must be enabled to recreate this issue. This is still occuring on core 9.5.9.