Skip to content

Conversation

HoonBaek
Copy link
Contributor

@HoonBaek HoonBaek commented Feb 3, 2023

For Internal Contributors

UIKIT-3043

Description Of Changes

Add a brief description of the changes that you have involved in this PR

Types Of Changes

What types of changes does your code introduce to this project?
Put an x in the boxes that apply_

  • Bugfix
  • New feature
  • Documentation (correction or otherwise)
  • Cosmetics (whitespace, appearance (ex) Prettier)
  • Build configuration
  • Improvement (refactor code)

@HoonBaek HoonBaek requested a review from sravan-s February 3, 2023 00:57
@HoonBaek HoonBaek self-assigned this Feb 3, 2023
@HoonBaek HoonBaek added the in progress Work in progress label Feb 3, 2023
mediaRecorder.ondataavailable = (e) => {// when recording stops
// Generate audio file
const audioFile = new File([e.data], 'I am file name', {
const audioFile = new File([e.data], 'Voice message', {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Voice message need extension, no?

Comment on lines +275 to +279
isVoiceMessageEnabled: PropTypes.bool,
voiceRecord: PropTypes.shape({
maxRecordingTime: PropTypes.number,
minRecordingTime: PropTypes.number,
}),
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

discuss: isnt it better for this prop to be in Channel?

Comment on lines +3 to +5
.sendbird-voice-message-input-wrapper .sendbird-voice-message-input__indicator {
height: 40px;
}
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Isnt .sendbird-voice-message-input__indicator enough?

import MessageItemReactionMenu from '../../../../ui/MessageItemReactionMenu';
import Label, { LabelTypography, LabelColors } from '../../../../ui/Label';
import { getClassName, getSenderName, getUIKitMessageType, getUIKitMessageTypes, isOGMessage, isTextMessage, isThumbnailMessage } from '../../../../utils';
import { getClassName, getSenderName, getUIKitMessageType, getUIKitMessageTypes, isOGMessage, isTextMessage, isThumbnailMessage, isVoiceMessage } from '../../../../utils';
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

split into newline pls, sorry, I should have added lint ~

@HoonBaek
Copy link
Contributor Author

#405

@HoonBaek HoonBaek closed this Feb 21, 2023
@HoonBaek HoonBaek deleted the feature/UIKIT-3043/Integrate-voice-message branch February 21, 2023 04:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

in progress Work in progress

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants