refactor: BoardAccessible concernを導入し、ボード関連コントローラを整理、ターン表示ロジックをTurnモデルへ移動し、ボード提案表示をコントローラで処理するよう変更
Some checks failed
CI / scan_ruby (push) Has been cancelled
CI / scan_js (push) Has been cancelled
CI / lint (push) Has been cancelled
CI / test (push) Has been cancelled
CI / system-test (push) Has been cancelled

This commit is contained in:
2026-02-19 22:46:24 +09:00
parent bb9ec2df1d
commit e90ea88758
9 changed files with 70 additions and 136 deletions

View File

@@ -65,7 +65,6 @@
</div>
<div class="flex flex-1 overflow-hidden">
<!-- 左: チャットエリア -->
<!-- 左: チャットエリア -->
<div class="flex-1 flex flex-col bg-white border border-gray-200 rounded-lg shadow-sm mr-4 overflow-hidden">
@@ -120,7 +119,7 @@
条約・提案
</div>
<div class="p-3 space-y-3">
<% @board.board_proposals.order(created_at: :desc).each do |proposal| %>
<% @proposals.each do |proposal| %>
<div class="border rounded p-2 text-sm <%= proposal.status == 'accepted' ? 'bg-green-50 border-green-200' : (proposal.status == 'rejected' ? 'bg-red-50 border-red-200' : 'bg-white border-gray-200') %>">
<div class="flex justify-between items-start mb-1">
<div>