Skip to content

June 19, 2026 — Frontend

Release date: Friday, 2026-06-19

Summary

This week adds a portfolio-wide Dekninger view with filters and aggregate totals, strengthens property (risiko) management on the overview screen, and introduces an unsaved-changes guard across building detail forms. Shared UI fixes improve dropdown menus and icon-only buttons; navigation now labels the property list Eiendommer.

Shipped

  • Dekninger list — new buildings menu entry with year-scoped coverage lines, table filters (including manager), and an aggregates dashboard.
  • Property overview — assign or change hovedbygning, manage building membership on a risiko, create new risiko from the list page, and see a warning when hovedbygning is missing.
  • Unsaved-changes protection — dialog and registry infrastructure; guards on building overview sections, DynamicForm, and detail tabs (fire safety, inspection, insurance costs/risk).
  • Insurance display — consolidated Norwegian info when Bygningsverdi preview data is incomplete.
  • Navigation rename — menu and page title use Eiendommer (with Risiko in the page heading) instead of Risikoer.
  • Shared UI — dropdown menus portaled for correct stacking; icon-only buttons centered in the design system.

Engineering (commit recap)

Frontend — week of June 15 – June 21, 2026

Window: after 2026-06-13, before 2026-06-20 (--no-merges).

Summary

Coverage work dominated the week: a new Dekninger page under Bygninger with OpenAPI-backed list APIs, filter modal, aggregates dashboard, and aligned list toolbars across building sub-views. Property screens gained end-to-end risiko lifecycle improvements (create flow, hovedbygning assignment, membership editing, missing-main-building alert). A reusable unsaved-changes context and registry now protect building edits across overview and tab forms. Smaller fixes landed in insurance workbook display, shared dropdown/button components, and a local git branch cleanup script.

Themes

  • Coverages (Dekninger): New CoveragesPage with table tab, CoverageFiltersModal, manager filter, and CoveragesAggregatesDashboard; OpenAPI contract synced for year coverage-lines list; list toolbars aligned with Alle bygninger across Kumuler, Dekninger, and Eiendommer views.
  • Property / risiko management: Create-risiko flow from the property list; PropertyBuildingsSection expanded for hovedbygning and membership changes; PropertyMissingMainBuildingAlert when no main building is set; navigation and page titles renamed to Eiendommer.
  • Unsaved-changes guard: UnsavedChangesContext, registry, dialog, and formFieldDirty utilities; wired into BuildingPage, DynamicForm, fire-safety forms, inspection tab, and insurance costs/risk panel.
  • Insurance UX: insuranceWorkbookDisplayUtils consolidates duplicate Norwegian messages when Bygningsverdi preview fields are missing.
  • Shared UI (@sod/ui, icons): Dropdown menus portaled for layering; icon-only button content centered; DotsThreeVerticalIcon sizing tweak.
  • Tooling: scripts/git-cleanup.sh to prune stale local branches.

Notable fixes or risks (if any)

  • Unsaved guard is registered per form/tab—verify all editable building surfaces are covered before relying on it for compliance workflows.
  • Dekninger aggregates depend on the updated coverage-lines OpenAPI contract; confirm backend totals match the dashboard after deploy.
  • Eiendommer vs Risiko labeling is intentional (menu: Eiendommer; page heading includes Risiko)—keep copy consistent in any follow-up screens.