Skip to content

Conversation

@ACF37
Copy link
Contributor

@ACF37 ACF37 commented Jun 27, 2025

概要

チャンネルを開いていても最新のメッセージを読み込んでいない場合にアイコンが暗転していた。最新のメッセージを読み込んでいない場合でもアイコンが暗転しないようにした。

なぜこの PR を入れたいのか

#4610

動作確認の手順

スクロールしないと最新のメッセージが読み込まれないような古いメッセージを読み込む。引用から、または検索から飛ぶのが楽。

UI 変更部分のスクリーンショット

before

after

PR を出す前の確認事項

  • (機能の追加なら)追加することの合意がチームで取れている
    • 取れていない場合はチェックを外して PR にすれば OK
  • 動作確認ができている
  • 自分で一度コードを眺めて自分的に問題はなさそう

見てほしいところ・聞きたいことなど

おそらく #1808 の実装を #4395 で使っているのですが、ChannelViewStateを当時の設計から変更しているので確認してほしいです。

@github-actions
Copy link

@codecov
Copy link

codecov bot commented Jun 27, 2025

Codecov Report

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

Project coverage is 10.04%. Comparing base (6cd8f4e) to head (40bfb35).
Report is 34 commits behind head on master.

Files with missing lines Patch % Lines
src/composables/useCurrentViewers.ts 0.00% 6 Missing ⚠️
src/views/composables/useViewStateSender.ts 0.00% 6 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##           master    #4649      +/-   ##
==========================================
+ Coverage    8.69%   10.04%   +1.35%     
==========================================
  Files         694      694              
  Lines       31045    31060      +15     
  Branches      536      536              
==========================================
+ Hits         2699     3120     +421     
+ Misses      28339    27933     -406     
  Partials        7        7              

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

@oER4 oER4 requested a review from Takeno-hito June 28, 2025 15:36
@tufusa tufusa self-requested a review June 30, 2025 01:36
Copy link
Contributor

@Pugma Pugma left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

実装方針の変更に伴って PR 名称と内容に乖離ができていそうです
そこだけ変更をお願いします…!

他はよさそうなので approve 出しておきます

Copy link
Member

@tufusa tufusa left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

#4649 (review) に相違ないです🙇
仕様の変更になると思うので、自分はChannelViewStateに関わらず閲覧中とするのようなコメントがあるとより良いかもです!

@ACF37 ACF37 changed the title 最新のメッセージが読み込まれていないときのChannelViewStateをNoneからMonitoringにするようにした 自分はChannelViewStateに関わらず閲覧中とする Jun 30, 2025
@oER4 oER4 merged commit ebc5491 into master Jun 30, 2025
11 checks passed
@oER4 oER4 deleted the ACF37/issue4610 branch June 30, 2025 07:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

6 participants