Commit Graph

83 Commits

Author SHA1 Message Date
Jason McBrayer 46aea0fff9 Add first draft of brutstrap[1] theme.
[1]: https://git.sr.ht/~emsenn/brutstrap
2019-02-04 15:06:02 -05:00
McBrayer f1a7da0039 Don't abuse &nbsp for spacing in header; use CSS instead.
Thanks, @emsenn!
2019-01-30 10:53:14 -05:00
Jason McBrayer 8615c8f801 Add username hints while typing mentions in compose box 2019-01-17 21:02:23 -05:00
Jason McBrayer 9117aeb987 Fix logout behavior with intercooler 2018-12-16 17:52:48 -05:00
Jason McBrayer 9d70757988 Fix issue #40 (menu covers posting box in mobile with no JS)
Don't pin the menu to the top by default -- add those classes from JavaScript.
This is clearly the best thing on mobile, but it means that on desktop, without
JavaScript, the menu will not be pinned to the top, which used to work.
2018-12-06 10:14:25 -05:00
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