Closed neilsarkar closed 7 years ago
My thoughts on cleaning things up round one:
Stage
and make it dumb againMatch
and remove duplicated code between Match
and Chat
Header
and put two buttons in Match
: a button to go back to the chat and a button to toggle between deets and chatChat
takes myId
but could easily populate that from the store itself)MatchBridge
and do the switch between Matches
and Match
in Stage
without triggering a re-render and loss of state in the TabNavigator
round two:
I'll try to add transitions between Matches
and Match
using a wrapped StackNavigator
just checked it out locally and this looks great. i'm gonna merge into master and then make another PR that includes some of the code i never PRd from earlier this week, which includes the fixes for like/pass being covered by the info popup trigger, etc. i was gonna fold them in with my PR from earlier today but i guess we should just delete the others now?
Introducing the tabbed navigation broke the transitions in the match scene. This brings them back in the form of a temporary component called
MatchBridge
worst case we can send out the testflight with this and refactor next week but now that it's green I'll try to make it clean, have an hour or two before I really have to start working on this presentation