Skip to content

Add swap button for version selectors in Compare Versions - #75

Open
aas008 wants to merge 1 commit into
openshift-psap:mainfrom
aas008:feat/swap-versions-button
Open

Add swap button for version selectors in Compare Versions#75
aas008 wants to merge 1 commit into
openshift-psap:mainfrom
aas008:feat/swap-versions-button

Conversation

@aas008

@aas008 aas008 commented Aug 7, 2026

Copy link
Copy Markdown
Collaborator

Summary

  • Adds a ⇄ swap button between Version 1 (Baseline) and Version 2 (Comparison) dropdowns in the Compare Versions section
  • Clicking the button swaps the two selected versions instantly via session state

Closes #49

Test plan

  • Open Compare Versions, select two versions, click ⇄ — versions swap
  • Verify the swap button aligns vertically with the dropdowns
  • Verify GPU and Profile selectors are unaffected

🤖 Generated with Claude Code

Adds a ⇄ button between Version 1 and Version 2 dropdowns to quickly
swap the baseline and comparison versions.

Closes openshift-psap#49

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
@coderabbitai

coderabbitai Bot commented Aug 7, 2026

Copy link
Copy Markdown
Contributor

Warning

Review limit reached

@aas008, you've reached your PR review limit, so we couldn't start this review.

Next review available in: 53 minutes

You've used all free OSS reviews for now. Wait for the free limit to reset to keep reviewing this public repository.

How can I continue?

After more reviews become available, a review can be triggered using the @coderabbitai review command as a PR comment. Alternatively, push new commits to this PR.

To avoid repeated limits, reduce automatic review volume by pausing incremental auto-reviews earlier, using label-based review opt-in, excluding WIP or generated PR titles, or requesting reviews manually when the PR is ready. If your team needs uninterrupted high-volume reviews, an organization admin can enable usage-based reviews.

How do review limits work?

CodeRabbit enforces per-developer PR review limits for each organization. Most developers receive the normal plan review availability.

For paid Pro and Pro+ PR reviews, CodeRabbit uses adaptive limits for sustained high-volume activity. When a developer's recent PR review activity reaches the 95th percentile or higher among CodeRabbit users, additional reviews become available more gradually as earlier reviews age out of the rolling window.

Please refer docs for additional details.

Review details
⚙️ Run configuration

Configuration used: defaults

Review profile: CHILL

Plan: Pro Plus

Run ID: 12882583-c872-403d-8d10-a9b874e76dd4

📥 Commits

Reviewing files that changed from the base of the PR and between 7100702 and 1a5b326.

📒 Files selected for processing (1)
  • dashboard.py

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands.

@codecov-commenter

Copy link
Copy Markdown

⚠️ Please install the 'codecov app svg image' to ensure uploads and comments are reliably processed by Codecov.

Codecov Report

❌ Patch coverage is 0% with 10 lines in your changes missing coverage. Please review.
⚠️ Please upload report for BASE (main@7100702). Learn more about missing BASE report.

Files with missing lines Patch % Lines
dashboard.py 0.00% 10 Missing ⚠️
❗ Your organization needs to install the Codecov GitHub app to enable full functionality.
Additional details and impacted files
@@          Coverage Diff           @@
##             main     #75   +/-   ##
======================================
  Coverage        ?   3.46%           
======================================
  Files           ?       8           
  Lines           ?    8378           
  Branches        ?       0           
======================================
  Hits            ?     290           
  Misses          ?    8088           
  Partials        ?       0           
Flag Coverage Δ
unittests 3.46% <0.00%> (?)

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Harness.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

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.

feat. Switch option while selecting versions in compare versions tab

2 participants