Skip to content

Improvement: Contacts has no way to add a single contact — creation is a CSV textarea hidden behind an "Import contacts" menu #2639

Closed

Description

@yannickmonney

Problem

After the customers+vendors→contacts merge (#2618), adding one contact is unreasonably hard to discover and use:

  • The page's only action is Import contacts (menu: "From your device" / "Manual entry"); the empty state says "Upload your first contact to get started". Sibling knowledge pages all offer a direct Add website / Add product button.
  • "Manual entry" is not a form — it opens a bulk textarea expecting email,name,locale CSV lines (dialog "Add contacts", button "Import"). There is no way to set Phone at creation even though the table has a Phone column; users must import first, then edit.
  • A structured form already exists — the Edit contact dialog (Name*/Email*/Phone/Locale*) — it's just not offered for creation.

Adjacent polish on the same surface: the read-only Contact details dialog (row click) offers no Edit / New email actions (users must close it and find the row's ⋮ menu), and no table column is sortable.

Current behaviour

/dashboard/{org}/contacts on a fresh org (2026-07-11, main @ 94ef84e): only "Import contacts" → "Manual entry" → CSV textarea. Creating "one contact with a phone number" takes: open menu → manual entry → type CSV → import → find row → ⋮ → Edit → add phone → Save.

Code pointers

  • app/features/contacts/components/contacts-action-menu.tsx — the import-only menu (createOpen opens the import dialog in manual mode)
  • app/features/contacts/components/contacts-import-dialog.tsx — the CSV textarea ("Manual entry")
  • app/features/contacts/components/contact-edit-dialog.tsx — the structured form that could be reused for create
  • app/features/contacts/components/contact-info-dialog.tsx — details dialog without actions
  • app/features/contacts/components/contact-table.tsx:131,183-190,206

Proposed change

Add a primary Add contact action opening the structured form (reuse the edit dialog in create mode, phone included); keep bulk import under "Import contacts"; align the empty-state copy ("Add your first contact…"); add Edit/New email actions to the details dialog; make Name/Email/Added sortable.

Acceptance criteria

  • A single contact (incl. phone) can be created via a structured form in ≤2 clicks from /contacts
  • "Import contacts" remains for bulk (file + paste) — "Manual entry" no longer masquerades as the only create path
  • Details dialog exposes Edit and New email
  • Empty-state copy matches the actual affordance

Related: #2618 (merge epic), #2627-era compose feature.

Metadata

Metadata

Assignees

No one assigned

    Labels

    improvementpriority: mediumservice: platform

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions