mattermost-plugin-ai
mattermost-plugin-ai copied to clipboard
Webapp bad export of AdvancedCreateComment
Description
The MM Webapp does not export AdvancedCreateComment directly. Instead it sets a bunch of incorrect parameters and only allows changes to placeholder
and onSubmit
. See: https://github.com/mattermost/mattermost/blob/master/webapp/channels/src/plugins/exported_create_post.tsx#L15
This caused a bug in the RHS for non-admin users requiring an unpleasant workaround.
This ticket is to fix the webapp and come up with a migration path away from the workaround.