@the-portland-company/shell 0.102.2 → 0.103.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,14 @@
1
+ ## 0.103.0
2
+
3
+ There are no subscription levels (Pricing & Metering §4/§14; tiers removed everywhere 2026-11-17, Ben).
4
+
5
+ - **`NavUser.tier` removed.** The top bar and account menu no longer show "tier · role" under the user's name; they show the email, else the role, else "member", as before. Contacts' `/api/me` stopped returning `tier` (politogy-contacts#481) and the apps stopped passing it.
6
+ - **Breaking (type only):** an app that still passes `tier` in its `NavUser` object gets a TypeScript excess-property error on upgrade. Drop the key.
7
+
8
+ ## 0.102.3
9
+
10
+ No app code change. Release lane fix only: the Publish workflow's last step ("Verify the published version resolves") now waits up to 10 minutes for npm to list the new version, instead of 2. npm has been taking 97-188 s to list a version since 2026-11-14, so releases 0.101.0-0.102.1 showed a false red although they were on npm. The step still fails, and prints npm's answer, when a version truly never appears.
11
+
1
12
  ## 0.102.2
2
13
 
3
14
  Every org's icon shows in the org switcher, in every app (bug seen live 2026-11-15, Ben: switching orgs from Relationship Mode → Email, "not every org icon displayed").
@@ -3027,7 +3027,7 @@ function NavTopBar({
3027
3027
  const hasRealName = rawName.length > 0 && !rawName.includes("@");
3028
3028
  const displayName = hasRealName ? formatFirstLast(rawName) : user?.email ?? "Signed in";
3029
3029
  const initials = (hasRealName ? rawName : user?.email ?? "P").slice(0, 2).toUpperCase();
3030
- const secondary = hasRealName ? user?.email || [user?.tier, user?.role].filter(Boolean).join(" \xB7 ") || "member" : [user?.tier, user?.role].filter(Boolean).join(" \xB7 ") || "member";
3030
+ const secondary = hasRealName ? user?.email || user?.role || "member" : user?.role || "member";
3031
3031
  return /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "sticky top-0 z-20", children: [
3032
3032
  /* @__PURE__ */ jsxRuntime.jsxs("header", { className: "flex min-w-0 h-[var(--topbar-height,60px)] items-center justify-between gap-[8px] md:gap-[14px] border-b border-[color:var(--line)] bg-[color:var(--panel)] px-[var(--topbar-padding-x,20px)]", children: [
3033
3033
  onOpenNav ? /* @__PURE__ */ jsxRuntime.jsx(
@@ -3288,7 +3288,7 @@ function NavSidebarUserCard({
3288
3288
  const hasRealName = rawName.length > 0 && !rawName.includes("@");
3289
3289
  const displayName = hasRealName ? shortUserName(rawName) : user.email ?? "Signed in";
3290
3290
  const initials = hasRealName ? rawName.split(/\s+/).filter(Boolean).slice(0, 2).map((w) => w[0]).join("").toUpperCase() : (user.email ?? "P").slice(0, 2).toUpperCase();
3291
- const secondary = hasRealName ? user.email || [user.tier, user.role].filter(Boolean).join(" \xB7 ") || "member" : [user.tier, user.role].filter(Boolean).join(" \xB7 ") || "member";
3291
+ const secondary = hasRealName ? user.email || user.role || "member" : user.role || "member";
3292
3292
  const rc = useRailCollapse();
3293
3293
  return /* @__PURE__ */ jsxRuntime.jsxs("details", { "data-nav-details": true, className: "group/acct relative", children: [
3294
3294
  /* @__PURE__ */ jsxRuntime.jsxs(