Xa-el / FootyFriends

2 stars 3 forks source link

Unique Display Names with Constraints #14

Closed AntonCSalvador closed 4 months ago

AntonCSalvador commented 4 months ago

Unique Display Names with Constraints

Description

Objective

Implement functionality to ensure that user display names meet specific criteria:

Details

Currently, our system allows users to set their display names freely. However, we've identified the need to enforce stricter constraints on display names to enhance user experience and maintain consistency across the platform.

Requirements

  1. No Spaces: Display names should not contain any spaces. Users should be prompted to enter a name without spaces if they attempt to include them.
  2. No Symbols: Display names should not include any symbols. This includes special characters, punctuation, and emojis.
  3. Length Limit: Display names should be limited to a maximum of 16 characters. Longer names may be truncated to fit within this limit.
  4. Uniqueness: Each display name must be unique across the platform. Users should be notified if their chosen name is already in use and prompted to select a different one.

Proposed Implementation

Additional Considerations

Related Issues

AntonCSalvador commented 4 months ago

FInished