Skip to content

Autodetect ID #11428

@bitnapper

Description

@bitnapper

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 <input id="id-value" in an edition or work and see.

It would be nice to have the same autodetection for these kind of IDs.

Reproducing the bug

  1. Go to ...
  2. Do ...
  • Expected behavior:
  • Actual behavior:

Context

  • Browser (Chrome, Safari, Firefox, etc):
  • OS (Windows, Mac, etc):
  • Logged in (Y/N):
  • Environment (prod, dev, local): prod

Breakdown

Requirements Checklist

  • [ ]

Related files

Stakeholders


Instructions for Contributors

  • Please run these commands to ensure your repository is up to date before creating a new branch 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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Lead: @cdriniIssues overseen by Drini (Staff: Team Lead & Solr, Library Explorer, i18n) [managed]Needs: BreakdownThis big issue needs a checklist or subissues to describe a breakdown of work. [managed]Priority: 3Issues that we can consider at our leisure. [managed]Type: BugSomething isn't working. [managed]

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions