Skip to content

feat: adopt shared design-blazor components (#104)#106

Merged
andregoepel merged 2 commits into
mainfrom
feature/104-adopt-design-blazor-components
Jul 19, 2026
Merged

feat: adopt shared design-blazor components (#104)#106
andregoepel merged 2 commits into
mainfrom
feature/104-adopt-design-blazor-components

Conversation

@andregoepel

Copy link
Copy Markdown
Owner

Summary

  • Bumps AndreGoepel.Design.Blazor to 1.1.0 and AndreGoepel.Marten.Identity.Blazor to 1.4.0.
  • Registers AddDesignBlazor() in Initialization.cs so DesignBlazorOptions.BrandName is sourced from AppFoundationLayoutOptions.BrandName, overriding the default AddMartenIdentityBlazor() seeds from MartenIdentityBlazorOptions.ApplicationName — one consistent brand across dashboard, login, and account pages.
  • Retires AppFoundationPageTitle in favor of the shared AppPageTitle (5 call sites, including the sample).
  • EmailSettingsPage.razorPageHeader + FormField.
  • LoginFeaturesPage.razorSettingToggleRow, removing ~20 lines of hand-rolled inline-styled toggle rows.
  • ErrorPage.razor (404/403) → EmptyState.
  • User-chip dropdown in MainLayout.razor intentionally left as-is — the issue only asks to "evaluate" moving it, tracked as follow-up.

Closes #104.

Test plan

  • dotnet build — clean, 0 errors
  • dotnet test (excluding E2E) — 90/90 passing (33 MailService + 57 AppFoundation)
  • Manual verification via the Sample app against a local Postgres: ran through Setup → Dashboard → Login Features (toggled + saved a setting) → Email Settings → 404 page. Confirmed the unified "AppFoundation Sample" brand appears consistently in page titles and the sidebar, no console/server errors.

Bumps AndreGoepel.Design.Blazor to 1.1.0 and AndreGoepel.Marten.Identity.Blazor
to 1.4.0, then refactors the AppFoundation Blazor surface onto the shared
component library and removes local duplicates:

- Register AddDesignBlazor() so DesignBlazorOptions.BrandName unifies from
  AppFoundationLayoutOptions.BrandName across dashboard, login, and account
  pages (overriding the default seeded by AddMartenIdentityBlazor).
- Retire AppFoundationPageTitle in favor of the shared AppPageTitle.
- EmailSettingsPage -> PageHeader + FormField.
- LoginFeaturesPage -> SettingToggleRow, dropping hand-rolled inline styles.
- ErrorPage -> EmptyState.
@andregoepel
andregoepel merged commit a8fada8 into main Jul 19, 2026
4 checks passed
@andregoepel
andregoepel deleted the feature/104-adopt-design-blazor-components branch July 19, 2026 13:46
andregoepel added a commit that referenced this pull request Jul 21, 2026
Multi-language support for the management frontend (#105, PRs #107-#114)
is merged. Latest published tag is v1.3.0 (predates this series — it was
cut right after #106 merged), so this is the next minor release.
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.

Adopt shared design-blazor components (design-system consolidation)

1 participant