internetarchive / internetarchive/openlibrary
Autodetect ID
- Dominant language
- Python
- Stars
- 6.7k
- Forks
- 2k
- Avg merge
- 2d 19h
- Merged PRs (30d)
- 138
Description
### Feature Request
Make it so the books page auto-magically detects ID types like the Author page
### Problem
When inserting an ID for Wikidata or ISNI on an author one does not have to select Wikidata or ISNI first. One can just insert tthe ID and the IT-Type is automatically detected and set. It's nice and convenient. But that is not available for Edition or Works.
Just try a random wikidata ID like Q12345 and paste it into an id field `
#### Requirements Checklist
* [ ]
#### Related files
*
#### Stakeholders
*
#### Instructions for Contributors
- Please [run these commands](https://github.com/internetarchive/openlibrary/wiki/Git-Cheat-Sheet#working-on-your-branch) to ensure your repository is up to date **before** [creating a new branch](https://github.com/internetarchive/openlibrary/wiki/Git-Cheat-Sheet#making-changes-and-creating-a-pull-request) to work on this issue and **each time after** pushing code to Github, because the pre-commit bot may add commits to your PRs upstream.
Contributor guide
Research direction
Compare the existing author-page ID autodetection with the edition and work ID inputs, including ``; start by tracing the author-page behavior and then its edition/work counterparts. Done means pasting a Wikidata ID such as Q12345 into an edition or work field automatically detects and sets the ID type without manual selection.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- python
- Domain
- frontend
- Issue type
- Feature
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 45/100