The Launcher component should have a customizeable launch button.
The customizable launch button should be a component that is passed as an optional prop to Launcher
You should also be able to just turn off the bottom-right launcher and have only pinned conversations.
There's basically 3 options for the launch button
no button
default button (currently how it works)
custom button
The Launcher component should have a customizeable launching behavior.
Right now, there is an optional peerAddress prop that is used to tell the Launcher whether to open to the 1:1 conversation screen. There should be more available behaviors than this.
I think we should give Launcher an optional launchTarget prop. The launchTarget prop should either be a function, string, a ReceiverScreen, or null. If launchTarget is a function, the function must return string or ReceiverScreen, or null.
If it's a string, it's interpreted as a peerAddress and launching goes to 1:1 convo
If it's a ReceiverScreen, launching goes to that screen
If it's null launching does nothing
If the launchTarget prop isn't passed, we fall back to default behavior.
peerAddress
prop that is used to tell theLauncher
whether to open to the 1:1 conversation screen. There should be more available behaviors than this.Launcher
an optionallaunchTarget
prop. ThelaunchTarget
prop should either be afunction
,string
, a ReceiverScreen, ornull
. IflaunchTarget
is a function, the function must returnstring
orReceiverScreen
, ornull
.string
, it's interpreted as apeerAddress
and launching goes to 1:1 convoReceiverScreen
, launching goes to that screennull
launching does nothing