@the-portland-company/shell 0.96.1 → 0.97.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 +20 -0
- package/dist/app-chrome.cjs +52 -628
- package/dist/app-chrome.cjs.map +1 -1
- package/dist/app-chrome.d.cts +6 -3
- package/dist/app-chrome.d.ts +6 -3
- package/dist/app-chrome.js +18 -23
- package/dist/app-chrome.js.map +1 -1
- package/dist/{chunk-5OTXPYZU.js → chunk-VAQNZD37.js} +32 -4
- package/dist/chunk-VAQNZD37.js.map +1 -0
- package/dist/{chunk-V2OFN2S2.js → chunk-WQR42AGC.js} +14 -10
- package/dist/chunk-WQR42AGC.js.map +1 -0
- package/dist/{index-CqHKy3vG.d.ts → index-BEMGfLpI.d.ts} +26 -1
- package/dist/{index-3YFy4JHI.d.cts → index-BaUIPQpN.d.cts} +26 -1
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +2 -2
- package/dist/index.d.ts +2 -2
- package/dist/index.js +2 -2
- package/dist/native.cjs +42 -7
- package/dist/native.cjs.map +1 -1
- package/dist/native.d.cts +1 -1
- package/dist/native.d.ts +1 -1
- package/dist/native.js +2 -2
- package/package.json +1 -1
- package/dist/chunk-5OTXPYZU.js.map +0 -1
- package/dist/chunk-V2OFN2S2.js.map +0 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,3 +1,23 @@
|
|
|
1
|
+
## 0.97.0
|
|
2
|
+
|
|
3
|
+
Top bar and left bar rework (Ben 2026-11-04, typed in the UI debugging box; specs updated with his go).
|
|
4
|
+
|
|
5
|
+
- **Top bar is Search · Credits · Notifications · Organization settings · My profile.**
|
|
6
|
+
- **Removed:** the support-request icon (`SupportAction`: life-buoy and modal), the DevNotes launcher, and the Spec overlay icon. The exports stay (`SupportAction`, `SpecOverlayAction`); `ChromeTopBarActions` no longer renders them. The DevNotes provider still mounts, and its reads stay gated, so nothing loads at boot.
|
|
7
|
+
- **Added:** **Organization settings** (`settings` glyph → Settings app `/organization-settings?org_id=<tail>`) and **My profile** (`circle-user` glyph → Politogy ID `/my-profile?org_id=<tail>`), icon only, with the label and a one-line callout in the shared tooltip. New exports: `TopBarLinkAction`, `OrganizationSettingsAction`, `MyProfileAction`, type `TopBarLinkActionProps`.
|
|
8
|
+
- **Left bar:** the ACCOUNT section (My profile, Organization settings) is no longer drawn. New `NavItem.railHidden`: the rows stay in the tree, so Settings and Politogy ID breadcrumbs and active-row matching are unchanged, but `NavSidebar` skips them.
|
|
9
|
+
- **Support:** the top-bar support-request icon is removed now (Ben 2026-11-04). A left-bar footer **Support** link to `https://politogyvrm.com/support` follows in a later release, once that page is live on the new website (kept on branch `feat/footer-support-link-later`).
|
|
10
|
+
- **Account menu:** no Navigation display option. The preference itself (state, storage, the frame's use of it) is unchanged.
|
|
11
|
+
- Tests: `__tests__/topBarActions.test.tsx` (new), `__tests__/devNotesLazyOpen.test.tsx` (no launcher, no boot reads), `__tests__/retiredHostLinks.test.tsx`, `__tests__/native.test.tsx`.
|
|
12
|
+
|
|
13
|
+
## 0.96.2
|
|
14
|
+
|
|
15
|
+
The org switcher list shows each organization's icon (Specs/Left-Navigation §6: each org "with its icon mark, name and short ID"; Ben 2026-11-04: the Primary logo showed in the card, but the list did not show the icon).
|
|
16
|
+
|
|
17
|
+
- **Switcher rows use `iconUrl`.** A row shows the org's Brand Kit icon on a white tile, uncropped (`object-contain`). Without an icon it shows the Primary logo as before, then initials. Each row's mark carries `data-org-option-mark="icon" | "logo" | "initials"`.
|
|
18
|
+
- **`iconUrl` reaches the switcher and the collapsed rail.** `ChromeOrgSummary` gains optional `iconUrl` (sent by the chrome API `/api/orgs` from contacts#425). Every org-list copy in the chrome state (token, controlled and uncontrolled providers) and the active org card in `PolitogyAppFrame` now carry it, so the collapsed rail's `OrgIconMark` gets the icon too. Apps that pass their own `tokenOrg.orgs` or controlled `orgs` should include `iconUrl` from `/api/orgs`.
|
|
19
|
+
- Tests: `__tests__/orgSwitcherIcon.test.tsx`.
|
|
20
|
+
|
|
1
21
|
## 0.96.1
|
|
2
22
|
|
|
3
23
|
Privacy, Terms and Subscriptions open in a new tab (Ben 2026-11-04: clicking Privacy replaced the app with the public Politogy ID page, with no left bar or top bar).
|