Repository navigation
Phase 1: directory-format recording viewer rows - #257
Merged
neuromechanist merged 2 commits intoSep 1, 2026
Merged
neuromechanist merged 2 commits into
neuromechanist merged 2 commits into
Conversation
Directory-keyed recordings (MEF3 .mefd, CTF .ds) render as hybrid rows: the name is the same eeg preview button a signal file gets, the chevron still expands member files. Extensionless directory recordings (4D/BTi) are upgraded at zarr-annotate time from the index's store paths. Dir recordings get a browse fallback instead of a download link. Tested: bun run test (1085 passing, new signalDirExt + renderer cases), typecheck, lint, build all green.
Deploying nemar-website with
|
| Latest commit: |
bfb17d3
|
| Status: | ✅ Deploy successful! |
| Preview URL: | https://6be5326d.nemar-website.pages.dev |
| Branch Preview URL: | https://feature-issue-252-phase1-dir.nemar-website.pages.dev |
Review findings on PR #257, all addressed: - Hybrid dir rows no longer nest the viewer button in <summary> (inconsistent AT exposure); expand toggle and viewer button are sibling <button>s, lazy expansion driven by a data-dir-toggle delegate sharing loadDirChildren with the details path. - Dir-recording fallback no longer links to raw listing JSON; copy points at the row's expand arrow. - Extensionless (BTi) upgrades also fire for index failures so a known-unconvertible recording shows its reason. - upgradeDirRecordingRow warns on structural-assumption breaks. - og-image.png build artifact dropped from the diff; chunk-reveal path covered by a test. Tested: 1087 vitest, typecheck, lint, build green.
Contributor
Author
|
Sonnet review agent findings, all addressed in 8c28b67:
Minor items: og-image.png build artifact reverted; renderDirChunkRows covered with a .mefd case; the missing format badge on JS-upgraded BTi rows is deliberate (no name-derived format string exists) and now documented in a comment. |
neuromechanist
merged commit Sep 1, 2026
d3617cf
into
feature/issue-256-epic-viewer-workbench
5 checks passed
This was referenced Sep 1, 2026
Closed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Website half of #252: MEF3 iEEG (
.mefd/) and CTF MEG (.ds/) recordings are directories in BIDS, so the tree never offered the signal viewer for them. They now render as hybrid rows: the name is the samedata-preview-type="eeg"button a signal file row gets (viewer, availability annotate, hover prefetch, enlarge all reuse the existing flow), while the chevron/summary still expands the member files. Extensionless directory recordings (4D/BTi) are upgraded at annotate time from the zarr index's store paths, mirroring the producer's content-keyed detection. Directory recordings get a "browse the files" fallback instead of a misleading single-file download link.Part of epic #256. Backend backfill for on004696 stores is nemarOrg/nemar-cli#1172.
Test plan
bun run test— 1085 passing (newsignalDirExtcases + renderer hybrid-row cases)bun run typecheck,bun run lint,bun run buildgreen