Commit Graph

92 Commits

Author SHA1 Message Date
Jason McBrayer 31c6d0b5f0 Fix rare crash in notifications 2019-11-26 08:48:50 -05:00
Jason McBrayer 0e4402e885 Fix custom emoji in display names 2019-10-29 13:43:51 -04:00
Jason McBrayer 507157782d Truncate long card descriptions
This is useful for bots like the Onion repeater that stuff whole
articles into the description field.
2019-10-28 18:35:25 -04:00
Jason McBrayer d8a0e57190 Add polyfill for loading=lazy in Firefox.
Debug some of the issues that brings up, and use "less" lazy-loading on images.
2019-08-26 19:18:21 -04:00
Jason McBrayer 893a9c49d7 Use img loading="lazy" for most images (where available) 2019-08-07 09:21:07 -04:00
Jason McBrayer a5a67ccb54 View un-voted-in polls; can't vote in them just yet. 2019-07-09 20:27:09 -04:00
Jason McBrayer 83f46babe5 Support for viewing completed polls 2019-07-09 19:55:05 -04:00
Jason McBrayer 426faa1c2e Make thread availability more visible 2019-05-20 13:40:21 -04:00
Jason McBrayer e0bc0eba26 Mess around with card formatting some more 2019-03-28 07:58:31 -04:00
Jason McBrayer ce825a8612 Fix issue with card images in mobile view 2019-03-27 22:34:20 -04:00
Jason McBrayer 3296e9b685 Limit size of card images 2019-03-22 12:03:19 -04:00
Jason McBrayer 882a713788 Remove intercooler attributes from redraft link 2019-03-03 20:04:29 -05:00
Jason McBrayer 5877344c16 Fix (again) overflowing attachment boxes
This time, it makes them multiline.
2019-02-28 12:15:04 -05:00
Jason McBrayer fa9fa8ceef Remove some css classes that were no longer needed (in default themes) 2019-02-15 20:10:28 -05:00
Jason McBrayer ee3b4bdb72 Resize card images if necessary 2019-02-14 22:05:18 -05:00
Jason McBrayer 650b6a25a8 Tweak figures for brutstrap 2019-02-04 15:24:06 -05:00
McBrayer 7f331eeb48 When going to a thread (via thread or reply), jump to the active toot 2019-01-29 12:57:11 -05:00
McBrayer b17c56fec3 Reformat preview cards to make better use of space.
Also widen the default themes view again. I don't like the long lines,
but I like the way it gives more space for preview cards.
2019-01-28 09:36:54 -05:00
Jason McBrayer 9825b67f57 Make toots hint more strongly when they are part of a thread. 2018-12-07 08:57:19 -05:00
Jason McBrayer 23b799c022 Don't show card images where they may be redundant 2018-12-03 08:48:01 -05:00
Jason McBrayer d1873e3bd8 Really fix card image formatting. 2018-12-03 08:29:59 -05:00
Jason McBrayer ecfdf00d6a Fix formatting of both card images and regular media 2018-12-03 07:42:27 -05:00
McBrayer 673d7adedd Add display of cards. This is not 100% complete. 2018-11-30 14:30:46 -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
McBrayer faace0fa07 Scroll to target on opening a thread 2018-11-13 13:35:08 -05:00
Jason McBrayer ffe50791d1 Indicate on toots if they have replies 2018-11-12 17:54:01 -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 9eda3c91cb Loop videos, on the assumption that most are gifvs.
Also, use media.preview_url for the preview image rather than the first frame.
2018-11-06 11:09:05 -05:00
Jason McBrayer ae66ccfd7f Change lightbox to magnific-popup; make videos playable inline. 2018-11-06 10:44:26 -05: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 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 ea1f9bdbb8 Strip out all the PJAX to make notifications work 2018-09-20 19:01:26 -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 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 McBrayer ccb21b0cdc Fix formatting problem with redrafts and tags
Plus misc. redraft problems
2018-09-06 20:51:18 -04:00
Jason McBrayer 4f8bba7765 Ensure that CW-expander is present when threads page is AJAX-loaded 2018-09-06 12:07:31 -04:00
Jason McBrayer 6e087eb45f Make AJAX version of toot deletion work better 2018-09-06 11:45:28 -04:00
Jason F. McBrayer 09909f3270 Overflow-auto the media attachments so they don't do it to the toot box 2018-09-06 09:49:01 -04:00
Jason McBrayer f0597470a6 PJAX the link to redraft 2018-09-05 21:34:08 -04:00
Jason McBrayer 8ab83275f6 AJAX-ify the delete link on a toot 2018-09-05 21:29:12 -04:00
Jason F. McBrayer f9673696d5 PJAX thread links 2018-09-05 10:07:51 -04:00
Jason McBrayer c038253ef7 Only use static avatars (the coyote no longer rotates) 2018-09-03 19:46:51 -04:00
Jason McBrayer 38ba9d8184 Fix ID of status spinner 2018-08-30 19:36:32 -04:00
Jason McBrayer acfbdc5d5e Oops, reply shouldn't be ajaxed (this way) 2018-08-30 19:04:32 -04:00
Jason McBrayer f224d70750 Add progress indicator on boost/fav 2018-08-30 18:57:24 -04:00
Jason McBrayer df22f2d9b4 Add ic-post-to attributes to reply/boost/fav links 2018-08-30 13:26:07 -04:00
Jason McBrayer 3f84d26e41 Make css names accurate again 2018-08-29 13:11:02 -04:00
Jason McBrayer 52efb4a1d7 Expand reply/boost/fav only on desktop 2018-08-29 05:23:35 -04:00