futurice / futurice/pepperoni-app-kit

Navigation Header Title Update from View

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

Nobody has claimed this yet.

Dominant language
JavaScript
Stars
4.6k
Forks
631
PR merge metrics
No merged PRs in 30d

Description

I have a profile view that is loaded when selecting the profile tab. I'm not doing a push route so I can't send the title of the current users username that way.

How would I go about updating the navigation header title from the profile view?

I was trying to create a redux action so I can send the new title, but not sure how to actually update the navigation state in the reducer.

Contributor guide

No contributing guide indexed for this repository

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 from the profile view and trace how the navigation state and header title are configured for the profile tab. Determine how the username should reach the navigation state without a push route; done means the navigation header displays the current user's username when the profile view is selected.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript, react-native, redux
Domain
mobile
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
20/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.