Skip to content

Bug: Contact details dialog shows the raw enum "manual_import" as Source while the table localizes it #2643

Closed

Description

@yannickmonney

Problem

The read-only Contact details dialog (row click) prints the backend enum verbatim — Source: manual_import — while the table's Source column correctly localizes the same value as "Manual Import". Raw snake_case enums in user-facing UI are the class #2052 fixed elsewhere; this is a new instance in the new contacts surface.

Current behaviour

Repro (2026-07-11, main @ 94ef84e): Contacts → click any manually-imported row → details dialog → "Source: manual_import".

Code pointers

  • app/features/contacts/components/contact-info-dialog.tsx — renders contact.source raw
  • app/features/contacts/components/contact-table.tsx — the column path that localizes it (reuse its label mapping)

Proposed change

Reuse the table's localized source labels in the details dialog (single mapping for both).

Acceptance criteria

  • Details dialog shows "Manual Import" (localized), not manual_import, for every source value
  • The label mapping is shared, not duplicated

Related: #2052 (previous sweep of untranslated backend enums).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugpriority: lowservice: platform

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions