Commit Graph

78 Commits

Author SHA1 Message Date
Jason McBrayer 23f7aed095 Confirm log out if JS available 2018-12-03 18:00:25 -05:00
Jason McBrayer b4822b87ce Make search link a modal popup if using JS 2018-12-03 17:58:08 -05:00
Jason McBrayer 4676c49482 Take out the PJAX again.
It seems initially to work with notifications, but ultimately it just doesn't
quite.
2018-11-15 14:45:40 -05:00
Jason McBrayer c719b74a8e Add pjax to one more navbar link 2018-11-07 13:03:18 -05:00
Jason McBrayer d5e80966cf Reset more intercooler values on notifications poll element 2018-11-07 08:49:37 -05:00
Jason McBrayer 9152cb74d6 Fix annoying notification bug in brutalist themes 2018-11-07 08:21:22 -05:00
Jason McBrayer 347ccb4bbe Restore all of the PJAX stuff because I figured out what was going wrong 2018-11-06 17:05:03 -05:00
Jason McBrayer ae66ccfd7f Change lightbox to magnific-popup; make videos playable inline. 2018-11-06 10:44:26 -05:00
Jason McBrayer e5040b0bbd Add modal for new toot 2018-11-01 09:53:07 -04:00
McBrayer 733d8bb453 Make notifications work on brutalist themes 2018-10-19 12:36:52 -04:00
Jason McBrayer e799c097cc Add preference for notification poll frequency 2018-10-18 16:04:28 -04:00
Jason McBrayer 221a13c593 Revert "Add animated loading indicator for some links."
This reverts commit 0fd520b78b.
2018-10-14 20:59:38 -04:00
Jason McBrayer 26cd95544a Use non-depricated format for ready. 2018-10-14 20:31:47 -04:00
Jason McBrayer 0fd520b78b Add animated loading indicator for some links.
This is redundant on desktop and for full mobile browser interface,
but useful for minimal mobile browser PWA mode.
2018-10-14 20:14:18 -04:00
Jason McBrayer 7b8c5dbb59 Add lightbox preference 2018-10-09 18:13:08 -04:00
Jason McBrayer 3acfcdd744 Use notifications setting 2018-10-09 13:17:29 -04:00
Jason McBrayer 2d0fd95d5f Use no_javascript preference in place of theme.is_brutalist in some places 2018-10-09 13:08:02 -04:00
Jason McBrayer af4173742b Remove service worker for now (it clashed with notifications implementation) 2018-09-24 10:32:30 -04:00
Jason McBrayer 78157b9647 Restore browser controls to PWA manifest and remove pull-to-refresh 2018-09-20 19:09:25 -04:00
Jason McBrayer ea1f9bdbb8 Strip out all the PJAX to make notifications work 2018-09-20 19:01:26 -04:00
Jason McBrayer 5ced45c50b More work on notifications - polling doesn't work
It looks like it might be an intercooler limitation/bug.

May try removing the pjaxing to see if that works
2018-09-20 15:00:31 -04:00
Jason McBrayer 86ec6aed95 Non-working implementation of ajax notification badge 2018-09-20 13:00:25 -04:00
Jason McBrayer 1523e3f229 Add template bits for notification badges 2018-09-20 13:00:25 -04:00
Jason McBrayer 5b88462a0e Tempiraru fix for pull to refresh being over-agressive 2018-09-20 08:50:32 -04:00
Jason McBrayer 99032361b0 Change which element to use for pull-to-refresh 2018-09-20 08:23:12 -04:00
Jason McBrayer 133a35bcc5 Add pull-to-refresh 2018-09-20 08:15:07 -04:00
Jason McBrayer e065f6d050 Service worker should basically be ready 2018-09-19 10:48:27 -04:00
Jason McBrayer 5d848715da Fix path service worker is served from 2018-09-19 10:19:34 -04:00
Jason McBrayer 3bbe859227 Maybe fix scope of PWA 2018-09-19 09:59:29 -04:00
Jason McBrayer 0f3162f7b3 Experimental: very minimal PWA support 2018-09-19 09:55:48 -04:00
Jason McBrayer 12d2636091 Add web app manifest (lol) 2018-09-19 09:37:36 -04:00
Jason McBrayer 385b819678 Fix back button in lightbox 2018-09-19 09:12:16 -04:00
Jason McBrayer 04ea4b499e Use primary color for navbar on bulma themes 2018-09-18 11:44:01 -04:00
Jason McBrayer 62dbc3a1f7 Fix history stuff so it doesn't affect mobile hamburger button 2018-09-18 10:53:21 -04:00
Jason McBrayer 63dc8fac53 Add photobox for images 2018-09-18 08:37:21 -04:00
Jason McBrayer 98afb6cde2 Restrict scope of scroll-position-saving 2018-09-18 06:13:13 -04:00
Jason McBrayer 075b8f67fe When going back a page, scroll to the last known vertical position
This is only needed for JS-enhanced links. Without javascript to mess it up,
the browser handles this 100% correctly by itself.
2018-09-17 22:13:54 -04:00
Jason McBrayer 203bd5070c Go back to trunk intercooler, use body as ic-history-elt 2018-09-15 20:00:15 -04:00
Jason McBrayer 3d44b47f73 Revert "Add image carousel to multi-image posts"
This reverts commit 773975917b.
2018-09-15 18:47:25 -04:00
Jason McBrayer a2efc3fe08 Use ic-scroll-to-target where applicable 2018-09-15 16:40:16 -04:00
Jason McBrayer 773975917b Add image carousel to multi-image posts 2018-09-09 18:22:01 -04:00
Jason F. McBrayer f31e69b541 Ask for confirmation on some user actions when using AJAX 2018-09-05 10:18:33 -04:00
Jason F. McBrayer 8a4e057e24 Fix a broken link 2018-09-05 09:38:40 -04:00
Jason F. McBrayer fc6ce29c6d Pjax the rest of the top bar 2018-09-05 09:19:13 -04:00
Jason F. McBrayer 8963f5d1d0 Improve the page loading indicator 2018-09-05 09:16:37 -04:00
Jason McBrayer dc590b65ee Add ic-history-elt flag 2018-09-04 21:36:14 -04:00
Jason McBrayer cbe682d7aa Use minified intercooler 2018-09-03 17:31:51 -04:00
Jason McBrayer 56f2309edc Fix the page title issue and factor out javascript 2018-09-03 17:28:45 -04:00
Jason McBrayer 2613de0646 Change those ic-post-to back to ic-get-from for now 2018-09-03 12:23:38 -04:00
Jason McBrayer 7c85f5474a Pjax page transitions that use the main page nav buttons
Things remain to do on this:
- Make the indicator less blatant
- Fix page titles
- apply lots of other places
2018-09-03 10:03:27 -04:00