Skip to content

docs: correct account, site, supplier and reference library pages - #62

Merged
cohenrobinson merged 1 commit into
mainfrom
docs/audit-accounts-sites-home-2026-11-24
Nov 23, 2026
Merged

cohenrobinson merged 1 commit into
mainfrom
docs/audit-accounts-sites-home-2026-11-24

Conversation

@utilified-agent

Copy link
Copy Markdown
Contributor

Rolling docs audit, area 3 (Accounts, sites, home), checked against utilified-platform origin/main 940cb7a626. Code paths are under ums-web/src/.

Fixes

  • accounts.mdx
    • Hub tab gates: Retail accounts needs Validation and Suppliers needs Suppliers (config/navigationRegistry.tsx:142-153, ~171).
    • Account Icon row: added Upload icon, and Refetch / Use website icon (shown only when a website is set) (app/(main)/(accounts)/accounts/[id]/tabs/settings/AccountIconSection.tsx:82-93).
    • Added the Change history settings section (.../accounts/[id]/tabs/settings/index.tsx:218).
  • sites.mdx
    • Header shows the account link and address, with no "Site of" prefix (app/(main)/(accounts)/sites/[id]/page.tsx:164-170).
    • The action is the labelled Add connection button, which opens the Add a Connection drawer (.../sites/[id]/page.tsx:115-127).
    • Added the Change history settings section (.../sites/[id]/tabs/SettingsTab.tsx:151).
  • suppliers.mdx: sentence-case labels Associated suppliers and Retail accounts (app/(main)/(general)/suppliers/[id]/page.tsx:22, tabs/OverviewTab.tsx:77,94).
  • contacts.mdx: header shows the account link with no "Contact at" prefix (app/(main)/(accounts)/contacts/[id]/page.tsx:68-73).
  • site-data.mdx
    • Overview panels are Data type, Units and Dates. Status appears as a header chip, not an Overview field (app/(main)/(accounts)/site-data-types/[id]/page.tsx:25-50,119-122).
    • The tab is labelled Data records (:70).
    • The admin rule now says only admins see New Data Type. This is a UI-only gate (site-data-types/page.tsx:16).
  • datahub.mdx: only Dates, Time of Use, Quantities, Factors, and Base/Scientific Units have detail pages. The other types are list-only (utils/displayConfigs.ts:329,378,439,484,490,505).

Page ratings

Page Rating
home.mdx accurate
guides/creating-accounts.mdx accurate
accounts.mdx accurate (gaps)
suppliers.mdx accurate (casing)
contacts.mdx accurate (one claim)
sites.mdx partly stale
site-data.mdx partly stale
datahub.mdx partly stale

Checks

  • mint@4.2.1070 broken-links passes.
  • No heading or anchor changed.
  • With the monorepo at origin/main and platform-docs pointed at this branch, sync-docs-pages.mjs runs and the docsDrift and docsLinks jest suites pass.

For a human

  • sites/site-detail.png already carries screenshot-stale, and its header text changed again in this PR.
  • Site data types: Edit is shown to everyone, but New Data Type is admin-only, and the API enforces neither gate. Filed as UTI-543. The docs leave Edit out until that's decided.
  • Reference library editing controls (New TOU, New date group, New quantity) are staff-only and deliberately left out.

@cohenrobinson
cohenrobinson merged commit 8f6dc5b into main Nov 23, 2026
2 checks passed
@cohenrobinson
cohenrobinson deleted the docs/audit-accounts-sites-home-2026-11-24 branch November 23, 2026 20:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant