Commit Graph

40 Commits

Author SHA1 Message Date
Jason McBrayer 012c0b74c1 Update intercooler.js 2020-07-08 13:24:00 -04:00
Jason McBrayer adc65f8d5a Upgrade jquery and remove zepto 2020-07-08 13:23:04 -04:00
Jason McBrayer ecdaabff33 Fix accessibility issue with expand CW button 2019-11-08 10:38:46 -05:00
Jason McBrayer 0607dc52cf Upgrade js and css dependencies 2019-10-15 20:41:46 -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 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 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 a0a4dd2e56 Try harder to not leave the loading animation running 2018-11-06 17:41:03 -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 53347efa27 Remove items for old photobox 2018-11-06 11:01:01 -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 c52307fc9d But don't leave indicator hanging around on 'back' 2018-10-14 20:22:32 -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 66e53837cf Truncate file names in file upload buttons 2018-10-14 08:20:11 -04:00
Jason McBrayer def0256fee savePlace and restorePlace are no longer needed since we junked PJAX 2018-09-20 19:16:22 -04:00
Jason McBrayer 133a35bcc5 Add pull-to-refresh 2018-09-20 08:15:07 -04:00
Jason McBrayer 5d848715da Fix path service worker is served from 2018-09-19 10:19:34 -04:00
Jason McBrayer 0f3162f7b3 Experimental: very minimal PWA support 2018-09-19 09:55:48 -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 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 9605c04a5f Some small JavaScript fixes 2018-09-15 19:49:28 -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 McBrayer 67bfcde2fe Add character count to toot forms 2018-09-07 16:28:33 -04:00
Jason F. McBrayer 3407aa8086 Don't create expandCWs button multiple times 2018-09-06 13:36:27 -04:00
Jason McBrayer d9cb4b36e5 Ensure that file buttons can still be updated when you expand minimal toot form 2018-09-06 12:12:49 -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 0d3cc1c5ac Also deactivate the burger menu 2018-09-03 20:10:35 -04:00
Jason McBrayer 60c6adfbb2 Close the menu after pjax loading a page 2018-09-03 19:47:06 -04:00
Jason McBrayer 56f2309edc Fix the page title issue and factor out javascript 2018-09-03 17:28:45 -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
Jason McBrayer fd5c2cfcbb Merge remote-tracking branch 'origin/intercooler' into intercooler 2018-08-30 18:27:00 -04:00
Jason F. McBrayer 8cdefb5e90 Enhance boost/fav toot with intercooler
Currently, this only works with CSRF protection turned off. Next
job is to fix that.
2018-08-30 16:42:01 -04:00
Jason F. McBrayer 02a20722fe Add intercooler and dependencies 2018-08-30 15:21:51 -04:00
Jason McBrayer 20b40172b1 Add intercooler-js and its dependency 2018-08-30 13:19:15 -04:00
Jason McBrayer eae810c15c In js-supporting browsers, use ctrl-enter to submit toots
This pulls in our first external javascript dependency! And thus a yarn.lock.
2018-06-12 08:35:23 -04:00