Skip to content

feat(contacts): add ability to rename contacts locally#29

Merged
ZenonEl merged 1 commit into
mainfrom
feat/rename-contact
Mar 28, 2026
Merged

feat(contacts): add ability to rename contacts locally#29
ZenonEl merged 1 commit into
mainfrom
feat/rename-contact

Conversation

@ZenonEl
Copy link
Copy Markdown
Owner

@ZenonEl ZenonEl commented Mar 28, 2026

Summary

  • Add DisplayName column to Contacts table (migration + fresh schema)
  • Add SetContactDisplayName / GetContactDisplayName to repository interfaces + SQLite impl
  • Add RenameContact state machine (pick contact → enter name → save)
  • Wire to existing "Change contact name" button in contacts menu
  • Add EN + RU resource strings

How it works

  1. View Contacts → "Change contact name" button
  2. Enter contact ID or link
  3. Enter new display name (or "Reset" to clear)
  4. Name saved locally — only you see it

Test plan

  • dotnet build passes (verified)
  • Migration adds DisplayName column
  • Rename flow works end-to-end
  • Reset clears display name back to default

Add DisplayName column to Contacts table allowing users to set custom
display names for their contacts. Includes FluentMigrator migration,
repository methods, state machine flow, callback handler, and localized
resource strings (EN/RU).
@ZenonEl ZenonEl merged commit e2b6224 into main Mar 28, 2026
1 check passed
@ZenonEl ZenonEl deleted the feat/rename-contact branch March 28, 2026 04:32
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.

1 participant