Open ckaznable opened 3 months ago
@ckaznable I don't believe web view should be a supported way to use this functionality from mobile. It may work, but it wasn't part of the design.
@cpoile @matthewbirtch Thoughts?
I agree.. Perhaps we should not register it on mobile web?
I just checked community.mattermost.com and did not encounter the same issue. Perhaps it's just a configuration issue on my end?
@ckaznable Could you share a screenshot of how it would look like when working? I don't remember having a button to start calls in that view.
when I press this button, it triggers the plugin's behavior. After disabling the plugin, the button no longer appears, so I'm sure it's the button from this plugin.
@ckaznable I don't believe web view should be a supported way to use this functionality from mobile. It may work, but it wasn't part of the design.
@cpoile @matthewbirtch Thoughts?
Agreed, plugin actions were not intended to show in the header on mobile web view.
When I use the desktop version and reduce the screen width, this situation also occurs. I think this is not limited to mobile web.
Yes, that's exactly the same view, regardless of the device.
The primary reason for this issue is that the
registerCallButtonAction
method dispatches bothCallButton
andMobileChannelHeaderButton
simultaneously but does not pass an icon, resulting in this behavior.Additionally, I have also opened a related issue in the Mattermost repository. https://github.com/mattermost/mattermost/issues/27359
screenshot: