matrix-org / matrix-org/matrix-ios-sdk

Distinguish between user's text and the event text

Open
#501 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

support
Dominant language
Objective-C
Stars
484
Forks
225
PR merge metrics
No merged PRs in 30d

Description

Hello

How can we distinguish between the user's text and the event's text in the MXKRoomBubbleCellData?

MXKRoomBubbleCellData has only the text and attributedTextMessage, and this always returns both events.

We want to display the user's text in the custom cell bobble and the event's text in the top position of the custom bobble.

See:

screen shot 2018-05-26 at 13 32 45

Thanks

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by inspecting MXKRoomBubbleCellData and the custom cell that consumes it, focusing on how text and attributedTextMessage combine user and event content. Define how the two texts should be exposed separately and verify that the custom bubble can render them in their intended positions.

Written by the indexing model from the issue text.

Assessment

Tech stack
objective-c
Domain
mobile
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.