Skip to content

部品を 1 ファイルに 1 つずつ置くように分けた - #442

Merged
fyui001 merged 15 commits into
masterfrom
refactor/one-component-per-file
Nov 11, 2026
Merged

fyui001 merged 15 commits into
masterfrom
refactor/one-component-per-file

Conversation

@fyui001

@fyui001 fyui001 commented Nov 11, 2026

Copy link
Copy Markdown
Member
  • CLAUDE.md の決まりに、ほかのファイルから使う部品は部品ごとに 1 ファイルに置き、ファイル名を部品の名前に合わせる項目を足した。
  • 同じファイルの中だけで使う部品は 60 行まではそのまま置き、それを超えるものは隣の別ファイルに出す項目も足した。
  • 画面の枠、上の帯と下のタブ、ステータスの点と文字、進み具合、印などの共通の部品を分けた。
  • 通知、予約とルール、録画とプレイヤー、ライブラリ、ライブ、番組表、データ放送、チャンネルとチューナー、受信品質、検索、システム、エンコード、区間検出、テーマの部品を分けた。
  • ルールの画面は分けたファイルが多いので、ルール用のフォルダにまとめた。
  • 一緒にしか使わない部品(タブバーとその項目、入力欄とそのラベル、パンくずと今いる位置など)は同じファイルに残した。
  • 部品の中身は移しただけで、画面の見た目と動きは変わらない。
  • ソースのファイルを読む試験は、部品の移り先を読むように直した。

🤖 Generated with Claude Code

fyui001 and others added 12 commits November 11, 2026 17:03
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@fyui001 fyui001 self-assigned this Nov 11, 2026
fyui001 and others added 3 commits November 11, 2026 17:38
@fyui001
fyui001 merged commit 58fc65c into master Nov 11, 2026
12 checks passed
@fyui001
fyui001 deleted the refactor/one-component-per-file branch November 11, 2026 08:55
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.

1 participant