internetarchive / internetarchive/openlibrary
Add validation when creating a list of books
- Dominant language
- Python
- Stars
- 6.7k
- Forks
- 2k
- Avg merge
- 2d 19h
- Merged PRs (30d)
- 138
Description
### Evidence / Screenshot (if possible)

### Relevant url?
```
/people/openlibrary/lists
```
### Steps to Reproduce
1. Create a list with a title with more than 255 character, for example
2. Then go to your lists view
* Actual: List title breaks the page style
* Expected: Title to be less than 255 char or front-end not breaking the page
### Details
- **Logged in (Y/N)?** Y
- **Browser type/version?** Chrome Version 112.0.5615.165 (Official Build) (64-bit)
- **Operating system?** Ubuntu
- **Environment (prod/dev/local)?** dev/local
### Proposal & Constraints
Check the title length on both back end and front end to prevent this type of input from the user
### Related files
### Stakeholders
@gojomo
@anandology
Contributor guide
Research direction
Start at /people/openlibrary/lists and reproduce the issue by creating a list with a title longer than 255 characters. The issue provides no related files, so trace the list-creation flow on both the front end and back end. Done means overly long titles are prevented or displayed without breaking the page.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- python
- Domain
- full-stack
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100