Dataset page: machine-use block becomes an endnote - #302
Merged
Conversation
Deploying nemar-website with
|
| Latest commit: |
0d42c3c
|
| Status: | ✅ Deploy successful! |
| Preview URL: | https://358d5008.nemar-website.pages.dev |
| Branch Preview URL: | https://feature-issue-300-machine-en.nemar-website.pages.dev |
This was referenced Sep 5, 2026
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.
Closes #300
Summary
src/components/UseThisData.astro, rendered fromsrc/pages/dataset/[id].astro) from a bordered/elevated card to a plain endnote under a hairline rule.--fs-xlsemibold to--fs-smmedium; the hint drops from--fs-smto--fs-xs. Both are now below--fs-base, matching the body text the block already used.background: var(--color-bg-elevated),border,border-radius) is replaced with a singleborder-tophairline rule, so the collapsed line reads as a footnote to the page rather than another content card competing with the README/BidsTree cards above it./dataset/<id>.md) — only CSS hierarchy/size. The block is still a native<details>/<summary>, still collapsed by default (noopenattribute, no persisted state), and still sits last in the content column (unchanged from Collapse and demote the agent usage block (v0.2.6 regression) #297).Why
Companion to nemarOrg/nemar-cli#1250 / website#300: #297 already fixed placement (collapsed, moved to the end of the column) but left the collapsed summary styled like a headline on an elevated card, so it still visually competed with human-facing content even though it no longer pushed anything down the page. This PR only changes hierarchy/size, not placement or content.
Testing
bunx biome check src/components/UseThisData.astro test/use-this-data-placement.test.ts— cleanbun run test— 72 files / 1693 tests pass, including 3 new + 5 existing placement/sizing guards intest/use-this-data-placement.test.ts--fs-xlmakes the new test fail as expected, confirming it isn't a false-positive passbun run typecheck(astro check) — 0 errors (pre-existing unrelated hints only)NEMAR_SKIP_OG_GENERATE=1 bun run build— succeedstokens.cssloaded in headless Chromium: collapsed and expanded states in both light and dark theme, plus a 375px-wide viewport — endnote reads as subordinate to the README card, text remains legible, rows stack to one column, and commands stay selectable/copyable when expandedNotes / open question
The component currently has no dedicated "Copy" button — commands are rendered as plain
<code>text (still selectable/copy-pasteable by hand), unlike the button pattern used inActionBar.astro/CiteExport.astroelsewhere on the page. Per the instruction to change hierarchy/placement/size only, I did not add new copy-button UI here. Flagging in case the intent for #300 was also to add a dedicated copy affordance to this block — happy to follow up in a separate PR if so.