From 3cd5cca9d013c07011710222224c7f4c5dd9b291 Mon Sep 17 00:00:00 2001 From: moozzi Date: Thu, 3 Sep 2026 08:07:18 +0200 Subject: [PATCH] Remove `activity-types` class from `_commit_table` --- app/views/shared/profile/_commit_table.html.slim | 2 +- spec/requests/team_commits_spec.rb | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/app/views/shared/profile/_commit_table.html.slim b/app/views/shared/profile/_commit_table.html.slim index 7e8303d4..df58a271 100644 --- a/app/views/shared/profile/_commit_table.html.slim +++ b/app/views/shared/profile/_commit_table.html.slim @@ -17,7 +17,7 @@ - commit_rows.each do |row| - commit = row[:commit] tr - td.activity-types + td - if show_members - row[:member_credits].each do |credit| - member_alias = credit[:person].default_alias diff --git a/spec/requests/team_commits_spec.rb b/spec/requests/team_commits_spec.rb index f6cd8964..1465c610 100644 --- a/spec/requests/team_commits_spec.rb +++ b/spec/requests/team_commits_spec.rb @@ -113,7 +113,7 @@ def attach_verified_alias(user, email:, name: 'Member') rows = doc.css('table.commit-activity-table tbody tr') expect(rows.size).to eq(1) - credits = rows.first.css('td.activity-types .commit-member-credit') + credits = rows.first.css('td .commit-member-credit') expect(credits.size).to eq(2) # one tuple per member: separate per-attribute lists would still pass if