Koala logo Design

Account settings

Per-user settings page at /account/settings. Owns avatar, profile, and the user's referral codes — previously surfaced in the partner sidebar but now consolidated here so a user can find every code they own across every partner / branch in one place.

Referral codes section

Renders a koala-card per partner with one row per branch: branch name, code (linked to the short URL), and a copy-link button that flips to "Copied" for two seconds. Empty state hides the section entirely.

  • Loaded server-side in Settings.OnGet, grouped by partner, ordered by partner then branch name
  • Filters out disabled partners and disabled partner-user memberships
  • Disabled branches are kept (so the user still sees codes for branches they referred work to historically) and badged "Disabled"
  • Short URL base comes from configuration["ShortUrl:BaseUrl"]

Removed from sidebar

The partner-area sidebar no longer renders inline referral codes. The per-request AreaSwitcherPageFilter ViewData loader and the ReferralCodeData record were removed. Anyone who had the codes memorised from the sidebar now finds them under Settings.