author int64 658 755k | date stringlengths 19 19 | timezone int64 -46,800 43.2k | hash stringlengths 40 40 | message stringlengths 5 490 | mods list | language stringclasses 20 values | license stringclasses 3 values | repo stringlengths 5 68 | original_message stringlengths 12 491 |
|---|---|---|---|---|---|---|---|---|---|
215,694 | 01.02.2019 14:44:44 | 25,200 | a408495c4d799273b22f15a58774be05bca7e24b | Use Omit instead of Exclude | [
{
"change_type": "MODIFY",
"old_path": "index.d.ts",
"new_path": "index.d.ts",
"diff": "import * as React from 'react';\nimport * as RN from 'react-native';\n+type Omit<T, K> = Pick<T, Exclude<keyof T, K>>\n+\ntype ViewStyle = RN.StyleProp<RN.ViewStyle>;\ntype TextStyle = RN.StyleProp<RN.TextStyle>;... | TypeScript | MIT License | faridsafi/react-native-gifted-chat | Use Omit instead of Exclude (#1038) |
215,661 | 05.02.2019 22:36:38 | -3,600 | 94576c73c0304d67fb7e61e1e7104a78b55ec45b | Add 'You have a questions ?' section on readme | [
{
"change_type": "MODIFY",
"old_path": "README.md",
"new_path": "README.md",
"diff": "- Using [npm](https://www.npmjs.com/#getting-started): `npm install react-native-gifted-chat --save`\n- Using [Yarn](https://yarnpkg.com/): `yarn add react-native-gifted-chat`\n+## You have a questions ?\n+\n+1. Pl... | TypeScript | MIT License | faridsafi/react-native-gifted-chat | Add 'You have a questions ?' section on readme |
215,661 | 05.02.2019 22:37:19 | -3,600 | 26a447d541dc3efdba3f61743fc1a16fa14219b6 | fix `You have a question ?` title typo | [
{
"change_type": "MODIFY",
"old_path": "README.md",
"new_path": "README.md",
"diff": "- Using [npm](https://www.npmjs.com/#getting-started): `npm install react-native-gifted-chat --save`\n- Using [Yarn](https://yarnpkg.com/): `yarn add react-native-gifted-chat`\n-## You have a questions ?\n+## You h... | TypeScript | MIT License | faridsafi/react-native-gifted-chat | fix `You have a question ?` title typo |
215,661 | 06.02.2019 10:22:02 | -3,600 | a0cba453dccea9f40ee1af9d88048c6efd83dffb | fix scu sent instead of send and add audio | [
{
"change_type": "MODIFY",
"old_path": "src/Message.js",
"new_path": "src/Message.js",
"diff": "@@ -40,13 +40,14 @@ export default class Message extends React.Component {\nconst { nextMessage } = this.props;\nconst nextPropsMessage = nextProps.nextMessage;\nreturn (\n- next.send !== current.send ||\... | TypeScript | MIT License | faridsafi/react-native-gifted-chat | fix scu sent instead of send and add audio |
215,661 | 07.02.2019 15:09:01 | -3,600 | b5d54fbd3a42537018f16ffcd5e9cdbcce504c4c | fix Remove expo thing here ...
... because we can use renderMessageVideo | [
{
"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 { isExpo } from './utils';\n-\n-let Video;\n-if (isExpo(... | TypeScript | MIT License | faridsafi/react-native-gifted-chat | fix Remove expo thing here ...
... because we can use renderMessageVideo |
215,579 | 18.02.2019 12:36:12 | 25,200 | 08f94d9eb6a37d1cecf76b746c327765dfb44339 | Update and Fix Slack Example onLongPress()
* :alien: Fixing PropTypes
* :bug: Fix onSend()
* :bug: fixed onLongPress()
Prior version was missing this.props.currentMessage | [
{
"change_type": "MODIFY",
"old_path": "example-slack-message/src/SlackBubble.js",
"new_path": "example-slack-message/src/SlackBubble.js",
"diff": "@@ -25,22 +25,28 @@ export default class Bubble extends React.Component {\nonLongPress() {\nif (this.props.onLongPress) {\n- this.props.onLongPress(this... | TypeScript | MIT License | faridsafi/react-native-gifted-chat | Update and Fix Slack Example onLongPress() (#1143)
* :alien: Fixing PropTypes
* :bug: Fix onSend()
* :bug: fixed onLongPress()
Prior version was missing this.props.currentMessage |
215,661 | 12.03.2019 13:25:53 | -3,600 | a0ede5424daeaeeab2ae7c5b24d66fd647fa42cd | Add textStyle to BubbleProps type | [
{
"change_type": "MODIFY",
"old_path": "index.d.ts",
"new_path": "index.d.ts",
"diff": "@@ -84,7 +84,8 @@ interface BubbleProps<TMessage extends IMessage = IMessage> {\nnextMessage?: TMessage;\npreviousMessage?: TMessage;\ncontainerStyle?: LeftRightStyle<ViewStyle>;\n- wrapperStyle: LeftRightStyle<V... | TypeScript | MIT License | faridsafi/react-native-gifted-chat | Add textStyle to BubbleProps type |
215,661 | 12.03.2019 13:34:16 | -3,600 | d0dc14c451b4a7822219cc287661c5d0818327c6 | fix use TextStyle type for textStyle props | [
{
"change_type": "MODIFY",
"old_path": "index.d.ts",
"new_path": "index.d.ts",
"diff": "@@ -85,7 +85,7 @@ interface BubbleProps<TMessage extends IMessage = IMessage> {\npreviousMessage?: TMessage;\ncontainerStyle?: LeftRightStyle<ViewStyle>;\nwrapperStyle?: LeftRightStyle<ViewStyle>;\n- textStyle?: ... | TypeScript | MIT License | faridsafi/react-native-gifted-chat | fix use TextStyle type for textStyle props |
215,661 | 12.03.2019 18:01:31 | -3,600 | c9fa57a2bbfcfe4bd33e9153e3572eca7705e2e6 | keyboardAppearance optional | [
{
"change_type": "MODIFY",
"old_path": "index.d.ts",
"new_path": "index.d.ts",
"diff": "@@ -108,7 +108,7 @@ interface ComposerProps {\nmultiline?: boolean;\ntextInputStyle?: RN.TextInputProps['style'];\ntextInputAutoFocus?: boolean;\n- keyboardAppearance: RN.TextInputProps['keyboardAppearance'];\n+ ... | TypeScript | MIT License | faridsafi/react-native-gifted-chat | keyboardAppearance optional |
215,654 | 03.04.2019 13:11:57 | -3,600 | d7f4478f440856b97a65abbac0c42d34e1170761 | Fix the parsePatterns section of the doc
Put the `parsePatterns` example under parsePatterns | [
{
"change_type": "MODIFY",
"old_path": "README.md",
"new_path": "README.md",
"diff": "@@ -207,10 +207,6 @@ e.g. System Message\n- **`onInputTextChanged`** _(Function)_ - Callback when the input text changes\n- **`maxInputLength`** _(Integer)_ - Max message composer TextInput length\n- **`parsePatter... | TypeScript | MIT License | faridsafi/react-native-gifted-chat | Fix the parsePatterns section of the doc (#1186)
Put the `parsePatterns` example under parsePatterns |
215,699 | 03.04.2019 14:12:50 | -7,200 | daac72e9580be40d88bacf6dc0e893a59d85d089 | LoadEarlier ActivityIndicator props
Pass props to customize ActivityIndicator in LoadEarlier component | [
{
"change_type": "MODIFY",
"old_path": "src/LoadEarlier.js",
"new_path": "src/LoadEarlier.js",
"diff": "@@ -29,8 +29,8 @@ export default class LoadEarlier extends React.Component {\n{this.props.label}\n</Text>\n<ActivityIndicator\n- color=\"white\"\n- size=\"small\"\n+ color={this.props.activityIndi... | TypeScript | MIT License | faridsafi/react-native-gifted-chat | LoadEarlier ActivityIndicator props (#1175)
Pass props to customize ActivityIndicator in LoadEarlier component |
215,625 | 01.05.2019 12:31:19 | 21,600 | 5ee19e647d9528c0e6b5c52b734337fa997e4fe0 | Add Stream as sponsor | [
{
"change_type": "MODIFY",
"old_path": "README.md",
"new_path": "README.md",
"diff": "</a>\n</p>\n+<p align=\"center\">\n+ <br/>\n+ <a href=\"https://getstream.io/chat/?utm_source=github&utm_medium=react-native-gifted-chat&utm_campaign=sponsorship\" target=\"_blank\">\n+ <img src=\"https://i.imgur.c... | TypeScript | MIT License | faridsafi/react-native-gifted-chat | Add Stream as sponsor |
215,661 | 13.05.2019 10:58:27 | -7,200 | 71a5245d7db2a3d6cddf2466feb96bafb5f5e3ed | chore remove babel from package | [
{
"change_type": "DELETE",
"old_path": ".eslintignore",
"new_path": null,
"diff": "-node_modules\n-android\n-ios\n-example\n-example-slack-message\n-example-expo\n\\ No newline at end of file\n"
},
{
"change_type": "MODIFY",
"old_path": ".npmignore",
"new_path": ".npmignore",
"di... | TypeScript | MIT License | faridsafi/react-native-gifted-chat | chore remove babel from package |
215,661 | 13.05.2019 11:15:15 | -7,200 | 5307aa32a4ca960b29bbb6f51cfe2c11a6f0b544 | chore upgrade tsc | [
{
"change_type": "MODIFY",
"old_path": "package.json",
"new_path": "package.json",
"diff": "\"homepage\": \"https://github.com/FaridSafi/react-native-gifted-chat#readme\",\n\"scripts\": {\n\"lint\": \"tslint --project .\",\n- \"tsc\": \"tsc --noEmit\",\n- \"build\": \"rm -rf lib/ && tsc\",\n+ \"tsc\... | TypeScript | MIT License | faridsafi/react-native-gifted-chat | chore upgrade tsc |
215,705 | 17.05.2019 03:52:01 | 14,400 | ce6d4b395258523cbab394fdf199dc6719e0fe0a | only update text in GiftedChat state if not undefined | [
{
"change_type": "MODIFY",
"old_path": "src/GiftedChat.tsx",
"new_path": "src/GiftedChat.tsx",
"diff": "@@ -384,7 +384,7 @@ class GiftedChat extends React.Component<GiftedChatProps, GiftedChatState> {\nsetTextFromProp(textProp?: string) {\n// Text prop takes precedence over state.\n- if (!textProp &... | TypeScript | MIT License | faridsafi/react-native-gifted-chat | only update text in GiftedChat state if not undefined (#1231) |
215,674 | 17.05.2019 02:53:11 | 18,000 | e578df24dcf994d9055bd5f9aa7874a880773be6 | Adding support to SafeAreaView for iphoneX | [
{
"change_type": "MODIFY",
"old_path": "package.json",
"new_path": "package.json",
"diff": "\"@expo/react-native-action-sheet\": \"^2.0.1\",\n\"moment\": \"^2.19.0\",\n\"react-native-communications\": \"2.2.1\",\n+ \"react-native-iphone-x-helper\": \"^1.2.0\",\n\"react-native-lightbox\": \"^0.7.0\",... | TypeScript | MIT License | faridsafi/react-native-gifted-chat | Adding support to SafeAreaView for iphoneX (#1218) |
215,661 | 28.05.2019 11:56:50 | -7,200 | d85fe0457561f16920f919f53991a63d749fb9e4 | Fix render avatar pass props | [
{
"change_type": "MODIFY",
"old_path": "src/GiftedAvatar.tsx",
"new_path": "src/GiftedAvatar.tsx",
"diff": "@@ -102,7 +102,7 @@ export default class GiftedAvatar extends React.Component<GiftedAvatarProps> {\nconst { user } = this.props\nif (user) {\nif (typeof user.avatar === 'function') {\n- return... | TypeScript | MIT License | faridsafi/react-native-gifted-chat | Fix render avatar pass props |
215,661 | 28.05.2019 12:07:10 | -7,200 | e0efb3a48658610c16cce21e716ad288a519fc3b | fix mock video | [
{
"change_type": "MODIFY",
"old_path": "README.md",
"new_path": "README.md",
"diff": "@@ -293,6 +293,7 @@ interface QuickReplies {\n- **`renderMessage`** _(Function)_ - Custom message container\n- **`renderMessageText`** _(Function)_ - Custom message text\n- **`renderMessageImage`** _(Function)_ - C... | TypeScript | MIT License | faridsafi/react-native-gifted-chat | fix mock video |
215,661 | 28.05.2019 12:15:04 | -7,200 | 89a220981464721d77f2c9e5a39ad42d6acf11a2 | chore upgrade husky | [
{
"change_type": "MODIFY",
"old_path": "package.json",
"new_path": "package.json",
"diff": "\"babel-core\": \"^7.0.0-bridge.0\",\n\"babel-jest\": \"24.7.1\",\n\"babel-preset-expo\": \"^5.0.0\",\n- \"husky\": \"0.15.0-rc.2\",\n+ \"husky\": \"^1.3.1\",\n\"jest-expo\": \"^32.0.0\",\n\"prettier\": \"1.1... | TypeScript | MIT License | faridsafi/react-native-gifted-chat | chore upgrade husky |
215,661 | 28.05.2019 14:57:41 | -7,200 | 3d6a2af831bf86533dad47b1779003b2c09c7dd5 | fix test react-native-video | [
{
"change_type": "MODIFY",
"old_path": "package.json",
"new_path": "package.json",
"diff": "\"babel-core\": \"^7.0.0-bridge.0\",\n\"babel-jest\": \"24.7.1\",\n\"babel-preset-expo\": \"^5.0.0\",\n+ \"expo\": \"^32.0.0\",\n\"husky\": \"^1.3.1\",\n\"jest-expo\": \"^32.0.0\",\n+ \"json\": \"^9.0.6\",\n\... | TypeScript | MIT License | faridsafi/react-native-gifted-chat | fix test react-native-video |
215,661 | 28.05.2019 16:17:15 | -7,200 | e68d1f9462cdb51fa13aa86c02303cee6cd16e97 | fix rn-video deps | [
{
"change_type": "MODIFY",
"old_path": "package.json",
"new_path": "package.json",
"diff": "{\n\"name\": \"react-native-gifted-chat\",\n- \"version\": \"0.9.2\",\n+ \"version\": \"0.9.3\",\n\"description\": \"The most complete chat UI for React Native\",\n\"main\": \"node_modules/expo/AppEntry.js\",... | TypeScript | MIT License | faridsafi/react-native-gifted-chat | fix rn-video deps |
215,661 | 13.06.2019 10:11:11 | -7,200 | b8ad30d9d3264c76e612ffd3cb6b127adc4992a5 | fix test update snapshot rejectResponderTermination on TextInput | [
{
"change_type": "MODIFY",
"old_path": "src/__tests__/__snapshots__/Composer.test.tsx.snap",
"new_path": "src/__tests__/__snapshots__/Composer.test.tsx.snap",
"diff": "@@ -14,6 +14,7 @@ exports[`should render <Composer /> and compare with snapshot 1`] = `\nonContentSizeChange={[Function]}\nplacehold... | TypeScript | MIT License | faridsafi/react-native-gifted-chat | fix test update snapshot rejectResponderTermination on TextInput |
215,661 | 13.06.2019 15:53:00 | -7,200 | ca0dfa885bffaa51f5b451fc9a091a5390b0ceb3 | fix ui next messages | [
{
"change_type": "MODIFY",
"old_path": "src/Message.tsx",
"new_path": "src/Message.tsx",
"diff": "@@ -84,7 +84,8 @@ export default class Message extends React.Component<MessageProps> {\nshouldComponentUpdate(nextProps: MessageProps) {\nconst next = nextProps.currentMessage!\nconst current = this.pro... | TypeScript | MIT License | faridsafi/react-native-gifted-chat | fix ui next messages |
215,661 | 26.06.2019 10:31:27 | -7,200 | ae2da4708143b6897845aee319befbda4f9c1aef | feat optimize assets | [
{
"change_type": "ADD",
"old_path": null,
"new_path": ".expo-shared/assets.json",
"diff": "+{\n+ \"5c6d215cbde93d15ae63d2ea43dfe8bf8a79a53146382cf7f3f0089bec2fc5d6\": true,\n+ \"d0e86e9f72936ac85597d9cd6415cf22a3c208505d5586ac04de09d4dd305707\": true,\n+ \"b884dbf3daca9d0a4de2f6552aa4dbdda9cbff26e26... | TypeScript | MIT License | faridsafi/react-native-gifted-chat | feat optimize assets |
215,665 | 28.06.2019 12:46:37 | -10,800 | bf2d261b488eb8f3e140be8a140cce7030866f2d | add component props interfaces to exports | [
{
"change_type": "MODIFY",
"old_path": "src/types.ts",
"new_path": "src/types.ts",
"diff": "import { StyleProp } from 'react-native';\n+export { ActionsProps } from './Actions';\n+export { AvatarProps } from './Avatar';\nexport {\n+ BubbleProps,\nRenderMessageImageProps,\nRenderMessageVideoProps,\nR... | TypeScript | MIT License | faridsafi/react-native-gifted-chat | add component props interfaces to exports (#1286) |
215,661 | 28.06.2019 11:53:49 | -7,200 | 090ecb46c76ffaad745c3f03fd8a8a8dc19d5e3a | chore optimize package | [
{
"change_type": "MODIFY",
"old_path": ".npmignore",
"new_path": ".npmignore",
"diff": "-example/\nexample-expo/\nexample-slack-message/\n-TODO.md\nscreenshots/\n-.babelrc\nbabel.config.js\ntests/\nREADME.md\nISSUE_TEMPLATE.md\n-circle.yml\ncodecov.yml\nmedia/\nApp.js\n@@ -16,5 +12,8 @@ app.json\nme... | TypeScript | MIT License | faridsafi/react-native-gifted-chat | chore optimize package |
215,661 | 28.06.2019 11:55:05 | -7,200 | b43da2b4712c3a7de1d4166c9c71937348705ff3 | chore ignore more npm publish | [
{
"change_type": "MODIFY",
"old_path": ".npmignore",
"new_path": ".npmignore",
"diff": "+.expo/\n+.expo-shared/\n+.circleci/\n+.github/\nexample-expo/\nexample-slack-message/\nscreenshots/\n@@ -11,9 +15,6 @@ App.js\napp.json\nmetro.config.js\nsrc/\n-.expo\n-.expo-shared\ntsconfig.json\ntslint.json\n... | TypeScript | MIT License | faridsafi/react-native-gifted-chat | chore ignore more npm publish |
215,661 | 10.07.2019 16:10:17 | -7,200 | c2df2f7b9af7f0403e87604060ea4c0755ba153b | chore dependencies prop-types | [
{
"change_type": "MODIFY",
"old_path": "package.json",
"new_path": "package.json",
"diff": "\"expo-location\": \"~5.0.1\",\n\"expo-permissions\": \"~5.0.1\",\n\"moment\": \"^2.19.0\",\n+ \"prop-types\": \"15.7.2\",\n\"react-native-communications\": \"2.2.1\",\n\"react-native-iphone-x-helper\": \"^1.... | TypeScript | MIT License | faridsafi/react-native-gifted-chat | chore dependencies prop-types |
215,718 | 12.07.2019 22:01:52 | -7,200 | b1b71f7eff9169551e649b0248285e400232a84a | Wrong function name for renderQuickReplies in docu
changed renderQuickReply to renderQuickReplies in README | [
{
"change_type": "MODIFY",
"old_path": "README.md",
"new_path": "README.md",
"diff": "@@ -338,7 +338,7 @@ interface QuickReplies {\n* **`scrollToBottomStyle`** _(Object)_ - Custom style for Bottom Component container\n* **`alignTop`** _(Boolean)_ Controls whether or not the message bubbles appear at... | TypeScript | MIT License | faridsafi/react-native-gifted-chat | Wrong function name for renderQuickReplies in docu (#1312)
changed renderQuickReply to renderQuickReplies in README |
215,587 | 17.07.2019 05:58:03 | 10,800 | 25b23abb5c172ec7699b8575575053761f750666 | Adds long press for user avatar | [
{
"change_type": "MODIFY",
"old_path": "src/Avatar.tsx",
"new_path": "src/Avatar.tsx",
"diff": "@@ -53,6 +53,7 @@ export interface AvatarProps<TMessage extends IMessage> {\ncontainerStyle?: LeftRightStyle<ViewStyle>\nrenderAvatar?(props: Omit<AvatarProps<TMessage>, 'renderAvatar'>): ReactNode\nonPre... | TypeScript | MIT License | faridsafi/react-native-gifted-chat | Adds long press for user avatar (#1322) |
215,696 | 17.07.2019 05:12:23 | 14,400 | 2faf9c5a6a944d00dcb1b53205ea4ceff406180a | Update deprecated lifecycle methods
* Update deprecated methods
componentWillMount for componentDidMount and change componentWillReceiveProps to componentDidUpdate
* Update deprecated lifecycle methods
change componentWillReceiveProps to componentDidUpdate
* Update Deprecated Methods
Change componentWillMount to componentDidMount | [
{
"change_type": "MODIFY",
"old_path": "src/GiftedChat.tsx",
"new_path": "src/GiftedChat.tsx",
"diff": "@@ -374,7 +374,7 @@ class GiftedChat<TMessage extends IMessage = IMessage> extends React.Component<\n}\n}\n- componentWillMount() {\n+ componentDidMount() {\nconst { messages, text } = this.props\... | TypeScript | MIT License | faridsafi/react-native-gifted-chat | Update deprecated lifecycle methods (#1320)
* Update deprecated methods
componentWillMount for componentDidMount and change componentWillReceiveProps to componentDidUpdate
* Update deprecated lifecycle methods
change componentWillReceiveProps to componentDidUpdate
* Update Deprecated Methods
Change componentWillMount to componentDidMount |
215,594 | 18.09.2019 20:38:04 | -19,080 | 657c87c51f78fd3a136d33e8ce0a1857d3601541 | Fix `renderCustomView` Typescript definition.
Missing `props: Bubble['props']` parameter definition in `renderCustomView()` | [
{
"change_type": "MODIFY",
"old_path": "src/GiftedChat.tsx",
"new_path": "src/GiftedChat.tsx",
"diff": "@@ -140,7 +140,7 @@ export interface GiftedChatProps<TMessage extends IMessage = IMessage> {\n/* Custom message image */\nrenderMessageImage?(props: MessageImage['props']): React.ReactNode\n/* Cus... | TypeScript | MIT License | faridsafi/react-native-gifted-chat | Fix `renderCustomView` Typescript definition.
Missing `props: Bubble['props']` parameter definition in `renderCustomView()` |
215,661 | 28.06.2019 13:22:57 | -7,200 | 950168966dad28a71b520abc742282561c40061a | fix type for message video | [
{
"change_type": "MODIFY",
"old_path": "src/MessageVideo.tsx",
"new_path": "src/MessageVideo.tsx",
"diff": "@@ -8,8 +8,9 @@ import {\nPlatform,\n} from 'react-native'\nimport { IMessage } from './types'\n+import { VideoProperties } from 'react-native-video'\n-const Video = Platform.select({\n+const ... | TypeScript | MIT License | faridsafi/react-native-gifted-chat | fix type for message video |
215,661 | 28.06.2019 15:42:49 | -7,200 | e6833ea650a22e73f64dd5a4308410df4b567d1c | fix force inverted on web | [
{
"change_type": "MODIFY",
"old_path": "App.js",
"new_path": "App.js",
"diff": "@@ -139,9 +139,13 @@ export default class App extends Component {\nthis.onSend(messagesToUpload)\n}\n- renderAccessory = () => <AccessoryBar onSend={this.onSendFromUser} />\n+ renderAccessory = () =>\n+ Platform.OS === '... | TypeScript | MIT License | faridsafi/react-native-gifted-chat | fix force inverted on web |
215,661 | 28.06.2019 16:50:55 | -7,200 | 1e32929f4428fcbdce51db1ec4f13454471ee46a | fix composer web | [
{
"change_type": "MODIFY",
"old_path": "App.js",
"new_path": "App.js",
"diff": "import { AppLoading, Asset, Linking } from 'expo'\nimport React, { Component } from 'react'\n-import { StyleSheet, View, Text } from 'react-native'\n-import { Bubble, GiftedChat, SystemMessage } from './lib/'\n+import { ... | TypeScript | MIT License | faridsafi/react-native-gifted-chat | fix composer web |
215,661 | 28.06.2019 18:50:51 | -7,200 | be69b29780ca812c76546e052600c7b5083babae | feat web scroll | [
{
"change_type": "MODIFY",
"old_path": "src/Bubble.tsx",
"new_path": "src/Bubble.tsx",
"diff": "@@ -267,8 +267,6 @@ export default class Bubble<\nnextMessage,\nposition,\ncontainerToNextStyle,\n- containerToPreviousStyle,\n- inverted,\n} = this.props\nif (\ncurrentMessage &&\n@@ -277,17 +275,10 @@ e... | TypeScript | MIT License | faridsafi/react-native-gifted-chat | feat web scroll |
215,661 | 03.07.2019 14:50:32 | -7,200 | db8135d6d429ebb3e88e1d37e1926e25f3bc814b | feat improve log and bump | [
{
"change_type": "MODIFY",
"old_path": "README.md",
"new_path": "README.md",
"diff": "## Features\n-- _`react-native-web`able_\n+- _`react-native-web`able_ (since 0.10.0)\n- Write with **TypeScript** (since 0.8.0)\n- Fully customizable components\n- Composer actions (to attach photos, etc.)\n- Syste... | TypeScript | MIT License | faridsafi/react-native-gifted-chat | feat improve log and bump |
215,661 | 03.07.2019 17:58:30 | -7,200 | 002441cbfab8ac4c9fa09ede0cc4ffa8adccee97 | fix inverted scroll to bottom | [
{
"change_type": "MODIFY",
"old_path": "src/MessageContainer.tsx",
"new_path": "src/MessageContainer.tsx",
"diff": "@@ -77,12 +77,14 @@ export interface MessageContainerProps<TMessage extends IMessage> {\nonLoadEarlier?(): void\n}\n+interface State {\n+ showScrollBottom: boolean\n+ listMounted: bool... | TypeScript | MIT License | faridsafi/react-native-gifted-chat | fix inverted scroll to bottom |
215,661 | 12.07.2019 15:15:27 | -7,200 | 75d88ed407c7d06ca534a55912eb469bd5d7c3fd | fix timeTextStyle | [
{
"change_type": "MODIFY",
"old_path": "App.js",
"new_path": "App.js",
"diff": "@@ -45,7 +45,7 @@ export default class App extends Component {\nthis._isMounted = true\n// init with only system messages\nthis.setState({\n- messages: [], // messagesData.filter(message => message.system),\n+ messages: ... | TypeScript | MIT License | faridsafi/react-native-gifted-chat | fix timeTextStyle |
215,661 | 12.07.2019 15:25:19 | -7,200 | 743a3f4b8f4c78baf178ce047a71a2a898537190 | fix day upper case if format is set | [
{
"change_type": "MODIFY",
"old_path": "src/Day.tsx",
"new_path": "src/Day.tsx",
"diff": "@@ -90,8 +90,7 @@ export default class Day<\n<Text style={[styles.text, textStyle]}>\n{moment(currentMessage.createdAt)\n.locale(this.context.getLocale())\n- .format(dateFormat)\n- .toUpperCase()}\n+ .format(da... | TypeScript | MIT License | faridsafi/react-native-gifted-chat | fix day upper case if format is set |
215,661 | 15.07.2019 16:31:20 | -7,200 | 3877d1fdabbc8e1110506fec7cbda2f1d59c32bb | fix inverted first show | [
{
"change_type": "MODIFY",
"old_path": "App.js",
"new_path": "App.js",
"diff": "@@ -45,7 +45,7 @@ export default class App extends Component {\nthis._isMounted = true\n// init with only system messages\nthis.setState({\n- messages: messagesData.filter(message => message.system),\n+ messages: message... | TypeScript | MIT License | faridsafi/react-native-gifted-chat | fix inverted first show |
215,661 | 22.07.2019 16:41:27 | -7,200 | 0350c85dd397f765bed1c2accc0762fb2d1286ca | fix messages into state | [
{
"change_type": "MODIFY",
"old_path": "package.json",
"new_path": "package.json",
"diff": "{\n\"name\": \"react-native-gifted-chat\",\n- \"version\": \"0.10.0-beta.web.15\",\n+ \"version\": \"0.10.0-beta.web.16\",\n\"description\": \"The most complete chat UI for React Native\",\n\"main\": \"node_m... | TypeScript | MIT License | faridsafi/react-native-gifted-chat | fix messages into state |
215,661 | 22.07.2019 17:36:09 | -7,200 | 00f9e79d3d54a824e97ba835fbac23d2130193c9 | fix perf scroll | [
{
"change_type": "MODIFY",
"old_path": "src/GiftedChat.tsx",
"new_path": "src/GiftedChat.tsx",
"diff": "@@ -637,7 +637,6 @@ class GiftedChat<TMessage extends IMessage = IMessage> extends React.Component<\ninvertibleScrollViewProps={this.invertibleScrollViewProps}\nmessages={this.getMessages()}\nforw... | TypeScript | MIT License | faridsafi/react-native-gifted-chat | fix perf scroll |
215,661 | 24.07.2019 12:06:24 | -7,200 | 02dd060cbd6c6f8bc42d6b44a2a000df8a384b86 | fix remove react-native-video type | [
{
"change_type": "MODIFY",
"old_path": "package.json",
"new_path": "package.json",
"diff": "\"@types/react\": \"^16.7.17\",\n\"@types/react-native\": \"^0.57.19\",\n\"@types/react-native-communications\": \"2.2.1\",\n- \"@types/react-native-video\": \"3.1.5\",\n\"@types/react-test-renderer\": \"16.8... | TypeScript | MIT License | faridsafi/react-native-gifted-chat | fix remove react-native-video type |
215,661 | 24.07.2019 15:02:30 | -7,200 | 81a3ec890c5ed6650fb285ba5c3fdea6fc2d9275 | fix scroll to bottom also when inverted | [
{
"change_type": "MODIFY",
"old_path": "src/GiftedChat.tsx",
"new_path": "src/GiftedChat.tsx",
"diff": "@@ -399,17 +399,15 @@ class GiftedChat<TMessage extends IMessage = IMessage> extends React.Component<\n}\ncomponentDidUpdate(prevProps: GiftedChatProps<TMessage> = {}) {\n- const { messages, text,... | TypeScript | MIT License | faridsafi/react-native-gifted-chat | fix scroll to bottom also when inverted |
215,661 | 19.09.2019 10:17:10 | -7,200 | 21c0e99c27eebf89fbb88a9dfbf27c3d3728db2f | chore npmigrore | [
{
"change_type": "MODIFY",
"old_path": ".npmignore",
"new_path": ".npmignore",
"diff": ".expo-shared/\n.circleci/\n.github/\n+.prettierrc\n+.vscode/\nexample-expo/\nexample-slack-message/\nscreenshots/\n"
},
{
"change_type": "MODIFY",
"old_path": "package.json",
"new_path": "package.... | TypeScript | MIT License | faridsafi/react-native-gifted-chat | chore npmigrore |
215,661 | 19.09.2019 10:47:47 | -7,200 | 0a1af63654288ef9d129d91fc9ac97952a02138a | fix re-add rn-video mock | [
{
"change_type": "ADD",
"old_path": null,
"new_path": "__mocks__/react-native-video.js",
"diff": "+// __mocks__/react-native-video.js\n+import React from 'react'\n+import { View } from 'react-native'\n+\n+// Import this named export into your test file:\n+const Video = () => <View>React native video... | TypeScript | MIT License | faridsafi/react-native-gifted-chat | fix re-add rn-video mock |
215,661 | 19.09.2019 14:05:01 | -7,200 | 261cced52be982499db3f6d084c9039696ff38ce | chore upgrade | [
{
"change_type": "MODIFY",
"old_path": "package.json",
"new_path": "package.json",
"diff": "\"typescript\": \"3.4.5\"\n},\n\"dependencies\": {\n- \"@expo/react-native-action-sheet\": \"^3.0.2\",\n+ \"@expo/react-native-action-sheet\": \"^3.0.3\",\n\"expo-av\": \"~6.0.0\",\n\"react-native-video\": \"... | TypeScript | MIT License | faridsafi/react-native-gifted-chat | chore upgrade @expo/react-native-action-sheet |
215,661 | 19.09.2019 14:53:12 | -7,200 | 0955be13bbd67fbf8b7481b4675ae730cc775caf | chore upgrade lock | [
{
"change_type": "MODIFY",
"old_path": "yarn.lock",
"new_path": "yarn.lock",
"diff": "@@ -1688,28 +1688,11 @@ babel-plugin-react-native-web@^0.11.2:\nresolved \"https://registry.yarnpkg.com/babel-plugin-react-native-web/-/babel-plugin-react-native-web-0.11.7.tgz#15b578c0731bd7d65d334f9c759d95e8e4a60... | TypeScript | MIT License | faridsafi/react-native-gifted-chat | chore upgrade lock |
215,661 | 19.09.2019 16:09:34 | -7,200 | 2806f0c8a3fef67c9b881dcdd4b6215f67a9a8a5 | fix video issue on web | [
{
"change_type": "MODIFY",
"old_path": "package.json",
"new_path": "package.json",
"diff": "},\n\"dependencies\": {\n\"@expo/react-native-action-sheet\": \"^3.0.3\",\n- \"expo-asset\": \"~6.0.0\",\n\"expo-av\": \"~6.0.0\",\n\"moment\": \"^2.19.0\",\n\"prop-types\": \"15.7.2\",\n},\n\"peerDependencie... | TypeScript | MIT License | faridsafi/react-native-gifted-chat | fix video issue on web |
215,661 | 19.09.2019 16:21:28 | -7,200 | ce963ed8d6728e8425286a48e0d223269f9b4a37 | doc add demo link | [
{
"change_type": "MODIFY",
"old_path": "README.md",
"new_path": "README.md",
"diff": "@@ -426,7 +426,7 @@ If you use React Navigation, additional handling may be required to account for\nmodule.exports = function override(config, env) {\nconfig.module.rules.push({\ntest: /\\.js$/,\n- exclude: /node_... | TypeScript | MIT License | faridsafi/react-native-gifted-chat | doc add demo link |
215,661 | 19.09.2019 19:14:32 | -7,200 | 79caaa7fcfe94cbf5437f86f9a1d06815db686a4 | chore expo 35 | [
{
"change_type": "MODIFY",
"old_path": "README.md",
"new_path": "README.md",
"diff": "@@ -324,7 +324,7 @@ interface QuickReplies {\n- **`keyboardShouldPersistTaps`** _(Enum)_ - Determines whether the keyboard should stay visible after a tap; see [`<ScrollView>`](https://facebook.github.io/react-nati... | TypeScript | MIT License | faridsafi/react-native-gifted-chat | chore expo 35 |
215,661 | 19.09.2019 19:15:44 | -7,200 | 50dbd1185ab058ce901179ac20aa703def5e122d | chore upgrade jest-expo | [
{
"change_type": "MODIFY",
"old_path": "package.json",
"new_path": "package.json",
"diff": "\"expo-location\": \"~7.0.0\",\n\"expo-permissions\": \"~7.0.0\",\n\"husky\": \"^3.0.0\",\n- \"jest-expo\": \"^34.0.0\",\n+ \"jest-expo\": \"^35.0.0\",\n\"json\": \"^9.0.6\",\n\"prettier\": \"1.18.0\",\n\"rea... | TypeScript | MIT License | faridsafi/react-native-gifted-chat | chore upgrade jest-expo |
215,661 | 20.09.2019 15:37:21 | -7,200 | 62e301486d98a56210dc62769a3e548bda77c915 | remove react-native-video from deps | [
{
"change_type": "MODIFY",
"old_path": "package.json",
"new_path": "package.json",
"diff": "\"react-native-lightbox\": \"^0.7.0\",\n\"react-native-maps\": \"~0.25.0\",\n\"react-native-parsed-text\": \"https://github.com/EvanBacon/react-native-parsed-text.git\",\n- \"react-native-video\": \"5.0.2\",\... | TypeScript | MIT License | faridsafi/react-native-gifted-chat | remove react-native-video from deps |
215,661 | 23.09.2019 14:34:03 | -7,200 | 8c34a490a0f433faec6af69e0075b5c7b59b63a9 | chore expo dev flag on | [
{
"change_type": "MODIFY",
"old_path": "package.json",
"new_path": "package.json",
"diff": "\"lint\": \"tslint --project .\",\n\"tsc\": \"node_modules/.bin/tsc --noEmit\",\n\"start\": \"yarn config:dev && expo start\",\n- \"start:web\": \"yarn config:dev && expo start -w\",\n+ \"start:web\": \"yarn ... | TypeScript | MIT License | faridsafi/react-native-gifted-chat | chore expo dev flag on |
215,661 | 23.09.2019 14:39:19 | -7,200 | 7c4265895f62a7b5f3101ac527476d1b04147b9c | doc with gatsby example | [
{
"change_type": "MODIFY",
"old_path": "README.md",
"new_path": "README.md",
"diff": "@@ -443,6 +443,8 @@ module.exports = function override(config, env) {\n> **You will find an example and a demo here: [xcarpentier/gifted-chat-web-demo](https://github.com/xcarpentier/gifted-chat-web-demo)**\n+> **A... | TypeScript | MIT License | faridsafi/react-native-gifted-chat | doc with gatsby example |
215,626 | 07.09.2019 12:16:35 | 10,800 | b90e2bc56222d707eb4509452ffb421078ba2560 | Remove unnecessary padding that was causing customization visual glitches when using icons. And add a way to pass styling to scrollToBottomContainer that was missing before | [
{
"change_type": "MODIFY",
"old_path": "src/MessageContainer.tsx",
"new_path": "src/MessageContainer.tsx",
"diff": "@@ -40,8 +40,6 @@ const styles = StyleSheet.create({\nscrollToBottomStyle: {\nopacity: 0.8,\nposition: 'absolute',\n- paddingHorizontal: 15,\n- paddingVertical: 8,\nright: 10,\nbottom:... | TypeScript | MIT License | faridsafi/react-native-gifted-chat | Remove unnecessary padding that was causing customization visual glitches when using icons. And add a way to pass styling to scrollToBottomContainer that was missing before |
215,661 | 25.09.2019 07:48:11 | -7,200 | 1593c2b55525e247ed87ea2c5823bfd7a0548169 | Add some linking instructions about react-native-video | [
{
"change_type": "MODIFY",
"old_path": "README.md",
"new_path": "README.md",
"diff": "- Using [npm](https://www.npmjs.com/#getting-started): `npm install react-native-gifted-chat --save`\n- Using [Yarn](https://yarnpkg.com/): `yarn add react-native-gifted-chat`\n+### No expo, no web, just native\n+\... | TypeScript | MIT License | faridsafi/react-native-gifted-chat | Add some linking instructions about react-native-video |
215,661 | 25.09.2019 07:59:54 | -7,200 | 355c1cab7d0cc799a765e83d4059ef8e140d16d4 | fix tsc after merge | [
{
"change_type": "MODIFY",
"old_path": "src/GiftedChat.tsx",
"new_path": "src/GiftedChat.tsx",
"diff": "@@ -115,7 +115,6 @@ export interface GiftedChatProps<TMessage extends IMessage = IMessage> {\n/* optional prop used to place customView below text, image and video views; default is false */\nisCu... | TypeScript | MIT License | faridsafi/react-native-gifted-chat | fix tsc after merge |
215,661 | 26.09.2019 18:13:47 | -7,200 | 7f756f755868ab31b86c96cefabe476eb97f29cf | chore upgrade action sheet + peer deps | [
{
"change_type": "MODIFY",
"old_path": "package.json",
"new_path": "package.json",
"diff": "\"react-test-renderer\": \"16.5.1\",\n\"tslint\": \"5.12.0\",\n\"tslint-config-prettier\": \"1.17.0\",\n- \"typescript\": \"3.4.5\"\n+ \"typescript\": \"3.4.5\",\n+ \"expo-av\": \"~7.0.0\"\n},\n\"dependencies... | TypeScript | MIT License | faridsafi/react-native-gifted-chat | chore upgrade action sheet + peer deps |
215,661 | 01.10.2019 11:35:09 | -7,200 | 3cbadaf07ba683d160b35d6a9c42c2204ce48886 | chore flow defs | [
{
"change_type": "MODIFY",
"old_path": "package.json",
"new_path": "package.json",
"diff": "{\n\"name\": \"react-native-gifted-chat\",\n- \"version\": \"0.10.2-0\",\n+ \"version\": \"0.10.2\",\n\"description\": \"The most complete chat UI for React Native\",\n\"main\": \"node_modules/expo/AppEntry.j... | TypeScript | MIT License | faridsafi/react-native-gifted-chat | chore flow defs |
215,661 | 03.10.2019 11:48:35 | -7,200 | 2a67342ea971879d14daff8220fbcfc0bf6769e6 | fix header nav on example | [
{
"change_type": "MODIFY",
"old_path": "example-expo/NavBar.js",
"new_path": "example-expo/NavBar.js",
"diff": "-/* eslint jsx-a11y/accessible-emoji: 0 */\nimport React from 'react'\n-import { Text, Platform } from 'react-native'\n+import { Text, Platform, SafeAreaView } from 'react-native'\nimport ... | TypeScript | MIT License | faridsafi/react-native-gifted-chat | fix header nav on example |
215,661 | 04.10.2019 17:27:27 | -7,200 | 1dac3bcaeea9f219cb37a2216fc0a17b67ee1953 | fix remove video deps | [
{
"change_type": "MODIFY",
"old_path": "README.md",
"new_path": "README.md",
"diff": "- Using [npm](https://www.npmjs.com/#getting-started): `npm install react-native-gifted-chat --save`\n- Using [Yarn](https://yarnpkg.com/): `yarn add react-native-gifted-chat`\n-### No expo, no web, just native\n+#... | TypeScript | MIT License | faridsafi/react-native-gifted-chat | fix #1432 remove video deps |
215,661 | 17.10.2019 18:24:23 | -7,200 | 03372f37864a8a2470c81a4f56a03cc5e9326702 | fix remove rep flow-typedefs | [
{
"change_type": "MODIFY",
"old_path": ".npmignore",
"new_path": ".npmignore",
"diff": "@@ -20,3 +20,6 @@ src/\ntsconfig.json\ntslint.json\nyarn.lock\n+flow-typedefs/\n+types.d.ts\n+.flowconfig\n"
},
{
"change_type": "MODIFY",
"old_path": "package.json",
"new_path": "package.json",
... | TypeScript | MIT License | faridsafi/react-native-gifted-chat | fix remove rep flow-typedefs |
215,661 | 18.10.2019 09:56:07 | -7,200 | c287825b8ba22082650f4d4efbbfe25aaf3d5388 | remove types.web | [
{
"change_type": "DELETE",
"old_path": "src/types.web.ts",
"new_path": null,
"diff": "-import { StyleProp, ViewStyle } from 'react-native'\n-\n-export type Omit<T, K> = Pick<T, Exclude<keyof T, K>>\n-\n-export interface LeftRightStyle<T> {\n- left: StyleProp<T>\n- right: StyleProp<T>\n-}\n-type rend... | TypeScript | MIT License | faridsafi/react-native-gifted-chat | remove types.web |
215,697 | 26.10.2019 16:07:38 | -3,600 | e4576d4c4a2c92e52816488c58e54a0eaa628c4d | Added textInputStyle and multiline props in the documentation. | [
{
"change_type": "MODIFY",
"old_path": "README.md",
"new_path": "README.md",
"diff": "@@ -320,6 +320,8 @@ interface QuickReplies {\n- **`minInputToolbarHeight`** _(Integer)_ - Minimum height of the input toolbar; default is `44`\n- **`listViewProps`** _(Object)_ - Extra props to be passed to the mes... | TypeScript | MIT License | faridsafi/react-native-gifted-chat | Added textInputStyle and multiline props in the documentation. |
215,617 | 30.10.2019 00:09:07 | -25,200 | b503fdfc1b884ecc206ec99696813e3f14b13d2f | test: Add coverage for render null scenario | [
{
"change_type": "MODIFY",
"old_path": "src/Bubble.tsx",
"new_path": "src/Bubble.tsx",
"diff": "@@ -375,7 +375,7 @@ export default class Bubble<\nif (renderTicks && currentMessage) {\nreturn renderTicks(currentMessage)\n}\n- if (currentMessage && user && currentMessage.user._id !== user._id) {\n+ if... | TypeScript | MIT License | faridsafi/react-native-gifted-chat | test: Add coverage for render null scenario |
215,617 | 30.10.2019 00:09:38 | -25,200 | 23bc09163d342535ed3c5884d8cef9e01e427883 | test: Add coverage for renderAvatar | [
{
"change_type": "MODIFY",
"old_path": "src/__tests__/Message.test.tsx",
"new_path": "src/__tests__/Message.test.tsx",
"diff": "@@ -33,4 +33,43 @@ describe('Message component', () => {\nexpect(tree).toMatchSnapshot()\n})\n+\n+ it('should render <Message /> with Avatar', () => {\n+ const tree = creat... | TypeScript | MIT License | faridsafi/react-native-gifted-chat | test: Add coverage for renderAvatar |
215,617 | 29.10.2019 23:44:41 | -25,200 | 8d7b67b5b9f6bcab708a4b9b295cca7981a2bd70 | fix(test): Add coveragePathIgnorePatterns property | [
{
"change_type": "MODIFY",
"old_path": "package.json",
"new_path": "package.json",
"diff": "\"modulePathIgnorePatterns\": [\n\"<rootDir>/example-expo\",\n\"<rootDir>/example-slack-message\"\n+ ],\n+ \"coveragePathIgnorePatterns\": [\n+ \"./src/__tests__/\"\n]\n},\n\"devDependencies\": {\n"
}
] | TypeScript | MIT License | faridsafi/react-native-gifted-chat | fix(test): Add coveragePathIgnorePatterns property |
215,641 | 05.11.2019 22:10:34 | -3,600 | aa9b8d2c27114f41a4c38e6ede1d4d6cc49406f4 | Added extra props to send button | [
{
"change_type": "MODIFY",
"old_path": "src/Send.tsx",
"new_path": "src/Send.tsx",
"diff": "@@ -5,6 +5,7 @@ import {\nText,\nTouchableOpacity,\nView,\n+ ViewProps,\nViewPropTypes,\nStyleProp,\nViewStyle,\n@@ -36,6 +37,7 @@ export interface SendProps {\nchildren?: React.ReactNode\nalwaysShowSend?: bo... | TypeScript | MIT License | faridsafi/react-native-gifted-chat | Added extra props to send button |
215,641 | 06.11.2019 12:17:44 | -3,600 | 4bf608369c2c544e5809a956f501c324816322fb | Fixed error on Touchable opacity | [
{
"change_type": "MODIFY",
"old_path": "src/Send.tsx",
"new_path": "src/Send.tsx",
"diff": "@@ -5,7 +5,6 @@ import {\nText,\nTouchableOpacity,\nView,\n- ViewProps,\nViewPropTypes,\nStyleProp,\nViewStyle,\n@@ -37,7 +36,7 @@ export interface SendProps {\nchildren?: React.ReactNode\nalwaysShowSend?: bo... | TypeScript | MIT License | faridsafi/react-native-gifted-chat | Fixed error on Touchable opacity |
215,646 | 19.11.2019 17:44:12 | 18,000 | c3ddc9a77e4aeed76e15aea7f897d3cd62948fe3 | feat(keyboard avoiding view): strip isAnimated and add keyboard avoiding view | [
{
"change_type": "MODIFY",
"old_path": "README.md",
"new_path": "README.md",
"diff": "@@ -280,8 +280,8 @@ interface QuickReplies {\n- **`locale`** _(String)_ - Locale to localize the dates\n- **`timeFormat`** _(String)_ - Format to use for rendering times; default is `'LT'`\n- **`dateFormat`** _(Str... | TypeScript | MIT License | faridsafi/react-native-gifted-chat | feat(keyboard avoiding view): strip isAnimated and add keyboard avoiding view |
215,646 | 20.11.2019 19:18:21 | 18,000 | 0a08c8d052f5cbe4e39bc6d5988181c96af6136d | fix(keyboard avoiding view): add proptype | [
{
"change_type": "MODIFY",
"old_path": "src/GiftedChat.tsx",
"new_path": "src/GiftedChat.tsx",
"diff": "@@ -272,6 +272,7 @@ class GiftedChat<TMessage extends IMessage = IMessage> extends React.Component<\nlocale: PropTypes.string,\ntimeFormat: PropTypes.string,\ndateFormat: PropTypes.string,\n+ isKe... | TypeScript | MIT License | faridsafi/react-native-gifted-chat | fix(keyboard avoiding view): add proptype |
215,646 | 21.11.2019 19:43:13 | 18,000 | 13832e5f5c859f6bc986ff4952029c320e6becaa | fix(keyboard avoiding view): DRY in renderMessages | [
{
"change_type": "MODIFY",
"old_path": "src/GiftedChat.tsx",
"new_path": "src/GiftedChat.tsx",
"diff": "@@ -612,26 +612,7 @@ class GiftedChat<TMessage extends IMessage = IMessage> extends React.Component<\n}\nrenderMessages() {\n- return (\n- <>\n- {this.props.isKeyboardInternallyHandled && (\n- <Ke... | TypeScript | MIT License | faridsafi/react-native-gifted-chat | fix(keyboard avoiding view): DRY in renderMessages |
215,568 | 21.11.2019 00:02:51 | -32,400 | 5f844e39ff1d24712a20870236878b9b468cb96d | Implement renderChatEmpty prop to allow showing custom view as ListEmptyView when message are empty. | [
{
"change_type": "MODIFY",
"old_path": "README.md",
"new_path": "README.md",
"diff": "@@ -309,6 +309,7 @@ interface QuickReplies {\n- **`renderDay`** _(Function)_ - Custom day above a message\n- **`renderTime`** _(Function)_ - Custom time inside a message\n- **`renderFooter`** _(Function)_ - Custom ... | TypeScript | MIT License | faridsafi/react-native-gifted-chat | Implement renderChatEmpty prop to allow showing custom view as ListEmptyView when message are empty. |
215,661 | 22.11.2019 18:07:48 | -3,600 | dbb1ff1284d643e48b342308a718bce675447d4c | chore update snapshot | [
{
"change_type": "MODIFY",
"old_path": "src/__tests__/__snapshots__/MessageContainer.test.tsx.snap",
"new_path": "src/__tests__/__snapshots__/MessageContainer.test.tsx.snap",
"diff": "// Jest Snapshot v1, https://goo.gl/fbAQLP\nexports[`should render <MessageContainer /> and compare with snapshot 1`... | TypeScript | MIT License | faridsafi/react-native-gifted-chat | chore update snapshot |
215,661 | 25.11.2019 09:35:20 | -3,600 | e594b998988b3bc5b87aa25fefff50ebb05e0d46 | bump v0.12.0 beta 1 | [
{
"change_type": "MODIFY",
"old_path": "package.json",
"new_path": "package.json",
"diff": "{\n\"name\": \"react-native-gifted-chat\",\n- \"version\": \"0.12.0-beta-0\",\n+ \"version\": \"0.12.0-beta-1\",\n\"description\": \"The most complete chat UI for React Native\",\n\"main\": \"node_modules/exp... | TypeScript | MIT License | faridsafi/react-native-gifted-chat | bump v0.12.0 beta 1 |
215,586 | 02.12.2019 17:31:25 | -3,600 | 1c554cd7ac6f8541283973dfe234084b8376f2cb | fixed bug
fixed possible bug if inverted={false} prop is provided.
The bug produces `cannot read property scrollToEnd of null` | [
{
"change_type": "MODIFY",
"old_path": "src/MessageContainer.tsx",
"new_path": "src/MessageContainer.tsx",
"diff": "@@ -340,7 +340,7 @@ export default class MessageContainer<\nthis.props.messages!.length\n) {\nsetTimeout(\n- () => this.scrollToBottom(false),\n+ () => this.scrollToBottom && this.scro... | TypeScript | MIT License | faridsafi/react-native-gifted-chat | fixed bug
fixed possible bug if inverted={false} prop is provided.
The bug produces `cannot read property scrollToEnd of null` |
215,585 | 10.12.2019 23:29:38 | 28,800 | 15d12e9186e40f7e643c51510b218c46dd024a23 | add disableComposer prop | [
{
"change_type": "MODIFY",
"old_path": "src/Composer.tsx",
"new_path": "src/Composer.tsx",
"diff": "@@ -39,6 +39,7 @@ export interface ComposerProps {\ntextInputAutoFocus?: boolean\nkeyboardAppearance?: TextInputProps['keyboardAppearance']\nmultiline?: boolean\n+ disableComposer?: boolean\nonTextCha... | TypeScript | MIT License | faridsafi/react-native-gifted-chat | add disableComposer prop |
215,585 | 11.12.2019 16:44:09 | 28,800 | cdb6859de268b186474fc67c4fb97060ec865a1f | add disable composer prop in GiftedChat | [
{
"change_type": "MODIFY",
"old_path": "src/GiftedChat.tsx",
"new_path": "src/GiftedChat.tsx",
"diff": "@@ -63,6 +63,8 @@ export interface GiftedChatProps<TMessage extends IMessage = IMessage> {\ninitialText?: string\n/* Placeholder when text is empty; default is 'Type a message...' */\nplaceholder?... | TypeScript | MIT License | faridsafi/react-native-gifted-chat | add disable composer prop in GiftedChat |
215,661 | 16.12.2019 17:38:43 | -3,600 | 92338538c3faaf5cdcd155710c8fc7a0ac0849b8 | chore tsx root test app | [
{
"change_type": "RENAME",
"old_path": "App.js",
"new_path": "App.tsx",
"diff": "import { AppLoading, Asset, Linking } from 'expo'\nimport React, { Component } from 'react'\nimport { StyleSheet, View, Text, Platform } from 'react-native'\n-import { Bubble, GiftedChat, SystemMessage } from './src/'\n... | TypeScript | MIT License | faridsafi/react-native-gifted-chat | chore tsx root test app |
215,661 | 16.12.2019 17:44:57 | -3,600 | ebc727c6ef14627c470dcd87b81806dea3867f58 | chore snapshot tests | [
{
"change_type": "MODIFY",
"old_path": "src/__tests__/__snapshots__/Actions.test.tsx.snap",
"new_path": "src/__tests__/__snapshots__/Actions.test.tsx.snap",
"diff": "exports[`should render <Actions /> and compare with snapshot 1`] = `\n<View\naccessible={true}\n+ focusable={true}\nisTVSelectable={tr... | TypeScript | MIT License | faridsafi/react-native-gifted-chat | chore snapshot tests |
215,575 | 21.11.2019 10:42:07 | -21,600 | 527a498527ef50a35421c30c6b473e610affca2e | adjust message container height | [
{
"change_type": "MODIFY",
"old_path": "src/GiftedChat.tsx",
"new_path": "src/GiftedChat.tsx",
"diff": "@@ -433,6 +433,14 @@ class GiftedChat<TMessage extends IMessage = IMessage> extends React.Component<\nif (text !== prevProps.text) {\nthis.setTextFromProp(text)\n}\n+\n+ if (prevProps.minInputTool... | TypeScript | MIT License | faridsafi/react-native-gifted-chat | adjust message container height |
215,701 | 28.12.2019 18:25:43 | -32,400 | 70c9aa13677b7035d5707706cecc56d20627d3bf | fix REDME.md. Missing "`" in Props > image props | [
{
"change_type": "MODIFY",
"old_path": "README.md",
"new_path": "README.md",
"diff": "@@ -301,7 +301,7 @@ interface QuickReplies {\n- **`renderMessageText`** _(Function)_ - Custom message text\n- **`renderMessageImage`** _(Function)_ - Custom message image\n- **`renderMessageVideo`** _(Function)_ - ... | TypeScript | MIT License | faridsafi/react-native-gifted-chat | fix REDME.md. Missing "`" in Props > image props |
215,646 | 29.12.2019 17:25:44 | 18,000 | 62d8c98a8ce24683c79e34865396c5cd6b710a2e | feat(typing-indicator): add stateful fx component
TypingIndicator only needs one prop from the parent component tree | [
{
"change_type": "ADD",
"old_path": null,
"new_path": "src/TypingIndicator.tsx",
"diff": "+import React, { useState } from 'react'\n+import { Animated } from 'react-native'\n+import { TypingAnimation } from 'react-native-typing-animation'\n+import { useUpdateLayoutEffect } from './hooks/useUpdateLay... | TypeScript | MIT License | faridsafi/react-native-gifted-chat | feat(typing-indicator): add stateful fx component
TypingIndicator only needs one prop from the parent component tree |
215,646 | 29.12.2019 17:26:44 | 18,000 | ec36e15fd737380297890ccd41214647c59e0d46 | feat(typing-indicator): add reusable layout effect hook | [
{
"change_type": "ADD",
"old_path": null,
"new_path": "src/hooks/useUpdateLayoutEffect.ts",
"diff": "+import { useLayoutEffect, useRef } from 'react'\n+\n+/**\n+ * A custom useEffect hook that only triggers on updates, not on initial mount\n+ * Idea stolen from: https://stackoverflow.com/a/55075818/... | TypeScript | MIT License | faridsafi/react-native-gifted-chat | feat(typing-indicator): add reusable layout effect hook |
215,646 | 29.12.2019 17:27:45 | 18,000 | 193d705e9fa045f41de5e7b6e1dfb5536a5b37e7 | feat(typing-indicator): isTyping prop from the parent component | [
{
"change_type": "MODIFY",
"old_path": "src/GiftedChat.tsx",
"new_path": "src/GiftedChat.tsx",
"diff": "@@ -53,6 +53,8 @@ import QuickReplies from './QuickReplies'\nexport interface GiftedChatProps<TMessage extends IMessage = IMessage> {\n/* Messages to display */\nmessages?: TMessage[]\n+ /* Typing... | TypeScript | MIT License | faridsafi/react-native-gifted-chat | feat(typing-indicator): isTyping prop from the parent component |
215,646 | 29.12.2019 17:31:12 | 18,000 | 0899fff60d482ada82ada293d8dc2bf509755f08 | feat(typing-indicator): use isTyping in MessageContainer to renderFooter
DRY footerprops
if renderFooter is provided by the user then return their custom indicator
otherwise return our own prepackaged indicator
extraData should be an array not an object
pass isTyping to extraData so that FlatList renders | [
{
"change_type": "MODIFY",
"old_path": "src/MessageContainer.tsx",
"new_path": "src/MessageContainer.tsx",
"diff": "@@ -21,6 +21,7 @@ import Message from './Message'\nimport Color from './Color'\nimport { User, IMessage, Reply } from './types'\nimport { warning } from './utils'\n+import TypingIndica... | TypeScript | MIT License | faridsafi/react-native-gifted-chat | feat(typing-indicator): use isTyping in MessageContainer to renderFooter
-DRY footerprops
-if renderFooter is provided by the user then return their custom indicator
-otherwise return our own prepackaged indicator
-extraData should be an array not an object
-pass isTyping to extraData so that FlatList renders |
215,646 | 29.12.2019 17:31:49 | 18,000 | c17298686366bcedd7f67964c12f8c424ed70202 | feat(typing-indicator): add indicator to example project | [
{
"change_type": "MODIFY",
"old_path": "App.tsx",
"new_path": "App.tsx",
"diff": "@@ -38,6 +38,7 @@ export default class App extends Component {\ntypingText: null,\nisLoadingEarlier: false,\nappIsReady: false,\n+ isTyping: false,\n}\n_isMounted = false\n@@ -48,6 +49,7 @@ export default class App ext... | TypeScript | MIT License | faridsafi/react-native-gifted-chat | feat(typing-indicator): add indicator to example project |
215,646 | 29.12.2019 17:32:27 | 18,000 | d0f391a7aa677135bdbc08819a36b80c2e94ce1e | feat(typing-indicator): update docs | [
{
"change_type": "MODIFY",
"old_path": "README.md",
"new_path": "README.md",
"diff": "@@ -276,6 +276,7 @@ interface QuickReplies {\n## Props\n- **`messages`** _(Array)_ - Messages to display\n+- **`isTyping`** _(Bool)_ - Typing Indicator state; default `false. If you use`renderFooter` it will overri... | TypeScript | MIT License | faridsafi/react-native-gifted-chat | feat(typing-indicator): update docs |
215,646 | 29.12.2019 18:08:25 | 18,000 | aca034e0673433f3f74dbf3753bc46e5ae13c42e | feat(typing-indicator): scale margin so there's no gap at bottom | [
{
"change_type": "MODIFY",
"old_path": "src/TypingIndicator.tsx",
"new_path": "src/TypingIndicator.tsx",
"diff": "@@ -10,6 +10,7 @@ interface Props {\nconst TypingIndicator = (props: Props) => {\nconst [yCoords, setYCoords] = useState(new Animated.Value(200))\nconst [heightScale, setHeightScale] = u... | TypeScript | MIT License | faridsafi/react-native-gifted-chat | feat(typing-indicator): scale margin so there's no gap at bottom |
215,646 | 30.12.2019 15:04:38 | 18,000 | def97bfa2e2a9e7a0fd13fd4fd7824e6da08c177 | docs(typing-indicator): fix README typo | [
{
"change_type": "MODIFY",
"old_path": "README.md",
"new_path": "README.md",
"diff": "@@ -276,7 +276,7 @@ interface QuickReplies {\n## Props\n- **`messages`** _(Array)_ - Messages to display\n-- **`isTyping`** _(Bool)_ - Typing Indicator state; default `false. If you use`renderFooter` it will overri... | TypeScript | MIT License | faridsafi/react-native-gifted-chat | docs(typing-indicator): fix README typo |
215,646 | 30.12.2019 15:05:38 | 18,000 | 92c2356d4c640135f7e4dae56abeba18158ce5ae | refactor(typing-indicator): DRY in example | [
{
"change_type": "MODIFY",
"old_path": "example-expo/AccessoryBar.js",
"new_path": "example-expo/AccessoryBar.js",
"diff": "@@ -10,8 +10,7 @@ import {\nexport default class AccessoryBar extends React.Component {\nrender() {\n- const { onSend } = this.props\n- const isTyping = this.props.isTyping\n+ ... | TypeScript | MIT License | faridsafi/react-native-gifted-chat | refactor(typing-indicator): DRY in example |
215,670 | 06.01.2020 11:22:53 | -3,600 | e14aa1e073668be0cae02485c3c06c0478fbb8c0 | fix typings of <Bubble /> | [
{
"change_type": "MODIFY",
"old_path": "flow-typedefs/Bubble.js.flow",
"new_path": "flow-typedefs/Bubble.js.flow",
"diff": "@@ -47,7 +47,7 @@ export type BubbleProps<TMessage: IMessage = IMessage> = $ReadOnly<{|\ntickStyle?: TextStyleProp,\ncontainerToNextStyle?: LeftRightStyle<ViewStyleProp>,\ncont... | TypeScript | MIT License | faridsafi/react-native-gifted-chat | fix typings of <Bubble /> |
215,612 | 08.01.2020 13:42:32 | -3,600 | 834d0ea57b8f772c0bc0810e26458a094237888b | Added missing property: textInputStyle | [
{
"change_type": "MODIFY",
"old_path": "flow-typedefs/GiftedChat.js.flow",
"new_path": "flow-typedefs/GiftedChat.js.flow",
"diff": "@@ -66,6 +66,7 @@ export type GiftedChatProps<TMessage: IMessage = IMessage> = $ReadOnly<{|\nminInputToolbarHeight?: number,\nlistViewProps?: $Shape<React.ElementProps<... | TypeScript | MIT License | faridsafi/react-native-gifted-chat | Added missing property: textInputStyle |
215,582 | 13.01.2020 15:28:32 | 18,000 | d4376ae3cd85afc062fba2c83bcd5ffae85e5a0b | App.js --> App.tsx | [
{
"change_type": "MODIFY",
"old_path": "README.md",
"new_path": "README.md",
"diff": "@@ -168,7 +168,7 @@ class Example extends React.Component {\n## Advanced example\n-See [`App.js`](App.js) for a working demo!\n+See [`App.js`](https://github.com/FaridSafi/react-native-gifted-chat/blob/master/App.t... | TypeScript | MIT License | faridsafi/react-native-gifted-chat | App.js --> App.tsx |
215,589 | 14.01.2020 11:44:31 | 0 | 35d39b5bf95f88a69d203b37a4e52459a14a4b6f | image props -> imageProps | [
{
"change_type": "MODIFY",
"old_path": "README.md",
"new_path": "README.md",
"diff": "@@ -315,7 +315,7 @@ interface QuickReplies {\n- **`renderMessageText`** _(Function)_ - Custom message text\n- **`renderMessageImage`** _(Function)_ - Custom message image\n- **`renderMessageVideo`** _(Function)_ - ... | TypeScript | MIT License | faridsafi/react-native-gifted-chat | image props -> imageProps |
215,603 | 23.01.2020 16:41:48 | -18,000 | f7f45964cebf09c83de4705ef94df663728400bb | Fixed empty chat container inverted | [
{
"change_type": "MODIFY",
"old_path": "src/MessageContainer.tsx",
"new_path": "src/MessageContainer.tsx",
"diff": "@@ -41,6 +41,10 @@ const styles = StyleSheet.create({\nlistStyle: {\nflex: 1,\n},\n+ emptyChatContainer: {\n+ flex: 1,\n+ transform: [{ scaleY: -1 }],\n+ },\nscrollToBottomStyle: {\nop... | TypeScript | MIT License | faridsafi/react-native-gifted-chat | Fixed empty chat container inverted |
215,603 | 24.01.2020 11:09:24 | -18,000 | 7a0994634ceba148b8d320b13405ddc4af52862d | Separete style | [
{
"change_type": "MODIFY",
"old_path": "src/MessageContainer.tsx",
"new_path": "src/MessageContainer.tsx",
"diff": "@@ -17,6 +17,10 @@ const styles = StyleSheet.create({\nflexGrow: 1,\njustifyContent: 'flex-start',\n},\n+ emptyChatContainer: {\n+ flex: 1,\n+ transform: [{ scaleY: -1 }],\n+ },\nheade... | TypeScript | MIT License | faridsafi/react-native-gifted-chat | Separete style |
215,603 | 24.01.2020 15:07:16 | -18,000 | 7c9436665b4d96f68c99a361982f1dbae6033efd | Formatted File By Prettier | [
{
"change_type": "MODIFY",
"old_path": "src/MessageContainer.tsx",
"new_path": "src/MessageContainer.tsx",
"diff": "-import PropTypes from 'prop-types';\n-import React from 'react';\n-import { FlatList, View, StyleSheet, Keyboard, TouchableOpacity, Text, } from 'react-native';\n-import LoadEarlier f... | TypeScript | MIT License | faridsafi/react-native-gifted-chat | Formatted File By Prettier |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.