Commit Graph

282 Commits

Author SHA1 Message Date
Jason McBrayer dfccfab05b List filters, create filters
Template still needs to be created for create filters, will need to update
for list filters when views to edit and delete exist
2019-02-14 22:05:18 -05:00
Jason McBrayer ee3b4bdb72 Resize card images if necessary 2019-02-14 22:05:18 -05:00
Jason McBrayer 54ef84e0ad Add OpenGraph and Twitter Card tags to base.html 2019-02-05 19:05:33 -05:00
Jason McBrayer 7d72088422 Fix broken lightbox and attachments-spacing in bulma themes
Introduced by changes associated with brutstrap theme
2019-02-05 10:34:03 -05:00
Jason McBrayer 3293ef5ebf Get username hints implemented in brutstrap
Other brutalist themes could be enhanced to add this.
2019-02-05 10:21:53 -05:00
Jason McBrayer 650b6a25a8 Tweak figures for brutstrap 2019-02-04 15:24:06 -05:00
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 6a6bf32646 Enable some more cacheing.
I'm not sure all of this is a good idea, and I'm not sure if all of it actually
works; in particular the fragment cacheing for toots.
2019-01-30 10:56:13 -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
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 7c351ef341 Fix an issue with mentions caused by last update 2019-01-18 08:08:26 -05:00
Jason McBrayer dfc9becc87 Add mention hints to full post form and fix minor error 2019-01-17 21:06:29 -05:00
Jason McBrayer 8615c8f801 Add username hints while typing mentions in compose box 2019-01-17 21:02:23 -05:00
Jason McBrayer c7fb38b57c Add 'filter notifications" option
This reduces the number of notifications in both your tab bar and your
notifications page, by showing only mentions and new subscribers (i.e.,
things that are actionable by you).
2019-01-14 09:08:36 -05:00
Jason McBrayer 9117aeb987 Fix logout behavior with intercooler 2018-12-16 17:52:48 -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 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 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 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 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 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 bb65be3e8b Don't lose text or spoiler text when expanding toot form 2018-10-14 08:36:47 -04:00
Jason McBrayer 7b8c5dbb59 Add lightbox preference 2018-10-09 18:13:08 -04:00
Jason McBrayer 20818fca96 Reorganize options page and add some help text 2018-10-09 14:45:10 -04:00
Jason McBrayer 3acfcdd744 Use notifications setting 2018-10-09 13:17:29 -04:00
Jason McBrayer 2dfcd61989 Use click_to_load preference 2018-10-09 13:11:20 -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 60748e5c4b Add javascript granular settings to forms, templates, settings view 2018-10-02 12:14:03 -04:00
Jason McBrayer 26a189f780 Push history when loading more on a timeline
Because not doing so is worse, not because it's the best thing possible.
2018-09-24 15:09:32 -04:00
Jason McBrayer 9a7d797e54 Make the 'older' button load more in the page 2018-09-24 11:11:08 -04:00
Jason McBrayer 3782d6cd2f Fix formatting of timeline template 2018-09-24 10:48:25 -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 McBrayer b456681de4 Fix crash in privacy page 2018-09-07 18:45:36 -04:00
Jason McBrayer 67bfcde2fe Add character count to toot forms 2018-09-07 16:28:33 -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 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 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 McBrayer 8c847f0452 Use larger icon for expand full editor 2018-09-05 12:14:10 -04:00
Jason F. McBrayer 507a6bd32e Make "complete toot form" link expand the minimal toot form in place 2018-09-05 11:25:10 -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 f9673696d5 PJAX thread links 2018-09-05 10:07:51 -04:00
Jason F. McBrayer 620394ac3f Fix broken settings form 2018-09-05 09:40:54 -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 c038253ef7 Only use static avatars (the coyote no longer rotates) 2018-09-03 19:46:51 -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
Jason McBrayer 1dd8b1a316 Hijax block button 2018-09-02 19:52:48 -04:00
Jason McBrayer 3e7c81fc02 Hijax the muting button 2018-09-02 19:47:21 -04:00
Jason F. McBrayer bd663e7539 AJAX the follow button 2018-08-31 15:55:05 -04:00