23 Commits

Author SHA1 Message Date
Tetrakern
0a98fcacc3 Fix story checkmark on story pages 2025-01-16 19:01:24 +01:00
Tetrakern
6b907f5079 Fix checkmarks initialization 2024-12-30 06:11:00 +01:00
Tetrakern
f5e0188c1f
Add Stimulus (#65) 2024-12-06 17:38:32 +01:00
Tetrakern
3c01b7bd0f Remove inline storage 2024-10-13 01:49:50 +02:00
Tetrakern
07cdac120a Clean up error messages part 3 2024-10-13 00:36:43 +02:00
Tetrakern
0761d222c8 Fix cad checkmarks being wrongly toggled
Stupid undefined.
2024-05-13 10:15:37 +02:00
Tetrakern
caa3f37839 Remove uses of hasOwnProperty 2024-05-02 20:35:59 +02: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
1559dfe765 Clean up checkmarks.js 2024-02-02 17:17:35 +01:00
Tetrakern
14424669b6 Update handling of aria-checked
And remove last inline onchange call.
2024-01-31 13:25:02 +01:00
Tetrakern
2f8f0c1a86 Fix local data stores if empty
Didn't actually matter since it was refreshed from the server, but still.
2023-09-29 16:25:06 +02:00
Tetrakern
6b0533415b Improve initialization of checkmarks/reminders
No need to put this in a condition. If the user is not logged-in, the event will not fire anyway.
2023-08-26 23:02:28 +02:00
Tetrakern
a6a12fe964 Refactor reminders 2023-08-26 23:00:01 +02:00
Tetrakern
1ef1422b0a Refactor checkmarks 2023-08-26 21:03:45 +02:00
Tetrakern
800ec64c69 Apply fast AJAX to checkmarks 2023-08-21 03:08:01 +02:00
Tetrakern
c54e98b1e7 Back to local storage
Session storage just cannot be properly cleared site-wide, which is actually worse in terms of security if you log out and leave another tab open.
2023-06-12 22:08:30 +02:00
Tetrakern
e194f09547 Change web storage type and add note
Follows, Reminders, and Checkmarks may be out of sync for a minute in another tab or window if recently loaded since we cannot clear the session storage there. This is an extremely minor issue since it will fix itself after the cache times out.
2023-06-12 21:49:39 +02:00
Tetrakern
a6705035e9 Clean up checkmarks.js 2023-06-12 19:33:48 +02:00
Tetrakern
08406b6fb6 Refactor follows/reminder/checkmark on cards
And removed the sibling selectors too.
2023-06-09 23:19:18 +02:00
Tetrakern
66be6dd548 Reduce card icon menu markup 2023-06-08 02:34:52 +02:00
Tetrakern
cd19a872be Apply aria-checked to checkmarks
It just doesn't stop with this ARIA stuff...
2023-01-24 18:06:19 +01:00
Tetrakern
2b91775560 Make checkmarks tab-able 2023-01-24 13:30:03 +01:00
Tetrakern
9136947e4c Clean history for public release 2023-01-21 01:31:34 +01:00