Skip to content

Release v0.2.2: drop the Community placeholder, mark outbound links - #225

Merged
neuromechanist merged 5 commits into
mainfrom
staging
Jul 31, 2026
Merged

neuromechanist merged 5 commits into
mainfrom
staging

Conversation

@neuromechanist

Copy link
Copy Markdown
Contributor

Promotes staging to production. Prepared with Prepare release (0.2.2-dev1 -> 0.2.2), so production never serves a -devN version and test.nemar.org has already redeployed with this exact artifact.

test.nemar.org: 0.2.2+5c58947b. Production: 0.2.1+97fffd33.

What ships

Community is gone (#222, PR #224)

The nav entry, the footer's "Forum" link, and src/pages/community.astro are removed. The page was a placeholder saying a forum "will land in Phase 4" and pointing people at github.com/nemarDatasets in the meantime — a top-level nav slot spent on a surface with nothing behind it.

The footer column is renamed Community -> Project, because it still holds About and Support and those are real; removing the column outright would have taken two working links with it.

/community now 404s. It was a stub with no inbound links from elsewhere on the site, so the exposure is bookmarks.

The need it was standing in for — per-dataset discussion — is tracked as #223 with its backend in nemar-cli#1043, now specified as a read-only mirror of each dataset repository's GitHub issues, populated by GitHub App webhooks with a daily reconcile.

Outbound links open in a new tab, behind a 45-degree arrow

New src/components/ExternalLink.astro, used for every nav and footer link that leaves nemar.org: the citation dashboard, the docs site, the Data column's three hosts, both GitHub organizations, and the Astro / Cloudflare Pages attribution.

Deliberately not applied to every rel="external" in the codebase. Download anchors — the BIDS tree's per-file links, the archive action — carry rel="external" too, and neither the arrow nor target="_blank" belongs on them: they start a download rather than a navigation, so the arrow would promise a page that never appears.

rel="noopener" is the part that matters with target="_blank"; without it the opened page gets a live window.opener handle back. A visually-hidden "(opens in a new tab)" accompanies the icon, because a decorative arrow tells a sighted user what is about to happen and a screen-reader user nothing at all.

Scoped-style fix caught in review

Astro scopes .primary-nav__list a to Nav's own elements, but the anchor renders inside ExternalLink.astro and carries that component's scope id — so the rule missed it and Citation Dashboard and Documentation fell back to the default link colour at a larger size. The footer columns had the same bug. Fixed with :global() on the descendant, scope kept on the container so it stays confined.

One less redirect hop

dashboard.nemar.org/citations 308s to /citations/. The nav, the footer, and getRetiredRedirect all linked the non-canonical form, so every visitor paid an extra round trip — and from /citation-dashboard that was a redirect landing on a redirect. All three now link /citations/.

Verified on test.nemar.org

Against 0.2.2+5c58947b: /community returns 404; nav has five entries with target="_blank" on exactly the two external ones; footer headings are Explore / Project / Data / GitHub. Computed styles confirm internal and external links now match exactly — rgb(203, 213, 225) at 14px, same weight, in both nav and footer.

Nothing here touches host.ts host dispatch, middleware routing, or canonical origins beyond the one redirect-target string, so the staging soak is representative despite website#212.

test 1015/1015, typecheck 0 errors, lint clean, build green on the release commit.

Closes #222.

nemar-bot and others added 5 commits July 31, 2026 03:45
…ew tab (#224)

* Drop Community; mark outbound links as new-tab

The nav and footer advertised a Community surface backed by a
placeholder page promising a forum that does not exist and was not being
built. Nav entry, footer Forum link, and the page are gone; the footer
column is now Project, describing what is actually under it.

Links that leave nemar.org -- the citation dashboard, the docs site, the
data/api hosts, the GitHub orgs, the build attribution -- now open in a
new tab behind a 45-degree arrow. Not applied to download anchors, which
also carry rel=external but start a download rather than a navigation.

Also links the canonical /citations/ so visitors skip a 308 hop.

Closes #222

* Reach nav and footer link styles into ExternalLink

Astro scopes .primary-nav__list a to Nav's own elements, but the anchor
renders inside ExternalLink.astro and carries that component's scope id
instead -- so the rule missed it and Citation Dashboard and Documentation
fell back to the default link colour and a larger size. Same in the
footer columns.

:global() on the descendant, scope kept on the container, so this stays
confined to the nav and the footer nav.
@neuromechanist
neuromechanist merged commit bb719ee into main Jul 31, 2026
10 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Remove the Community placeholder; mark outbound links as opening in a new tab

1 participant