:don: 170709

書いた

regression: 通知カラムをピン留めしていると初回ロードが走らない

Make all reducers sync by sorin-davidoi · Pull Request #4125 · tootsuite/mastodon

まあ面倒だもんね。で、

Fix initial loading of pinned Notifications column by unarist · Pull Request #4126 · tootsuite/mastodon

うん、またなんだ。

前回はルーター経由で読み込んだ時にしか初回ロードが走らないというバグだったけど、今回は完全に消えているのでより重症か。

一度読み込んだコンポーネントはPromiseを使わずに表示する

Avoid async import if the component is previously loaded by unarist · Pull Request #4127 · tootsuite/mastodon

若干無駄が減るのと、遅い端末だとカラム切り替えの間に(見出しも)空のカラムが見えることがあるので、まとめてしまう。逆に言えばUIスレッドをブロックする時間が延びるわけだけど…。

読んだ

media-modalでアス比がおかしい

fix(components/media_modal): Aspect ratio by sorin-davidoi · Pull Request #4128 · tootsuite/mastodon

縦に長い画像が縮小される時、また縦横比の異なる画像を合わせて添付したときに、正しくない縦横比で表示されてしまう件。これまでは width: auto でいけていたのが、Swipeable views を導入してしまったので親要素の幅を統一しないといけない。で中の画像を object-fit: contain で縮小することに。

/about の刷新とTLプレビュー

Redesign the landing page, mount public timeline on it by Gargron · Pull Request #4122 · tootsuite/mastodon