Skip to content

Add portfolio summary page#56

Open
haneslinger wants to merge 12 commits into
mainfrom
Add-portifolio-summary-page
Open

Add portfolio summary page#56
haneslinger wants to merge 12 commits into
mainfrom
Add-portifolio-summary-page

Conversation

@haneslinger

Copy link
Copy Markdown

In progress portfolio summary page

Done:

Todo:

…ry-merge

# Conflicts:
#	cspell.json
#	package.json
#	pnpm-lock.yaml
#	src/app/modules/organizations/settings/salesforce-building-integration/salesforce-building-integration.component.ts
@nllong nllong added enhancement New feature or request and removed do not merge labels Jul 24, 2026
Nicholas Long and others added 5 commits July 23, 2026 21:53
- Resolve merge conflicts with main (cspell.json, package.json,
  pnpm-lock.yaml, salesforce-building-integration component) by keeping
  main's newer Salesforce Building Integration implementation (BB
  Salesforce support, barrel imports) under the PR's renamed path.
- Convert new API/component imports to the @seed/api and MaterialImports
  barrels per project convention; register goal and salesforce-portfolio
  in the @seed/api barrel index.
- Fix missing salesforce-login/salesforce-portfolio-integration .scss
  files referenced by styleUrl (never committed) by dropping the
  styleUrl instead.
- Add full Transloco translation coverage for all new UI strings across
  the portfolio summary, configure-goals, add-cycle,
  salesforce-portfolio-integration and salesforce-login templates.
- Fix several crashes found via live testing against a real backend:
  - ConfigureGoalsDialogComponent.save() threw when Salesforce
    integration was not enabled / no partner was selected.
  - AddCycleDialogComponent.submit() threw when no annual report was
    selected (Salesforce not enabled).
  - PortfolioSummaryComponent.createChart() threw when a goal had no
    weighted EUI data yet.
  - PortfolioSummaryComponent.openAddCycle() threw because cycle_goals
    was never initialized/fetched.
  - Removed a stray {{ chart }} interpolation inside the results canvas
    that rendered "[object Object]".
- Add GoalService.getCycleGoals() and call it when selecting/updating a
  goal so previously created cycle goals load after a refresh (the
  Goal API response never embeds cycle_goals).
- Remove leftover console.log debug statements.

Verified with pnpm lint / pnpm build, and by standing up a throwaway
Django backend (docker) with seeded data and exercising the goal
create/edit, add-cycle, and Salesforce settings flows via Playwright.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
…ry-merge

# Conflicts:
#	public/i18n/en_US.json
- Remove an erroneous p-80 (320px) padding class on the CycleGoal side
  summary table, which was causing huge, uneven whitespace around that
  card. Drop the redundant duplicate p-10 alongside p-4 on the goal
  summary card for the same reason.
- Add px-3 py-1 cell padding to the summary table so label/value
  columns aren't flush against each other.
- Wrap the page content in the same content mx-5 my-2 container used by
  sibling insights pages (Program Overview, Property Insights, Default
  Reports) instead of leaving it unpadded/flush with the page edge.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
@kflemin kflemin changed the title Add portifolio summary page Add portfolio summary page Jul 24, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants