@the-portland-company/shell 0.85.0 → 0.86.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/CHANGELOG.md CHANGED
@@ -1,3 +1,12 @@
1
+ ## 0.86.0
2
+
3
+ Campaign Mode gets a Tribes row. Spec cited: Specs/Tribes §2.3–§2.4 and Specs/Left-Navigation §9.2 (decided 2026-10-16 by Ben: Campaign and Relationship Tribes are separate; Campaign Tribes live in Campaign Mode).
4
+
5
+ - **Campaign tree.** Race data now lists Battleground · District data · **Tribes** (`users-round`), linking to `https://battleground.politogyvrm.com/tribes` (org carried as before). It is a page of the Battleground app at `/tribes`, so it is the only active row there.
6
+ - **Relationship tree unchanged.** Relationship Tribes stay inside Contacts → Tribes; there is still no Relationship Tribes row.
7
+ - **Release order.** Publish after the Battleground app serves `/tribes`, so the row never links to a missing page.
8
+ - Tests: `__tests__/standardNav.test.ts`.
9
+
1
10
  ## 0.85.0
2
11
 
3
12
  The mode switcher, the rail and the rows always show one mode. Spec cited: Specs/Left-Navigation §9.1, §9.2, §9.4 and §11.1 ("the rail never shows a mix of two modes").
@@ -2443,13 +2443,19 @@ function standardPolitogyNav(opts) {
2443
2443
  const rows = [
2444
2444
  // Left-Navigation §9.2: Race data -> Research -> GOTV -> Account.
2445
2445
  // Battleground is the Campaign landing page; there is no Campaign
2446
- // Dashboard row, and Voter Contact and Tribes have no row.
2446
+ // Dashboard row, and Voter Contact has no row. Campaign Tribes has its
2447
+ // own row after District data (decided 2026-10-16).
2447
2448
  { kind: "section", label: "Race data" },
2448
2449
  // Battleground is the Campaign Mode landing page, its own app on its own
2449
2450
  // host (registry key `battleground`; Specs/Left-Navigation §9.2, §13, §14).
2450
2451
  { label: "Battleground", icon: icon("crosshair"), href: withOrg(`${BATTLEGROUND_ORIGIN}battleground`) },
2451
2452
  // District Data is its own Campaign Mode app on its own host (registry key `districts`).
2452
2453
  { label: "District data", icon: icon("landmark"), href: withOrg(`${DISTRICTS_ORIGIN}districts`) },
2454
+ // Campaign Tribes (Specs/Tribes §2.3–§2.4, Left-Navigation §9.2; decided
2455
+ // 2026-10-16, Ben): a page of the Battleground app at /tribes, so it is
2456
+ // the only active row there (Battleground's /battleground prefix does
2457
+ // not match it). Relationship Tribes stay inside Contacts.
2458
+ { label: "Tribes", icon: icon("usersRound"), href: withOrg(`${BATTLEGROUND_ORIGIN}tribes`) },
2453
2459
  { kind: "section", label: "Research" },
2454
2460
  {
2455
2461
  label: "Polling",