24 Commits

Author SHA1 Message Date
Tetrakern
f5e0188c1f
Add Stimulus (#65) 2024-12-06 17:38:32 +01:00
Tetrakern
0207309275 Improve handling of URI params in AJAX comments 2024-10-12 12:13:54 +02:00
Tetrakern
0ee8bccd01 Fix breaking bug in AJAX comment section
If commenting requires to be registered and logged in, this cause an error and prevented the comment section from loading.
2024-06-26 15:26:27 +02:00
Tetrakern
b7f2fba0b4 Update fast AJAX mu-plugin 2024-05-07 14:39:01 +02:00
Tetrakern
b65fb51c3c Prepare scripts for custom comment form selector 2024-04-24 17:20:09 +02:00
Tetrakern
bba6bc0042 Add comment order toggle button 2024-04-24 17:17:50 +02:00
Tetrakern
fdab283909 Add custom order param to comments query 2024-04-24 00:58:48 +02:00
Tetrakern
d08957a0a2 Add script execution preconditions
In case these scripts are loaded somewhere they are not needed.
2024-03-09 19:19:19 +01:00
Tetrakern
e4de35c3de Remove wp.i18n JS script and uses
That just included several render-blocking scripts for little benefit.
2024-03-09 15:15:46 +01:00
Tetrakern
13307a786f Refactor comment moderation 2024-02-02 22:16:04 +01:00
Tetrakern
a2ab9585b6 Fix AJAX auth not always working 2024-01-16 08:00:17 +01:00
Tetrakern
0e7269bac0 Fix AJAX comments when commenting disabled 2023-10-29 21:27:33 +01:00
Tetrakern
bfbbe3bdac Cleanup 2023-08-27 19:00:19 +02:00
Tetrakern
97a417e014 Update observer rootMargins 2023-08-27 14:19:04 +02:00
Tetrakern
048e705a51 Add observer to comment form
And optimize some other comment things.
2023-08-27 14:01:55 +02:00
Tetrakern
ac943c4713 Cleanup 2023-08-27 13:01:43 +02:00
Tetrakern
b1e6ffc700 Refactor AJAX user authentication 2023-08-27 12:29:24 +02:00
Tetrakern
869c55741e Prepare comment for fast AJAX
At least some actions, because others require actions and filters.
2023-08-21 00:57:03 +02:00
Tetrakern
ff08034e2d Replace inline onclick comment page handler 2023-06-17 23:49:38 +02:00
Tetrakern
6cc22dbb7c Fix edit/delete comment buttons 2023-06-13 01:14:17 +02:00
Tetrakern
e7d3c0f923 Fix AJAX comment form events
That is why I tend to use inline JS events. Binding everything is such a chore.
2023-06-12 21:25:47 +02:00
Tetrakern
3af8168dc2 Clean up ajax-comments.js 2023-06-12 15:47:35 +02:00
Tetrakern
64bb7653fc Use global handler for some click events
Gets around the problem with AJAX content that needs events to be rebound.
2023-06-09 11:30:31 +02:00
Tetrakern
9136947e4c Clean history for public release 2023-01-21 01:31:34 +01:00