Skip to content

Aproach #1 - #1

Open
PascalOrdano18 wants to merge 3 commits into
eordano:mainfrom
PascalOrdano18:feat/separate-compare-modes
Open

Aproach #1 #1
PascalOrdano18 wants to merge 3 commits into
eordano:mainfrom
PascalOrdano18:feat/separate-compare-modes

Conversation

@PascalOrdano18

Copy link
Copy Markdown

No description provided.

PascalOrdano18 and others added 3 commits February 25, 2026 20:04
- Add two distinct compare modes with separate buttons:
  - "Compare two texts": different texts, same model for both panels
  - "Compare two models": same text (readonly), different models per panel

- Compare two texts mode:
  - Single model selector (panel A only) applies to both panels
  - Shows token diff summary with Original/Modified counts
  - Removed diff card (word-level diff visualization)

- Compare two models mode:
  - Two model selectors (one per panel) for different tokenizers
  - Shows "Claude 184 → Gemini 149 (-35)" format
  - Panel B is readonly with synced text

- UI improvements:
  - Both compare buttons now have same primary styling
  - Removed panel titles in both modes
  - Model selectors moved to panel headers with proper z-index

- Updated URL sharing to support mA/mB model parameters
- Updated tests for new behavior

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
- Remove unused computeDiff import from diff.js
- Remove unused DOM references for diff card elements
- Remove unused .compare-btn-secondary CSS class

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
- Remove diff card HTML from index.html
- Remove diff card CSS styles
- Remove diffCard DOM references and renderDiffCard function
- Update tests to remove diff-card assertions

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant