Skip to content

Fix/start debate button inside bot selection page - #563

Open
insanekrishnna wants to merge 1 commit into
AOSSIE-Org:mainfrom
insanekrishnna:fix/start-new-debate-btn-inside-bot
Open

insanekrishnna wants to merge 1 commit into
AOSSIE-Org:mainfrom
insanekrishnna:fix/start-new-debate-btn-inside-bot

Conversation

@insanekrishnna

@insanekrishnna insanekrishnna commented Sep 17, 2026

Copy link
Copy Markdown
Contributor

Addressed Issues

Fixes #550

Changes

Updated the Bot Selection Start Debate button to use the existing theme-aware Button styling.

  • Removed the hard-coded orange background and white text.
  • Preserved the orange background and white text in Light Theme.
  • Preserved the orange background and white text in Dark Theme.
  • Applied the expected yellow background and black text in High-Contrast Theme.
  • Reused the existing primary and primary-foreground theme tokens.

Testing

  • Confirmed the button uses the shared default Button variant.
  • Ran git diff --check successfully.
  • Confirmed only frontend/src/Pages/BotSelection.tsx was changed.
  • Confirmed no unrelated functional changes were introduced.

Screenshots/Recordings

Before

The Start Debate button remained orange with white text in High-Contrast Theme.

start_debate_btn_color.mp4

After

The Start Debate button follows the active theme, including a yellow background with black text in High-Contrast Theme.

sol_start_debate_bot.mp4

@coderabbitai

coderabbitai Bot commented Sep 17, 2026

Copy link
Copy Markdown

Warning

Review limit reached

Next included review available in 54 minutes.

Check out review usage here.

View limit details

Limit details: You’ve used the included review currently available.

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

Learn how review limits work.

Review configuration:

⚙️ Run configuration

Configuration used: Organization UI

Review profile: CHILL

Plan: Advanced

Run ID: 794c89e9-5f57-4324-add8-d36db27d5a90

📥 Commits

Reviewing files that changed from the base of the PR and between 9f90f9b and 2955d0e.

📒 Files selected for processing (1)
  • frontend/src/Pages/BotSelection.tsx

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.

@insanekrishnna insanekrishnna changed the title Fix/start new debate button inside bot selection page Fix/start debate button inside bot selection page Sep 17, 2026
@Ri1tik

Ri1tik commented Sep 18, 2026

Copy link
Copy Markdown
Contributor

Why so much line of code change is needed for this minor improvement??

@insanekrishnna
insanekrishnna force-pushed the fix/start-new-debate-btn-inside-bot branch from 21c4342 to 2955d0e Compare September 18, 2026 12:19
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.

[BUG]: Start Debate button does not follow High-Contrast theme styling

2 participants