Skip to main content

Contacts & Suggestions

Closegram can import your device contacts to find people you know, suggest new connections, and send invites to people not yet on the platform.

Each property has its own checkbox marking whether that specific piece is fully implemented and functional end to end (frontend + backend) — update these yourself as work lands; this page won't overwrite them.

  • Import & sync device contacts — web has no Contacts Picker API with broad support, so Settings → Contacts (/settings/contacts) uses a manual name/email/phone entry form (importContacts) plus a "Sync contacts" button (syncContacts) that re-checks previously imported contacts for new matches
  • Invite contacts to join the platform — email invites (inviteContacts) from the same Contacts settings page, with sent/joined/expired status per invite (getInvitedContactsStatus)
  • Contact-based friend suggestions — contactSuggestions rendered on the Contacts settings page with follow/dismiss actions
  • Dismiss a suggestion — per-user dismiss (dismissSuggestion, persisted in dismissed_suggestion); the X on a 'People you may know' card removes it and it stays out of the feed
  • "People you may know" discovery feed — usersYouMayKnow rendered by RecommendationsSection on the Explore and Home pages (with follow + hide-from-suggestions)
  • @-mention autocomplete suggestions — the @handle dropdown UI in the post comment box calls mentionSuggestions, which now returns real matches (a real search, prioritized by who you already follow, filtering blocked accounts); picking a result inserts @username at the caret
  • Real-time field validation — live username/email availability on the register form (validateUsername/validateEmail, debounced)

See the technical reference for GraphQL schemas, routes, source file links, and per-field wiring status.