@the-portland-company/shell 0.77.0 → 0.79.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.
@@ -75,6 +75,8 @@ var SIGNS_ORIGIN = "https://signs.politogyvrm.com/";
75
75
  var POLLS_ORIGIN = "https://polls.politogyvrm.com/";
76
76
  var SETTINGS_ORIGIN = "https://settings.politogyvrm.com/";
77
77
  var DASHBOARD_ORIGIN = "https://dashboard.politogyvrm.com/";
78
+ var BATTLEGROUND_ORIGIN = "https://battleground.politogyvrm.com/";
79
+ var DISTRICTS_ORIGIN = "https://districts.politogyvrm.com/";
78
80
  var AUTH_ORIGIN = "https://auth.politogyvrm.com/";
79
81
  var PETITION_MODE_ORIGIN = "https://petition-mode.politogyvrm.com/";
80
82
  function applyHiddenItems(items, hidden) {
@@ -265,16 +267,9 @@ function standardPolitogyNav(opts) {
265
267
  href: withOrg("https://surveys.politogyvrm.com/surveys"),
266
268
  children: APP_SURVEYS_CHILDREN.map((c) => ({ label: c.label, icon: icon(c.icon), href: withOrg(c.href) }))
267
269
  },
268
- // Polls (polls.politogyvrm.com) — kept in the default Collect section;
269
- // apps that want it hidden pass `hiddenItems: ['Polls']`. Regression:
270
- // dropped entirely in 03c4dc2 when app.politogyvrm.com retired; restored
271
- // here (this row is independent of the retired app).
272
- {
273
- label: "Polls",
274
- icon: icon("chartNoAxes"),
275
- href: withOrg(POLLS_ORIGIN),
276
- children: APP_POLLS_CHILDREN.map((c) => ({ label: c.label, icon: icon(c.icon), href: withOrg(c.href) }))
277
- },
270
+ // No Polls row here: Polling is a Campaign Mode feature only
271
+ // (Specs/Left-Navigation §9.1 "Polls is not a Relationship row"). Its
272
+ // row is "Polling" under Research in the Campaign tree below.
278
273
  ...accountRows()
279
274
  ];
280
275
  };
@@ -288,12 +283,11 @@ function standardPolitogyNav(opts) {
288
283
  // Battleground is the Campaign landing page; there is no Campaign
289
284
  // Dashboard row, and Voter Contact and Tribes have no row.
290
285
  { kind: "section", label: "Race data" },
291
- // Battleground moved to the Dashboard app (dashboard.politogyvrm.com)
292
- // until a dedicated Battleground host is decided (UI-Platform route table).
293
- { label: "Battleground", icon: icon("crosshair"), href: withOrg(`${DASHBOARD_ORIGIN}battleground`) },
294
- // District data moved to the Dashboard app (dashboard.politogyvrm.com)
295
- // per Reference/UI-Platform v44.
296
- { label: "District data", icon: icon("landmark"), href: withOrg(`${DASHBOARD_ORIGIN}districts`) },
286
+ // Battleground is the Campaign Mode landing page, its own app on its own
287
+ // host (registry key `battleground`; Specs/Left-Navigation §9.2, §13, §14).
288
+ { label: "Battleground", icon: icon("crosshair"), href: withOrg(`${BATTLEGROUND_ORIGIN}battleground`) },
289
+ // District Data is its own Campaign Mode app on its own host (registry key `districts`).
290
+ { label: "District data", icon: icon("landmark"), href: withOrg(`${DISTRICTS_ORIGIN}districts`) },
297
291
  { kind: "section", label: "Research" },
298
292
  {
299
293
  label: "Polling",
@@ -1956,5 +1950,5 @@ function NavAppShell({
1956
1950
  }
1957
1951
 
1958
1952
  export { BETA_BANNER_DISMISS_KEY, CAMPAIGN_FEATURE_AVAILABILITY, NavAppShell, NavBetaBanner, NavSidebar, NavTabStrip, NavTopBar, clearBetaBannerDismissal, envChipClasses, isNavItemActive, modeIdFromLabel, shortEnvLabel, shortUserName, standardNavIcons, standardPolitogyNav };
1959
- //# sourceMappingURL=chunk-GGM4AD43.js.map
1960
- //# sourceMappingURL=chunk-GGM4AD43.js.map
1953
+ //# sourceMappingURL=chunk-KXVRYN5D.js.map
1954
+ //# sourceMappingURL=chunk-KXVRYN5D.js.map