Skip to content

コメント数の実装を見直し#10107

Merged
komagata merged 20 commits into
mainfrom
bug/review-of-event_comment_count
Jun 22, 2026
Merged

コメント数の実装を見直し#10107
komagata merged 20 commits into
mainfrom
bug/review-of-event_comment_count

Conversation

@zecky1120

@zecky1120 zecky1120 commented Jun 1, 2026

Copy link
Copy Markdown
Contributor

Issue

概要

  • コメント数を表示している箇所(ヘルパーメソッド)が使われていない場所があったので整合性を保持するため全ての箇所に設置
  • リンク付きとそうでないとで条件分岐されていたので見直しをし、詳細ページはリンク付きに統一した
  • 詳細ページでコメントなしの場合はコメント数の表示を非表示し、コメントがある場合は文字の箇所を太字にして統一させた

変更確認方法

  1. bug/review-of-event_comment_countをローカルに取り込む
  2. komagataのアカウントでログインする。
    下記に箇条書きにて変更した箇所を記載します。
  1. アカウントをmarumarushain1に変更しお知らせにコメントをしてください
  2. アカウントをadvijirouに変更し登録情報変更から所属企業情報を「MaruMaru Inc」にして更新してください
  • トップに移動し、 MaruMaru Inc. の研修状況研修生 からmarumarushain1を見つけコメント数が出ているか確認する

Screenshot

変更前

スクリーンショット 2026-06-01 20 53 40 スクリーンショット 2026-06-01 20 52 20
2026-06-01.20.50.46.mov

変更後

スクリーンショット 2026-06-01 21 13 52 スクリーンショット 2026-06-01 21 14 47
2026-06-01.21.15.21.mov

Review App

Summary by CodeRabbit

  • バグ修正
    • コメントがない場合、コメント用のメタリンクや件数表示を非表示にし、画面をすっきりさせました。
  • リファクタリング(表示統一)
    • コメント件数の文言・強調の見え方を共通化し、各画面で表示を統一しました。
  • スタイル
    • 「重要」状態の強調表示が親の色を継承するよう調整しました。
  • テスト
    • コメント件数表示に関する検証内容を更新しました。
  • パフォーマンス
    • レポート一覧の読み込みを改善しました。

Flakewatch Report

Flakewatch Report

@coderabbitai

coderabbitai Bot commented Jun 1, 2026

Copy link
Copy Markdown
Contributor

Review Change Stack

Note

Reviews paused

It looks like this branch is under active development. To avoid overwhelming you with review comments due to an influx of new commits, CodeRabbit has automatically paused this review. You can configure this behavior by changing the reviews.auto_review.auto_pause_after_reviewed_commits setting.

Use the following commands to manage reviews:

  • @coderabbitai resume to resume automatic reviews.
  • @coderabbitai review to trigger a single review.

Use the checkboxes below for quick actions:

  • ▶️ Resume reviews
  • 🔍 Trigger review
📝 Walkthrough

Walkthrough

EventsHelper の comment_count メソッドを簡素化して常に span.is-emphasized を含むマークアップを返すよう変更し、複数のテンプレートで統一して comments.any? 判定と comment_count() 呼び出しを導入。重要メタの強調文字に色継承を追加し、reports コントローラーにコメント関連の事前ロードを追加して N+1 クエリを最適化し、関連するシステムテストのセレクタを新しい DOM 構造に対応させた。

Changes

コメント数表示の統一化

Layer / File(s) Summary
Helper の改装とスタイル基盤
app/helpers/events_helper.rb, app/assets/stylesheets/atoms/_a-meta.css
event_comment_count(event, styled: true) から comment_count(commentable) へシグネチャ変更。styled: 引数と分岐を廃止し、常に 「コメント(<span class="is-emphasized">…</span>)」 形式を返すよう統一。.a-meta.is-important .is-emphasizedcolor: inherit; を追加して親色継承に。
ヘッダー・詳細テンプレートのコメントリンク統一
app/views/announcements/show.html.slim, app/views/events/_event.html.slim, app/views/movies/_movie_header.html.slim, app/views/pages/_doc_header.html.slim, app/views/products/_product_header.html.slim, app/views/regular_events/_regular_event.html.slim, app/views/reports/_report_header.html.slim, app/views/talks/_talk.html.slim
コメント存在時のみ #comments へのメタリンクをレンダリングするよう変更。手動の無効化・強調クラス付与と直接の件数描画を廃止し、リンク内表示は comment_count(record) に統一。
一覧・カード系テンプレートのコメント表示統一
app/components/products/product_component.html.slim, app/views/announcements/_announcement.html.slim, app/views/companies/products/_product.html.slim, app/views/events/_events.html.slim, app/views/home/_colleague_trainee.html.slim, app/views/pages/_page.html.slim, app/views/pair_works/_pair_work.html.slim, app/views/products/_product.html.slim, app/views/products/_product_list_item.html.slim, app/views/regular_events/_regular_events.html.slim, app/views/reports/_product.html.slim, app/views/users/events/index.html.slim, app/views/users/regular_events/index.html.slim
多数の一覧・カード系テンプレートでコメント判定を comments.any? に揃え、テンプレート内の直接的な「コメント(N)」文字列組立てを廃止して comment_count(object) 呼び出しへ置き換え。コメント無し時はメタ要素そのものを出力しない動作。
コントローラーのコメント事前ロード
app/controllers/reports_controller.rb
reports 一覧取得クエリに includes(:comments) を追加して、コメント表示の UI 統一に伴う N+1 クエリの最適化を実装。
システムテストのセレクタと期待値の更新
test/system/announcements_test.rb, test/system/movies_test.rb, test/system/pages_test.rb, test/system/product/product_list_test.rb, test/system/reports_test.rb, test/system/talks/user_list_test.rb
コメント件数検証のセレクタを #comment_count から a.a-meta[href="#comments"] span.is-emphasized および span.is-emphasized へ更新。期待値表記を括弧付き(例:(1))から数値のみ(例:1)へ変更。一部テストで正規表現による柔軟なアサーション。

Estimated code review effort

🎯 3 (Moderate) | ⏱️ ~25 minutes

Possibly related issues

Suggested labels

雑事

Suggested reviewers

  • okuramasafumi

Poem

🐰 拾った括弧をそっと置き、
span の中で数字がぴょんと跳ねる。
any? で揃えてヘルパー任せ、
ビューは軽やか、テストは頷く。
にんじんで祝う、ぴょんぴょん。

🚥 Pre-merge checks | ✅ 4 | ❌ 1

❌ Failed checks (1 warning)

Check name Status Explanation Resolution
Docstring Coverage ⚠️ Warning Docstring coverage is 0.00% which is insufficient. The required threshold is 80.00%. Write docstrings for the functions missing them to satisfy the coverage threshold.
✅ Passed checks (4 passed)
Check name Status Explanation
Title check ✅ Passed PR タイトルはコメント数表示機能の実装見直しというメインの変更内容を簡潔に表現しており、ファイル一覧等の冗長性がなく明確である。
Linked Issues check ✅ Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check ✅ Passed Check skipped because no linked issues were found for this pull request.
Description check ✅ Passed PR説明は必須セクション(Issue、概要、変更確認方法、Screenshot)をすべて含み、詳細で具体的な内容が記載されています。

✏️ Tip: You can configure your own custom pre-merge checks in the settings.

✨ Finishing Touches
📝 Generate docstrings
  • Create stacked PR
  • Commit on current branch
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch bug/review-of-event_comment_count

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands and usage tips.

@zecky1120 zecky1120 marked this pull request as ready for review June 2, 2026 12:10
@github-actions github-actions Bot requested a review from komagata June 2, 2026 12:10

@coderabbitai coderabbitai Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Actionable comments posted: 11

🤖 Prompt for all review comments with AI agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.

Inline comments:
In `@app/helpers/events_helper.rb`:
- Around line 16-17: Replace the use of event.comments.length inside the
event_comment_count helper with event.comments.size to avoid loading the entire
association; update the method event_comment_count in
app/helpers/events_helper.rb to call event.comments.size (so it will use counter
cache or a COUNT query when appropriate) while leaving the existing safe_join
and content_tag logic intact.

