From 1a080ba71ce96894e35de3ac65723f73a8386536 Mon Sep 17 00:00:00 2001 From: "Paul Gauthier (aider)" Date: Sun, 13 Apr 2025 13:43:32 -0700 Subject: [PATCH] feat: Remove numeric labels below cost bars in leaderboard table --- aider/website/_includes/leaderboard_table.js | 9 +-------- aider/website/docs/leaderboards/index.md | 10 ---------- 2 files changed, 1 insertion(+), 18 deletions(-) diff --git a/aider/website/_includes/leaderboard_table.js b/aider/website/_includes/leaderboard_table.js index 201c51678..8259f920f 100644 --- a/aider/website/_includes/leaderboard_table.js +++ b/aider/website/_includes/leaderboard_table.js @@ -267,14 +267,7 @@ document.addEventListener('DOMContentLoaded', function() { tick.className = 'cost-tick'; tick.style.left = `${percent}%`; - // Add dollar amount labels to the ticks - if (index % 2 === 0) { // Only label every other tick to avoid crowding - const label = document.createElement('div'); - label.className = 'cost-tick-label'; - label.textContent = '$' + tickValues[index]; - label.style.left = `${percent}%`; - cell.appendChild(label); - } + // No dollar amount labels cell.appendChild(tick); } diff --git a/aider/website/docs/leaderboards/index.md b/aider/website/docs/leaderboards/index.md index aa8abc510..f7aa8e1c7 100644 --- a/aider/website/docs/leaderboards/index.md +++ b/aider/website/docs/leaderboards/index.md @@ -171,16 +171,6 @@ human intervention. background-color: rgba(170, 170, 170, 0.5); z-index: 2; /* Above the bar but below the text */ } - .cost-tick-label { - position: absolute; - top: 50%; - transform: translateY(20px); - font-size: 10px; - color: #666; - z-index: 2; - text-align: center; - margin-left: -10px; - } .cost-tear-marker { position: absolute; left: 90%; /* Position at 90% (around $45) */