Repository navigation
IS-K1: RAVE credit declared once, with notices file - #549
Merged
neuromechanist merged 8 commits intoNov 18, 2026
Merged
Conversation
Deploying nemar-website with
|
| Latest commit: |
71ccc66
|
| Status: | ✅ Deploy successful! |
| Preview URL: | https://6f0b6de4.nemar-website.pages.dev |
| Branch Preview URL: | https://feat-is-k1-credit.nemar-website.pages.dev |
Contributor
Author
|
Review round 1 (Sonnet, project:pr-review-toolkit) fixed on head 4157463: creditLinkSpec with aria-label, underline at rest, paintCredit and layout margin tests, DOI relation and attribute-escape tests, CSS focus and token tests, broader wording scan, notices reworded to state the rule rather than unlanded code. Gates rerun: typecheck 0 errors, lint clean, bun run test src/lib/ieeg-spatial 167 passed. Pending: the Louis Collins grep until IS-T1 merges. CI not run, manager reads gh pr checks. |
neuromechanist
merged commit Nov 18, 2026
5b10523
into
feature/issue-537-epic-spatial
5 checks passed
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.
Card IS-K1. Part of #537.
What changed
src/lib/ieeg-spatial/credit.ts: the RAVE credit declared once ("Electrode view inspired by RAVE",https://rave.wiki, the RAVE paper's DOI in the title), with its three forms:creditLink(live anchor, attribute mapcreditLinkAttributestestable without a DOM),paintCredit(canvas, bottom-right, 11 CSS pixels times the device pixel ratio, returns the box) andcreditSvg(<a href>around<text>plus<metadata>with credit, address and DOI). Both painters share the purecreditLayout.src/styles/eeg-viewer.css: the.eegv-creditclass only, token colors, visible focus ring.THIRD_PARTY_NOTICES.md: "Required" (MNI template notice by reference, BIDS validator bundle) separate from "Acknowledged" (RAVE, with citation, stating no RAVE code or data ships).credit.tsalone.Gates run
bun install --frozen-lockfile: no changes.bun run typecheck: 0 errors, 0 warnings, 19 hints (pre-existing).bun run lint: "Checked 431 files. No fixes applied."bun run test src/lib/ieeg-spatial: 6 files, 157 tests passed.THIRD_PARTY_NOTICES.md: all three commands print nothing.noopener; omit<metadata>; ignore the ratio; copy the sentence into another source file; plus SVG anchorreland a hard-coded CSS color), reverted, tree clean.rave.wikiand the DOI resolve (GET, HTTP 200 after redirects).Not run
gh pr checks.grep -rn "Louis Collins" public/vendor/brain-templates: pending until IS-T1 merges (the directory does not exist yet).Review round 1 (head 71ccc66)
Fixed: link target is 24 px tall (
min-block-size,inline-flex; painters stay 11 px); the notices no longer quote the sentence, and the declared-once scan now covers them; creditLinkSpec witharia-label, underline at rest, paintCredit and margin tests, DOI relation and attribute-escape tests.Gates at 71ccc66: typecheck 0 errors, lint "No fixes applied",
bun run test src/lib/ieeg-spatial168 passed, leak check silent.Notes
grep -rn "Louis Collins" public/vendor/brain-templatesand the vendored-template paths named inTHIRD_PARTY_NOTICES.md.hrefwithoutxlink:href, fine in modern browsers and Inkscape 1.x, while old editors may drop the link. The backing width comes from a 0.58 em per glyph estimate (cosmetic; the text is right-anchored).Math.max(0, ...)increditLayoutis intentional defensive code: a canvas smaller than the margins gives an empty box, never a negative size.