Repository navigation
Description
Problem
Lit maps a camelCase property to an all-lowercase attribute unless the
decorator names one (attribute: "run-id"). So runId listens to
runid, not run-id. Every component property below has this
behaviour on dev (efda2a5, 2026-11-30). In plain HTML the kebab-case
attribute that the docs show does nothing.
Example: the WES run docs (apps/documentation/pages/docs/wes/components/run.mdx,
HTML tab) set run-id="placeholder-run-id", but the element never
sees that ID. React wrappers and property bindings (.runId=) work,
because they set the property.
The same happens with service-id (service-registry service.mdx,
cloud-registry service-verification.mdx), page-size
(service-registry services.mdx) and tool-id (trs tool.mdx).
Affected properties (on dev)
| Package | Component | Properties |
|---|---|---|
| ecc-client-ga4gh-wes | run | baseUrl, runId |
| ecc-client-ga4gh-wes | runs | baseUrl, pageSize |
| ecc-client-ga4gh-wes | run-create | baseUrl, defaultWorkflowType, allowFileUpload, defaultParams |
| ecc-client-ga4gh-tes | run | baseUrl, runId |
| ecc-client-ga4gh-tes | runs | baseUrl, pageSize |
| ecc-client-ga4gh-tes | run-create | baseUrl |
| ecc-client-ga4gh-drs | object | baseUrl, objectId |
| ecc-client-ga4gh-drs | objects-list | baseUrl, pageSize |
| ecc-client-ga4gh-trs | tool | baseUrl, toolId, toolUrl |
| ecc-client-ga4gh-trs | tools | baseUrl, pageSize |
| ecc-client-ga4gh-service-registry | service, services, service-info, service-types | baseUrl, serviceId (service) |
| ecc-client-elixir-cloud-registry | services, service-create, service-verification | baseUrl |
| ecc-client-elixir-drs-filer | object-create | baseUrl |
| ecc-client-elixir-trs-filer | tool-create | baseUrl |
| ecc-utils-design | pagination | isActive |
Proposed fix
- Add
attribute: "<kebab-case>"to each of these decorators, for
example@property({ type: String, reflect: true, attribute: "run-id" }) runId = "";. - Add one test per component that sets the kebab-case attribute in HTML
and checks the property. - Add a lint rule or a unit test over the custom elements manifest
that fails when a camelCase property has no explicit attribute. - Changeset: a fix for each affected package. This is not breaking:
the old all-lowercase attributes (runid) were never documented. If
anyone may rely on them, keep them for one release.
Note
The WES run fix (runId → run-id) comes with the I/O Schema
integration branch feat/io-schema (via #615, not merged yet). This issue covers the
rest, and the WES fix on dev when feat/io-schema merges.
Activity