Skip to content

[BUG]: Blank page displayed after debate vs bot ends instead of showing result or redirecting #347

Description

@spinola103

Bug Description

issue title - Blank page displayed after debate vs bot ends instead of showing result or redirecting

issue imp - minor UX bug

Description:
While testing the DebateAI application locally, I noticed that after a debate against a bot finishes, the application redirects to a blank page instead of displaying the debate result.

Currently, the user has to manually click the browser back button and navigate to their profile or debate history to see the result.

Expected Behaviour:
After the debate ends, the application should either:
• Display a result screen (Win/Loss/Score), or
• Automatically redirect the user to the debate results page or profile page.

Actual Behaviour:
The application navigates to a blank page (no UI elements rendered).

Steps to Reproduce

Steps to Reproduce:

  1. Start a debate against a bot
  2. Complete the debate
  3. Observe that the page redirects to a blank screen

Logs and Screenshots

Image

Environment Details

Tested locally after setting up the DebateAI project.

Suggested Fix:
Handle the navigation after debate completion by redirecting to the results page or rendering a result component.

Hey @bhavik-mangla , I would like to work on fixing this issue. Kindly assign it to me if approved.

Impact

Medium - Feature works but has issues

Code of Conduct

  • I have joined the Discord server and will post updates there
  • I have searched existing issues to avoid duplicates

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions