Page MenuHomePhabricator

Title not being shown and placeholder text is getting cut
Closed, ResolvedPublicBUG REPORT

Description

IMPORTANT: Make sure to read the Outreachy participant instructions and communication guidelines thoroughly before commenting on this task. This space is for project-specific questions, so avoid asking questions about getting started, setting up Gerrit, etc. When in doubt, ask your question on Zulip first!

Steps to replicate the issue (include links if applicable):

  • Go to https://bub2.toolforge.org
  • Upload any book on any library which contains special characters or is more than 50 characters in length. For example, try to upload this book from PDL.

What happens?:

  • The message comes which says "The file you want to upload with title -" but the title is not displayed.
  • The placeholder text is also not displayed properly.
  • Enter an alphabet only identifier (no numbers), when prompted for a new unique identifier. The alphabet only identifier is not accepted. Instead, the prompt to enter a valid alphanumeric identifier is shown again.
    • Or even when the uploaded book has a valid alphabet only identifier, say, BookTItleFromIA, it prompts the user to enter a valid identifier

What should have happened instead?:

  • The title should be displayed properly.
  • The placeholder text should say "Enter valid identifier"
  • Alphabet only identifiers should be accepted if they pass the validation check (unique and less than 50 characters). Only otherwise should the prompt be displayed.

Other information (browser name/version, screenshots, etc.):

Screenshot 2023-10-11 at 10.05.27 AM.png (1×2 px, 251 KB)