Hacktoberfest 2026:メンテナが10月に向けて印を付けた、オープンで初心者向けの issue。 Hacktoberfest の issue を見る

Retire /people/:id/all_comments now that the combined feed replaces it

オープン
#2,368 コメント 0 件 リアクション 0 件 担当者 0 名 GitHub で見る

メンテナーはふだん 1 日以内に返信

まだ誰も着手していません。

評価

難易度
3/5
見積もり時間
1〜2日
初心者へのやさしさ
68/100
issue の種類
リファクタリング
明瞭さ
明確に書かれている
活発さ
活発
技術スタック
rails, ruby
領域
backend, testing

調査の方向性

config/routes.rb、PeopleController、一覧にある all_comments ビューから始め、続いて spec/requests/people_all_comments_spec.rb と config/features.yml の機能エントリを読みます。インライン編集を維持する必要があるか確認し、その後、/comments で引き続き使用されている共有 comments partials を削除せずに、非推奨の route とその呼び出し元が削除または付け替えられていることを確認します。

索引モデルが issue の本文から書いたものです。

説明

🤖 From Claude: Filed as a follow-up to #2355.

What

/people/:id/all_comments is no longer linked from anywhere. #2355 added /people/:id/comments_and_communications — a superset that shows the same aggregated comments interleaved with the person's communications — and repointed every caller at it:

  • the combined comments & communications section on the person, event registration, scholarship, story, and story idea forms
  • topic_subscriptions/_form.html.erb
  • continuing_education_registrations/edit.html.erb
  • users/_form.html.erb

The old page is still reachable by typing the URL, but nothing navigates there.

Why it wasn't done in #2355

The instruction was to repoint the links, not to delete the page — and the two pages aren't quite identical, so retiring it is a judgement call worth making deliberately:

  • The new page covers it. Both use PersonCommentAggregator, both have a composer with the same record picker, and the new one adds communications, more filters, and full-height bodies.
  • What differs. all_comments edits a comment inline (comments/_aggregated_comment + comments/create.turbo_stream.erb prepending into the feed). The combined page is read-only per row — you click through to the record to edit. If inline editing matters, port it before deleting.

Scope if we retire it

  • config/routes.rb — the get :all_comments member route
  • PeopleController#all_comments and its entry in the set_person before_action
  • app/views/people/all_comments.html.erb, app/views/people/person_comments_results.html.erb
  • spec/requests/people_all_comments_spec.rb
  • the "Aggregated comments for a person" entry in config/features.yml (or repoint its action_path at the new page)
  • check whether comments/_feed and comments/_aggregated_comment still have callers — the global /comments index uses them, so they stay

Alternative

Keep it addressable and leave it unlinked. Cheap, but it becomes a second person-comments page that drifts.

主要言語
Ruby
スター
15
フォーク
28
平均マージ
1日 12分
マージ済み PR(30日)
262

環境構築

Codespaces で開く

このプロジェクトの開発コンテナを、あなたの GitHub アカウントでブラウザ上に起動します。

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

rubyforgood/awbw のほかの issue

rubyforgood/awbw の issue をすべて見る

似ている issue

Ruby の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。