Skip to content

docs: correct reports, market, dashboards and ESG pages - #66

Merged
cohenrobinson merged 2 commits into
mainfrom
docs/audit-reports-2026-11-26
Nov 25, 2026
Merged

cohenrobinson merged 2 commits into
mainfrom
docs/audit-reports-2026-11-26

Conversation

@utilified-agent

Copy link
Copy Markdown
Contributor

Rolling docs audit, area Reports and insight (2026-11-26), checked against Utilified/utilified-platform origin/main 112b789540. Code paths are relative to ums-web/src/ or platform-api/api/.

Ratings: dashboards.mdx and guides/running-reports.mdx accurate (small additions); reports.mdx, market.mdx and esg.mdx partly stale.

Fixes

esg.mdx

  • Period tab is Activity, not History (app/(main)/(esg)/esg/reporting-periods/[id]/page.tsx:95).
  • Overview cards:
    • Total Emissions is the most recent period, any status (esg/components/ESGDashboard.tsx:68).
    • Active Periods counts every period that isn't Locked (:89).
    • Sites counts the sites you have access to (:39-41).
  • Prepare data imports electricity, gas and LPG activity from invoices (management/emissions/services/activity.py:57-71, management/emissions/estimation.py:51-55).
  • Plan note: if ESG isn't in your plan, the sidebar item shows locked and opens an upgrade prompt (config/navigationRegistry.tsx:449, components/Layout/Sidebar.tsx:575-588).
  • New Period overview section covering the period's Overview tab (tabs/OverviewTab.tsx:62-111, tabs/QualityGauge.tsx:78-106).

market.mdx

  • The Desk chart export offers Download CSV only; PNG is on Analyse only (components/Market/MarketCompositeChart.tsx:447-455, components/Market/ChartRangeControls.tsx:141-145).
  • Added the Absolute / Indexed and Market events toggles, plus the Forwards all-regions contract-period picker (MarketCompositeChart.tsx:398-441).
  • Supply headline: added the Pipeline and Date passed, not confirmed tiles (app/(main)/(general)/market/tabs/SupplyTab.tsx:320-332).
  • Plan lock note (navigationRegistry.tsx:349).
  • Analyse settings are kept in the page address, except the date range (components/Market/analyseUtils.ts:558-580).

reports.mdx

  • New Emissions catalogue group with nine reports (platform/reports/standard_reports.py:12439-12447, management/emissions/reports.py).
  • Run and Schedule are disabled for inactive reports (app/(main)/(general)/reports/page.tsx:127,137).
  • Saved presets are stored on this device (components/Reports/BrokerageReportFilters.tsx:340-344).
  • A report with no parameters shows Schedule Report in its Generate dialog (@modal/generate/[id]/page.tsx:151-161).
  • Custom reports:
    • 40-column limit (components/CustomReports/ColumnEditorDrawer.tsx:39).
    • Totals row, Include sub-connections and Keep rows that net to zero (ReportSettingsDrawer.tsx:227,239,249).
    • Autosave, and the Leave without saving? prompt (CustomReportBuilder.tsx:165-174).

guides/running-reports.mdx

  • Invoice Batch Export: added Additional Columns and the Generate Batch button (@modal/invoice-batch-export/page.tsx:15-21,122).

dashboards.mdx

  • View as customer is disabled until the dashboard is published (components/Dashboards/DashboardBuilder.tsx:216-221).
  • New Edit block options table (components/Dashboards/BlockEditorDrawer.tsx:192-312).
  • A measure's Key can't be changed once saved, and measures have a Delete action (MeasureEditorDialog.tsx:146, dashboards/measures/page.tsx:107).

No anchors changed. Two new ones: /esg#period-overview and /reports#emissions. No docs.json change.

Checks

  • mint broken-links passes.
  • Every /page#anchor link resolves.
  • The monorepo sync-docs-pages.mjs plus the docsDrift and docsLinks jest suites pass with platform-docs on this branch.

For a human

  • /images/reports/reports-list.png may no longer match. With emissions access, the Library now shows an extra Emissions group. It isn't marked stale because the cards it shows haven't changed.
  • The Custom reports tab has a plan entitlement, but the tab isn't hidden by plan in the UI. The docs say nothing about plan gating there. Decide whether they should.
  • Product bugs found, filed in Linear:
    • UTI-548: ESG Total Emissions counts Scope 2 twice. Location-based and market-based are summed. The docs avoid stating how the total is calculated until it's fixed.
    • UTI-549: customer-visible copy fixes on the report detail page and in ESG.

@cohenrobinson
cohenrobinson merged commit 5461fb2 into main Nov 25, 2026
2 checks passed
@cohenrobinson
cohenrobinson deleted the docs/audit-reports-2026-11-26 branch November 25, 2026 20:51
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