misskey-dev / misskey

🌎 A completely free and open interplanetary microblogging platform 🚀
https://misskey-hub.net/
GNU Affero General Public License v3.0
10.1k stars 1.38k forks source link

fix(backend): アドレス入力で直接ユーザのプロフィールページを表示した際、前提データが足りず描画に失敗する #15033

Closed samunohito closed 2 days ago

samunohito commented 3 days ago

What

フロント側での画面遷移を経ずにアドレスバーに入力してユーザのプロフィールを表示した場合、バックエンド側で前提となるデータをhtmlと一緒に返却する仕組みになっています。 このデータの取得処理に不足があったので修正しています。

Why

fix https://github.com/misskey-dev/misskey/issues/15032

Additional info (optional)

ローカルで実際に表示確認

Checklist

github-actions[bot] commented 3 days ago

このPRによるapi.jsonの差分 差分はありません。 Get diff files from Workflow Page

codecov[bot] commented 3 days ago

Codecov Report

Attention: Patch coverage is 0% with 4 lines in your changes missing coverage. Please review.

Project coverage is 39.96%. Comparing base (a3d236c) to head (9dda56c). Report is 453 commits behind head on develop.

Files with missing lines Patch % Lines
...ages/backend/src/server/web/ClientServerService.ts 0.00% 4 Missing :warning:
Additional details and impacted files ```diff @@ Coverage Diff @@ ## develop #15033 +/- ## =========================================== - Coverage 41.74% 39.96% -1.79% =========================================== Files 1549 1563 +14 Lines 196555 197742 +1187 Branches 2767 3630 +863 =========================================== - Hits 82055 79027 -3028 - Misses 113939 118110 +4171 - Partials 561 605 +44 ```

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.


🚨 Try these New Features:

syuilo commented 2 days ago

🙏🏻