Commit Graph

675 Commits

Author SHA1 Message Date
Nolan Lawson 429df7fbc5
fix more svelte undefined warnings (#250) 2018-04-30 19:06:08 -07:00
Nolan Lawson 814716cc8d
remove deprecated observe() from stores, take 2 (#249) 2018-04-30 17:20:20 -07:00
Nolan Lawson dbba271f39
fix some svelte data warnings (#247) 2018-04-30 09:57:49 -07:00
Nolan Lawson f9792ae3d8
remove deprecated .observe() from components (#246) 2018-04-30 08:29:04 -07:00
Nolan Lawson c309e5842d
slightly improve Svelte 2.0 compatibility (#244)
* slightly improve Svelte 2.0 compatibility

* fixup

* fix lint
2018-04-29 22:13:41 -07:00
Nolan Lawson 8229d1c9e6
use svelte shorthand wherever possible (#242) 2018-04-29 18:42:03 -07:00
Nolan Lawson c4182c9ddc
remove unnecessary helpers (#241) 2018-04-29 18:41:56 -07:00
Nolan Lawson a368294b43
fix for malformed notiications (#238)
fixes #217
2018-04-29 18:41:47 -07:00
Nolan Lawson 9629a55a9f
remove all instances of string coercion (#240) 2018-04-29 17:45:03 -07:00
Nolan Lawson 40a9ff957a
fix null error in virtual list items (#239) 2018-04-29 17:33:58 -07:00
Nolan Lawson de7bc7e43d
avatar should not have gray background (#237)
fixes #233
2018-04-29 16:57:12 -07:00
Nolan Lawson 8089202977
add ability to pin and unpin statuses (#235)
* add ability to pin and unpin statuses

* add another test
2018-04-29 12:28:44 -07:00
Nolan Lawson ffb00fcc5c
approve/reject follow requests, unblock, unmute (#230)
* approve/reject follow requests, unblock, unmute

* make tests less flaky
2018-04-28 14:19:39 -07:00
codl 562d0d2774 emoji style fixes (#227)
* emoji style fixes

* fixes non-square emoji being stretched to fit a square, both in
  statuses and in autosuggestions
* sizes emoji proportionally to text, so emoji won't look all tiny in
  expanded statuses
* emoji sizing and positioning similar to mastodon web

* prevent emoji from pushing down the line below them
2018-04-27 18:19:37 -07:00
Nolan Lawson 75b4d09b64 remove AsyncLayout in favor of rAf + gBCR 2018-04-27 18:16:57 -07:00
Nolan Lawson 8a46f3b3d1 add test and aria-label 2018-04-26 22:37:39 -07:00
Nolan Lawson 7ec109c6af fix style nit 2018-04-26 22:37:39 -07:00
codl 03e0ac72d2 add lists of follows and followers 2018-04-26 22:37:39 -07:00
codl 7abf76f7f9 remove statusid parameter in muted and blocked lists (#213) 2018-04-22 11:20:05 -07:00
Nolan Lawson 6bd4b05a98
fix more bugs in autocomplete (#208)
* fix more bugs in autocomplete

fully fixes #170

* fixup

* fix tests
2018-04-21 14:57:02 -07:00
Nolan Lawson 12131bd807
refactor dialogs to be individually async (#206) 2018-04-21 09:56:53 -07:00
Nolan Lawson 1151a3be4b
fix null in Timeline.html get() (#205) 2018-04-21 09:56:45 -07:00
Nolan Lawson 78f44c7b51
make timeline components async (#204) 2018-04-21 08:45:41 -07:00
Nolan Lawson 36b8f15ba6
clean up icon animations (#203) 2018-04-21 08:32:40 -07:00
Nolan Lawson e4d2934c67
fix themes (#199)
Fixes #194
2018-04-21 00:33:42 -07:00
Nolan Lawson ec138f94ce
fix requestIdleCallback in edge/safari (#198)
Fixes #195
2018-04-21 00:33:36 -07:00
Nolan Lawson 286a93ecba
simplify Status.html using spread params (#190)
* simplify Status.html using spread params

* fixup
2018-04-21 00:33:30 -07:00
Nolan Lawson b72ed87c25
refactor Media.html (#191) 2018-04-20 10:36:20 -07:00
Nolan Lawson 64973757a3
slightly refactor compose box (#192) 2018-04-20 10:36:05 -07:00
Nolan Lawson 581a0fcd00
fix multiple compose autosuggest dropdowns (#188)
* fix multiple compose autosuggest dropdowns

Fixes #170

* fix failing test

* remove console.log
2018-04-20 06:26:36 -07:00
Nolan Lawson 77ba91c712
fix animations and cleanup store/component get() usage (#185)
fixes #181
2018-04-19 21:38:11 -07:00
Nolan Lawson bfc3c46462
use standard to lint HTML too (#186) 2018-04-19 21:38:01 -07:00
Nolan Lawson 79b848df2c
fix requestIdleCallback not defined in Edge (#180) 2018-04-19 10:35:34 -07:00
Nolan Lawson ebcade8035
constrain gif backgrounds (with modifications) (#176)
* constrain gif backgrounds. fixes #159

* nit: move background-* styles to AutoplayVideo.html
2018-04-19 10:04:44 -07:00
Nolan Lawson 8d5690d63d
remove get() with string from Svelte calls (#169)
* remove get() with string pt 1

* remove get() with string pt 2

* fix typo

* fix some null exceptions in get()

* fixup code style
2018-04-19 09:37:05 -07:00
Nolan Lawson 18c3064801
fix favicon logic (#175) 2018-04-19 09:34:56 -07:00
Nolan Lawson 7f5bea8f5b
remove deprecated store.onchange (#168) 2018-04-18 23:48:13 -07:00
Nolan Lawson a24177b62a
remove "class" prop in favor of "className" (#167) 2018-04-18 23:48:06 -07:00
Nolan Lawson e431c29efa
update and pin all deps (#164) 2018-04-18 20:43:13 -07:00
Nolan Lawson 2d5714a2ea
simplify ajax.js implementation (#157)
* simplify ajax.js implementation

* fix typo
2018-04-17 22:08:15 -07:00
Nolan Lawson 74ea773c25
remove lodash forEach to reduce bundle size (#156) 2018-04-17 21:47:39 -07:00
Nolan Lawson 7c548018c1
Simplify click delegate implementation (#155) 2018-04-17 21:47:30 -07:00
Nolan Lawson 00e71293d6
fix autosuggestion mixed with emoji (#154)
fixes #140
2018-04-17 18:38:36 -07:00
Nolan Lawson 980fec15ec
fix favorites/boosts reversed aria labels (#153)
Fixes #146
2018-04-17 18:38:27 -07:00
Maxime Le Conte des Floris eef54e992b focus container on page load (#116)
* focus container on page load

* only focus container on first page load

* add test for container focus on page load

* fix typo
2018-04-17 09:42:10 -07:00
Nolan Lawson b231466fff
Refactor database for better code-splitting (#144) 2018-04-16 20:56:21 -07:00
Nolan Lawson 8fb00a961c
refactor to avoid unnecessary emojify computations (#143) 2018-04-16 20:54:16 -07:00
Nolan Lawson 0efafdec90
only show "you are offline" notification once (#137)
Fixes #34
2018-04-15 16:00:16 -07:00
Nolan Lawson 300a399655
Mark permalinks with icons accessibly (#138)
Fixes #128
2018-04-15 16:00:09 -07:00
Nolan Lawson a21541ce4b
hide overflow menu for same-user profile (#136)
Fixes #130
2018-04-15 15:39:54 -07:00