RocketChat / RocketChat/Rocket.Chat.ReactNative

feat: Use HeaderTitle on RoomHeader

Open
#6,255 9 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

🍭 good first issue 🎉 feature
Dominant language
TypeScript
Stars
2.4k
Forks
1.5k
Avg merge
1d 18h
Merged PRs (30d)
90

Description

Image

RoomHeader is implementing its own HeaderTitle, but it should be using CustomHeader/components/HeaderTitle

We'll have to implement onPress, so HeaderTitle needs to use PlatformPressable, just like HeaderButtons.

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 reading app/containers/CustomHeader/components/HeaderTitle/index.tsx and compare its current behavior with HeaderButtons, then locate RoomHeader. Done means RoomHeader uses the shared HeaderTitle and HeaderTitle supports the required onPress behavior through PlatformPressable, with the result checked against the attached reference image.

Written by the indexing model from the issue text.

Assessment

Tech stack
react-native, typescript
Domain
mobile
Issue type
Feature
Difficulty
3/5
Estimated time
1-2 days
Activity status
Quiet
Clarity
Mostly clear
Newbie friendliness
55/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.