Leave these blank and your feedback comes through anonymously. Fill
- them in only if you'd like a reply — we won't add you to any list.
+ them in only if you'd like a reply, we won't add you to any list.
diff --git a/src/pages/sections/OrgList-Card.tsx b/src/pages/sections/OrgList-Card.tsx
index 86901b9..6808604 100644
--- a/src/pages/sections/OrgList-Card.tsx
+++ b/src/pages/sections/OrgList-Card.tsx
@@ -5,10 +5,11 @@ import {
initialsFor,
orgPath,
useOrganizations,
-} from "../../data/organizations.ts";
+ byName,
+} from "../../lib/organizations.ts";
/* ═══════════════════════════════════════════════════════════════
- ORGANIZATION LIST — CARDS
+ ORGANIZATION LIST: CARDS
A grid of organization cards. No toggle: this view is the grid,
which is why the section that uses it declares no `views` in the
@@ -19,7 +20,7 @@ import {
Where the vertical list expands in place, a card links out. The
card carries as much as fits at a glance and the organization's
own page carries the rest, so nothing here reads a `blocks`
- array — only the short card description.
+ array, only the short card description.
═══════════════════════════════════════════════════════════════ */
const MUTED = "#7a9299";
@@ -87,11 +88,11 @@ function OrgCard({ org, accent, pageLabel, siteLabel }) {
{/* Top-right rather than in the footer: the footer holds
outbound links, and the arrow goes somewhere different
- in kind — deeper into this site. */}
+ in kind, deeper into this site. */}
{path && (
)}
@@ -166,7 +167,6 @@ function Block({ title, orgs, accent, pageLabel, siteLabel }) {
);
}
-const byName = (a, b) => a.name.localeCompare(b.name);
export default function OrgListCards({
kind,
@@ -196,7 +196,7 @@ export default function OrgListCards({
if (error && organizations.length === 0) {
return shell(
- · This list couldn't be loaded just now — please try again shortly ·
+ · This list couldn't be loaded just now, please try again shortly ·
);
}
diff --git a/src/pages/sections/OrgList-Map.tsx b/src/pages/sections/OrgList-Map.tsx
index eec121c..44e4b1a 100644
--- a/src/pages/sections/OrgList-Map.tsx
+++ b/src/pages/sections/OrgList-Map.tsx
@@ -1,13 +1,13 @@
import { useEffect, useRef, useState } from "react";
-import { useCommunity } from "../../data/chapters.ts";
+import { useCommunity } from "../../lib/chapters.ts";
import { Link } from "react-router-dom";
import ArrowLink from "../../components/ArrowLink.tsx";
import { orgLogo } from "../../lib/media.ts";
-import { initialsFor, orgPath } from "../../data/organizations.ts";
+import { initialsFor, orgPath } from "../../lib/organizations.ts";
import { AREAS, AREA_NAMES } from "../../data/mapGrid.ts";
/* ═══════════════════════════════════════════════════════════════
- ORGANIZATION LIST — MAP
+ ORGANIZATION LIST: MAP
Organizations placed on a tile grid: the map on the left, the
list on the right, selecting on either side filtering both.
@@ -15,7 +15,7 @@ import { AREAS, AREA_NAMES } from "../../data/mapGrid.ts";
Filtered to chapters, and unlike the other sections that isn't
a prop. A map only makes sense for organizations that sit
somewhere, and it reads regions off the same data to colour the
- tiles — so "plot partners instead" isn't a filter change, it's a
+ tiles, so "plot partners instead" isn't a filter change, it's a
different component. Named for the view rather than the filter
so that stays visible.
@@ -24,7 +24,7 @@ import { AREAS, AREA_NAMES } from "../../data/mapGrid.ts";
stays legible on a phone, it needs no map library or GeoJSON,
and a state split between two regions is just a tile painted in
two colors. If you later want true geography, the swap point is
-
— everything else works off the data.
+ , everything else works off the data.
The tile layout comes from mapGrid.ts; who paints what comes
from the API. A state and the Canada band are the same shape
@@ -109,7 +109,7 @@ function Blocks({ blocks = [] as any[], color }) {
{item.detail && (
{" "}
- — {item.detail}
+ ({item.detail})
)}
@@ -180,7 +180,7 @@ function Tile({
className="transition-opacity duration-200"
>
- {AREA_NAMES[code] || code} — {slices.map(s => s.name).join(" / ")}
+ {AREA_NAMES[code] || code}: {slices.map(s => s.name).join(" / ")}
{count ? ` · ${count} chapter${count > 1 ? "s" : ""}` : ""}
@@ -257,7 +257,7 @@ function RegionMap({ slices, chapterCounts, ...props }: any) {
role="group"
aria-label="Chapters by Unity region"
>
- {/* States and bands are the same shape — a tile with a span —
+ {/* States and bands are the same shape, a tile with a span,
so this is one loop rather than two. */}
{AREAS.map(area => (
- {chapters.length || "—"}
+ {chapters.length || "-"}
@@ -398,7 +398,7 @@ function RegionBlock({
{chapters.length === 0 ? (
- No chapters yet — interested in starting one?
+ No chapters yet. Interested in starting one?
) : (
@@ -444,7 +444,7 @@ function RegionBlock({
{orgPath(c) && (
@@ -545,7 +545,7 @@ function ChapterCard({ chapter, color, open, onOpen }) {
{orgPath(chapter) && (
)}
@@ -711,7 +711,7 @@ function ChapterGrid({ regions, chapters, chaptersIn, subtextFor, openId, setOpe
{empty.length > 0 && (
- No chapters yet in {empty.map(r => r.name).join(", ")} — interested in
+ No chapters yet in {empty.map(r => r.name).join(", ")}. Interested in
starting one?
)}
@@ -835,7 +835,7 @@ export default function OrgListMap({ view = "map", accent = FALLBACK_COLOR }) {
if (error && regions.length === 0) {
return shell(
- · Chapters couldn't be loaded just now — please try again shortly ·
+ · Chapters couldn't be loaded just now, please try again shortly ·
);
}
@@ -871,7 +871,7 @@ export default function OrgListMap({ view = "map", accent = FALLBACK_COLOR }) {
);
return (
- /* Wider than the section heading above it — the map needs the
+ /* Wider than the section heading above it, the map needs the
room. CONTENT_MAX is the knob; drop it toward 72rem to pull
the whole block back in line with the heading. */
shell(
@@ -897,7 +897,7 @@ export default function OrgListMap({ view = "map", accent = FALLBACK_COLOR }) {
- {/* List — h-0 + min-h-full makes this column take its height
+ {/* List, h-0 + min-h-full makes this column take its height
from the map column rather than the other way round, so a
long list scrolls instead of stretching the section. */}
- · This list couldn't be loaded just now — please try again shortly ·
+ · This list couldn't be loaded just now, please try again shortly ·
);
}
diff --git a/src/pages/sections/history/HistoryTimeline.tsx b/src/pages/sections/history/HistoryTimeline.tsx
index a43743d..20e3673 100644
--- a/src/pages/sections/history/HistoryTimeline.tsx
+++ b/src/pages/sections/history/HistoryTimeline.tsx
@@ -8,9 +8,9 @@ import {
type DecadeMeta,
type SortDirection,
type TimelineItem,
-} from '../../../lib/timeline'
-import TimelineDecade from './TimelineDecade'
-import TimelineUpcoming from './TimelineUpcoming'
+} from '../../../lib/timeline.ts'
+import TimelineDecade from './TimelineDecade.tsx'
+import TimelineUpcoming from './TimelineUpcoming.tsx'
import './timeline.css'
const PARAM = 'y'
diff --git a/src/pages/sections/history/TimelineDecade.tsx b/src/pages/sections/history/TimelineDecade.tsx
index c9f5c70..6cb79ec 100644
--- a/src/pages/sections/history/TimelineDecade.tsx
+++ b/src/pages/sections/history/TimelineDecade.tsx
@@ -3,8 +3,8 @@ import {
withGapYears,
type GroupedDecade,
type SortDirection,
-} from '../../../lib/timeline'
-import TimelineYear from './TimelineYear'
+} from '../../../lib/timeline.ts'
+import TimelineYear from './TimelineYear.tsx'
type Props = {
decade: GroupedDecade
@@ -45,7 +45,7 @@ export default function TimelineDecade({
{decade.preProgram ? (