Add Net Zero Cloud Lightning report types, report, and dashboard metadata - #1
Merged
Merged
Conversation
Unmanaged SFDX package (API 60.0) with five custom report types over standard Net Zero Cloud objects, a summary report of stationary assets missing carbon footprints, and a dashboard with a bar chart component. Co-Authored-By: Claude Fable 5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01XsipTUqX7dcQDkvUkaFCuC
… project hygiene - One example report per report type: fuel consumption by fuel type, suppliers missing metrics, emissions by reporting year (summed scope fields), and fleet by fuel type - Dashboard expanded to three columns: coverage bars, emissions trend column chart, fleet donut - GitHub Actions workflow validating XML well-formedness, SFDX source conversion, and manifest/source consistency - MIT license, .forceignore, README updates Co-Authored-By: Claude Fable 5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01XsipTUqX7dcQDkvUkaFCuC
The sf CLI's bundled undici requires a newer Node runtime than 20.20.2 (webidl.util.markAsUncloneable), crashing on startup. Co-Authored-By: Claude Fable 5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01XsipTUqX7dcQDkvUkaFCuC
mshresponse
marked this pull request as ready for review
July 10, 2026 18:45
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Scaffolds this repo as a standard SFDX project (API 60.0) containing a free, unmanaged package of core Lightning analytics metadata for Net Zero Cloud — no CRM Analytics / Einstein components.
Custom Report Types (
force-app/main/default/reportTypes/)StnryAsstEnvrSrc, childStnryAsstCrbnFprint, outer joinStnryAsstCrbnFprint, childStnryAsstFossilFuelEnrgyUse, inner joinAccount, childSpplrMtrc, outer joinStnryAsstCrbnFprintVehicleAssetEach report type has a fully defined
<sections>layout curated to key sustainability fields (asset name, reporting year, stage, Scope 1 / Scope 2 emissions, fuel type, record type), all flaggedcheckedByDefaultso they auto-populate new reports.Reports (
NZC_Reportsfolder — one example per report type)StnryAsstCrbnFprints$Idequals blankDashboard
NZC_Dashboards/NZC_Emissions_Coverage— three-column layout: data-coverage bar charts (assets missing footprints, suppliers missing metrics), emissions-by-year column chart, fleet-by-fuel-type donutProject hygiene & CI
manifest/package.xml,sfdx-project.json,.forceignore,.gitignore, MITLICENSE.github/workflows/validate.yml— checks XML well-formedness, runssf project convert source(validated locally: conversion succeeds and the generated MDAPI package matches the manifest 1:1), and cross-checks every manifest member against source filesNotes for reviewers
StnryAsstCrbnFprints,StnryAsstFossilFuelEnrgyUses,SpplrMtrcs) and a few field spellings can vary by release/license; the README documentssf sobject describecommands to verify, and a--dry-rundeploy against an NZC org is the definitive check.🤖 Generated with Claude Code
https://claude.ai/code/session_01XsipTUqX7dcQDkvUkaFCuC