Skip to content

Build layouts for pending contact state #125

@tomastiminskas

Description

@tomastiminskas

When adding a contact on Sphinx, the contact is created as pending and it will stay in that state until key exchange is performed. This will happen when the other contact gets online so it can take some time. We have some placeholder views to show while in that state, disabling messaging and letting the user know about it.

Base branch: develop: project needs to be compiled and run from develop branch where the latest changes are pushed.

Requirements

  • Build xml layout for pending state contact chats list row. Modify layout_chat_list_chat_holder.xml adding new elements and modifying existent to allow pending state layout
  • Logic to show each layout when appropriate is not included in this ticket.

Image

  • Implement new view to show inside chat view while contact is still pending: create new xml file to be included in fragment_chat_contact.xml when contact is pending

Image

  • Adapt new view created in previous item to allow confirmed state for contacts with no messages in the chat

Image

Designs

All designs details (fonts, sizes, margins, etc) and assets should be taken from figma: https://www.figma.com/design/suipHjIGKg38rbWo0qHGqV/Desktop-Design-System---Dark-Version?node-id=4405-8326&p=f

Acceptance Criteria

  • Build and modify all layouts described before

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions