328 Commits

Author SHA1 Message Date
Tetrakern
794f87dfd4 Replace inline onclick bookshelf handlers 2023-06-18 00:35:53 +02:00
Tetrakern
7ea9e72e57 Add aria-current to AJAX comments pagination 2023-06-17 23:54:00 +02:00
Tetrakern
ff08034e2d Replace inline onclick comment page handler 2023-06-17 23:49:38 +02:00
Tetrakern
40c65a89a5 Replace inline onclick logout handler 2023-06-17 23:21:02 +02:00
Tetrakern
a614c1cf8d Replace inline onclick to reveal comment images 2023-06-17 22:12:06 +02:00
Tetrakern
2e6bd2c7eb Replace inline onclick to get story comments 2023-06-17 20:51:55 +02:00
Tetrakern
2c1854aaed Make story comment paragraph links work 2023-06-17 18:56:51 +02:00
Tetrakern
bd736de9f0 Strip tags from chapter list titles 2023-06-17 14:57:38 +02:00
Tetrakern
4e08e13655 Fix micro menu fullscreen buttons 2023-06-17 10:51:33 +02:00
Tetrakern
5066aa19e7 Add smooth scrolling to all page anchors 2023-06-17 10:49:18 +02:00
Tetrakern
abd190c3c8 Remove obsolete code 2023-06-17 00:53:27 +02:00
Tetrakern
4d7a9ce4d6 Use delegate click handler for BBCodes
Sometimes I wonder why I previously did things the way I did. But then I remember that I build all of that myself in crunch mode without getting payed.
2023-06-17 00:36:58 +02:00
Tetrakern
3af38421af Add keyboard navigation to chapters 2023-06-16 12:11:44 +02:00
Tetrakern
97fb5cae04 Made chapter meta queries more resilient 2023-06-16 02:03:31 +02:00
Tetrakern
debaebb4eb Add filters to sort-order-filter options 2023-06-13 23:09:31 +02:00
Tetrakern
91cc419ccd Improved sitemap queries to be more resilient
Before, it was possible for chapters to not be included if a database field did not exist, which was dumb.
2023-06-13 11:21:44 +02:00
Tetrakern
6cc22dbb7c Fix edit/delete comment buttons 2023-06-13 01:14:17 +02:00
Tetrakern
e064dead58 Improve reveal of comment form action if hidden 2023-06-12 20:30:12 +02:00
Tetrakern
12d7a68336 Fix AJAX comment form/section
I cannot even say when this broke. I know it was working once. Huh.
2023-06-12 20:10:14 +02:00
Tetrakern
b1c2559801 Update _follows.php 2023-06-12 13:05:30 +02:00
Tetrakern
137afd6ed4 Use session storage for temp page cache
Far better for this purpose. Also fixed deferred nonce not being cleared on time.
2023-06-12 11:41:31 +02:00
Tetrakern
df31541171 Add aria label to order list buttons 2023-06-11 19:21:15 +02:00
Tetrakern
3627204f06 Fix accessibility
Not a single word!
2023-06-11 19:15:02 +02:00
Tetrakern
2b6184ca75 Improve footer menu
No more weird wrapping and better render performance too.
2023-06-11 18:54:14 +02:00
Tetrakern
3acb67a8f5 Add utility function to get clean URL
Enough with this annoyance!
2023-06-11 16:43:26 +02:00
Tetrakern
ca3ef92068 Extended archives and sort-order-filter 2023-06-11 16:15:23 +02:00
Tetrakern
6205d42175 Improve SOF function
Should now always use the current base URL without page or query args.
2023-06-11 14:19:10 +02:00
Tetrakern
35bfa7b058 Remove order param from date query helper
Completely unnecessary here.
2023-06-11 13:38:08 +02:00
Tetrakern
d0e30b024a Fix date query helper
Whelp, glad I caught that one.
2023-06-11 13:32:35 +02:00
Tetrakern
51a8cce930 Move date query helper to query helpers
Makes more sense, no?
2023-06-11 13:15:24 +02:00
Tetrakern
fa7df6a9eb Only show list panels in mobile menu if not empty 2023-06-11 12:15:25 +02:00
Tetrakern
0bc1977e2a Update date query helper
Paranoia.
2023-06-11 12:14:12 +02:00
Tetrakern
a742296f84 Allow custom date strings in date query 2023-06-11 04:17:24 +02:00
Tetrakern
5405553c6a Add function to append date query
And consider the orderby argument because this makes sense to me. Published Last Week should only show what was published last week, not what was updated.
2023-06-11 03:03:08 +02:00
Tetrakern
c35ea2a5ad Refactored mobile menu
That. Was. Not. Fun!
2023-06-11 01:17:04 +02:00
Tetrakern
5fde5a8966 Remove tooltip from logged_in_as note
Because it overlapped the popup menu above, which is a z-index issue that is not easily amended.
2023-06-11 00:57:48 +02:00
Tetrakern
9b01f0075f Apply selected HTML minification
Not to go crazy and impact performance, but some AJAX responses could be smaller.
2023-06-10 18:52:44 +02:00
Tetrakern
d44819df87 Minify shortcode HTML outputs 2023-06-10 18:43:58 +02:00
Tetrakern
a763bc0eb1 Refactor chapter lists
No more sibling or other exotic selectors.
2023-06-10 18:23:04 +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
96d3c5884c Improve keyword tracks
Removed sibling selector CSS and added aria attributes.
2023-06-09 21:12:15 +02:00
Tetrakern
e5e6b18cbb Disable chapter menu items on search page
Gah.
2023-06-09 20:58:47 +02:00
Tetrakern
15a8978db9 Fix tabnav for comment mod menu 2023-06-09 18:53:36 +02:00
Tetrakern
0acfdf90d2 Improve performance of comment mod menu 2023-06-09 18:30:53 +02:00
Tetrakern
9885b47efd Added wrapper for paginate_links function
Only adds a tabindex for the dots right now, which was done with JS before and that was bad.
2023-06-09 11:31:40 +02:00
Tetrakern
b6961c5f8c Add sort-order-filter features 2023-06-08 22:44:43 +02:00
Tetrakern
2748733e7e Move modals to wp_footer hook
This may or may not improve performance due to the sibling selectors used.
2023-06-08 21:30:25 +02:00
Tetrakern
7795d39d82 Only add popup menu toggle class if needed 2023-06-08 09:30:36 +02:00
Tetrakern
122ce69c76 Unify popup menu toggles 2023-06-08 09:28:25 +02:00
Tetrakern
66be6dd548 Reduce card icon menu markup 2023-06-08 02:34:52 +02:00