In `@app/views/movies/_movie_header.html.slim`:
- Around line 58-61: 現在のテンプレートは .page-content-header-metas__meta 要素の内側で - if
movie.comments.any? を使っているため、コメントが0件でも空のラッパー要素だけが残ります。修正は条件分岐をラッパーごと外側へ移動し、- if
movie.comments.any? を .page-content-header-metas__meta の前に置いて、内部に a.a-meta と =
event_comment_count(movie)
を含めるようにしてください(参照シンボル:.page-content-header-metas__meta、movie.comments.any?、event_comment_count(movie))。

In `@app/views/pages/_doc_header.html.slim`:
- Around line 61-64: 現在のテンプレート renders an empty wrapper when there are zero
comments because the condition page.comments.any? is inside the
.page-content-header-metas__meta block; move the conditional that checks
page.comments.any? to wrap the entire .page-content-header-metas__meta element
so the wrapper is not emitted when there are no comments, and keep the inner
link that calls event_comment_count(page) only when the condition is true.

In `@app/views/products/_product_header.html.slim`:
- Around line 73-76: The wrapper element .page-content-header-metas__meta should
only be rendered when comments exist: change the condition so the - if
product.comments.any? sits outside and wraps the entire
.page-content-header-metas__meta element (not just the a.a-meta), so the whole
meta container is omitted when there are zero comments; keep the inner link and
use the existing event_comment_count(product) helper as-is.

In `@app/views/regular_events/_regular_event.html.slim`:
- Around line 26-29: 現在のテンプレート renders .page-content-header-metas__meta even
when regular_event.comments.any? が false, leaving an empty wrapper; move the
conditional up so the wrapper is only rendered when there are comments: wrap the
entire .page-content-header-metas__meta and its child a.a-meta /
event_comment_count(regular_event) inside the if regular_event.comments.any?
check (i.e. place the if before the .page-content-header-metas__meta element) so
the div is omitted entirely when there are no comments.

In `@app/views/regular_events/_regular_events.html.slim`:
- Around line 50-54: Slimテンプレートでコメント表示の条件が不適切な位置にあり空の .card-list-item-meta__item
が出力されているので、現在の - if event.comments.any? を .card-list-item-meta__item
要素の外側ではなく内側(つまり .card-list-item-meta__item
を条件ブロック内に移動)にして、コメントがない場合は要素自体を出力しないように修正してください(参照シンボル: - if event.comments.any?
と event_comment_count)。

In `@app/views/talks/_talk.html.slim`:
- Around line 12-18: The hr element hr.card-list-item__row-separator is a void
element but currently has indented child lines (.card-list-item__row,
.card-list-item-meta__items, etc.), which produces invalid HTML; fix
_talk.html.slim by unindenting the lines that follow
hr.card-list-item__row-separator so that .card-list-item__row and its
descendants are siblings of the hr (same indentation level) rather than
children, preserving the existing markup structure under .card-list-item__row
and not changing class names.

In `@test/system/announcements_test.rb`:
- Line 47: テストのコメント数アサーションがページ内の任意の span にマッチしてしまうため、検証対象を show.html.slim
でコメント数を出している a.a-meta(href='`#comments`') 配下の span.is-emphasized に限定してください(該当テスト:
test/system/announcements_test.rb, アサーション箇所: assert_selector 'span', text: '2'
を修正)。具体的には現在の汎用的な selector を a.a-meta[href="`#comments`"] の下の span.is-emphasized
を狙うセレクタに置き換え、期待値 '2' を引き続き検証するようにしてください(参照シンボル: event_comment_count, a.a-meta,
span.is-emphasized)。

In `@test/system/movies_test.rb`:
- Line 50: The current assertion assert_selector 'span', text: 1 is too broad;
narrow the selector to target the comment count rendered by
events_helper#event_comment_count by asserting on the link and emphasized span
it produces (the a.a-meta[href='`#comments`'] wrapper and its span.is-emphasized
child). Update the assertion in test/system/movies_test.rb to use a selector
like "a.a-meta[href='`#comments`'] span.is-emphasized" with text: 1 so the test
specifically checks the comment-count element.

