-
-
Notifications
You must be signed in to change notification settings - Fork 823
Make the "Voice message" button in the message composer configurable #11603
Make the "Voice message" button in the message composer configurable #11603
Conversation
* With this change the user can choose to hide the "Voice message" button in the message composer menu. * The site administrator may also choose to hide the button by including this in the site config: "setting_defaults": { ... "MessageComposerInput.showVoiceRecordingButton": false, ... }, * Note: the button label reads "Voice Message" but the code refers to it as the voiceRecordingButton. Signed-off-by: Grant McLean <[email protected]>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks sane to me
@grantm You have a failing snapshot test that needs updating before this can be merged |
Signed-off-by: Grant McLean <[email protected]>
I've just pushed a commit to fix that snapshot test. The next issue will likely be a merge failure due to other changes in |
force pushing will discard review so please avoid it. We squash merge so don't worry about it. |
Head branch was pushed to by a user without write access
Head branch was pushed to by a user without write access
Is there anything further I need to do on this one? I seem to recall there was quite a spate of flakey tests blocking it. I now have a set up where I can run the Cypress tests and I see the following three test failing consistently as of today:
The failures don't seem to be related my change and the same tests fail in the same way on develop without my changes. |
It looks like the code coverage for the change is not sufficient for it to pass the gate |
OK, thanks. I'll take a look. |
@grantm hey any update on this? |
I haven't forgotten about this, but it's a "work thing" and I've had other work priorities. Since so much has changed with the tests since I originally did this, I wondered if starting fresh might be easiest. |
Closing because of the reasons mentioned in #11603 (comment) |
With this change the user can choose to hide the "Voice message" button in the message composer menu.
The site administrator may also choose to hide the button by including this in the site config:
"setting_defaults": { ... "MessageComposerInput.showVoiceRecordingButton": false, ... },
Note: the button label reads "Voice Message" but the code refers to it as the voiceRecordingButton.
Checklist
Type: enhancement
Here's what your changelog entry will look like:
✨ Features