Parent ticket: https://phabricator.wikimedia.org/T297630
We would like to add an entry point to the talk page in the app, shown as below:
{F34945729}
Please add the bubble icon (as the same icon as the talk page icon), expose the talk page bubble aligned right on LtR, and aligned left on RtL, with the active number of discussion subjects.
`background-image: var(--talk-page-icon);`
The color of the button and number can be the same as the edit buttons.
The size of the icon should be at least `48px*48px`
For the active number of discussion subjects, you may use the following API to get the list:
`https://en.wikipedia.org/api/rest_v1/page/talk/%title`
Please make a method of controlling the visibility of the button and number, e.g.: `setTalkPageButton(isVisible)`
Please also make sure to post message by using the `postMessage()`: [[ https://github.com/wikimedia/mobileapps/blob/a2838b480f487cd0d7291bbeea694e6d8520b97d/pagelib/src/pcs/c1/InteractionHandling.js#L262 | example ]].