In `@test/system/pages_test.rb`:
- Line 49: The test currently asserts a loose span text which may match other
"1" instances; scope the assertion to the comment-count container by checking
the span.is-emphasized inside the comment link/container (the output produced by
event_comment_count). For example, target the selector path such as
a.a-meta[href='`#comments`'] .is-emphasized or .card-list-item-meta__item .a-meta
.is-emphasized (or use a within block around a.a-meta[href='`#comments`'] and
assert_selector 'span.is-emphasized', text: '1') so the assertion only validates
the comment count element.

In `@test/system/talks/user_list_test.rb`:
- Line 54: The assertion `assert_text '1'` inside the
within('.card-list-item-meta') scope is matching the date "2019年01月02日…" instead
of the comment count; update the test to target the exact element rendered by
event_comment_count by asserting against the span with class is-emphasized (e.g.
use within('.card-list-item-meta') then assert_selector 'span.is-emphasized',
text: '1' or assert_text only inside that selector) so the test checks the
comment count element specifically.
🪄 Autofix (Beta)

Fix all unresolved CodeRabbit comments on this PR:

  • Push a commit to this branch (recommended)
  • Create a new PR with the fixes

ℹ️ Review info
⚙️ Run configuration

Configuration used: Path: .coderabbit.yaml

Review profile: CHILL

Plan: Pro

Run ID: dcfbbbe9-f708-43f0-aff1-14ff62914193

📥 Commits

Reviewing files that changed from the base of the PR and between 0220a55 and d45af0e.

📒 Files selected for processing (30)
  • app/assets/stylesheets/atoms/_a-meta.css
  • app/components/products/product_component.html.slim
  • app/helpers/events_helper.rb
  • app/views/announcements/_announcement.html.slim
  • app/views/announcements/show.html.slim
  • app/views/companies/products/_product.html.slim
  • app/views/events/_event.html.slim
  • app/views/events/_events.html.slim
  • app/views/home/_colleague_trainee.html.slim
  • app/views/movies/_movie_header.html.slim
  • app/views/pages/_doc_header.html.slim
  • app/views/pages/_page.html.slim
  • app/views/pair_works/_pair_work.html.slim
  • app/views/products/_product.html.slim
  • app/views/products/_product_header.html.slim
  • app/views/products/_product_list_item.html.slim
  • app/views/regular_events/_regular_event.html.slim
  • app/views/regular_events/_regular_events.html.slim
  • app/views/reports/_product.html.slim
  • app/views/reports/_report.html.slim
  • app/views/reports/_report_header.html.slim
  • app/views/talks/_talk.html.slim
  • app/views/users/events/index.html.slim
  • app/views/users/regular_events/index.html.slim
  • test/system/announcements_test.rb
  • test/system/movies_test.rb
  • test/system/pages_test.rb
  • test/system/product/product_list_test.rb
  • test/system/reports_test.rb
  • test/system/talks/user_list_test.rb

Comment thread app/helpers/events_helper.rb Outdated
Comment thread app/views/movies/_movie_header.html.slim Outdated
Comment thread app/views/pages/_doc_header.html.slim Outdated
Comment thread app/views/products/_product_header.html.slim Outdated
Comment thread app/views/regular_events/_regular_event.html.slim Outdated
Comment thread app/views/talks/_talk.html.slim Outdated
Comment thread test/system/announcements_test.rb Outdated
Comment thread test/system/movies_test.rb Outdated
Comment thread test/system/pages_test.rb Outdated
Comment thread test/system/talks/user_list_test.rb Outdated
@zecky1120

Copy link
Copy Markdown
Contributor Author

@koguchi-e
お疲れ様です〜🤗 早速ですが、お言葉に甘えてレビュー依頼をお願いしたいです🙏
お手隙の時で構いませんので、ご確認よろしくお願いします🫡

@komagata komagata force-pushed the main branch 2 times, most recently from b420541 to f31c31e Compare June 4, 2026 07:05
@koguchi-e koguchi-e self-requested a review June 5, 2026 06:09
@koguchi-e

Copy link
Copy Markdown
Contributor

@zecky1120
早速ご依頼ありがとうございます!
助かります!🙏

1週間以内に対応させていただく予定ですが…
他ブランチのコミットが紛れてしまっている状態でした!

こちらは他PRでも発生しているため、Discordにて確認中です。

似たような現象が起きているPR

