author int64 658 755k | date stringdate 2012-06-12 08:34:29 2024-07-22 14:51:21 | timezone int64 -46,800 43.2k | hash stringlengths 40 40 | message stringlengths 5 490 | mods listlengths 1 16 | language stringclasses 20
values | license stringclasses 3
values | repo stringlengths 5 68 | original_message stringlengths 12 491 |
|---|---|---|---|---|---|---|---|---|---|
215,664 | 10.11.2016 09:36:17 | -18,000 | cdbabd139977883eb9604d2a8ad345658d810612 | Support for orientation changes.
Turned on onLayout handler for all platforms.
Android only: on-screen keyboard resized main container and has own height.
So for calculate the messages container height need ignore keyboard height. | [
{
"change_type": "MODIFY",
"old_path": "src/GiftedChat.js",
"new_path": "src/GiftedChat.js",
"diff": "@@ -155,8 +155,15 @@ class GiftedChat extends React.Component {\n}\ngetKeyboardHeight() {\n+ if (Platform.OS === 'android') {\n+ // For android: on-screen keyboard resized main container and has own... | TypeScript | MIT License | faridsafi/react-native-gifted-chat | Support for orientation changes.
Turned on onLayout handler for all platforms.
Android only: on-screen keyboard resized main container and has own height.
https://developer.android.com/training/keyboard-input/visibility.html
So for calculate the messages container height need ignore keyboard height. |
215,673 | 18.10.2016 08:13:07 | 25,200 | 96e6194f64de3db5c34f7803c98aee115edff19b | Add onPressAvatar prop | [
{
"change_type": "MODIFY",
"old_path": "README.md",
"new_path": "README.md",
"diff": "@@ -106,6 +106,7 @@ See [example/App.js](example/App.js)\n- **`renderLoading`** _(Function)_ - render a loading view when initializing\n- **`renderLoadEarlier`** _(Function)_ - render the load earlier button\n- **`... | TypeScript | MIT License | faridsafi/react-native-gifted-chat | Add onPressAvatar prop |
215,673 | 26.10.2016 13:20:35 | 25,200 | d2332f74a3d534c580fb3aa98871b7661ea82e7a | Pass currentMessage to onLongPress callback | [
{
"change_type": "MODIFY",
"old_path": "README.md",
"new_path": "README.md",
"diff": "@@ -109,6 +109,7 @@ See [example/App.js](example/App.js)\n- **`onPressAvatar`** _(Function(`user`))_ - callback when a message avatar is tapped\n- **`renderAvatarOnTop`** _(Bool)_ - render the message avatar, on to... | TypeScript | MIT License | faridsafi/react-native-gifted-chat | Pass currentMessage to onLongPress callback |
215,660 | 17.04.2017 17:13:36 | -25,200 | ba3b19e0d12097ab768f173c254ac419c709188a | Add maxLength parameter for Composer input | [
{
"change_type": "MODIFY",
"old_path": "README.md",
"new_path": "README.md",
"diff": "@@ -130,6 +130,7 @@ See [example/App.js](example/App.js)\n- **`listViewProps`** _(Object)_ - extra props to be passed to the [`<ListView>`](https://facebook.github.io/react-native/docs/listview.html), some props ca... | TypeScript | MIT License | faridsafi/react-native-gifted-chat | Add maxLength parameter for Composer input |
215,717 | 01.05.2017 17:48:36 | -19,080 | 395551435c42083d0b36d2395a18a7aa3c92b3a4 | fix-extra spacing shown when avatar is not rendered | [
{
"change_type": "MODIFY",
"old_path": "src/Avatar.js",
"new_path": "src/Avatar.js",
"diff": "@@ -23,6 +23,10 @@ export default class Avatar extends React.Component {\nconst messageToCompare = renderAvatarOnTop ? this.props.previousMessage : this.props.nextMessage;\nconst computedStyle = renderAvata... | TypeScript | MIT License | faridsafi/react-native-gifted-chat | fix-extra spacing shown when avatar is not rendered |
215,717 | 04.05.2017 17:43:18 | -19,080 | 531e71c6de52da2dcfd212f94fb19d40ac40d7fb | fix isSameDay function | [
{
"change_type": "MODIFY",
"old_path": "src/utils.js",
"new_path": "src/utils.js",
"diff": "@@ -4,13 +4,13 @@ const DEPRECATION_MESSAGE = 'isSameUser and isSameDay should be imported from th\nexport function isSameDay(currentMessage = {}, diffMessage = {}) {\n+ if(!diffMessage.createdAt) {\n+ return... | TypeScript | MIT License | faridsafi/react-native-gifted-chat | fix isSameDay function |
215,717 | 05.05.2017 10:46:41 | -19,080 | f8e548387560a406f8d916d1e82a52cbc56b0191 | incorporate review and documentation | [
{
"change_type": "MODIFY",
"old_path": "README.md",
"new_path": "README.md",
"diff": "@@ -105,7 +105,7 @@ See [example/App.js](example/App.js)\n- **`isLoadingEarlier`** _(Bool)_ - display an ActivityIndicator when loading earlier messages\n- **`renderLoading`** _(Function)_ - render a loading view w... | TypeScript | MIT License | faridsafi/react-native-gifted-chat | incorporate review and documentation |
215,698 | 21.06.2017 23:24:40 | 14,400 | 1d9ca952a98a636de9b47ba616a42a5760421a72 | Turn off inverted scroll view | [
{
"change_type": "MODIFY",
"old_path": "src/GiftedChat.js",
"new_path": "src/GiftedChat.js",
"diff": "@@ -70,7 +70,7 @@ class GiftedChat extends React.Component {\nthis.invertibleScrollViewProps = {\n- inverted: true,\n+ inverted: false,\nkeyboardShouldPersistTaps: this.props.keyboardShouldPersistTa... | TypeScript | MIT License | faridsafi/react-native-gifted-chat | Turn off inverted scroll view |
215,597 | 09.07.2017 01:57:40 | -7,200 | 713b458d92d5c97306ef27642026e61a044b6552 | Remove `runAfterInteractions` during init
Fixes
Fixes | [
{
"change_type": "MODIFY",
"old_path": "src/GiftedChat.js",
"new_path": "src/GiftedChat.js",
"diff": "import React from 'react';\nimport {\nAnimated,\n- InteractionManager,\nPlatform,\nStyleSheet,\nView,\n@@ -377,14 +376,12 @@ class GiftedChat extends React.Component {\nthis.setMaxHeight(layout.heig... | TypeScript | MIT License | faridsafi/react-native-gifted-chat | Remove `runAfterInteractions` during init (#380)
Fixes #377.
Fixes #228. |
215,656 | 09.07.2017 20:58:09 | 18,000 | 3f75044ade4d1dab0e345b13094c0850c41ff999 | Change deprecated View.propTypes to ViewPropTypes | [
{
"change_type": "MODIFY",
"old_path": "example/CustomActions.js",
"new_path": "example/CustomActions.js",
"diff": "@@ -4,6 +4,7 @@ import {\nStyleSheet,\nTouchableOpacity,\nView,\n+ ViewPropTypes,\nText,\n} from 'react-native';\n@@ -197,7 +198,7 @@ CustomActions.propTypes = {\nonSend: React.PropTyp... | TypeScript | MIT License | faridsafi/react-native-gifted-chat | Change deprecated View.propTypes to ViewPropTypes (#478) |
215,710 | 10.07.2017 21:58:54 | -14,400 | 632c4564b3422c2ddd7e20b2b10e02bae80d0a49 | Replace deprecated `onChange` with `onContentSizeChange` | [
{
"change_type": "MODIFY",
"old_path": "src/Composer.js",
"new_path": "src/Composer.js",
"diff": "@@ -28,7 +28,7 @@ export default class Composer extends React.Component {\nplaceholderTextColor={this.props.placeholderTextColor}\nmultiline={this.props.multiline}\n- onChange={(e) => this.onChange(e)}\... | TypeScript | MIT License | faridsafi/react-native-gifted-chat | Replace deprecated `onChange` with `onContentSizeChange` (#500) |
215,720 | 16.07.2017 16:11:03 | 21,600 | f9ecf23abe67199d0f6b734e0440aa0b06119d45 | Fix URLs that get linkified but are missing a scheme | [
{
"change_type": "MODIFY",
"old_path": "src/MessageText.js",
"new_path": "src/MessageText.js",
"diff": "@@ -11,6 +11,8 @@ import {\nimport ParsedText from 'react-native-parsed-text';\nimport Communications from 'react-native-communications';\n+const WWW_URL_PATTERN = /^www\\./i;\n+\nexport default c... | TypeScript | MIT License | faridsafi/react-native-gifted-chat | Fix URLs that get linkified but are missing a scheme (#506) |
215,659 | 16.07.2017 18:41:32 | 14,400 | 1e79078265e80bbcc3147fecd9d55c3adeb64b22 | Fix janky fullscreen Lightbox images by using flex: 1
Setting image to full width/height makes animation returning image to previous spot look extremely awkward. flex: 1 allows image to resize between thumbnail and fullscreen as was intended with lightbox. | [
{
"change_type": "MODIFY",
"old_path": "src/MessageImage.js",
"new_path": "src/MessageImage.js",
"diff": "@@ -17,7 +17,7 @@ export default class MessageImage extends React.Component {\n<View style={[styles.container, this.props.containerStyle]}>\n<Lightbox\nactiveProps={{\n- style: [styles.imageActi... | TypeScript | MIT License | faridsafi/react-native-gifted-chat | Fix janky fullscreen Lightbox images by using flex: 1 (#467)
Setting image to full width/height makes animation returning image to previous spot look extremely awkward. flex: 1 allows image to resize between thumbnail and fullscreen as was intended with lightbox. |
215,577 | 19.07.2017 17:17:10 | -3,600 | dfc476795e8c226352d45aba6c48484a8c29898c | Remove dead code introduced by | [
{
"change_type": "MODIFY",
"old_path": "src/MessageImage.js",
"new_path": "src/MessageImage.js",
"diff": "@@ -5,14 +5,11 @@ import {\nStyleSheet,\nView,\nViewPropTypes,\n- Dimensions,\n} from 'react-native';\nimport Lightbox from 'react-native-lightbox';\nexport default class MessageImage extends Re... | TypeScript | MIT License | faridsafi/react-native-gifted-chat | Remove dead code introduced by #467 (#509) |
215,583 | 27.07.2017 09:45:33 | 10,800 | c9e05200172e9c03aafce520015f8e9059839d46 | Updated react-native-parsed-text | [
{
"change_type": "MODIFY",
"old_path": "package.json",
"new_path": "package.json",
"diff": "\"react-native-communications\": \"2.2.1\",\n\"react-native-invertible-scroll-view\": \"1.0.0\",\n\"react-native-lightbox\": \"oblador/react-native-lightbox#c84a8543d4511fe6a44c3d7820747c9c1bddd875\",\n- \"re... | TypeScript | MIT License | faridsafi/react-native-gifted-chat | Updated react-native-parsed-text |
215,583 | 27.07.2017 10:41:56 | 10,800 | ef6b5a85d90989ccb970ffc29f1bb9dbeee330b9 | Updated react-native-lightbox dependency | [
{
"change_type": "MODIFY",
"old_path": "package.json",
"new_path": "package.json",
"diff": "\"prop-types\": \"15.5.10\",\n\"react-native-communications\": \"2.2.1\",\n\"react-native-invertible-scroll-view\": \"1.0.0\",\n- \"react-native-lightbox\": \"oblador/react-native-lightbox#c84a8543d4511fe6a44... | TypeScript | MIT License | faridsafi/react-native-gifted-chat | Updated react-native-lightbox dependency |
215,583 | 27.07.2017 11:16:14 | 10,800 | 8ea592b34cde6b44fac5a6d6b0e6257ca6bd05ed | Updated react-native-invertible-scroll-view | [
{
"change_type": "MODIFY",
"old_path": "package.json",
"new_path": "package.json",
"diff": "\"moment\": \"2.18.1\",\n\"prop-types\": \"15.5.10\",\n\"react-native-communications\": \"2.2.1\",\n- \"react-native-invertible-scroll-view\": \"1.0.0\",\n+ \"react-native-invertible-scroll-view\": \"git+http... | TypeScript | MIT License | faridsafi/react-native-gifted-chat | Updated react-native-invertible-scroll-view |
215,640 | 28.08.2017 20:38:47 | -7,200 | 2972ccfa22985a71506c66d3785a316ce42d5001 | Fix call/text onPhonePress actions ordering | [
{
"change_type": "MODIFY",
"old_path": "src/MessageText.js",
"new_path": "src/MessageText.js",
"diff": "@@ -35,8 +35,8 @@ export default class MessageText extends React.Component {\nonPhonePress(phone) {\nconst options = [\n- 'Text',\n'Call',\n+ 'Text',\n'Cancel',\n];\nconst cancelButtonIndex = opti... | TypeScript | MIT License | faridsafi/react-native-gifted-chat | Fix call/text onPhonePress actions ordering (#521) |
215,640 | 28.08.2017 21:01:20 | -7,200 | cd72f86d8ad5d170159652e0c3167ca5efb29ea5 | Fix email sending recipient array | [
{
"change_type": "MODIFY",
"old_path": "src/MessageText.js",
"new_path": "src/MessageText.js",
"diff": "@@ -57,7 +57,7 @@ export default class MessageText extends React.Component {\n}\nonEmailPress(email) {\n- Communications.email(email, null, null, null, null);\n+ Communications.email([email], null... | TypeScript | MIT License | faridsafi/react-native-gifted-chat | Fix email sending recipient array (#522) |
215,720 | 28.08.2017 13:08:47 | 21,600 | 7c3fc48f2736e7558f7c8d13ac0e137f2939ab2f | Fix `Linking.canOpenURL` usage | [
{
"change_type": "MODIFY",
"old_path": "src/MessageText.js",
"new_path": "src/MessageText.js",
"diff": "@@ -26,10 +26,14 @@ export default class MessageText extends React.Component {\n// react-native-parsed-text recognizes it as a valid url, but Linking fails to open due to the missing scheme.\nif (... | TypeScript | MIT License | faridsafi/react-native-gifted-chat | Fix `Linking.canOpenURL` usage (#516) |
215,628 | 28.08.2017 15:16:22 | 14,400 | 6be3db1979e1a5f35b234c30f744b45dee75d365 | Add children props to Send component | [
{
"change_type": "MODIFY",
"old_path": "src/Send.js",
"new_path": "src/Send.js",
"diff": "@@ -25,7 +25,15 @@ export default class Send extends React.Component {\n}}\naccessibilityTraits=\"button\"\n>\n+ {this.props.children ?\n+ <View>\n+ {this.props.children}\n+ </View>\n+ :\n+ <View>\n<Text style=... | TypeScript | MIT License | faridsafi/react-native-gifted-chat | Add children props to Send component (#487) |
215,649 | 06.09.2017 13:44:34 | 14,400 | 82695984a2f5a90176dc33c73102bcffd3435eea | Added documentation for `textInputProps` property | [
{
"change_type": "MODIFY",
"old_path": "README.md",
"new_path": "README.md",
"diff": "@@ -147,6 +147,7 @@ e.g.\n- **`bottomOffset`** _(Integer)_ - Distance of the chat from the bottom of the screen (e.g. useful if you display a tab bar)\n- **`minInputToolbarHeight`** _(Integer)_ - Minimum height of ... | TypeScript | MIT License | faridsafi/react-native-gifted-chat | Added documentation for `textInputProps` property |
215,613 | 26.09.2017 16:28:12 | -10,800 | 1405f68e04ac2b3d79ab6ebe2e4aa8bc40aaae46 | added autoFocus options for text input | [
{
"change_type": "MODIFY",
"old_path": "src/Composer.js",
"new_path": "src/Composer.js",
"diff": "@@ -33,13 +33,15 @@ export default class Composer extends React.Component {\nonChange={(e) => this.onContentSizeChange(e)}\nonContentSizeChange={(e) => this.onContentSizeChange(e)}\n- onChangeText={text... | TypeScript | MIT License | faridsafi/react-native-gifted-chat | added autoFocus options for text input |
215,661 | 26.09.2017 18:32:37 | -7,200 | b2f5cc7e72fe4118c94c8320996f9f2fc8186c9c | fix(keyboard height): on android & expo to show TextInput | [
{
"change_type": "MODIFY",
"old_path": "src/GiftedChat.js",
"new_path": "src/GiftedChat.js",
"diff": "@@ -169,7 +169,7 @@ class GiftedChat extends React.Component {\n}\ngetKeyboardHeight() {\n- if (Platform.OS === 'android') {\n+ if (Platform.OS === 'android' && !this.props.forceGetKeyboardHeight) {... | TypeScript | MIT License | faridsafi/react-native-gifted-chat | fix(keyboard height): on android & expo to show TextInput |
215,593 | 02.10.2017 16:16:46 | -28,800 | b1e44190ce50a7fb6ccbb89d6d1383f15b415f22 | Fix input toolbar position
This positions the toolbar to be at the absolute bottom since I scale my gifted chat depending on the devices | [
{
"change_type": "MODIFY",
"old_path": "src/InputToolbar.js",
"new_path": "src/InputToolbar.js",
"diff": "@@ -4,6 +4,7 @@ import {\nStyleSheet,\nView,\nViewPropTypes,\n+ Dimensions\n} from 'react-native';\nimport Composer from './Composer';\n@@ -69,6 +70,9 @@ const styles = StyleSheet.create({\nbord... | TypeScript | MIT License | faridsafi/react-native-gifted-chat | Fix input toolbar position
This positions the toolbar to be at the absolute bottom since I scale my gifted chat depending on the devices |
215,593 | 02.10.2017 19:46:42 | -28,800 | f1c990d813910862184bd4b8ff72bc16295dfd7a | add keyboard listener for IOS | [
{
"change_type": "MODIFY",
"old_path": "src/InputToolbar.js",
"new_path": "src/InputToolbar.js",
"diff": "@@ -3,6 +3,7 @@ import React from 'react';\nimport {\nStyleSheet,\nView,\n+ Keyboard,\nViewPropTypes,\nDimensions\n} from 'react-native';\n@@ -12,6 +13,38 @@ import Send from './Send';\nimport A... | TypeScript | MIT License | faridsafi/react-native-gifted-chat | add keyboard listener for IOS |
215,639 | 10.10.2017 17:25:06 | -3,600 | b019f9819a4ea8845d22c00d8225b23047c7d8ca | Update moment to fix
Basically, the `metro-bundler` never accepted the way moment worked with dynamic imports. But 2.19.0 fixes that and allows the lib to be used on RN >=49.0.
Read here for [more details](https://github.com/facebook/metro-bundler/issues/65#issuecomment-335524547). | [
{
"change_type": "MODIFY",
"old_path": "package.json",
"new_path": "package.json",
"diff": "\"dependencies\": {\n\"@expo/react-native-action-sheet\": \"cribspot/react-native-action-sheet#b422c54f26d30b9e85eb14a882ea9cec38600730\",\n\"md5\": \"2.2.1\",\n- \"moment\": \"2.18.1\",\n+ \"moment\": \"2.19... | TypeScript | MIT License | faridsafi/react-native-gifted-chat | Update moment to fix #597
Basically, the `metro-bundler` never accepted the way moment worked with dynamic imports. But 2.19.0 fixes that and allows the lib to be used on RN >=49.0.
Read here for [more details](https://github.com/facebook/metro-bundler/issues/65#issuecomment-335524547). |
215,583 | 10.10.2017 23:15:12 | 10,800 | 3712688fd52e5771f1bcfa7ce2eebb83ee6a0e9a | Using original updated dependencies instead of forks | [
{
"change_type": "MODIFY",
"old_path": "package.json",
"new_path": "package.json",
"diff": "\"eslint-plugin-react-native\": \"2.3.2\"\n},\n\"dependencies\": {\n- \"@expo/react-native-action-sheet\": \"cribspot/react-native-action-sheet#b422c54f26d30b9e85eb14a882ea9cec38600730\",\n+ \"@expo/react-nat... | TypeScript | MIT License | faridsafi/react-native-gifted-chat | Using original updated dependencies instead of forks |
215,678 | 18.10.2017 17:55:03 | -28,800 | 856514a25fab0dc477f20711812449e345765044 | Add support for system message | [
{
"change_type": "MODIFY",
"old_path": "README.md",
"new_path": "README.md",
"diff": "@@ -21,6 +21,7 @@ The most complete chat UI for React Native (formerly known as Gifted Messenger).\n- Multiline TextInput\n- InputToolbar avoiding keyboard\n- Redux support\n+- System message\n## Dependency\n@@ -88... | TypeScript | MIT License | faridsafi/react-native-gifted-chat | Add support for system message |
215,678 | 19.10.2017 12:48:33 | -28,800 | e395fed0206945ced57712a6bf465a606e03fc9b | Remove redundant system message check | [
{
"change_type": "MODIFY",
"old_path": "src/Message.js",
"new_path": "src/Message.js",
"diff": "@@ -44,15 +44,12 @@ export default class Message extends React.Component {\n}\nrenderSystemMessage() {\n- if (this.props.currentMessage.system) {\nconst systemMessageProps = this.getInnerComponentProps();... | TypeScript | MIT License | faridsafi/react-native-gifted-chat | Remove redundant system message check |
215,588 | 22.10.2017 16:15:03 | -10,800 | 48fb6beee9886829b55126eccf1eaa18d03b0eaa | Add childrenProps to ParsedText | [
{
"change_type": "MODIFY",
"old_path": "src/MessageText.js",
"new_path": "src/MessageText.js",
"diff": "@@ -76,6 +76,7 @@ export default class MessageText extends React.Component {\n{type: 'phone', style: linkStyle, onPress: this.onPhonePress},\n{type: 'email', style: linkStyle, onPress: this.onEmai... | TypeScript | MIT License | faridsafi/react-native-gifted-chat | Add childrenProps to ParsedText |
215,588 | 22.10.2017 18:07:07 | -10,800 | ed7805aaf913e4386736e51542da9b6fca3e5e25 | add customTextStyle to MessageText | [
{
"change_type": "MODIFY",
"old_path": "src/MessageText.js",
"new_path": "src/MessageText.js",
"diff": "@@ -69,7 +69,7 @@ export default class MessageText extends React.Component {\nreturn (\n<View style={[styles[this.props.position].container, this.props.containerStyle[this.props.position]]}>\n<Par... | TypeScript | MIT License | faridsafi/react-native-gifted-chat | add customTextStyle to MessageText |
215,676 | 07.12.2017 16:33:34 | -32,400 | 6aa5c86e1b18830348d8e279bf2641b2239c72c0 | add Invert GiftedChat prop | [
{
"change_type": "MODIFY",
"old_path": "src/GiftedChat.js",
"new_path": "src/GiftedChat.js",
"diff": "@@ -71,7 +71,7 @@ class GiftedChat extends React.Component {\nthis.invertibleScrollViewProps = {\n- inverted: true,\n+ inverted: this.props.inverted,\nkeyboardShouldPersistTaps: this.props.keyboardS... | TypeScript | MIT License | faridsafi/react-native-gifted-chat | add Invert GiftedChat prop |
215,676 | 07.12.2017 17:36:40 | -32,400 | e177c392e9cc23417536199e5c68e1cedef7c525 | loadEarlier Component always at top irregardless of props.inverted value | [
{
"change_type": "MODIFY",
"old_path": "src/MessageContainer.js",
"new_path": "src/MessageContainer.js",
"diff": "@@ -156,8 +156,8 @@ export default class MessageContainer extends React.Component {\ndataSource={this.state.dataSource}\nrenderRow={this.renderRow}\n- renderHeader={this.renderFooter}\n-... | TypeScript | MIT License | faridsafi/react-native-gifted-chat | loadEarlier Component always at top irregardless of props.inverted value |
215,676 | 09.12.2017 18:05:09 | -32,400 | ca4c70015eb5a10a66686888ce623a28d13ed064 | Add docs for inverted prop | [
{
"change_type": "MODIFY",
"old_path": "README.md",
"new_path": "README.md",
"diff": "@@ -142,6 +142,7 @@ e.g. System Message\n- **`renderBubble`** _(Function)_ - Custom message bubble\n- **`renderSystemMessage`** _(Function)_ - Custom system message\n- **`onLongPress`** _(Function(`context`, `messa... | TypeScript | MIT License | faridsafi/react-native-gifted-chat | Add docs for inverted prop |
215,661 | 15.12.2017 18:38:45 | -3,600 | 8efd338b87146d8114752eaa327298257917a2fd | fix(inverted): change style according inverted new props | [
{
"change_type": "MODIFY",
"old_path": "src/GiftedChat.js",
"new_path": "src/GiftedChat.js",
"diff": "@@ -325,7 +325,6 @@ class GiftedChat extends React.Component {\nif (!Array.isArray(messages)) {\nmessages = [messages];\n}\n-\nmessages = messages.map((message) => {\nreturn {\n...message,\n"
},
... | TypeScript | MIT License | faridsafi/react-native-gifted-chat | fix(inverted): change style according inverted new props |
215,661 | 18.12.2017 11:57:56 | -3,600 | 1518e219685f13640d20c694933b7e479d55621f | fix(append/prepend): add inverted in signature
default true | [
{
"change_type": "MODIFY",
"old_path": "src/GiftedChat.js",
"new_path": "src/GiftedChat.js",
"diff": "@@ -80,18 +80,18 @@ class GiftedChat extends React.Component {\n};\n}\n- static append(currentMessages = [], messages) {\n+ static append(currentMessages = [], messages, inverted = true) {\nif (!Arr... | TypeScript | MIT License | faridsafi/react-native-gifted-chat | fix(append/prepend): add inverted in signature
default true |
215,661 | 18.12.2017 16:05:29 | -3,600 | 5b67203570a2bcadf9475eec3c14149c4e404eac | fix(error): on runtime | [
{
"change_type": "MODIFY",
"old_path": "src/Colors.js",
"new_path": "src/Colors.js",
"diff": "@@ -11,4 +11,5 @@ export default {\nturquoise: '#1abc9c',\nmidnightBlue: '#2c3e50',\noptionTintColor: '#007AFF',\n+ timeTextColor: '#aaa',\n};\n"
},
{
"change_type": "MODIFY",
"old_path": "src/C... | TypeScript | MIT License | faridsafi/react-native-gifted-chat | fix(error): on runtime |
215,661 | 18.12.2017 16:07:39 | -3,600 | fd63b0255e278217bd23cfb3730ae5ef9bc4071c | chore(ci): add circle-ci conf | [
{
"change_type": "ADD",
"old_path": null,
"new_path": "circle.yml",
"diff": "+---\n+machine:\n+ environment:\n+ PATH: \"${PATH}:${HOME}/${CIRCLE_PROJECT_REPONAME}/node_modules/.bin\"\n+ node:\n+ version: 8.2.0\n+\n+dependencies:\n+ override:\n+ - yarn global add codecov\n+ - yarn install --no-progre... | TypeScript | MIT License | faridsafi/react-native-gifted-chat | chore(ci): add circle-ci conf |
215,661 | 18.12.2017 16:44:53 | -3,600 | 43e30a63168bf43e9eddac18023aa17bcca89a87 | feat(Colors.js): use it everywhere | [
{
"change_type": "MODIFY",
"old_path": "src/Bubble.js",
"new_path": "src/Bubble.js",
"diff": "@@ -14,6 +14,7 @@ import {\nimport MessageText from './MessageText';\nimport MessageImage from './MessageImage';\nimport Time from './Time';\n+import Colors from './Colors';\nimport { isSameUser, isSameDay,... | TypeScript | MIT License | faridsafi/react-native-gifted-chat | feat(Colors.js): use it everywhere |
215,661 | 18.12.2017 16:55:39 | -3,600 | 6dff83456c6dccaa17d0cc319678ffd8b7012521 | fix(console): removed missed warn | [
{
"change_type": "MODIFY",
"old_path": "src/GiftedChat.js",
"new_path": "src/GiftedChat.js",
"diff": "@@ -40,8 +40,6 @@ const {\nDATE_FORMAT,\n} = Constants;\n-console.warn(MIN_COMPOSER_HEIGHT, MAX_COMPOSER_HEIGHT);\n-\nclass GiftedChat extends React.Component {\nstatic append(currentMessages = [], ... | TypeScript | MIT License | faridsafi/react-native-gifted-chat | fix(console): removed missed warn |
215,661 | 18.12.2017 17:16:43 | -3,600 | aefde5cda418214c13cc8c07a7cd259011f108fa | fix(staless component): missed props | [
{
"change_type": "MODIFY",
"old_path": "src/MessageImage.js",
"new_path": "src/MessageImage.js",
"diff": "@@ -5,19 +5,25 @@ import React from 'react';\nimport { Image, StyleSheet, View, ViewPropTypes } from 'react-native';\nimport Lightbox from 'react-native-lightbox';\n-export default function Mess... | TypeScript | MIT License | faridsafi/react-native-gifted-chat | fix(staless component): missed props |
215,661 | 18.12.2017 20:36:09 | -3,600 | e5f0cb264c10b4ac7bad52b3790489c2bad9cbca | fix(naming): Color and Constant | [
{
"change_type": "RENAME",
"old_path": "src/Colors.js",
"new_path": "src/Color.js",
"diff": ""
},
{
"change_type": "MODIFY",
"old_path": "src/Composer.js",
"new_path": "src/Composer.js",
"diff": "@@ -4,11 +4,9 @@ import PropTypes from 'prop-types';\nimport React from 'react';\nim... | TypeScript | MIT License | faridsafi/react-native-gifted-chat | fix(naming): Color and Constant |
215,661 | 18.12.2017 20:42:12 | -3,600 | 3f09d3804b895846eb1d7467dea6e331db0b2d40 | fix(Color): naming | [
{
"change_type": "MODIFY",
"old_path": "src/Actions.js",
"new_path": "src/Actions.js",
"diff": "import PropTypes from 'prop-types';\nimport React from 'react';\nimport { StyleSheet, Text, TouchableOpacity, View, ViewPropTypes } from 'react-native';\n-import Colors from './Colors';\n+import Color fro... | TypeScript | MIT License | faridsafi/react-native-gifted-chat | fix(Color): naming |
215,661 | 18.12.2017 21:42:58 | -3,600 | ce91bf33b14b0894d5daca1ba47b46199889e7b4 | chore(lint): de-order main file method | [
{
"change_type": "MODIFY",
"old_path": "src/GiftedChat.js",
"new_path": "src/GiftedChat.js",
"diff": "/* eslint\nno-param-reassign: 0,\nno-use-before-define: [\"error\", { \"variables\": false }],\n- arrow-parens: 0,\nno-return-assign: 0,\n- no-mixed-operators: 0\n+ no-mixed-operators: 0,\n+ react/s... | TypeScript | MIT License | faridsafi/react-native-gifted-chat | chore(lint): de-order main file method |
215,661 | 18.12.2017 21:49:41 | -3,600 | 587319e2abbfa732dfbb558fceea7b698a309930 | fix(lint): LoaderEarlier scrunched | [
{
"change_type": "MODIFY",
"old_path": "src/LoadEarlier.js",
"new_path": "src/LoadEarlier.js",
"diff": "@@ -17,11 +17,17 @@ export default class LoadEarlier extends React.Component {\nrenderLoading() {\nif (this.props.isLoadingEarlier === false) {\n- return <Text style={[styles.text, this.props.text... | TypeScript | MIT License | faridsafi/react-native-gifted-chat | fix(lint): LoaderEarlier scrunched |
215,661 | 18.12.2017 21:51:23 | -3,600 | 1cf028d85f3e50a3c3f3969bc80ec647cf22151b | fix(lint): GiftedChat | [
{
"change_type": "MODIFY",
"old_path": "src/GiftedChat.js",
"new_path": "src/GiftedChat.js",
"diff": "@@ -40,6 +40,7 @@ import {\n} from './Constant';\nclass GiftedChat extends React.Component {\n+\nconstructor(props) {\nsuper(props);\n@@ -297,7 +298,7 @@ class GiftedChat extends React.Component {\n... | TypeScript | MIT License | faridsafi/react-native-gifted-chat | fix(lint): GiftedChat |
215,661 | 18.12.2017 21:57:10 | -3,600 | da1cf48f3a74c592c071ab86d27c1f54f9d62a6d | chore(hook): add husky | [
{
"change_type": "MODIFY",
"old_path": "package.json",
"new_path": "package.json",
"diff": "},\n\"homepage\": \"https://github.com/FaridSafi/react-native-gifted-chat#readme\",\n\"scripts\": {\n- \"lint\": \"eslint . --ext .js,.jsx\"\n+ \"lint\": \"eslint . --ext .js,.jsx\",\n+ \"precommit\": \"yarn ... | TypeScript | MIT License | faridsafi/react-native-gifted-chat | chore(hook): add husky |
215,583 | 18.12.2017 18:26:21 | 10,800 | 20d8bd0457a30e2aa3fa2dcce498a0a3aeab882a | Added nodejs & react versions | [
{
"change_type": "MODIFY",
"old_path": "ISSUE_TEMPLATE.md",
"new_path": "ISSUE_TEMPLATE.md",
"diff": "#### Additional Information\n+* Nodejs version: [FILL THIS OUT]\n+* React version: [FILL THIS OUT]\n* React Native version: [FILL THIS OUT]\n* react-native-gifted-chat version: [FILL THIS OUT]\n* Pl... | TypeScript | MIT License | faridsafi/react-native-gifted-chat | Added nodejs & react versions |
215,661 | 20.12.2017 18:01:08 | -3,600 | ed765b4d38f04d5cf93fa8afa52c23265d9965d8 | fix(typos): carot => carrot | [
{
"change_type": "MODIFY",
"old_path": "src/GiftedAvatar.js",
"new_path": "src/GiftedAvatar.js",
"diff": "-/* eslint no-use-before-define: [\"error\", { \"variables\": false }] */\n+/* eslint no-use-before-define: [\"error\", { \"variables\": false }], padded-blocks: 0 */\nimport PropTypes from 'pro... | TypeScript | MIT License | faridsafi/react-native-gifted-chat | fix(typos): carot => carrot |
215,661 | 21.12.2017 09:48:48 | -3,600 | 349a4a0187c2063b4f2c97686367a1542c80c3a1 | Add questions sections to README.md | [
{
"change_type": "MODIFY",
"old_path": "README.md",
"new_path": "README.md",
"diff": "@@ -242,6 +242,9 @@ with any changes you make to the library during development. Steps:\nNote that it's important for `wml start` to come **after** `npm start`, or you'll get `Can't find entry file index.js` errors... | TypeScript | MIT License | faridsafi/react-native-gifted-chat | Add questions sections to README.md |
215,661 | 21.12.2017 09:52:48 | -3,600 | 4def71fb590194ce8273b6892e7cf2c8130c3184 | Add a questions in section README.md | [
{
"change_type": "MODIFY",
"old_path": "README.md",
"new_path": "README.md",
"diff": "@@ -244,7 +244,8 @@ If you have any issues, you can clear your watches using `watchman watch-del-all\n## Questions\n- [How can I set Bubble color for each user?](https://github.com/FaridSafi/react-native-gifted-cha... | TypeScript | MIT License | faridsafi/react-native-gifted-chat | Add a questions in section README.md |
215,661 | 21.12.2017 09:57:15 | -3,600 | d50392a81f717a9584b3a0c634b848dbd64dc039 | Add questions in section README.md | [
{
"change_type": "MODIFY",
"old_path": "README.md",
"new_path": "README.md",
"diff": "@@ -244,8 +244,10 @@ If you have any issues, you can clear your watches using `watchman watch-del-all\n## Questions\n- [How can I set Bubble color for each user?](https://github.com/FaridSafi/react-native-gifted-ch... | TypeScript | MIT License | faridsafi/react-native-gifted-chat | Add questions in section README.md |
215,661 | 12.01.2018 15:55:40 | -3,600 | 907205fc3a016cffbca634473568038ecb891681 | doc(readme): add screenshot | [
{
"change_type": "ADD",
"old_path": "screenshots/iPhone-6s-gifted-chat-3.png",
"new_path": "screenshots/iPhone-6s-gifted-chat-3.png",
"diff": "Binary files /dev/null and b/screenshots/iPhone-6s-gifted-chat-3.png differ\n"
}
] | TypeScript | MIT License | faridsafi/react-native-gifted-chat | doc(readme): add screenshot |
215,661 | 16.01.2018 16:19:49 | -3,600 | 85c6b0d69abe39018d34aa3b22a17a7f18e6029c | fix(redundant): fix issue | [
{
"change_type": "MODIFY",
"old_path": "src/GiftedChat.js",
"new_path": "src/GiftedChat.js",
"diff": "@@ -445,9 +445,6 @@ class GiftedChat extends React.Component {\nmaxLength: this.getIsTypingDisabled() ? 0 : this.props.maxInputLength,\n},\n};\n- if (this.getIsTypingDisabled()) {\n- inputToolbarPro... | TypeScript | MIT License | faridsafi/react-native-gifted-chat | fix(redundant): fix issue #704 (#708) |
215,661 | 23.01.2018 15:36:21 | -3,600 | b9ead9f2aa893faf83193cca838d93efe6dc9ebb | MAX_COMPOSER_HEIGHT to 200 | [
{
"change_type": "MODIFY",
"old_path": "src/Constant.js",
"new_path": "src/Constant.js",
"diff": "@@ -4,7 +4,7 @@ export const MIN_COMPOSER_HEIGHT = Platform.select({\nios: 33,\nandroid: 41,\n});\n-export const MAX_COMPOSER_HEIGHT = 100;\n+export const MAX_COMPOSER_HEIGHT = 200;\nexport const DEFAUL... | TypeScript | MIT License | faridsafi/react-native-gifted-chat | MAX_COMPOSER_HEIGHT to 200 |
215,661 | 23.01.2018 17:57:35 | -3,600 | d3c68c395511ac1ea3fa21021b8e4c0b016b92db | fix(snapshot): max height 200 | [
{
"change_type": "MODIFY",
"old_path": "src/__tests__/__snapshots__/Constant.test.js.snap",
"new_path": "src/__tests__/__snapshots__/Constant.test.js.snap",
"diff": "@@ -4,7 +4,7 @@ exports[`should compare Constant with snapshot 1`] = `\nObject {\n\"DATE_FORMAT\": \"ll\",\n\"DEFAULT_PLACEHOLDER\": \... | TypeScript | MIT License | faridsafi/react-native-gifted-chat | fix(snapshot): max height 200 |
215,661 | 30.01.2018 23:10:22 | -3,600 | 9079f7bf28705e28d9a6b750adb30ab7aa13ab6d | Try with xcode machie | [
{
"change_type": "MODIFY",
"old_path": "circle.yml",
"new_path": "circle.yml",
"diff": "---\nmachine:\nenvironment:\n- PATH: \"${PATH}:${HOME}/${CIRCLE_PROJECT_REPONAME}/node_modules/.bin\"\n- node:\n- version: 8.2.0\n+ CODE_SIGNING_REQUIRED: 'NO'\n+ xcode:\n+ version: \"9.0\"\ndependencies:\noverri... | TypeScript | MIT License | faridsafi/react-native-gifted-chat | Try with xcode machie |
215,661 | 30.01.2018 23:19:23 | -3,600 | 5aa66a511064a1759fc5e5b9585723d02f003c5d | revert xcode try | [
{
"change_type": "MODIFY",
"old_path": "circle.yml",
"new_path": "circle.yml",
"diff": "---\nmachine:\nenvironment:\n- CODE_SIGNING_REQUIRED: 'NO'\n- xcode:\n- version: \"9.0\"\n-\n+ PATH: \"${PATH}:${HOME}/${CIRCLE_PROJECT_REPONAME}/node_modules/.bin\"\n+ node:\n+ version: 8.2.0\ndependencies:\nove... | TypeScript | MIT License | faridsafi/react-native-gifted-chat | revert xcode try |
215,683 | 09.02.2018 22:14:09 | -28,800 | e2d6c4f650345b115e675abafad217d2a9412616 | Fix initials not changing on user.name prop change | [
{
"change_type": "MODIFY",
"old_path": "src/GiftedAvatar.js",
"new_path": "src/GiftedAvatar.js",
"diff": "@@ -10,7 +10,7 @@ const { carrot, emerald, peterRiver, wisteria, alizarin, turquoise, midnightBlue\n// 3 words name initials\n// handle only alpha numeric chars\n-export default class GiftedAvat... | TypeScript | MIT License | faridsafi/react-native-gifted-chat | Fix initials not changing on user.name prop change (#746) |
215,633 | 16.02.2018 09:54:56 | 10,800 | feecf697d050dcbeb3298712e87963f6bb1f330b | prop for keyboard style | [
{
"change_type": "MODIFY",
"old_path": "src/Composer.js",
"new_path": "src/Composer.js",
"diff": "@@ -44,6 +44,7 @@ export default class Composer extends React.Component {\naccessibilityLabel={this.props.text || this.props.placeholder}\nenablesReturnKeyAutomatically\nunderlineColorAndroid=\"transpar... | TypeScript | MIT License | faridsafi/react-native-gifted-chat | prop for keyboard style (#754) |
215,661 | 16.02.2018 15:45:28 | -3,600 | 1a424d22ed880ff3b6adedce203e79a64d94710f | chore(travis): remove filter appr | [
{
"change_type": "MODIFY",
"old_path": ".travis.yml",
"new_path": ".travis.yml",
"diff": "@@ -6,4 +6,4 @@ script:\n- 'export BRANCH=$(if [ \"$TRAVIS_PULL_REQUEST\" == \"false\" ]; then echo $TRAVIS_BRANCH; else echo $TRAVIS_PULL_REQUEST_BRANCH; fi)'\n- 'export BRANCH=\"$TRAVIS_PULL_REQUEST_SLUG#$BRA... | TypeScript | MIT License | faridsafi/react-native-gifted-chat | chore(travis): remove filter appr |
215,661 | 16.02.2018 16:53:26 | -3,600 | 1c2ddeda3f513f65c366fd58c36a99a41a3eadfe | chore(travis build): refer to the effective branch | [
{
"change_type": "MODIFY",
"old_path": ".travis.yml",
"new_path": ".travis.yml",
"diff": "@@ -3,7 +3,6 @@ node_js:\n- \"node\"\ncache: yarn\nscript:\n- - 'export BRANCH=$(if [ \"$TRAVIS_PULL_REQUEST\" == \"false\" ]; then echo $TRAVIS_BRANCH; else echo $TRAVIS_PULL_REQUEST_BRANCH; fi)'\n- - 'export ... | TypeScript | MIT License | faridsafi/react-native-gifted-chat | chore(travis build): refer to the effective branch |
215,661 | 16.02.2018 17:02:59 | -3,600 | 89edaf6286643d040749a0fcdae6869890c5dacd | chore(travis): try to fix | [
{
"change_type": "MODIFY",
"old_path": ".travis.yml",
"new_path": ".travis.yml",
"diff": "@@ -3,6 +3,11 @@ node_js:\n- \"node\"\ncache: yarn\nscript:\n+ - 'export GITHUB_SOURCE_BRANCH=$(if [ \"$TRAVIS_PULL_REQUEST\" == \"false\" ]; then echo \"$TRAVIS_BRANCH\"; fi)'\n+ - 'export TRAVIS_PULL_REQUEST_... | TypeScript | MIT License | faridsafi/react-native-gifted-chat | chore(travis): try to fix |
215,661 | 16.02.2018 17:10:29 | -3,600 | d03586aa714f9da6115372069e9950a4fb63b448 | chore(tarvis): on master just deploy on expo | [
{
"change_type": "MODIFY",
"old_path": ".travis.yml",
"new_path": ".travis.yml",
"diff": "@@ -3,11 +3,6 @@ node_js:\n- \"node\"\ncache: yarn\nscript:\n- - 'export GITHUB_SOURCE_BRANCH=$(if [ \"$TRAVIS_PULL_REQUEST\" == \"false\" ]; then echo \"$TRAVIS_BRANCH\"; fi)'\n- - 'export TRAVIS_PULL_REQUEST_... | TypeScript | MIT License | faridsafi/react-native-gifted-chat | chore(tarvis): on master just deploy on expo |
215,661 | 16.02.2018 17:14:06 | -3,600 | 94f750afc1696554538a3a38d48e653fe71354dd | chore(travis): fix shell syntax | [
{
"change_type": "MODIFY",
"old_path": ".travis.yml",
"new_path": ".travis.yml",
"diff": "@@ -5,4 +5,4 @@ cache: yarn\nscript:\n- 'export BRANCH=$(if [ \"$TRAVIS_PULL_REQUEST\" == \"false\" ]; then echo \"$TRAVIS_REPO_SLUG\"; else echo \"$TRAVIS_PULL_REQUEST_SLUG#$TRAVIS_PULL_REQUEST_BRANCH\"; fi)'\... | TypeScript | MIT License | faridsafi/react-native-gifted-chat | chore(travis): fix shell syntax |
215,661 | 16.02.2018 17:30:46 | -3,600 | 179619602fdd371a268e3b8d5c6fe66f88c7449b | fix(exp): credentials | [
{
"change_type": "MODIFY",
"old_path": "package.json",
"new_path": "package.json",
"diff": "\"test:coverage\": \"jest --coverage\",\n\"appr\": \"cd example-expo && ./setPRVersion.js && yarn && yarn appr\",\n\"deploy\":\n- \"cd example-expo && yarn install && exp login --username $EXPO_USERNAME --pas... | TypeScript | MIT License | faridsafi/react-native-gifted-chat | fix(exp): credentials |
215,661 | 23.02.2018 10:24:46 | -3,600 | f1e3b70fa6495ab446c0d5799b4b1f3d48c2bd2f | Add mysql question | [
{
"change_type": "MODIFY",
"old_path": "README.md",
"new_path": "README.md",
"diff": "@@ -266,6 +266,7 @@ If you have any issues, you can clear your watches using `watchman watch-del-all\nwhat is the best implementation in this case and how?](https://github.com/FaridSafi/react-native-gifted-chat/iss... | TypeScript | MIT License | faridsafi/react-native-gifted-chat | Add mysql question |
215,706 | 09.03.2018 18:54:18 | -3,600 | ad2ede9f79566e1709ab616edebf4243cfaf54c8 | Removed declare statement, as implicit, use ReactNode instead JSX.Element | [
{
"change_type": "MODIFY",
"old_path": "index.d.ts",
"new_path": "index.d.ts",
"diff": "-import * as React from \"react\";\n-import {\n- TextStyle,\n- ViewStyle,\n- TextInputProperties,\n- TextInput,\n- ImageStyle,\n- ListView,\n- ListViewProperties,\n- ImageProperties,\n- TextProperties\n-} from \"... | TypeScript | MIT License | faridsafi/react-native-gifted-chat | Removed declare statement, as implicit, use ReactNode instead JSX.Element (#786) |
215,596 | 12.03.2018 18:23:10 | -3,600 | 4dea9ba580380ad33ea8521c8335e42d15451901 | Remove redundant ref causing crash in React 16.1 | [
{
"change_type": "MODIFY",
"old_path": "src/MessageContainer.js",
"new_path": "src/MessageContainer.js",
"diff": "@@ -148,7 +148,7 @@ export default class MessageContainer extends React.Component {\n: styles.notInvertedContentContainerStyle;\nreturn (\n- <View ref=\"container\" style={styles.contain... | TypeScript | MIT License | faridsafi/react-native-gifted-chat | Remove redundant ref causing crash in React 16.1 (#643) |
215,583 | 15.03.2018 13:13:47 | 10,800 | b9db8f86389c47ad2ba8d9a9d495d8f5007f89b4 | Hotfix bad this context when calling actions | [
{
"change_type": "MODIFY",
"old_path": "src/Actions.js",
"new_path": "src/Actions.js",
"diff": "@@ -21,9 +21,9 @@ export default class Actions extends React.Component {\ncancelButtonIndex,\ntintColor: this.props.optionTintColor,\n},\n- function handle(buttonIndex) {\n+ (buttonIndex) => {\nlet i = 0;... | TypeScript | MIT License | faridsafi/react-native-gifted-chat | Hotfix bad this context when calling actions |
215,661 | 16.03.2018 14:15:30 | -3,600 | 869b0b2b4946842d6c301616a4abfd8fc40b4a21 | chore(publish): prepare clean publish | [
{
"change_type": "MODIFY",
"old_path": ".npmignore",
"new_path": ".npmignore",
"diff": "example/\n+example-expo/\n+example-slack-message/\nTODO.md\nscreenshots/\n.babelrc\ntests/\n+codecov.yml\n+index.d.ts\n\\ No newline at end of file\n"
},
{
"change_type": "MODIFY",
"old_path": "yarn.l... | TypeScript | MIT License | faridsafi/react-native-gifted-chat | chore(publish): prepare clean publish |
215,661 | 21.03.2018 12:07:27 | -3,600 | 10f0a42d5a3b73b4c84806b03d842acf909981fd | add peerDependencies
* chore(deps): add peerDependencies
With prop-types, react and react-native and * versions. | [
{
"change_type": "MODIFY",
"old_path": "package.json",
"new_path": "package.json",
"diff": "\"eslint-plugin-react-native\": \"3.2.1\",\n\"husky\": \"0.15.0-rc.2\",\n\"jest\": \"22.1.4\",\n+ \"react-test-renderer\": \"16.2.0\",\n\"react\": \"16.2.0\",\n\"react-native\": \"0.51.0\",\n- \"react-test-re... | TypeScript | MIT License | faridsafi/react-native-gifted-chat | add peerDependencies (#802)
* chore(deps): add peerDependencies
With prop-types, react and react-native and * versions. |
215,604 | 30.03.2018 15:11:03 | -19,080 | beabebdcee192ee08918053e7673cbafb7dc954f | Added type for showAvatarForEveryMessage in index.d.ts. | [
{
"change_type": "MODIFY",
"old_path": "index.d.ts",
"new_path": "index.d.ts",
"diff": "@@ -168,6 +168,8 @@ export interface GiftedChatProps {\nrenderAvatar?(props: AvatarProps): React.ReactNode;\n/* Whether to render an avatar for the current user; default is false, only show avatars for other user... | TypeScript | MIT License | faridsafi/react-native-gifted-chat | Added type for showAvatarForEveryMessage in index.d.ts. #731 (#811) |
215,583 | 06.04.2018 10:35:43 | 10,800 | c0add098ec8409bedd952069f3dcdc7ebaff6807 | (hotfix) Use indexOf instead of latest item for cancel action. Refactorized action press callback | [
{
"change_type": "MODIFY",
"old_path": "src/Actions.js",
"new_path": "src/Actions.js",
"diff": "@@ -13,25 +13,20 @@ export default class Actions extends React.Component {\n}\nonActionsPress() {\n- const options = Object.keys(this.props.options);\n- const cancelButtonIndex = Object.keys(this.props.op... | TypeScript | MIT License | faridsafi/react-native-gifted-chat | (hotfix) Use indexOf instead of latest item for cancel action. Refactorized action press callback |
215,611 | 27.04.2018 15:35:32 | -7,200 | fef50811cd5faff48c9f04c55cfdeaf82c9aab6f | add image beacon to readme | [
{
"change_type": "MODIFY",
"old_path": "README.md",
"new_path": "README.md",
"diff": "@@ -284,3 +284,5 @@ Feel free to ask me questions on Twitter [@FaridSafi](https://www.twitter.com/Fa\n* Bruno Cascio [brunocascio](https://github.com/brunocascio)\n* Xavier Carpentier [xcarpentier](https://github.c... | TypeScript | MIT License | faridsafi/react-native-gifted-chat | add image beacon to readme |
215,715 | 07.05.2018 18:49:36 | -10,800 | 76c57a75d5914cce64b0bfec98cb19ffee881576 | Update README.md
Update image because last image not exist | [
{
"change_type": "MODIFY",
"old_path": "README.md",
"new_path": "README.md",
"diff": "@@ -78,7 +78,7 @@ class Example extends React.Component {\nuser: {\n_id: 2,\nname: 'React Native',\n- avatar: 'https://facebook.github.io/react/img/logo_og.png',\n+ avatar: 'https://placeimg.com/140/140/any',\n},\n... | TypeScript | MIT License | faridsafi/react-native-gifted-chat | Update README.md (#827)
Update image because last image not exist |
215,619 | 09.05.2018 21:52:32 | -3,600 | c8c359e4cfc92812f690787c160b0c46731b1c5a | Add Chatkit asset to README.md | [
{
"change_type": "MODIFY",
"old_path": "README.md",
"new_path": "README.md",
"diff": "<a href=\"https://snack.expo.io/@xcarpentier/gifted-chat\" target=\"_blank\"><i>demo</i></a>\n</p>\n+## Sponsor\n+\n+<p align=\"center\">\n+ <sup>Sponsored by <a href=\"https://pusher.com/chatkit?utm_source=github&... | TypeScript | MIT License | faridsafi/react-native-gifted-chat | Add Chatkit asset to README.md |
215,609 | 16.06.2018 17:47:19 | 10,800 | 36082ff059d0bf4ec8a51d701425183f3d665900 | Move listViewProps to the end
It allows to override props like `style` as suggested on | [
{
"change_type": "MODIFY",
"old_path": "src/MessageContainer.js",
"new_path": "src/MessageContainer.js",
"diff": "@@ -100,7 +100,6 @@ export default class MessageContainer extends React.PureComponent {\nenableEmptySections\nautomaticallyAdjustContentInsets={false}\ninverted={this.props.inverted}\n- ... | TypeScript | MIT License | faridsafi/react-native-gifted-chat | Move listViewProps to the end (#882)
It allows to override props like `style` as suggested on #795 |
215,679 | 09.07.2018 18:17:31 | -32,400 | 1ba8f8b233b1bf206d02d6b14c5a720a07fac9c1 | Use IMessage type instead of `any` to define the type of message property | [
{
"change_type": "MODIFY",
"old_path": "index.d.ts",
"new_path": "index.d.ts",
"diff": "@@ -136,7 +136,7 @@ export class GiftedAvatarProps extends React.Component<GiftedAvatarProps> { }\nexport interface GiftedChatProps {\n/* Messages to display */\n- messages?: any[];\n+ messages?: IMessage[];\n/* ... | TypeScript | MIT License | faridsafi/react-native-gifted-chat | Use IMessage type instead of `any` to define the type of message property (#861) |
215,689 | 08.11.2018 22:51:05 | -3,600 | 89c7b573cce0fac637d44737732082fc96a0457b | Change component interface name ISystemChat to SystemChat
* Change component name ISystemChat to SystemChat
ISystemChat was defined twice leading to issues
* Add system param to IChatMessage | [
{
"change_type": "MODIFY",
"old_path": "index.d.ts",
"new_path": "index.d.ts",
"diff": "@@ -22,6 +22,7 @@ export interface IChatMessage {\navatar: string;\n};\nimage?: string;\n+ system?: false;\n}\nexport interface ISystemMessage {\n@@ -347,7 +348,7 @@ interface SystemMessageProps {\ntextStyle?: Te... | TypeScript | MIT License | faridsafi/react-native-gifted-chat | Change component interface name ISystemChat to SystemChat (#995)
* Change component name ISystemChat to SystemChat
ISystemChat was defined twice leading to issues
* Add system param to IChatMessage |
215,661 | 21.11.2018 11:47:37 | -3,600 | 0a253f0f2bacc49674a4856943cac88a956a6f63 | fix imageStyle?: ViewStyle | [
{
"change_type": "MODIFY",
"old_path": "index.d.ts",
"new_path": "index.d.ts",
"diff": "@@ -237,7 +237,7 @@ export interface GiftedChatProps {\n/* Force send button */\nalwaysShowSend?: boolean;\n/* Image style */\n- imageStyle: ViewStyle\n+ imageStyle?: ViewStyle\n}\nexport class GiftedChat extends... | TypeScript | MIT License | faridsafi/react-native-gifted-chat | fix imageStyle?: ViewStyle |
215,595 | 21.11.2018 23:06:35 | 28,800 | f1ba7d87d166c6af368f0e36418a4c866906e3ab | Error in FlatList with latest react-native version
`keyExtractor` in `FlatList` must now return a string: | [
{
"change_type": "MODIFY",
"old_path": "src/MessageContainer.js",
"new_path": "src/MessageContainer.js",
"diff": "@@ -124,7 +124,7 @@ export default class MessageContainer extends React.PureComponent {\n<View style={styles.container}>\n<FlatList\nref={(ref) => (this.flatListRef = ref)}\n- keyExtract... | TypeScript | MIT License | faridsafi/react-native-gifted-chat | Error in FlatList with latest react-native version
`keyExtractor` in `FlatList` must now return a string: https://facebook.github.io/react-native/docs/flatlist#keyextractor |
215,695 | 03.12.2018 17:19:39 | -3,600 | ae53c055600f26a4763828e5c603cdc79f89cb1e | add send video support
* add send video message support using react-native-video
* update README
* Update MessageVideo.js
disabling eslint no-use-before-define for styles variable | [
{
"change_type": "MODIFY",
"old_path": "README.md",
"new_path": "README.md",
"diff": "@@ -187,6 +187,7 @@ e.g. System Message\n* **`renderMessageText`** _(Function)_ - Custom message text\n* **`renderMessageImage`** _(Function)_ - Custom message image\n* **`imageProps`** _(Object)_ - Extra props to ... | TypeScript | MIT License | faridsafi/react-native-gifted-chat | add send video support (#1010)
* add send video message support using react-native-video
* update README
* Update MessageVideo.js
disabling eslint no-use-before-define for styles variable |
215,661 | 13.12.2018 10:02:21 | -3,600 | 843fc75d7d72c378cf1390afdbf644008f85e282 | add renderUsernameOnMessage on Bubble | [
{
"change_type": "MODIFY",
"old_path": "index.d.ts",
"new_path": "index.d.ts",
"diff": "@@ -73,6 +73,7 @@ interface BubbleProps<TMessage extends IMessage = IMessage> {\nrenderCustomView?(bubbleProps: BubbleProps): React.ReactNode;\nrenderTime?(timeProps: TimeProps): React.ReactNode;\nrenderTicks?(cu... | TypeScript | MIT License | faridsafi/react-native-gifted-chat | add renderUsernameOnMessage on Bubble |
215,661 | 13.12.2018 10:16:52 | -3,600 | 938500d7d6185e9d12f11fea6b1cf2e916ca3343 | Add renderUsername on Bubble props | [
{
"change_type": "MODIFY",
"old_path": "index.d.ts",
"new_path": "index.d.ts",
"diff": "@@ -73,6 +73,7 @@ interface BubbleProps<TMessage extends IMessage = IMessage> {\nrenderCustomView?(bubbleProps: BubbleProps): React.ReactNode;\nrenderTime?(timeProps: TimeProps): React.ReactNode;\nrenderTicks?(cu... | TypeScript | MIT License | faridsafi/react-native-gifted-chat | Add renderUsername on Bubble props |
215,661 | 26.12.2018 15:22:17 | -3,600 | 32e36cfccfcabd75764f71e8f607ab86a3cb0f93 | Key extractor as member | [
{
"change_type": "MODIFY",
"old_path": "src/MessageContainer.js",
"new_path": "src/MessageContainer.js",
"diff": "@@ -116,6 +116,8 @@ export default class MessageContainer extends React.PureComponent {\nreturn <View style={styles.headerWrapper}>{this.renderLoadEarlier()}</View>;\n}\n+ keyExtractor =... | TypeScript | MIT License | faridsafi/react-native-gifted-chat | Key extractor as member |
215,691 | 11.01.2019 00:31:43 | 28,800 | f872d670bc93dc747a131a0ac49fdd8284b85c9a | Min composer height is not respecting props in some instances. Fixing this issue | [
{
"change_type": "MODIFY",
"old_path": "src/GiftedChat.js",
"new_path": "src/GiftedChat.js",
"diff": "@@ -55,7 +55,7 @@ class GiftedChat extends React.Component {\nthis.state = {\nisInitialized: false, // initialization will calculate maxHeight before rendering the chat\n- composerHeight: MIN_COMPOS... | TypeScript | MIT License | faridsafi/react-native-gifted-chat | Min composer height is not respecting props in some instances. Fixing this issue (#1078) |
215,703 | 18.01.2019 09:54:40 | 0 | 5f33b90fcdf22b162a6a556a1b31821e0eb6641c | Update Chatkit example | [
{
"change_type": "MODIFY",
"old_path": "example-pusher-chatkit/MyChat.js",
"new_path": "example-pusher-chatkit/MyChat.js",
"diff": "import React from \"react\";\nimport { GiftedChat } from \"react-native-gifted-chat\";\n-import Chatkit from \"@pusher/chatkit\";\n+import Chatkit from \"@pusher/chatki... | TypeScript | MIT License | faridsafi/react-native-gifted-chat | Update Chatkit example (#1043) |
215,671 | 18.01.2019 10:55:17 | -3,600 | 5d088ae2639753ecaa05f521f7f530a7f1d477b5 | feat: can disable send button | [
{
"change_type": "MODIFY",
"old_path": "src/Send.js",
"new_path": "src/Send.js",
"diff": "@@ -5,7 +5,7 @@ import React from 'react';\nimport { StyleSheet, Text, TouchableOpacity, View, ViewPropTypes } from 'react-native';\nimport Color from './Color';\n-export default function Send({ text, container... | TypeScript | MIT License | faridsafi/react-native-gifted-chat | feat: can disable send button (#1042) |
215,667 | 23.01.2019 18:49:28 | -28,800 | 9bd1d61acd2bcab1f2b737840b764e88b57cc8b3 | Add renderUsernameOnMessage on the documentation
Update README.md | [
{
"change_type": "MODIFY",
"old_path": "README.md",
"new_path": "README.md",
"diff": "@@ -172,6 +172,7 @@ e.g. System Message\n- **`renderSystemMessage`** _(Function)_ - Custom system message\n- **`onLongPress`** _(Function(`context`, `message`))_ - Callback when a message bubble is long-pressed; de... | TypeScript | MIT License | faridsafi/react-native-gifted-chat | Add renderUsernameOnMessage on the documentation (#1096)
Update README.md |
215,667 | 24.01.2019 20:26:14 | -28,800 | b4259bd5fe993cdb5b57109a5e6ba313f44cebd5 | Add video prop in the chat message example | [
{
"change_type": "MODIFY",
"old_path": "README.md",
"new_path": "README.md",
"diff": "@@ -130,6 +130,8 @@ e.g. Chat Message\navatar: 'https://facebook.github.io/react/img/logo_og.png',\n},\nimage: 'https://facebook.github.io/react/img/logo_og.png',\n+ // You can also add a video prop:\n+ video: 'htt... | TypeScript | MIT License | faridsafi/react-native-gifted-chat | Add video prop in the chat message example (#1100) |
215,661 | 24.01.2019 14:35:24 | -3,600 | efc19b1456b8349d647543001718d13d7b4d944d | fix MessageContainer-Pure | [
{
"change_type": "MODIFY",
"old_path": "src/MessageContainer.js",
"new_path": "src/MessageContainer.js",
"diff": "@@ -16,11 +16,11 @@ import LoadEarlier from './LoadEarlier';\nimport Message from './Message';\nimport Color from './Color';\n-export default class MessageContainer extends React.Compone... | TypeScript | MIT License | faridsafi/react-native-gifted-chat | fix MessageContainer-Pure (#1101) |
215,661 | 28.01.2019 10:36:56 | -3,600 | d01272e95dcdae2b380a7f77135f1f9e74f3ce75 | fix add detach keyboard listener | [
{
"change_type": "MODIFY",
"old_path": "src/MessageContainer.js",
"new_path": "src/MessageContainer.js",
"diff": "@@ -28,6 +28,10 @@ export default class MessageContainer extends React.PureComponent {\n}\n}\n+ componentWillUnmount() {\n+ this.detachKeyboardListeners();\n+ }\n+\ncomponentWillReceiveP... | TypeScript | MIT License | faridsafi/react-native-gifted-chat | fix add detach keyboard listener |
215,661 | 28.01.2019 10:42:10 | -3,600 | 46fd0e59811d04b90faee44e03a037f4fa4d369a | fix scu have next message update design message | [
{
"change_type": "MODIFY",
"old_path": "src/Message.js",
"new_path": "src/Message.js",
"diff": "@@ -37,16 +37,17 @@ export default class Message extends React.Component {\nshouldComponentUpdate(nextProps) {\nconst next = nextProps.currentMessage;\nconst current = this.props.currentMessage;\n- const ... | TypeScript | MIT License | faridsafi/react-native-gifted-chat | fix scu have next message update design message |
215,574 | 28.01.2019 13:10:11 | -3,600 | a4fd557ce2562a0a759640f0888af8776664737c | Add initialText prop | [
{
"change_type": "MODIFY",
"old_path": "src/GiftedChat.js",
"new_path": "src/GiftedChat.js",
"diff": "@@ -414,9 +414,10 @@ class GiftedChat extends React.Component {\nthis.setMaxHeight(layout.height);\nconst newComposerHeight = this.props.minComposerHeight;\nconst newMessagesContainerHeight = this.g... | TypeScript | MIT License | faridsafi/react-native-gifted-chat | Add initialText prop (#1104) |
215,684 | 29.01.2019 09:45:00 | -3,600 | 8f18474e71f4e7a6b02e6a817cbf69cb75bae050 | Add missing SendProps properties | [
{
"change_type": "MODIFY",
"old_path": "index.d.ts",
"new_path": "index.d.ts",
"diff": "@@ -352,6 +352,8 @@ interface SendProps {\ncontainerStyle?: ViewStyle;\ntextStyle?: TextStyle;\nchildren?: React.ReactNode;\n+ alwaysShowSend?: boolean;\n+ disabled?: boolean;\n}\nexport class Send extends React.... | TypeScript | MIT License | faridsafi/react-native-gifted-chat | Add missing SendProps properties (#1110) |
215,661 | 29.01.2019 14:24:28 | -3,600 | 95bf7e82a4074c2ffc567ffbd0327d63dc832283 | feat add util isExpo fn | [
{
"change_type": "MODIFY",
"old_path": "src/utils.js",
"new_path": "src/utils.js",
"diff": "@@ -18,3 +18,9 @@ export function isSameDay(currentMessage = {}, diffMessage = {}) {\nexport function isSameUser(currentMessage = {}, diffMessage = {}) {\nreturn !!(diffMessage.user && currentMessage.user && ... | TypeScript | MIT License | faridsafi/react-native-gifted-chat | feat add util isExpo fn |
215,661 | 29.01.2019 14:27:17 | -3,600 | 8ba836a20eaf12f969eec435de8edbbac9c43d06 | Support for Expo video | [
{
"change_type": "MODIFY",
"old_path": "src/MessageVideo.js",
"new_path": "src/MessageVideo.js",
"diff": "import PropTypes from 'prop-types';\nimport React from 'react';\nimport { StyleSheet, View, ViewPropTypes } from 'react-native';\n-import Video from 'react-native-video';\n+import { isExpo } fro... | TypeScript | MIT License | faridsafi/react-native-gifted-chat | Support for Expo video |
215,661 | 29.01.2019 14:32:49 | -3,600 | d9c77f24b990a0d4e29dedbb4ae6a6028da668c4 | feat support expo wip | [
{
"change_type": "MODIFY",
"old_path": "src/MessageVideo.js",
"new_path": "src/MessageVideo.js",
"diff": "+/* eslint global-require: 0 */\n+\nimport PropTypes from 'prop-types';\nimport React from 'react';\nimport { StyleSheet, View, ViewPropTypes } from 'react-native';\n@@ -5,26 +7,22 @@ import { i... | TypeScript | MIT License | faridsafi/react-native-gifted-chat | feat support expo wip |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.