Closed sivangbagri closed 4 weeks ago
Latest commit: e811aebad013bfcb3babbef302fd4ebc4038b84b
Merging this PR will not cause a version bump for any packages. If these changes should not result in a new version, you're good to go. If these changes should result in a version bump, you need to add a changeset.
Click here to learn what changesets are, and how to add one.
Click here if you're a maintainer who wants to add a changeset to this PR
The latest updates on your projects. Learn more about Vercel for Git ↗︎
Name | Status | Preview | Comments | Updated (UTC) |
---|---|---|---|---|
elixir-cloud-components | ✅ Ready (Inspect) | Visit Preview | 💬 Add feedback | Oct 30, 2024 2:21pm |
This PR implements RO-Crate contextual entities by introducing a new web component that handles the "About" section of RO-Crate metadata. The component is built using LitElement and provides a tabbed interface for managing different aspects of the metadata including basic information, related entities (people/organizations), and structure.
classDiagram
class ECCClientRoCrateAbout {
-activeTab: number
+_switchTab(index: number): void
+render(): any
AboutFields: Field[]
RelatedPeopleFields: Field[]
StructureFields: Field[]
}
class Field {
+key: string
+label: string
+type: string
+fieldOptions: object
+arrayOptions: object
+children: Field[]
}
ECCClientRoCrateAbout --> Field
note for ECCClientRoCrateAbout "This class represents a web component for managing RO-Crate metadata with a tabbed interface."
Change | Details | Files |
---|---|---|
Implementation of a new web component for RO-Crate metadata management |
|
packages/ecc-client-elixir-ro-crate/src/components/about/about.ts |
Added support for person and organization entities |
|
packages/ecc-client-elixir-ro-crate/src/components/about/about.ts |
Added demo pages for testing and showcase |
|
packages/ecc-client-elixir-ro-crate/demo/about/index.html packages/ecc-client-elixir-ro-crate/demo/index.html |
Set up component registration and type definitions |
|
packages/ecc-client-elixir-ro-crate/src/components/about/index.ts |
Closing this due to some consistency error
Description
Continuing https://github.com/elixir-cloud-aai/cloud-components/pull/370. This PR adds contextual entities(Person, Organisation) to RO-Crate.
Checklist
Comments
Summary by Sourcery
New Features: