Skip to content

GitLab

  • Projects
  • Groups
  • Snippets
  • Help
    • Loading...
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
briar
briar
  • Project overview
    • Project overview
    • Details
    • Activity
    • Releases
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 677
    • Issues 677
    • List
    • Boards
    • Labels
    • Service Desk
    • Milestones
  • Merge Requests 10
    • Merge Requests 10
  • CI / CD
    • CI / CD
    • Pipelines
    • Jobs
    • Schedules
  • Operations
    • Operations
    • Incidents
    • Environments
  • Analytics
    • Analytics
    • CI / CD
    • Repository
    • Value Stream
  • Wiki
    • Wiki
  • Members
    • Members
  • Collapse sidebar
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
  • briar
  • briarbriar
  • Merge Requests
  • !1137

Merged
Opened Jun 15, 2019 by akwizgran@akwizgranOwner
  • Report abuse
Report abuse

Add strings for duplicate pending contacts

  • Overview 8
  • Commits 3
  • Pipelines 4
  • Changes 1

This branch adds UI strings for warning the user when a newly added pending contact has the same handshake key as another pending contact, and for helping the user to specify whether they're retrying the same pending contact (which I expect will be common) or whether they've been sent the same link by different people (which could be an attack aimed at discovering who their pending contacts are). I'm imagining the UX working as follows:

  • After the user enters the link and nickname and taps "Add Contact", we check for duplicates
  • If a duplicate is detected, we show a dialog
  • The dialog's title is "Duplicate Link"
  • The dialog's text is "You already have a pending contact with this link: X. Are X and Y the same person?"
  • The buttons are "Same Person" and "Different Person" (are these too long to use as dialog buttons in other languages?)
  • If the user chooses "Same Person", we replace the pending contact and show a toast saying "Pending contact updated"
  • If the user chooses "Different Person", we show a second dialog
  • The second dialog's title is "Duplicate Link" again
  • Maybe the second dialog has a warning icon?
  • The second dialog's text is "X and Y sent you the same link. One of them may be trying to discover who your contacts are. Don't tell them you received the same link from someone else."
  • The second dialog has one button: "OK"
  • When the second dialog is dismissed we discard the new pending contact

Using two dialogs is a little bit clunky, but we're not expecting users to go down the "different person" path in real life so I reckon designing a wizard with a variable number of steps is probably overkill.

Part of #1565 (closed).

Assignee
Assign to
Android 1.2
Milestone
Android 1.2
Assign milestone
Time tracking
Reference: briar/briar!1137
Source branch: 1565-strings-duplicate-handshake-links

Revert this merge request

This will create a new commit in order to revert the existing changes.

Switch branch
Cancel
A new branch will be created in your fork and a new merge request will be started.

Cherry-pick this merge request

Switch branch
Cancel
A new branch will be created in your fork and a new merge request will be started.