You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Close the branch arms left in the dataset explorer components #7832
Two files in the user-dataset explorer are high on statements but weak on branches and functions:
File
Coverage
dataset-detail.component.ts
93.1% — 5 missed lines + 24 partial
user-dataset-version-creator.component.ts
88.3% — 5 missed + 2 partial
Both templates were taken to 100% in merged PRs #7681 and #7772, which lifted these .ts files as a side effect — so what is left is branch arms and uncalled handlers, not whole untested regions. The 24 "partial" lines on dataset-detail are exactly the 24 distinct source lines carrying a missed branch arm.
Neither is an instance of #7458 (no TestBed.overrideComponent in either spec) — the non-zero percentages already imply that.
Two things to know before starting:
One of the version-creator's 5 missed lines is dead code.get formControlNames(): string[] — grep -rn formControlNames frontend/src returns exactly one hit, its own declaration. No template and no TypeScript references it. Do not cover it; deleting the getter is a separate production change.
dataset-detail.component.html:593's [disabled] binding does work, contrary to an earlier report. NgModel routes it through control.disable(), deferred to a microtask, so the DOM lags one turn behind detectChanges(). Asserting immediately reads the stale value and invites the wrong conclusion.
It looks like the issue description doesn't quite follow our template yet:
This issue doesn't appear to use one of our templates (Bug, Feature, or Task). Please open it using a template so the required details are captured.
Filling out the template helps reviewers understand and triage your contribution faster. Please edit the description to complete it. This message will disappear automatically once the template is followed.
You can find the template prompts by editing the description, or see CONTRIBUTING.md for the full contribution flow.
Activity
github-actions commentedon Aug 22, 2026
👋 Thanks for opening this issue, @aglinxinyuan!
It looks like the issue description doesn't quite follow our template yet:
Filling out the template helps reviewers understand and triage your contribution faster. Please edit the description to complete it. This message will disappear automatically once the template is followed.
You can find the template prompts by editing the description, or see CONTRIBUTING.md for the full contribution flow.
test(frontend): close the branch arms left in the dataset explorer co…