こちらの原因が判明次第改めて対応させていただきます。

@koguchi-e

Copy link
Copy Markdown
Contributor

@zecky1120
#10107 (comment) について追記です。

ryufutaさんからご解答いただきまして、下記手順を実行したところ、コミットが消えました。
お手数ですが、こちらの実行をお願いいたします🙏

git switch main
git pull --rebase origin main
git switch 該当ブランチ
git rebase main
git push --force-with-lease origin 該当ブランチ

@zecky1120 zecky1120 force-pushed the bug/review-of-event_comment_count branch from 2e0c079 to cba3c71 Compare June 5, 2026 11:14
@zecky1120

Copy link
Copy Markdown
Contributor Author

@koguchi-e
こちらの ご対応 と調査ありがとうございました! 
今見直してみたら駒形さんのやEliさんのがコミットに入っていましたね💦
早速実行しましたのでどうぞよろしくお願いします!

koguchi-e

This comment was marked as resolved.

@koguchi-e koguchi-e left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

確認しました!
バッチリです🙆問題なさそうでした!

@zecky1120 zecky1120 requested a review from okuramasafumi June 7, 2026 11:30
@zecky1120

Copy link
Copy Markdown
Contributor Author

@koguchi-e
早速レビューありがとうございました〜🙇‍♂️

@okuramasafumi
FBC生とのレビューが終わりましたので、お手隙の時にメンターレビューをお願いします!🙏

@okuramasafumi okuramasafumi left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

ヘルパーはevent_comment_countという名前になっていますが、見たところeventとの強い関連性は特になさそうなので、comment_count(commentable)くらいが適切に思えました。
数える実装をそろえたのはとても良いと思います!

@@ -22,4 +22,4 @@
- if user.comments.present?

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

ここもany?に統一できそうですね。

@zecky1120 zecky1120 Jun 15, 2026

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

@okuramasafumi
ご確認ありがとうございました! メソッド名を変更しました。
メソッド名の変更に伴うviewsany?も変更し、coderabbitにて指摘されたN+1クエリ対策も変更しました〜✌️
def9e24

@coderabbitai coderabbitai Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Actionable comments posted: 1

🧹 Nitpick comments (1)
app/helpers/events_helper.rb (1)

16-18: ⚡ Quick win

より適切な配置先へ移動を検討してください。

comment_count は汎用的なメソッドですが EventsHelper に配置されています。このメソッドは PageProductEventRegularEvent など複数のモデルで利用されているため、ApplicationHelper への移動を検討してください。コーディングガイドラインでは Fat Controller/Model を避け、適切な責務分担を推奨しています。汎用ヘルパーはアプリケーション全体で利用可能な場所に配置することで、モジュール間の結合度を下げ、保守性を向上できます。

♻️ 移動例

app/helpers/application_helper.rb へ移動:

# app/helpers/application_helper.rb
 module ApplicationHelper
+  def comment_count(commentable)
+    safe_join(['コメント(', content_tag(:span, commentable.comments.size, class: 'is-emphasized'), ')'])
+  end
 end
# app/helpers/events_helper.rb
 module EventsHelper
-  def comment_count(commentable)
-    safe_join(['コメント(', content_tag(:span, commentable.comments.size, class: 'is-emphasized'), ')'])
-  end
-
   def event_participant_count(event)

Based on coding guidelines: まずFat Controllerを避け、次にFat Modelを避ける。適切な責務分担のため、複数モデルで利用される汎用ヘルパーは ApplicationHelper へ配置することを推奨。

🤖 Prompt for AI Agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.

In `@app/helpers/events_helper.rb` around lines 16 - 18, The `comment_count`
method is currently in EventsHelper but is a generic utility method used by
multiple models (Page, Product, Event, RegularEvent), violating the single
responsibility principle. Move the `comment_count` method from
app/helpers/events_helper.rb to app/helpers/application_helper.rb so that it is
accessible application-wide and reduces coupling between modules, following the
coding guideline that generic helpers used across multiple models should be
placed in ApplicationHelper.

Source: Coding guidelines

🤖 Prompt for all review comments with AI agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.

Inline comments:
In `@app/helpers/events_helper.rb`:
- Around line 16-18: The comment_count helper method in events_helper.rb calls
commentable.comments.size which triggers N+1 queries when comments are not
pre-loaded. Add eager loading to prevent this: in the talks, movies, and reports
controllers, add includes(:comments) or preload(:comments) to the index action
(or equivalent list display method) to pre-load the comments association,
matching the pattern already implemented in events, products, pages,
announcements, and pair_works controllers.

---

Nitpick comments:
In `@app/helpers/events_helper.rb`:
- Around line 16-18: The `comment_count` method is currently in EventsHelper but
is a generic utility method used by multiple models (Page, Product, Event,
RegularEvent), violating the single responsibility principle. Move the
`comment_count` method from app/helpers/events_helper.rb to
app/helpers/application_helper.rb so that it is accessible application-wide and
reduces coupling between modules, following the coding guideline that generic
helpers used across multiple models should be placed in ApplicationHelper.
🪄 Autofix (Beta)

Fix all unresolved CodeRabbit comments on this PR:

  • Push a commit to this branch (recommended)
  • Create a new PR with the fixes

ℹ️ Review info
⚙️ Run configuration

Configuration used: Path: .coderabbit.yaml

Review profile: CHILL

Plan: Pro

Run ID: 5e27b3b1-d561-4021-a6aa-13c738fdf7c8

📥 Commits

Reviewing files that changed from the base of the PR and between cba3c71 and 72fc6a6.

📒 Files selected for processing (23)
  • app/components/products/product_component.html.slim
  • app/helpers/events_helper.rb
  • app/views/announcements/_announcement.html.slim
  • app/views/announcements/show.html.slim
  • app/views/companies/products/_product.html.slim
  • app/views/events/_event.html.slim
  • app/views/events/_events.html.slim
  • app/views/home/_colleague_trainee.html.slim
  • app/views/movies/_movie_header.html.slim
  • app/views/pages/_doc_header.html.slim
  • app/views/pages/_page.html.slim
  • app/views/pair_works/_pair_work.html.slim
  • app/views/products/_product.html.slim
  • app/views/products/_product_header.html.slim
  • app/views/products/_product_list_item.html.slim
  • app/views/regular_events/_regular_event.html.slim
  • app/views/regular_events/_regular_events.html.slim
  • app/views/reports/_product.html.slim
  • app/views/reports/_report.html.slim
  • app/views/reports/_report_header.html.slim
  • app/views/talks/_talk.html.slim
  • app/views/users/events/index.html.slim
  • app/views/users/regular_events/index.html.slim
🚧 Files skipped from review as they are similar to previous changes (18)
  • app/views/reports/_product.html.slim
  • app/views/reports/_report.html.slim
  • app/views/home/_colleague_trainee.html.slim
  • app/views/reports/_report_header.html.slim
  • app/views/pages/_doc_header.html.slim
  • app/views/announcements/_announcement.html.slim
  • app/views/companies/products/_product.html.slim
  • app/views/pair_works/_pair_work.html.slim
  • app/views/talks/_talk.html.slim
  • app/views/announcements/show.html.slim
  • app/views/regular_events/_regular_event.html.slim
  • app/views/movies/_movie_header.html.slim
  • app/views/users/regular_events/index.html.slim
  • app/views/events/_event.html.slim
  • app/views/events/_events.html.slim
  • app/views/products/_product_list_item.html.slim
  • app/views/products/_product_header.html.slim
  • app/components/products/product_component.html.slim

Comment thread app/helpers/events_helper.rb
@komagata komagata removed their request for review June 16, 2026 14:46

@okuramasafumi okuramasafumi left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

良さそうです、LGTM!

@zecky1120

Copy link
Copy Markdown
Contributor Author

@okuramasafumi
ご確認ありがとうございました〜🙏

@komagata
メンターレビューが終わりましたので、マージお願いします!🙏

@komagata komagata merged commit c009c8a into main Jun 22, 2026
21 checks passed
@komagata komagata deleted the bug/review-of-event_comment_count branch June 22, 2026 14:27
@komagata

Copy link
Copy Markdown
Member

@zecky1120 マージしました〜

@github-actions github-actions Bot mentioned this pull request Jun 22, 2026
11 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants