sgenoud
db0f5bf237
fix: Fix ios design issues ( #1199 )
...
* Take into account the layout weirdness on iPhones
This makes the menu bar full screen in landscape mode and allow the
snackbar to have enough bottom padding
* Improve the icon for PWA
fixes #1198
2019-05-09 07:34:28 -07:00
Nolan Lawson
4432d49467
fix: fix style of snackbar on mobile ( #1197 )
2019-05-08 23:35:33 -07:00
Nolan Lawson
43baaf36ae
fix: close IDB connections when page is frozen ( #1196 )
...
OK let's try this
2019-05-08 20:53:33 -07:00
Nolan Lawson
70da9a92a6
fix: close/open websocket on freeze/resume events ( #1195 )
...
* fix: close/open websocket on freeze/resume events
attempt to address #14
* fix unit tests
2019-05-08 19:58:32 -07:00
Nolan Lawson
0887196db4
feat: add snackbar alert with refresh button ( #1193 )
...
* feat: add snackbar alert with refresh button
fixes #77
* fixup
* change refresh to reload
2019-05-08 07:52:12 -07:00
Nolan Lawson
c56d561e9d
fix: fix aria-hidden on toast ( #1194 )
...
* fix: fix aria-hidden on toast
* fixup
2019-05-08 07:51:53 -07:00
Nolan Lawson
2425ca8f72
fix: make sure sapper crawls nofications/mentions ( #1191 )
2019-05-06 21:17:46 -07:00
Nolan Lawson
de220e7262
fix: throttle XHRs from autosuggest ( #1190 )
...
* fix: throttle XHRs from autosuggest
* throttle and abort properly
* add comment
* fix xhr bug
2019-05-06 20:29:43 -07:00
Nolan Lawson
cef76e6bba
fix: fix flash of searched content in autosuggest ( #1188 )
2019-05-06 08:34:20 -07:00
Nolan Lawson
75c3060912
fix: fix autosuggested accounts order ( #1187 )
...
new order is local first, followed by remote, and each sorted alphabetically
2019-05-06 08:34:12 -07:00
Nolan Lawson
2abe15cc6f
fix: fix autosuggest width on mobile ( #1186 )
...
fixes #1185
2019-05-06 08:34:03 -07:00
Nolan Lawson
d83062126a
fix: use inputmode=url for instance input ( #1184 )
2019-05-06 08:33:53 -07:00
Nolan Lawson
8d0db2c97c
fix: make autosuggestion accessible ( #1183 )
...
* fix: make autosuggestion accessible
fixes #129
* remove tabindexes, fix aria-hidden
2019-05-05 22:08:54 -07:00
Nolan Lawson
78715bc098
fix: do remote search when autosuggesting accounts ( #1182 )
...
* fix: do remote search when autosuggesting accounts
fixes #1005
* fix emoji search
2019-05-05 19:16:02 -07:00
Nolan Lawson
de9faf4678
fix: redesign tabs slightly ( #1178 )
2019-05-05 12:30:08 -07:00
Nolan Lawson
23bdc6c87e
feat: implement notification filters (all vs mentions) ( #1177 )
...
fixes #1176
2019-05-04 17:58:44 -07:00
Nolan Lawson
ff1e9e2c41
fix: add tooltip info on what an instance is ( #1175 )
2019-05-04 14:16:15 -07:00
Nolan Lawson
b13f0afc37
fix: fix autofocus in emoji dialog search ( #1173 )
2019-05-04 12:20:45 -07:00
Nolan Lawson
af9cad89d9
chore: update remount to v0.11.0 ( #1171 )
2019-05-01 18:57:41 -07:00
Nolan Lawson
ecaeec226c
feat: add option to disable open graph cards ( #1161 )
...
fixes #1155
2019-04-20 09:12:42 -07:00
Nolan Lawson
1712081f0b
fix: fix profile clicks from compose dialog ( #1160 )
...
* fix: don't allow profile clicks from compose dialog
fixes #1159
* make the links work correctly in the modal
* fix tests
2019-04-20 09:12:30 -07:00
sgenoud
2ce2453d8f
fix: Unstretch the card image ( #1157 )
...
Fix #1156
2019-04-20 07:52:14 -07:00
Nolan Lawson
0649eee366
fix: fix dialogs within dialogs not opening ( #1154 )
...
* fix: fix dialogs within dialogs not opening
fixes #1153
* remove console logs
2019-04-14 19:47:30 -07:00
Nolan Lawson
ddd95aad27
fix: fix modal dialog width ( #1152 )
...
fixes #1151
2019-04-14 14:09:10 -07:00
Nolan Lawson
b3098c8c5a
fix: tweaks to conversations (direct) UI ( #1137 )
...
- make the url `/direct`
- call it "Direct messages"
- fix sapper export
- retain DM background color
- add test
2019-04-13 15:30:49 -07:00
Steve Genoud
622dbde258
feat: Adds a basic conversations timeline ( #1137 )
...
fixes #639
2019-04-13 15:30:49 -07:00
sgenoud
79184570b1
fix: Manage the width to take scrollbars into account ( #1138 )
...
* Manage the width to take scrollbars into account
* Additional modal layout styles changes
2019-04-13 11:02:25 -07:00
sgenoud
5642b10c72
fix: Add hostname when description is missing ( #1145 )
2019-04-10 07:57:37 -07:00
sgenoud
49b0633a8d
feat: Add a shortcut to opening the cards link ( #1134 )
...
* Add a shortcut to opening the cards link
* minor aesthetic tweaks
2019-04-10 07:56:24 -07:00
sgenoud
e202dd3444
feat: Add a setting to reload the page ( #1132 )
...
* Add reload setting
The iOS PWA version does not allow you to reload the page - even with killing
the app. This is useful for reloading new versions of the app (as well as
solving bad transient state issues).
* make href use #
2019-04-08 19:23:16 -07:00
sgenoud
1dec3b55f9
fix: Remove placeholder for cards without images ( #1135 )
...
* Remove placeholder for cards without images
* remove no longer needed svg
2019-04-08 19:14:18 -07:00
sgenoud
f6c8eb4055
fix: Disable custom scrollbars by default on iOS ( #1133 )
2019-04-05 09:27:44 -07:00
Nolan Lawson
8549c3a79a
fix: add placeholder icon for opengraph cards without images ( #1131 )
2019-04-01 20:48:41 -07:00
Nolan Lawson
44c45d0b64
fix: slight tweaks to opengraph card ( #1128 )
2019-03-31 14:11:24 -07:00
sgenoud
6bae770bf5
feat: Add support for Open Graph cards ( #1121 )
...
* Add support for Open Graph cards
* use <strong> and aria-hidden on image to improve a11y
2019-03-31 12:04:24 -07:00
sgenoud
8d012a96f7
fix: Enable PWA support for iOS devices ( #1120 )
...
* Enable PWA support for iOS devices
* add sniff for ios <12.2
2019-03-31 10:56:21 -07:00
Nolan Lawson
f758e12b24
fix: replace indexWhere with findIndex ( #1125 )
2019-03-31 09:21:57 -07:00
Nolan Lawson
6744de59f8
feat: add account page filters ( #1124 )
...
* start on account page filters
fixes #1021
* making progress
* more progress, just need style now
* fix lint
* fix style and add test
2019-03-30 21:48:49 -07:00
Cătălin Mariș
ba0ea7ab83
fix: remove no longer needed initial-scale=1
( #1119 )
...
`initial-scale=1` was a workaround for a orientation change bug,
that was only needed for the no longer relevant Safari for iOS < 9.
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Ref:
* https://www.quirksmode.org/blog/archives/2013/10/more_about_scal.html
* https://twitter.com/ppk/status/829329567219343360
2019-03-26 18:40:11 -07:00
Nolan Lawson
8fc8108454
fix: back button dismisses the modal dialog ( #826 )
...
* fix: back button dismisses the modal dialog
fixes #60
* try to manage nested modals
* seems working now
* fix modal timing issue
* fix test flakiness
* improve test flakiness again
* fix muting timing issue
* Revert "fix muting timing issue"
* remove setTimeout from MediaDialog
* refactor
2019-03-24 15:08:34 -07:00
Nolan Lawson
059b455451
fix: fix and test shortcut keys in modals ( #1115 )
2019-03-23 18:16:06 -07:00
Nolan Lawson
cf104163fe
fix: fix removing emoji from display names ( #1114 )
2019-03-22 15:55:33 -07:00
Nolan Lawson
47255e818c
fix: fix aria-labels for pleroma ( #1113 )
2019-03-22 15:55:28 -07:00
Nolan Lawson
c896836ce8
fix: fix spaces in status aria-labels ( #1111 )
...
fixes #1108
2019-03-21 14:38:37 -07:00
Nolan Lawson
2e8e0a5f19
fix: always show the home compose box ( #1109 )
...
* fix: always show the home compose box
fixes #1076
* fix loading visibility
2019-03-20 20:19:18 -07:00
Nolan Lawson
f0af8178af
feat: implement "." keyboard shortcut ( #1105 )
...
fixes #1052
2019-03-18 09:09:24 -07:00
Nolan Lawson
90aab7f6af
fix: fix background on dark mode emoji ( #1102 )
...
fixes #1101
2019-03-17 12:37:26 -07:00
Nolan Lawson
8b0dd86605
fix: fix media button focus outline ( #1103 )
...
fixes #1037
2019-03-17 12:37:19 -07:00
jeroenpraat
5012a21bcd
feat: Plus theme with Mastodon standard web-app colors (called mastodon) ( #1090 )
...
* +mastodon theme
* +mastodon theme
2019-03-09 12:29:57 -08:00
Nolan Lawson
9012b6ce5c
fix: when idb is blocked, use console.error ( #1081 )
...
this allows the error to actually be logged in production for better debugging
2019-03-05 20:25:38 -08:00
Nolan Lawson
c0918ccdc3
fix: fix pleroma snowflake IDs for real ( #1084 )
...
fixes #1082
2019-03-05 20:25:10 -08:00
Will Pearson
8665a18ac0
fix: Fix reversed base62 encoding ( #1083 )
2019-03-05 20:03:55 -08:00
Nolan Lawson
f179a63255
fix: add a privacy policy ( #1078 )
...
fixes #1077
2019-03-04 23:18:21 -08:00
Nolan Lawson
5cde48c2c5
test: add IndexedDB tests ( #1075 )
...
* test: add IndexedDB tests
Adds unit tests using fake-indexeddb.
* remove wtfnode dep
2019-03-03 18:34:10 -08:00
Nolan Lawson
93a3e85994
fix: use correct sorting for snowflake IDs ( #1074 )
...
* fix: use correct sorting for snowflake IDs
fixes #1071
* refactor
2019-03-03 17:21:22 -08:00
Nolan Lawson
7e5f58b969
refactor: use timeline item summaries instead of ids ( #1072 )
...
As described in https://github.com/nolanlawson/pinafore/issues/369#issuecomment-467211908 this is the first step toward fixing #369
2019-03-03 13:24:55 -08:00
Nolan Lawson
b14f818e81
perf: build url regex in advance ( #1069 )
...
* perf: build url regex in advance
* update comment
* better regex stringification
2019-03-02 22:02:59 -08:00
Nolan Lawson
1f5606c65e
perf: reduce size of ShortcutHelpInfo.html ( #1068 )
2019-03-02 20:06:56 -08:00
Nolan Lawson
880bc7a38a
perf: use a separate icons.svg file ( #1067 )
...
* perf: use a separate icons.svg file
This splits icons into inline and non-inline. The inline ones are high
priority; the rest go in an icons.svg file.
* create SvgIcon.html
* determine inlined svgs at build time
2019-03-02 19:02:06 -08:00
Nolan Lawson
c98619adac
fix: fix closing of account options dialog ( #1060 )
...
* fix: fix closing of account options dialog
fixes #1049
* fix lint
2019-02-28 20:49:09 -08:00
Nolan Lawson
63003c3763
fix: fix aria-posinset should be 1-based ( #1055 )
...
* fix: fix aria-posinset should be 1-based
fixes #1053
* second attempt to fix tests
* try to fix test
* fixup
* lint fix
* fix more tests
* simplify test math
2019-02-28 08:56:25 -08:00
Nolan Lawson
b0aa86ef44
fix: fix undefined error in media dialog scroll ( #1048 )
2019-02-26 22:18:24 -08:00
Nolan Lawson
6708b06a59
chore(package): update dependencies ( #1046 )
2019-02-23 23:34:48 -08:00
Nolan Lawson
df8c49cb57
fix: fix /undefined request for gifv ( #1044 )
...
* fix: fix /undefined request for gifv
fixes #1042 for real this time
* use poster instead
2019-02-23 19:26:06 -08:00
Nolan Lawson
e3888586bb
fix: fix /undefined request for video poster ( #1043 )
...
fixes #1042
2019-02-23 18:42:19 -08:00
Nolan Lawson
fabf9399f2
fix: use static server for node server.js
( #1041 )
...
* fix: use static server for `node server.js`
Aligns the Node server with the Zeit server. Fixes #1019
* fix test
2019-02-23 16:09:48 -08:00
Nolan Lawson
2b491ddb10
fix: fix pinned toots not in IDB ( #1040 )
...
fixes #660
2019-02-23 15:18:48 -08:00
Nolan Lawson
8c37a7cc02
refactor: refactor parent focus styles ( #1036 )
2019-02-23 12:50:56 -08:00
Nolan Lawson
56162c7a69
fix: fix timeline jumping on focus ( #1039 )
...
This should fix #840 . I can't see any reason why we would want it to scroll when we're focusing these things.
2019-02-23 12:32:18 -08:00
Nolan Lawson
547ee14f88
refactor: use ids instead of attrs for delegate/shortcut/focus ( #1035 )
...
* refactor: use ids instead of attrs for delegate/shortcut/focus
fixes #1034
* console log on error
* fix test
2019-02-23 12:32:00 -08:00
Nolan Lawson
c9ca605cfe
fix: fix keyboard shortcuts for pinned toots ( #1033 )
...
* fix: fix keyboard shortcuts for pinned toots
fixes #908
* fix test
2019-02-23 09:47:36 -08:00
Nolan Lawson
eeba66567c
feat: add "accout has moved" banner ( #1032 )
...
fixes #472
2019-02-22 20:35:19 -08:00
Nolan Lawson
11e918dd50
fix: fix keyboard shortcuts on thread ( #1031 )
...
* fix: fix keyboard shortcuts on thread
fixes #1029
* fix test
2019-02-22 20:35:13 -08:00
Nolan Lawson
e16c312788
fix: use focus ring rather than background for status/notifications ( #1030 )
...
I don't like clicking on a status, clicking back, and suddenly it has a
different background. The focus ring is less distracting. Unfortunately
it doesn't look right on the article element itself, so we have to apply
the style to its parent, but that's not too hard.
2019-02-22 20:35:04 -08:00
Nolan Lawson
42e466f3c2
fix: j/k shortcuts correctly set active element ( #1028 )
...
fixes #1018
2019-02-21 23:50:27 -08:00
Nolan Lawson
58844052c9
fix: update url regex to match latest mastodon ( #1026 )
...
also make all the regexes use the thunk pattern consistently
2019-02-19 23:34:06 -08:00
greenkeeper[bot]
8049977563
chore: Update file-drop-element to the latest version 🚀 ( #1017 )
...
* fix(package): update file-drop-element to version 0.2.0
* chore(package): update lockfile yarn.lock
* fix: update for file drop 0.2.0
2019-02-19 22:24:03 -08:00
Nolan Lawson
44e3ea575e
fix: remove __fakeFileInput, clean up on destroy ( #1025 )
2019-02-19 21:50:41 -08:00
Nolan Lawson
a63e85bf30
feat: report an account or toots ( #1016 )
...
fixes #736
2019-02-18 19:55:44 -08:00
Nolan Lawson
d665134d66
refactor: refactor dialogs ( #1015 )
2019-02-18 16:27:59 -08:00
Nolan Lawson
bfdb977f22
fix: refactor NavItem, fix icon badge bug ( #1014 )
2019-02-18 16:27:52 -08:00
Nolan Lawson
7a152fbdac
feat: allow muting notifications when muting ( #1013 )
...
fixes #738
2019-02-18 15:43:41 -08:00
Nolan Lawson
cd5b6f8e81
perf: use lite web animations polyfill ( #1011 )
2019-02-18 11:47:02 -08:00
Nolan Lawson
4387c17cbd
fix: add federated/favorites to crawled pages ( #1006 )
...
another thing I missed in #1000 and #1002
2019-02-16 12:33:22 -08:00
Nolan Lawson
7f1ba74c37
fix: fix missing export pages in node v8 ( #1002 )
...
For reasons that are mysterious to me, #1000 works in Node v10 but not v8. And Zeit runs v8. Moving the hidden links to a different page fixes it. ¯\_(ツ)_/¯
2019-02-16 11:33:05 -08:00
Nolan Lawson
2debddaaf6
fix: add some pages that "sapper export" missed ( #1000 )
...
Unfortunately it looks like `sapper export` works by crawling the
non-logged-in site, which means that any pages that are inaccessible
when you're not logged in don't get generated, including "pinned,"
"muted," "blocked," "requests," and "share."
Normally this isn't a problem, but it is in browsers that don't
have Service Worker; you get a 404 when you try to refresh those pages.
My fix is to just add a hidden div that links to these pages. It's not
pretty, but it works.
2019-02-16 00:48:45 -08:00
Nolan Lawson
7887d2c848
fix: remove deferred polyfill caching ( #999 )
...
As of #998 we can no longer rely on JS files containing , let alone . This was a nice idea, but it's just not maintainable anymore nor does it provide a huge benefit.
2019-02-15 20:31:22 -08:00
Nolan Lawson
59544d2cf4
fix: improve a11y, move preview box inside label ( #997 )
2019-02-15 19:03:24 -08:00
Nolan Lawson
25aea9f30a
fix: improve active state of navbar ( #996 )
2019-02-15 19:03:18 -08:00
Nolan Lawson
425d4c74aa
fix: use "public" for cache-control ( #993 )
...
another attempt to address #985
2019-02-14 22:54:18 -08:00
Nolan Lawson
75db2c0dac
fix: fix broken CSP in dev mode ( #992 )
...
It seems #988 occasionally breaks dev mode due to missing SW script. This fixes that.
2019-02-14 21:26:41 -08:00
Nolan Lawson
1b9d3b1cd0
feat: implement Web Share API ( #991 )
...
fixes #990
2019-02-14 21:26:28 -08:00
Nolan Lawson
a97600d4a2
fix: set max-age to 3600 for html ( #989 )
...
another attempt to address #985
2019-02-14 21:26:20 -08:00
Nolan Lawson
d947f819ab
fix: increase cache, use csp checksums over nonce ( #988 )
...
attempt to address #985
2019-02-14 19:39:24 -08:00
Nolan Lawson
752715becb
fix: tweak primary button border color ( #987 )
2019-02-14 19:38:54 -08:00
Nolan Lawson
623c2c79cb
fix: fix style of compose box in reply ( #983 )
...
Fixes #982
2019-02-14 08:46:43 -08:00
Nolan Lawson
df09b0a995
perf: prefetch all internal links ( #981 )
2019-02-13 18:40:02 -08:00
Nolan Lawson
58d1f62b2b
feat: implement web share target ( #980 )
...
fixes #974
2019-02-13 18:38:44 -08:00
Nolan Lawson
df6b75e994
fix: fix slim size compose dialog ( #979 )
...
fixes #106
2019-02-13 18:38:34 -08:00
Nolan Lawson
4074f09f65
fix: fix default contrast ratio for button ( #978 )
...
this gets us up to 100% accessibility score on lighthouse
2019-02-13 18:38:19 -08:00