Skip to content

Refresh circuit SBOL components after imports - #12

Draft
marpaia wants to merge 1 commit into
masterfrom
marpaia/6
Draft

Refresh circuit SBOL components after imports#12
marpaia wants to merge 1 commit into
masterfrom
marpaia/6

Conversation

@marpaia

@marpaia marpaia commented Jul 26, 2026

Copy link
Copy Markdown
Collaborator

Summary

  • Use the canonical SBOL v3 Component class IRI.
  • Load every page of matching components instead of stopping after the first page.
  • Emit an SBOL data-change event after imports and reload the Circuit assembly picker automatically.
  • Keep the manual refresh action available.

Root cause and impact

The Circuit sidebar used an incorrect HTTPS class IRI, loaded only one page, and held a stale component list after the initial render. Newly imported components could therefore remain unavailable until unrelated state changed.

The assembly picker now reflects newly imported SBOL components without requiring an app restart.

Validation

  • pnpm --dir apps/desktop lint
  • pnpm --dir apps/desktop build

Fixes #6

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Circuit UI sidebar can't find newly uploaded SBOL components

1 participant