From d4a68c80bcc5aa09f571b7d056d8f29a6eedd544 Mon Sep 17 00:00:00 2001 From: "Paul Gauthier (aider)" Date: Sun, 13 Apr 2025 08:44:36 -0700 Subject: [PATCH] feat: Replace dropdown with segmented button group for view mode --- aider/website/docs/leaderboards/index.md | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) diff --git a/aider/website/docs/leaderboards/index.md b/aider/website/docs/leaderboards/index.md index e5b179006..07219898d 100644 --- a/aider/website/docs/leaderboards/index.md +++ b/aider/website/docs/leaderboards/index.md @@ -20,10 +20,10 @@ Aider works best with high-scoring models, though it [can connect to almost any
- +
+ + +
@@ -199,7 +199,9 @@ document.addEventListener('DOMContentLoaded', function() { const allMainRows = document.querySelectorAll('tr[id^="main-row-"]'); const allDetailsRows = document.querySelectorAll('tr[id^="details-"]'); const searchInput = document.getElementById('editSearchInput'); - const viewModeSelect = document.getElementById('view-mode-select'); // Get the dropdown + const modeViewButton = document.getElementById('mode-view-btn'); + const modeSelectButton = document.getElementById('mode-select-btn'); + const modeButtons = [modeViewButton, modeSelectButton]; const selectAllCheckbox = document.getElementById('select-all-checkbox'); function applySearchFilter() {