RocketChat / RocketChat/Rocket.Chat.ReactNative
feat: Use HeaderTitle on RoomHeader
Nobody has claimed this yet.
- Dominant language
- TypeScript
- Stars
- 2.4k
- Forks
- 1.5k
- Avg merge
- 1d 18h
- Merged PRs (30d)
- 90
Description
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
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- 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