本番デプロイ設定: SSL, Kamal, API環境変数化, テスト修正

This commit is contained in:
2026-02-21 23:45:12 +09:00
parent e90ea88758
commit 9626db3dcf
21 changed files with 226 additions and 78 deletions

View File

@@ -36,7 +36,7 @@
メンバー:
<% @active_members.each do |m| %>
<span class="ml-1 inline-flex items-center px-2 py-0.5 rounded text-xs font-medium border <%= power_color_class(m.power) %>">
<%= m.power %>
<%= m.display_name %>
</span>
<% end %>
</div>
@@ -69,7 +69,7 @@
<div class="flex-1 flex flex-col bg-white border border-gray-200 rounded-lg shadow-sm mr-4 overflow-hidden">
<!-- 投稿フォーム (上部に移動) -->
<% if @board.member?(@current_participant) && !@board.history_mode? %>
<% if @board.member?(@current_participant) && !@board.history_mode? && @game.status.in?(%w[power_selection in_progress]) %>
<div class="p-4 bg-gray-50 border-b border-gray-200">
<%= form_with model: [@game, @board, @new_post], local: true, class: "flex items-end space-x-2" do |f| %>
<div class="flex-1">
@@ -200,7 +200,7 @@
<li class="px-3 py-2 flex items-center justify-between text-sm">
<div class="flex items-center">
<span class="<%= 'line-through text-gray-400' if membership.left_at %>">
<%= membership.participant.power %>
<%= membership.participant.display_name %>
</span>
<% if membership.participant.user == current_user %>
<span class="ml-1 text-xs text-indigo-500">(YOU)</span>