Skip to content

🖥️ Frontend Issue — Add IGSN (International Generic Sample Number) Minting Support in SEPIA UI

🎯 Goal

Allow users to mint and view International Generic Sample Numbers (IGSNs) directly from the SEPIA interface. Users should be able to initiate minting, view registration status, and see IGSN details within the sample record.


🧩 Implementation Details

1. UI Updates

  • Add a “Mint IGSN” action:

    • Available in Sample Detail View.
    • Optionally visible in the Sample List for samples without an IGSN.
  • Once minted, display:

    • IGSN ID (copyable and linked to DataCite record if applicable).
    • Status: Pending, Minted, Registered, or Failed.
    • Registration Date.

2. API Integration

  • Call the new backend endpoint:

    POST /sample/{id}/mint_igsn
  • Handle:

    • Loading and success notifications.
    • Error responses gracefully (e.g., metadata incomplete).
    • Disable minting for samples already registered.

3. Visual Enhancements

  • Display IGSN as a badge or labeled field in the sample header.

  • Add tooltip explaining IGSN:

    “International Generic Sample Number — a globally unique and persistent identifier for physical samples.”


🧪 Testing

  • “Mint IGSN” button available only for eligible samples.
  • Successful minting updates UI immediately.
  • Errors (e.g., incomplete metadata) are displayed clearly.
  • IGSN visible and copyable after registration.
  • Consistent across detail and list views.

🏷️ Labels

frontend feature igsn datacite sample priority::high