abaiao-r / ft_transcendence

Website with a real-time multiplayer Pong contest with Python (Django) backend, JavaScript (Bootstrap Toolkit) frontend, and various modules for enhanced features like tournaments, blockchain integration, AI opponents, and more.
6 stars 2 forks source link

Tournament Options UI Revamp #65

Closed IcQuackson closed 5 months ago

IcQuackson commented 5 months ago

Problem: The current Tournament Options UI may be confusing to users:

  1. Users must identify the host with a checkbox.
  2. Errors arise from combinations with the isAI checkbox.
  3. Errors appear only after clicking "Start Tournament," creating a barrier.

Proposed Solution:

  1. Visibly lock a player card for the host (no need to use the term "host," just indicate the host player).
  2. Keep allowing the host to change the display name.
  3. Replace the isAI checkbox with a more user-friendly option (I suggest the Segment Control component like the picture). image

Implementing these changes will turn tournament options error handling obsolete.

abaiao-r commented 5 months ago

Done.