Skip to content

feat(users): split user name fields and add computed attributes #8

@ibourgeois

Description

@ibourgeois

Goal

Replace the single user name column with first and last names while preserving convenient derived accessors.

Scope

  • Add a migration from name to first_name and last_name
  • Add a computed name attribute
  • Add a computed initials attribute
  • Update factories and tests

Out of Scope

  • Profile editing UI
  • Team membership features

Acceptance Criteria

  • User records store first and last names separately
  • Existing code can access a computed name value where needed
  • Avatar and display usage can access computed initials

Dependencies

Test Plan

  • Add migration coverage as appropriate
  • Add model attribute tests for name and initials
  • Update factory-driven tests for the new schema

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions