-
-
Notifications
You must be signed in to change notification settings - Fork 1.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
enhance(frontend): Better Timeline(MkPagination) Experience 2 #11241
Conversation
Codecov ReportPatch coverage:
Additional details and impacted files@@ Coverage Diff @@
## develop #11241 +/- ##
===========================================
+ Coverage 78.88% 78.98% +0.09%
===========================================
Files 925 175 -750
Lines 97589 22957 -74632
Branches 7746 511 -7235
===========================================
- Hits 76986 18132 -58854
+ Misses 20603 4825 -15778
☔ View full report in Codecov by Sentry. |
なんかIntersectionObserverが効かなくなることがあって泥沼にはまってる感じ |
IntersectionObserverは多分治った |
trim.94633E27-DD3A-4710-9D8D-C3DE5CE649A8.MOVSafariの描画の挙動が微妙 |
Safariで遡るのは諦めた |
むしゃくしゃしたので昔の挙動と新しい挙動を設定で変えられるようにした |
noteViewInterruptorsって全ての表示(?)に対して適用していいのかしら |
useScrollPositionManager とか RouterView 周りを変更した意図って何かしら |
RouterViewはactivate後のタイムラインのスクロール位置の判定と旧useScrollPositionManagerの順番が噛み合わなかったために変えた (たぶん他の場所でもこれに起因したバグが治ることがありそう) |
「最新のノートに移動」したときに改めてAPIリクエストが発生するのは微妙かも |
キューから持ってくるようにしても良さそう(キューから持ってくる実装を書くのが面倒だったためinitを呼び出すようにした) |
リフレッシュも兼ねているので結構この実装のほうがいいかも TLがプッシュ型になって早くなったらしいのでこのままでもいいのでは |
コンフリクト解消を諦めたためclose |
What
Additional
Safariだけ、DOMが先頭に追加されてもスクロールが調整されない
手動でスクロールを調整しても表示が崩れる
Safariでは遡りはせずに従来通りに最新のノートを表示することにした