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,603 | 24.01.2020 15:59:41 | -18,000 | d79eea87a0ce744e1853ddd38dbd27d266365552 | recover typescript format | [
{
"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 React, { RefObject } from 'react'\n+\nimport {\nFlatList,\nView,\n@@ -7,11 +8,21 @@ import {\nKeyboard,\nTouchab... | TypeScript | MIT License | faridsafi/react-native-gifted-chat | recover typescript format |
215,603 | 25.01.2020 20:59:28 | 28,800 | 6c17d5981beca4d7de4a812433c632895eab982b | Added style emptyChatContainer | [
{
"change_type": "MODIFY",
"old_path": "src/MessageContainer.tsx",
"new_path": "src/MessageContainer.tsx",
"diff": "@@ -35,6 +35,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 | Added style emptyChatContainer |
215,598 | 03.02.2020 12:10:56 | -7,200 | 96ea937c7af2ba9c59f722077f6e3f60df2d0842 | fix null ref case in MessageContainer | [
{
"change_type": "MODIFY",
"old_path": "src/MessageContainer.tsx",
"new_path": "src/MessageContainer.tsx",
"diff": "@@ -237,7 +237,7 @@ export default class MessageContainer<\nconst { inverted } = this.props\nif (inverted) {\nthis.scrollTo({ offset: 0, animated })\n- } else {\n+ } else if (this.prop... | TypeScript | MIT License | faridsafi/react-native-gifted-chat | fix null ref case in MessageContainer |
215,661 | 26.02.2020 12:15:44 | -3,600 | 5f571da4a4870fc4a2c6404ad23052140562e3fe | add docdok sponsor | [
{
"change_type": "MODIFY",
"old_path": "README.md",
"new_path": "README.md",
"diff": "</p>\n</p>\n+<p align=\"center\">\n+ <br/>\n+ <a href=\"https://www.docdok.health/?utm_source=github&utm_medium=react-native-gifted-chat&utm_campaign=sponsorship\" target=\"_blank\">\n+ <img src=\"https://www.dropb... | TypeScript | MIT License | faridsafi/react-native-gifted-chat | add docdok sponsor |
215,572 | 21.02.2020 21:01:17 | 18,000 | 4bdc295cc6210772014dca91a054acbee0f52448 | order of css applied to wrapperStyle in Bubble | [
{
"change_type": "MODIFY",
"old_path": "src/Bubble.tsx",
"new_path": "src/Bubble.tsx",
"diff": "@@ -488,9 +488,9 @@ export default class Bubble<\n<View\nstyle={[\nstyles[position].wrapper,\n- wrapperStyle && wrapperStyle[position],\nthis.styledBubbleToNext(),\nthis.styledBubbleToPrevious(),\n+ wrapp... | TypeScript | MIT License | faridsafi/react-native-gifted-chat | order of css applied to wrapperStyle in Bubble |
215,591 | 22.03.2020 18:22:59 | -10,800 | aecfa345082590c2434cb00d97750e9eda81177d | Remove ViewPropTypes references
ViewPropTypes is no longer supported on react-native-web > 0.12.0 as described on this issue | [
{
"change_type": "MODIFY",
"old_path": "src/Actions.tsx",
"new_path": "src/Actions.tsx",
"diff": "@@ -5,7 +5,7 @@ import {\nText,\nTouchableOpacity,\nView,\n- ViewPropTypes,\n+\nStyleProp,\nViewStyle,\nTextStyle,\n@@ -38,8 +38,8 @@ export default class Actions extends React.Component<ActionsProps> {... | TypeScript | MIT License | faridsafi/react-native-gifted-chat | Remove ViewPropTypes references (#1694)
ViewPropTypes is no longer supported on react-native-web > 0.12.0 as described on this issue https://github.com/necolas/react-native-web/issues/1537 |
215,674 | 03.04.2020 02:39:57 | 18,000 | 656a700106923e7e92a5a4644e0729fef35f0a30 | Adds enhancements to iPhone X support | [
{
"change_type": "MODIFY",
"old_path": "src/GiftedChat.tsx",
"new_path": "src/GiftedChat.tsx",
"diff": "@@ -19,7 +19,7 @@ import {\n} from '@expo/react-native-action-sheet'\nimport moment from 'moment'\nimport uuid from 'uuid'\n-import { isIphoneX } from 'react-native-iphone-x-helper'\n+import { isI... | TypeScript | MIT License | faridsafi/react-native-gifted-chat | Adds enhancements to iPhone X support (#1710) |
215,714 | 04.05.2020 17:22:48 | -7,200 | 51a5c7079e1046302405c1c21e21bebb2cab752a | fix calculation of messagesContainerHeight in onMainViewLayout if keyboard is shown | [
{
"change_type": "MODIFY",
"old_path": "src/GiftedChat.tsx",
"new_path": "src/GiftedChat.tsx",
"diff": "@@ -784,7 +784,8 @@ class GiftedChat<TMessage extends IMessage = IMessage> extends React.Component<\n) {\nthis.setMaxHeight(layout.height)\nthis.setState({\n- messagesContainerHeight: this.getBasi... | TypeScript | MIT License | faridsafi/react-native-gifted-chat | fix calculation of messagesContainerHeight in onMainViewLayout if keyboard is shown |
215,693 | 09.04.2020 15:59:41 | -28,800 | 43d31d3c104233d49f2bf30628f605053cef3141 | Example for using the renderProps of gifted-chat | [
{
"change_type": "ADD",
"old_path": null,
"new_path": "example-gifted-chat/README.md",
"diff": "+# example-gifted-chat\n+\n+Lots of people using `react-native-gifted-chat` might want to know that...\n+\n+1. There are so many render props could use, but what should I pass?\n+2. How could I customize ... | TypeScript | MIT License | faridsafi/react-native-gifted-chat | Example for using the renderProps of gifted-chat |
215,661 | 06.05.2020 10:58:11 | -7,200 | 1d914a4b6ac7739e4d19b94462d607c833099a7e | chore yarn install | [
{
"change_type": "MODIFY",
"old_path": "yarn.lock",
"new_path": "yarn.lock",
"diff": "@@ -1538,11 +1538,6 @@ abab@^2.0.0:\nresolved \"https://registry.yarnpkg.com/abab/-/abab-2.0.3.tgz#623e2075e02eb2d3f2475e49f99c91846467907a\"\nintegrity sha512-tsFzPpcttalNjFBCFMqsKYQcWxxen1pgJR56by//QwvJc4/OUS3kPO... | TypeScript | MIT License | faridsafi/react-native-gifted-chat | chore yarn install |
215,661 | 06.05.2020 11:45:08 | -7,200 | e1cc868c5f83cdbd1dc630b13cdc035ae7cdb10b | feat increase quickrely size | [
{
"change_type": "MODIFY",
"old_path": "src/QuickReplies.tsx",
"new_path": "src/QuickReplies.tsx",
"diff": "@@ -22,10 +22,10 @@ const styles = StyleSheet.create({\njustifyContent: 'center',\nalignItems: 'center',\nborderWidth: 1,\n- maxWidth: 160,\n+ maxWidth: 200,\npaddingVertical: 7,\npaddingHoriz... | TypeScript | MIT License | faridsafi/react-native-gifted-chat | feat increase quickrely size |
215,661 | 06.05.2020 11:51:10 | -7,200 | 4614421d962530b97187a9c91b253b946ee5f88b | chore upgrade expo | [
{
"change_type": "MODIFY",
"old_path": "app.json",
"new_path": "app.json",
"diff": "\"description\": \"Gifted Chat Expo Example\",\n\"slug\": \"example-expo\",\n\"privacy\": \"public\",\n- \"sdkVersion\": \"36.0.0\",\n- \"platforms\": [\"ios\", \"android\", \"web\"],\n+ \"platforms\": [\n+ \"ios\",\... | TypeScript | MIT License | faridsafi/react-native-gifted-chat | chore upgrade expo |
215,661 | 06.05.2020 12:34:44 | -7,200 | 10e52206f03c13d6f28b67a72decb3194ab1c457 | fix not support typing for web | [
{
"change_type": "MODIFY",
"old_path": "src/MessageContainer.tsx",
"new_path": "src/MessageContainer.tsx",
"diff": "@@ -14,6 +14,7 @@ import {\nNativeScrollEvent,\nStyleProp,\nViewStyle,\n+ Platform,\n} from 'react-native'\nimport LoadEarlier from './LoadEarlier'\n@@ -204,6 +205,9 @@ export default ... | TypeScript | MIT License | faridsafi/react-native-gifted-chat | fix not support typing for web |
215,661 | 06.05.2020 14:22:10 | -7,200 | ab50f8aef8c123d1379be26edc3bc7c22443ba04 | feat example renderSend | [
{
"change_type": "MODIFY",
"old_path": "App.tsx",
"new_path": "App.tsx",
"diff": "+import { MaterialIcons } from '@expo/vector-icons'\nimport { AppLoading, Asset, Linking } from 'expo'\nimport React, { Component } from 'react'\nimport { StyleSheet, View, Text, Platform } from 'react-native'\n-import... | TypeScript | MIT License | faridsafi/react-native-gifted-chat | feat example renderSend |
215,661 | 06.05.2020 14:34:54 | -7,200 | a4bc3cea542b6e523ff392c3229c2efc83525abd | chore remove web-build | [
{
"change_type": "DELETE",
"old_path": "web-build/register-service-worker.js",
"new_path": null,
"diff": "-/* eslint-env browser */\n-\n-if ('serviceWorker' in navigator) {\n- window.addEventListener('load', function() {\n- navigator.serviceWorker\n- .register('/expo-service-worker.js', { scope: '/'... | TypeScript | MIT License | faridsafi/react-native-gifted-chat | chore remove web-build |
215,661 | 07.05.2020 10:06:42 | -7,200 | 2fb040da2f524e24a8d5f331c5fcee59409e4a15 | chore move rnw dep to dep | [
{
"change_type": "MODIFY",
"old_path": "package.json",
"new_path": "package.json",
"diff": "\"react-native\": \"https://github.com/expo/react-native/archive/sdk-37.0.1.tar.gz\",\n\"react-native-maps\": \"0.26.1\",\n\"react-native-nav\": \"2.0.2\",\n- \"react-native-web\": \"^0.11.7\",\n\"react-nativ... | TypeScript | MIT License | faridsafi/react-native-gifted-chat | chore move rnw dep to dep |
215,661 | 07.05.2020 16:41:46 | -7,200 | 88d9366e1787bc7fce035d72801daa545a596332 | feat infinite scroll | [
{
"change_type": "MODIFY",
"old_path": "App.tsx",
"new_path": "App.tsx",
"diff": "@@ -71,15 +71,15 @@ export default class App extends Component {\nreturn {\nmessages: GiftedChat.prepend(\npreviousState.messages,\n- earlierMessages as any,\n+ earlierMessages() as IMessage[],\nPlatform.OS !== 'web',\... | TypeScript | MIT License | faridsafi/react-native-gifted-chat | feat infinite scroll |
215,661 | 07.05.2020 16:46:22 | -7,200 | d0364fca68b584aa15b426ea5d36d52521508fd8 | feat infinite scroll prop | [
{
"change_type": "MODIFY",
"old_path": ".gitignore",
"new_path": ".gitignore",
"diff": "@@ -10,3 +10,4 @@ Exponent-*.app\n*.log\nlib/\ncoverage/\n+web-build/\n"
},
{
"change_type": "MODIFY",
"old_path": "README.md",
"new_path": "README.md",
"diff": "@@ -376,7 +376,7 @@ interface ... | TypeScript | MIT License | faridsafi/react-native-gifted-chat | feat infinite scroll prop |
215,611 | 08.05.2020 07:53:26 | -7,200 | d1841431c4e936dfa71fe60dfd99d9c6eae47e24 | fix image lereacteur | [
{
"change_type": "MODIFY",
"old_path": "README.md",
"new_path": "README.md",
"diff": "<p align=\"center\">\n<br/>\n<a href=\"https://www.lereacteur.io\" target=\"_blank\">\n- <img src=\"https://raw.githubusercontent.com/FaridSafi/react-native-gifted-chat/sponsor-lereacteur/media/logo_sponsor.png\">\... | TypeScript | MIT License | faridsafi/react-native-gifted-chat | fix image lereacteur |
215,661 | 08.05.2020 14:20:05 | -7,200 | 7d17119396f5d78d0f320a04eff51a35a7546ec9 | chore rnw not required in dependencies | [
{
"change_type": "MODIFY",
"old_path": "package.json",
"new_path": "package.json",
"diff": "\"react-native-nav\": \"2.0.2\",\n\"react-native-web-maps\": \"0.2.0\",\n\"react-test-renderer\": \"16.9.0\",\n+ \"react-native-web\": \"^0.11.7\",\n\"tslint\": \"6.1.2\",\n\"tslint-config-prettier\": \"1.18.... | TypeScript | MIT License | faridsafi/react-native-gifted-chat | chore rnw not required in dependencies |
215,692 | 23.05.2020 22:31:20 | -7,200 | 2fc7b99b9638d889e25b21e2e6e5aa719c53147f | Avoid transitive dependencies for days | [
{
"change_type": "MODIFY",
"old_path": "package.json",
"new_path": "package.json",
"diff": "},\n\"dependencies\": {\n\"@expo/react-native-action-sheet\": \"^3.6.0\",\n- \"dayjs\": \"1.8.27\",\n+ \"dayjs\": \"^1.8.26\",\n\"prop-types\": \"^15.7.2\",\n\"react-native-communications\": \"^2.2.1\",\n\"re... | TypeScript | MIT License | faridsafi/react-native-gifted-chat | Avoid transitive dependencies for days |
215,620 | 02.06.2020 14:35:46 | 21,600 | 40b5e76e337877a337f02c507bdcc82a7b4527c1 | pass textStyle prop from Avatar to GiftedAvatar | [
{
"change_type": "MODIFY",
"old_path": "src/Avatar.tsx",
"new_path": "src/Avatar.tsx",
"diff": "import PropTypes from 'prop-types'\nimport React, { ReactNode } from 'react'\n-import { StyleSheet, View, ImageStyle, ViewStyle } from 'react-native'\n+import { StyleSheet, View, ImageStyle, TextStyle, Vi... | TypeScript | MIT License | faridsafi/react-native-gifted-chat | pass textStyle prop from Avatar to GiftedAvatar |
215,632 | 03.06.2020 01:52:22 | 25,200 | 8f605e56442632aa4afab3a3b3428adf787ad8ea | Avoid setting heights twice within 0.1s
Fixes | [
{
"change_type": "MODIFY",
"old_path": "src/GiftedChat.tsx",
"new_path": "src/GiftedChat.tsx",
"diff": "@@ -391,6 +391,8 @@ class GiftedChat<TMessage extends IMessage = IMessage> extends React.Component<\ninvertibleScrollViewProps: any = undefined\n_actionSheetRef: any = undefined\n+ _lastUpdate = -... | TypeScript | MIT License | faridsafi/react-native-gifted-chat | Avoid setting heights twice within 0.1s
Fixes https://github.com/FaridSafi/react-native-gifted-chat/issues/1809 |
215,663 | 18.06.2020 10:41:44 | 18,000 | 5159fc7b708a79f65d23b76346208380ada0f776 | MessageObject
Update the documentation about message object to show developers the way to mark a message with the available states. | [
{
"change_type": "MODIFY",
"old_path": "README.md",
"new_path": "README.md",
"diff": "@@ -147,6 +147,7 @@ class Example extends React.Component {\n_id: 1,\ntext: 'Hello developer',\ncreatedAt: new Date(),\n+ sent: true,\nuser: {\n_id: 2,\nname: 'React Native',\n@@ -202,6 +203,12 @@ See the files in ... | TypeScript | MIT License | faridsafi/react-native-gifted-chat | MessageObject (#1838)
- Update the documentation about message object to show developers the way to mark a message with the available states.
Co-authored-by: Daniel Mejia <danielmejia@lmejia-mac.local> |
215,663 | 19.06.2020 19:08:11 | 18,000 | 64a7965e7820d2eefbcd27ad227fff2e9a4878ea | Update README.md
Update readme example in order to use functional component and hooks
Add some missing properties to documentation | [
{
"change_type": "MODIFY",
"old_path": "README.md",
"new_path": "README.md",
"diff": "## Example\n```jsx\n-import React from 'react'\n+import React, { useState, useCallback, useEffect } from 'react'\nimport { GiftedChat } from 'react-native-gifted-chat'\n-class Example extends React.Component {\n- s... | TypeScript | MIT License | faridsafi/react-native-gifted-chat | Update README.md
- Update readme example in order to use functional component and hooks
- Add some missing properties to documentation |
215,661 | 24.06.2020 22:09:01 | -7,200 | bd60fa0690717dfc4dde1bbe24f7dc100d6d06db | chore: add pre commit task | [
{
"change_type": "MODIFY",
"old_path": "package.json",
"new_path": "package.json",
"diff": "\"config:dev\": \"json -I -f package.json -e 'this.main=\\\"node_modules/expo/AppEntry.js\\\"'\",\n\"config:npm\": \"json -I -f package.json -e 'this.main=\\\"lib/index.js\\\"'\",\n\"lint\": \"tslint --projec... | TypeScript | MIT License | faridsafi/react-native-gifted-chat | chore: add pre commit task |
215,662 | 30.06.2020 18:44:46 | 21,600 | a48444402fed3f6fc43f5cc90d6f56c78c1de25c | fix: yarn global command rewrite | [
{
"change_type": "MODIFY",
"old_path": "README.md",
"new_path": "README.md",
"diff": "@@ -452,14 +452,14 @@ If you use React Navigation, additional handling may be required to account for\n### Native\n-1. Install `yarn add -g expo-cli`\n+1. Install `yarn global add expo-cli`\n2. `expo start`\n### re... | TypeScript | MIT License | faridsafi/react-native-gifted-chat | fix: yarn global command rewrite |
215,662 | 30.06.2020 19:07:53 | 21,600 | d7284f5923d8b984b52a39c8b43d7cc50a6f5702 | fix: adding more feedback | [
{
"change_type": "MODIFY",
"old_path": "README.md",
"new_path": "README.md",
"diff": "@@ -453,14 +453,16 @@ If you use React Navigation, additional handling may be required to account for\n### Native\n1. Install `yarn global add expo-cli`\n-2. `expo start`\n+2. Install dependencies`yarn install`\n+3... | TypeScript | MIT License | faridsafi/react-native-gifted-chat | fix: adding more feedback |
215,571 | 30.06.2020 00:57:41 | -7,200 | 947f000c73e04ba5bb397d391849dae03b7d5054 | fix: bottom offset issue | [
{
"change_type": "MODIFY",
"old_path": "src/GiftedChat.tsx",
"new_path": "src/GiftedChat.tsx",
"diff": "@@ -583,12 +583,8 @@ class GiftedChat<TMessage extends IMessage = IMessage> extends React.Component<\n)\n}\n- safeAreaSupport = (bottomOffset: number) => {\n- return bottomOffset === this._bottomO... | TypeScript | MIT License | faridsafi/react-native-gifted-chat | fix: bottom offset issue |
215,571 | 01.07.2020 11:03:40 | -7,200 | 36388c582c0e16d91407331ed7356ba6762923b9 | fix default bottomOffset | [
{
"change_type": "MODIFY",
"old_path": "src/GiftedChat.tsx",
"new_path": "src/GiftedChat.tsx",
"diff": "@@ -274,7 +274,7 @@ class GiftedChat<TMessage extends IMessage = IMessage> extends React.Component<\nrenderAccessory: null,\nisKeyboardInternallyHandled: true,\nonPressActionButton: null,\n- botto... | TypeScript | MIT License | faridsafi/react-native-gifted-chat | fix default bottomOffset |
215,571 | 02.07.2020 06:23:19 | -7,200 | d76af9ff4eaddb5292f1c48dd89d983f1eaac7e6 | refactor: remove unnecessary keyboard listener in empty chat | [
{
"change_type": "MODIFY",
"old_path": "src/MessageContainer.tsx",
"new_path": "src/MessageContainer.tsx",
"diff": "@@ -5,7 +5,6 @@ import {\nFlatList,\nView,\nStyleSheet,\n- Keyboard,\nTouchableOpacity,\nText,\nListViewProps,\n@@ -145,70 +144,6 @@ export default class MessageContainer<\nshowScrollB... | TypeScript | MIT License | faridsafi/react-native-gifted-chat | refactor: remove unnecessary keyboard listener in empty chat |
215,571 | 05.07.2020 01:38:50 | -7,200 | 13a643ecaa1906817615019fb180de7cafc3aed0 | refactor: separate text input focus logic | [
{
"change_type": "MODIFY",
"old_path": "src/GiftedChat.tsx",
"new_path": "src/GiftedChat.tsx",
"diff": "@@ -391,7 +391,7 @@ class GiftedChat<TMessage extends IMessage = IMessage> extends React.Component<\ninvertibleScrollViewProps: any = undefined\n_actionSheetRef: any = undefined\n_messageContainer... | TypeScript | MIT License | faridsafi/react-native-gifted-chat | refactor: separate text input focus logic |
215,592 | 15.07.2020 16:53:23 | -36,000 | 2206ae09fd392ac5899574a488dc93675b00bd9c | Added renderMessageVideo property to GiftedChatProps interface | [
{
"change_type": "MODIFY",
"old_path": "src/GiftedChat.tsx",
"new_path": "src/GiftedChat.tsx",
"diff": "@@ -167,6 +167,8 @@ export interface GiftedChatProps<TMessage extends IMessage = IMessage> {\n): React.ReactNode\n/* Custom message image */\nrenderMessageImage?(props: MessageImage<TMessage>['pro... | TypeScript | MIT License | faridsafi/react-native-gifted-chat | Added renderMessageVideo property to GiftedChatProps interface |
215,704 | 13.07.2020 11:13:15 | -7,200 | ce7b4502a3e8bbdca33b51567c18f43ebe7d656f | Change typing of renderAvatar to support null | [
{
"change_type": "MODIFY",
"old_path": "src/GiftedChat.tsx",
"new_path": "src/GiftedChat.tsx",
"diff": "@@ -151,7 +151,7 @@ export interface GiftedChatProps<TMessage extends IMessage = IMessage> {\n/* Custom \"Load earlier messages\" button */\nrenderLoadEarlier?(props: LoadEarlier['props']): React.... | TypeScript | MIT License | faridsafi/react-native-gifted-chat | Change typing of renderAvatar to support null |
215,700 | 28.07.2020 16:42:42 | 0 | dc842754c1f59ea194109bf6631b62011861bb97 | Typo corrected at line 353 | [
{
"change_type": "MODIFY",
"old_path": "README.md",
"new_path": "README.md",
"diff": "@@ -349,7 +349,7 @@ interface QuickReplies {\n- **`renderCustomView`** _(Function)_ - Custom view inside the bubble\n- **`renderDay`** _(Function)_ - Custom day above a message\n- **`renderTime`** _(Function)_ - Cu... | TypeScript | MIT License | faridsafi/react-native-gifted-chat | Typo corrected at line 353 |
215,681 | 12.08.2020 22:51:11 | 10,800 | fed5cdf6a7247ef778775692874ca93f399f4dff | feat: Add textProps to Day component | [
{
"change_type": "MODIFY",
"old_path": "src/Day.tsx",
"new_path": "src/Day.tsx",
"diff": "@@ -7,6 +7,7 @@ import {\nStyleProp,\nViewStyle,\nTextStyle,\n+ TextProps,\n} from 'react-native'\nimport dayjs from 'dayjs'\n@@ -38,6 +39,7 @@ export interface DayProps<TMessage extends IMessage> {\ncontainerS... | TypeScript | MIT License | faridsafi/react-native-gifted-chat | feat: Add textProps to Day component |
215,719 | 16.01.2021 15:41:12 | -32,400 | 0d27265a2a23149770b53e2be10a379094bb7d9f | Add renderMessageVideo, renderMessageAudio props to type | [
{
"change_type": "MODIFY",
"old_path": "flow-typedefs/GiftedChat.js.flow",
"new_path": "flow-typedefs/GiftedChat.js.flow",
"diff": "@@ -10,6 +10,10 @@ import SystemMessage from './SystemMessage'\nimport type { SystemMessageProps } from './SystemMessage'\nimport MessageImage from './MessageImage'\nim... | TypeScript | MIT License | faridsafi/react-native-gifted-chat | Add renderMessageVideo, renderMessageAudio props to type |
215,580 | 17.12.2020 16:41:26 | 10,800 | c7f4ecb0cdacb2a1b8281f2f077fe4f85d292e2c | Update Bubble.tsx
Added onPress event | [
{
"change_type": "MODIFY",
"old_path": "src/Bubble.tsx",
"new_path": "src/Bubble.tsx",
"diff": "@@ -149,6 +149,7 @@ export interface BubbleProps<TMessage extends IMessage> {\ncontainerToPreviousStyle?: LeftRightStyle<ViewStyle>\nusernameStyle?: TextStyle\nquickReplyStyle?: StyleProp<ViewStyle>\n+ on... | TypeScript | MIT License | faridsafi/react-native-gifted-chat | Update Bubble.tsx
Added onPress event |
215,580 | 17.12.2020 16:45:35 | 10,800 | 0248aa487da5a0bda1278b21f1366b9ba2e852bd | Update README.md
update readme with onPress | [
{
"change_type": "MODIFY",
"old_path": "README.md",
"new_path": "README.md",
"diff": "@@ -335,6 +335,7 @@ interface QuickReplies {\n- **`renderBubble`** _(Function)_ - Custom message bubble\n- **`renderTicks`** _(Function(`message`))_ - Custom ticks indicator to display message status\n- **`renderSy... | TypeScript | MIT License | faridsafi/react-native-gifted-chat | Update README.md
update readme with onPress |
215,637 | 20.01.2021 09:17:24 | -3,600 | 16b51335a53d2281e394c6a63b01e3803e687e99 | Use onLayout instead of onContentSizeChange for composer height | [
{
"change_type": "MODIFY",
"old_path": "src/Composer.tsx",
"new_path": "src/Composer.tsx",
"diff": "@@ -42,7 +42,7 @@ export interface ComposerProps {\nmultiline?: boolean\ndisableComposer?: boolean\nonTextChanged?(text: string): void\n- onInputSizeChanged?(contentSize: { width: number; height: numb... | TypeScript | MIT License | faridsafi/react-native-gifted-chat | Use onLayout instead of onContentSizeChange for composer height |
215,713 | 11.01.2021 16:56:49 | -18,000 | 2395633c49eedaeb68cddaabeab3eb26bdc1cd81 | LeftRightStyle should be an optional param
I found the issue when i want to change just only one param it will give error so | [
{
"change_type": "MODIFY",
"old_path": "src/Models.ts",
"new_path": "src/Models.ts",
"diff": "@@ -26,8 +26,8 @@ export { TimeProps } from './Time'\nexport type Omit<T, K> = Pick<T, Exclude<keyof T, K>>\nexport interface LeftRightStyle<T> {\n- left: StyleProp<T>\n- right: StyleProp<T>\n+ left?: Style... | TypeScript | MIT License | faridsafi/react-native-gifted-chat | LeftRightStyle should be an optional param
I found the issue when i want to change just only one param it will give error so |
215,571 | 10.12.2020 11:14:48 | -7,200 | 9248498e763b9bb580f244c1f39279529390c9ab | feat: support iPhone 12 series | [
{
"change_type": "MODIFY",
"old_path": "package.json",
"new_path": "package.json",
"diff": "\"dayjs\": \"^1.8.26\",\n\"prop-types\": \"^15.7.2\",\n\"react-native-communications\": \"^2.2.1\",\n- \"react-native-iphone-x-helper\": \"^1.2.1\",\n+ \"react-native-iphone-x-helper\": \"^1.3.1\",\n\"react-n... | TypeScript | MIT License | faridsafi/react-native-gifted-chat | feat: support iPhone 12 series |
215,571 | 10.12.2020 18:26:55 | -7,200 | 7f15d86d1adfc4c67decb87d902b6f552af9f6ac | feat: add onMessageLayout prop | [
{
"change_type": "MODIFY",
"old_path": "src/Message.tsx",
"new_path": "src/Message.tsx",
"diff": "import PropTypes from 'prop-types'\nimport React from 'react'\n-import { View, StyleSheet, ViewStyle } from 'react-native'\n+import { View, StyleSheet, ViewStyle, LayoutChangeEvent } from 'react-native'... | TypeScript | MIT License | faridsafi/react-native-gifted-chat | feat: add onMessageLayout prop |
215,661 | 17.02.2021 14:51:36 | -3,600 | e9b5a65ca8b44fb1ab081656c4582557c7c8dd8a | fix tsc and snapshot | [
{
"change_type": "MODIFY",
"old_path": "src/Bubble.tsx",
"new_path": "src/Bubble.tsx",
"diff": "@@ -249,7 +249,6 @@ export default class Bubble<\n}\nonPress = () => {\n- const { currentMessage } = this.props\nif (this.props.onPress) {\nthis.props.onPress(this.context, this.props.currentMessage)\n}\n... | TypeScript | MIT License | faridsafi/react-native-gifted-chat | fix tsc and snapshot |
215,661 | 08.05.2020 15:25:14 | -7,200 | ebe366d90f03450ce03b7ecb6119e8c9fffded97 | feat init rewrite | [
{
"change_type": "MODIFY",
"old_path": "package.json",
"new_path": "package.json",
"diff": "\"lint\": \"tslint --project .\",\n\"lint:fix\": \"./node_modules/.bin/tslint ./src/**/*.{ts,tsx} --fix\",\n\"tsc\": \"node_modules/.bin/tsc --noEmit\",\n+ \"tsc:watch\": \"node_modules/.bin/tsc --watch --noE... | TypeScript | MIT License | faridsafi/react-native-gifted-chat | feat init rewrite |
215,661 | 08.05.2020 15:46:39 | -7,200 | 6c7493099c9b7928e23cbc55dd8c53d31f0c52eb | fix remove old fashion context from test too | [
{
"change_type": "MODIFY",
"old_path": "src/GiftedChat.tsx",
"new_path": "src/GiftedChat.tsx",
"diff": "@@ -426,14 +426,6 @@ class GiftedChat<TMessage extends IMessage = IMessage> extends React.Component<\n}\n}\n- // getChildContext() {\n- // return {\n- // actionSheet:\n- // this.props.actionSheet ... | TypeScript | MIT License | faridsafi/react-native-gifted-chat | fix remove old fashion context from test too |
215,661 | 08.05.2020 16:03:38 | -7,200 | 293053231a603dd573c4f16404d4e39f46a3b206 | feat remove more old context | [
{
"change_type": "MODIFY",
"old_path": "src/Actions.tsx",
"new_path": "src/Actions.tsx",
"diff": "@@ -11,6 +11,8 @@ import {\n} from 'react-native'\nimport Color from './Color'\nimport { StylePropType } from './utils'\n+import { useChatContext } from './GiftedChatContext'\n+import { useCallbackOne }... | TypeScript | MIT License | faridsafi/react-native-gifted-chat | feat remove more old context |
215,661 | 11.05.2020 09:44:53 | -7,200 | 6c02ec0d81172d97a5d1a8566c65596a1406ef98 | feat MessageText FC | [
{
"change_type": "MODIFY",
"old_path": "src/Bubble.tsx",
"new_path": "src/Bubble.tsx",
"diff": "@@ -13,7 +13,7 @@ import {\nimport QuickReplies from './QuickReplies'\n-import MessageText from './MessageText'\n+import { MessageText, MessageTextProps } from './MessageText'\nimport MessageImage from '.... | TypeScript | MIT License | faridsafi/react-native-gifted-chat | feat MessageText FC |
215,663 | 18.06.2020 15:59:43 | 18,000 | d87c4ba66ab7f0815498453f53c8751dedcef6bf | RefactorComponents
Fix some imports not defined
Refactor the MessageImage, MessageAudio, SystemMessage component to functional component in order to use hooks. | [
{
"change_type": "MODIFY",
"old_path": "App.tsx",
"new_path": "App.tsx",
"diff": "@@ -2,7 +2,7 @@ import { MaterialIcons } from '@expo/vector-icons'\nimport { AppLoading, Asset, Linking } from 'expo'\nimport React, { Component } from 'react'\nimport { StyleSheet, View, Text, Platform } from 'react-n... | TypeScript | MIT License | faridsafi/react-native-gifted-chat | RefactorComponents
- Fix some imports not defined
- Refactor the MessageImage, MessageAudio, SystemMessage component to functional component in order to use hooks. |
215,663 | 19.06.2020 08:46:33 | 18,000 | ccd634dd419e759c37bb67ecdd80cbeb745cf4c0 | Refactor *Message components to FC
Replace default exports to named exports. | [
{
"change_type": "MODIFY",
"old_path": "src/Bubble.tsx",
"new_path": "src/Bubble.tsx",
"diff": "@@ -14,9 +14,9 @@ import {\nimport QuickReplies from './QuickReplies'\nimport { MessageText, MessageTextProps } from './MessageText'\n-import MessageImage, { MessageImageProps } from './MessageImage'\n+im... | TypeScript | MIT License | faridsafi/react-native-gifted-chat | Refactor *Message components to FC
- Replace default exports to named exports. |
215,663 | 19.06.2020 11:41:30 | 18,000 | 260902effd61b8cbf8b04aa8e4f3bb817f5f970d | Refactor LoadEarlier component to FC | [
{
"change_type": "MODIFY",
"old_path": "src/GiftedChat.tsx",
"new_path": "src/GiftedChat.tsx",
"diff": "@@ -32,7 +32,7 @@ import { MessageText, MessageTextProps } from './MessageText'\nimport Composer from './Composer'\nimport { Day, DayProps } from './Day'\nimport InputToolbar from './InputToolbar'... | TypeScript | MIT License | faridsafi/react-native-gifted-chat | Refactor LoadEarlier component to FC |
215,663 | 19.06.2020 14:35:48 | 18,000 | 1e790e7adfa21e7ce7371d6b8ca2241f2d553a99 | Refactor Composer component to FC
Rewrite the composer in order to allow hooks. | [
{
"change_type": "MODIFY",
"old_path": "src/Composer.tsx",
"new_path": "src/Composer.tsx",
"diff": "import PropTypes from 'prop-types'\n-import React from 'react'\n-import { Platform, StyleSheet, TextInput, TextInputProps } from 'react-native'\n+import React, { useRef } from 'react'\n+import {\n+ Pl... | TypeScript | MIT License | faridsafi/react-native-gifted-chat | Refactor Composer component to FC
- Rewrite the composer in order to allow hooks. |
215,663 | 22.06.2020 10:51:03 | 18,000 | e43db2d4cc2367f4228187cb3e7e8f8308c75d44 | Refactor InputToolbar component to FC
Refactor the input toolbar component using functional components and hooks. | [
{
"change_type": "MODIFY",
"old_path": "src/InputToolbar.tsx",
"new_path": "src/InputToolbar.tsx",
"diff": "import PropTypes from 'prop-types'\n-import React from 'react'\n+import React, { useEffect, useState } from 'react'\nimport {\nStyleSheet,\nView,\nKeyboard,\n- EmitterSubscription,\nStyleProp,... | TypeScript | MIT License | faridsafi/react-native-gifted-chat | Refactor InputToolbar component to FC
- Refactor the input toolbar component using functional components and hooks. |
215,663 | 23.06.2020 09:49:49 | 18,000 | 72dde05bd684f5b3b718c0492d3723d0415f070a | InputToolbar
Refactor the way how render components are shown on input toolbar. | [
{
"change_type": "MODIFY",
"old_path": "src/InputToolbar.tsx",
"new_path": "src/InputToolbar.tsx",
"diff": "@@ -14,7 +14,6 @@ import { Actions, ActionsProps } from './Actions'\nimport Color from './Color'\nimport { StylePropType } from './utils'\nimport { IMessage } from './Models'\n-import { useCal... | TypeScript | MIT License | faridsafi/react-native-gifted-chat | InputToolbar
- Refactor the way how render components are shown on input toolbar. |
215,663 | 22.06.2020 11:10:19 | 18,000 | 215770b7c64433f3394119827b66fa69c5f41acc | RFMessageVideo
Refactor in order to use FC components and named export instead default export. | [
{
"change_type": "MODIFY",
"old_path": "src/Bubble.tsx",
"new_path": "src/Bubble.tsx",
"diff": "@@ -12,15 +12,13 @@ import {\n} from 'react-native'\nimport QuickReplies from './QuickReplies'\n-\nimport { MessageText, MessageTextProps } from './MessageText'\nimport { MessageImage, MessageImageProps }... | TypeScript | MIT License | faridsafi/react-native-gifted-chat | RFMessageVideo
- Refactor in order to use FC components and named export instead default export. |
215,663 | 22.06.2020 11:07:00 | 18,000 | 7dc2cb4a7c5d9ad68d0f4dcd32c8631d21333975 | RFAvatar
Refactor avatar component in order to use hooks. | [
{
"change_type": "MODIFY",
"old_path": "src/Avatar.tsx",
"new_path": "src/Avatar.tsx",
"diff": "@@ -57,76 +57,7 @@ export interface AvatarProps<TMessage extends IMessage> {\nonLongPressAvatar?(user: User): void\n}\n-export default class Avatar<\n- TMessage extends IMessage = IMessage\n-> extends Rea... | TypeScript | MIT License | faridsafi/react-native-gifted-chat | RFAvatar
- Refactor avatar component in order to use hooks. |
215,663 | 24.06.2020 16:53:19 | 18,000 | deeabc83b1b9538c17e85ca3555eee4a555d66cc | Fix prettier comments. | [
{
"change_type": "MODIFY",
"old_path": "src/Avatar.tsx",
"new_path": "src/Avatar.tsx",
"diff": "@@ -57,7 +57,9 @@ export interface AvatarProps<TMessage extends IMessage> {\nonLongPressAvatar?(user: User): void\n}\n-export function Avatar<TMessage extends IMessage = IMessage>(props: AvatarProps<TMess... | TypeScript | MIT License | faridsafi/react-native-gifted-chat | Fix prettier comments. |
215,663 | 25.06.2020 10:10:33 | 18,000 | b87f028602f83bfd0c4cb334e3fbe3d76a4853f3 | Refactor QuickReplies component to FC | [
{
"change_type": "MODIFY",
"old_path": "src/Bubble.tsx",
"new_path": "src/Bubble.tsx",
"diff": "@@ -11,7 +11,7 @@ import {\nTextStyle,\n} from 'react-native'\n-import QuickReplies from './QuickReplies'\n+import { QuickReplies, QuickRepliesProps } from './QuickReplies'\nimport { MessageText, MessageT... | TypeScript | MIT License | faridsafi/react-native-gifted-chat | Refactor QuickReplies component to FC |
215,663 | 25.06.2020 10:10:49 | 18,000 | 6d93f4aabf2b2f1d13f7dc2f8e7e831ca11e8037 | Update imports for quick replies | [
{
"change_type": "MODIFY",
"old_path": "src/GiftedChat.tsx",
"new_path": "src/GiftedChat.tsx",
"diff": "@@ -38,6 +38,7 @@ import MessageContainer from './MessageContainer'\nimport { Send, SendProps } from './Send'\nimport { GiftedChatContext } from './GiftedChatContext'\nimport { Time, TimeProps } f... | TypeScript | MIT License | faridsafi/react-native-gifted-chat | Update imports for quick replies |
215,668 | 04.03.2021 15:33:04 | -3,600 | b253c74b90a2921770c3746e79ca4cb6e75c9be3 | * fix infiniteScroll issue | [
{
"change_type": "MODIFY",
"old_path": "src/MessageContainer.tsx",
"new_path": "src/MessageContainer.tsx",
"diff": "@@ -142,6 +142,7 @@ export default class MessageContainer<\nstate = {\nshowScrollBottom: false,\n+ hasScrolled: false,\n}\nrenderTypingIndicator = () => {\n@@ -198,18 +199,18 @@ export... | TypeScript | MIT License | faridsafi/react-native-gifted-chat | * fix infiniteScroll issue #1928 |
215,576 | 29.03.2021 12:15:10 | 14,400 | a2aa3392fe6a8194da076ade23481235c9d1c606 | fix scroll to bottom button when using voiceover | [
{
"change_type": "MODIFY",
"old_path": "src/MessageContainer.tsx",
"new_path": "src/MessageContainer.tsx",
"diff": "@@ -338,9 +338,6 @@ export default class MessageContainer<\nthis.props.alignTop ? styles.containerAlignTop : styles.container\n}\n>\n- {this.state.showScrollBottom && this.props.scroll... | TypeScript | MIT License | faridsafi/react-native-gifted-chat | fix scroll to bottom button when using voiceover |
215,709 | 08.04.2021 01:27:27 | -28,800 | 03b15c09b94ad0a1803b1f3f9840596f3fe18c15 | Added reference to Day.js Format
Day.js Format | [
{
"change_type": "MODIFY",
"old_path": "README.md",
"new_path": "README.md",
"diff": "@@ -318,8 +318,8 @@ interface QuickReplies {\n- **`onSend`** _(Function)_ - Callback when sending a message\n- **`alwaysShowSend`** _(Bool)_ - Always show send button in input text composer; default `false`, show o... | TypeScript | MIT License | faridsafi/react-native-gifted-chat | Added reference to Day.js Format
Day.js Format - https://day.js.org/docs/en/display/format |
215,615 | 19.04.2022 13:01:43 | -3,600 | 136b2d995c020f7b38766d971a7bc613f1025c1b | refactor(context): actionsheet & safeareaview | [
{
"change_type": "MODIFY",
"old_path": "example/components/navbar.tsx",
"new_path": "example/components/navbar.tsx",
"diff": "import React from 'react'\n-import { Text, Platform, View } from 'react-native'\n+import { Text, Platform } from 'react-native'\nimport { SafeAreaView } from 'react-native-sa... | TypeScript | MIT License | faridsafi/react-native-gifted-chat | refactor(context): actionsheet & safeareaview |
215,615 | 19.04.2022 13:10:53 | -3,600 | edf9a3682fa9251010ef03759ecf72ef799469c5 | refactor(utils): split logging out and export utils | [
{
"change_type": "MODIFY",
"old_path": "src/Day.tsx",
"new_path": "src/Day.tsx",
"diff": "@@ -33,7 +33,7 @@ const styles = StyleSheet.create({\n},\n})\n-export interface DayProps<TMessage extends IMessage> {\n+export interface DayProps<TMessage extends IMessage = IMessage> {\ncurrentMessage?: TMessa... | TypeScript | MIT License | faridsafi/react-native-gifted-chat | refactor(utils): split logging out and export utils |
215,644 | 22.04.2022 09:35:13 | -7,200 | 3134d39d94fdac2fbbe2f8a9b902fd1079a45f2c | Change renderFooter example link | [
{
"change_type": "MODIFY",
"old_path": "README.md",
"new_path": "README.md",
"diff": "@@ -350,7 +350,7 @@ interface QuickReplies {\n- **`renderCustomView`** _(Function)_ - Custom view inside the bubble\n- **`renderDay`** _(Function)_ - Custom day above a message\n- **`renderTime`** _(Function)_ - Cu... | TypeScript | MIT License | faridsafi/react-native-gifted-chat | Change renderFooter example link |
215,615 | 29.04.2022 15:37:42 | -3,600 | 94ddd44f81006ee1633460ee1fcb5804bea16c80 | fix(types): include bubble on press | [
{
"change_type": "MODIFY",
"old_path": "example/App.tsx",
"new_path": "example/App.tsx",
"diff": "@@ -2,7 +2,7 @@ import MaterialIcons from '@expo/vector-icons/MaterialIcons'\nimport * as Linking from 'expo-linking'\nimport AppLoading from 'expo-app-loading'\nimport React, { Component } from 'react'... | TypeScript | MIT License | faridsafi/react-native-gifted-chat | fix(types): include bubble on press |
215,615 | 29.04.2022 15:45:38 | -3,600 | 7e4c9aec0e3863a97a48ecd85dfab00735b9e199 | chore(publish): 1.0.0-beta-4 | [
{
"change_type": "MODIFY",
"old_path": "package.json",
"new_path": "package.json",
"diff": "{\n\"name\": \"react-native-gifted-chat\",\n- \"version\": \"1.0.0-beta-3\",\n+ \"version\": \"1.0.0-beta-4\",\n\"description\": \"The most complete chat UI for React Native\",\n\"main\": \"lib/index.js\",\n\... | TypeScript | MIT License | faridsafi/react-native-gifted-chat | chore(publish): 1.0.0-beta-4 |
215,615 | 06.06.2022 14:46:09 | -3,600 | 682b4bb412e0e22a95de6029c4d5cc3a411aba0f | chore(use-memo-one): update to support react 17 | [
{
"change_type": "MODIFY",
"old_path": "package.json",
"new_path": "package.json",
"diff": "\"react-native-parsed-text\": \"0.0.22\",\n\"react-native-safe-area-context\": \"4.2.4\",\n\"react-native-typing-animation\": \"0.1.7\",\n- \"use-memo-one\": \"1.1.1\",\n+ \"use-memo-one\": \"1.1.2\",\n\"uuid... | TypeScript | MIT License | faridsafi/react-native-gifted-chat | chore(use-memo-one): update to support react 17 |
215,636 | 10.06.2022 00:05:32 | -25,200 | f59f7d6ca56dbc8381a461a13d1fd0ce720f8419 | Support renderUsername | [
{
"change_type": "MODIFY",
"old_path": "src/Bubble.tsx",
"new_path": "src/Bubble.tsx",
"diff": "@@ -455,11 +455,14 @@ export default class Bubble<\n}\nrenderUsername() {\n- const { currentMessage, user } = this.props\n+ const { currentMessage, user, renderUsername } = this.props\nif (this.props.rend... | TypeScript | MIT License | faridsafi/react-native-gifted-chat | Support renderUsername |
215,669 | 10.06.2022 16:17:51 | -19,080 | 4dffdb4372a9310e3e7c88227dd331b4d17c112b | Fix: QuickReplies component is returning null when shouldComponentDisplay = false
Return null when !shouldComponentDisplay after the useCallbackOne hook | [
{
"change_type": "MODIFY",
"old_path": "src/QuickReplies.tsx",
"new_path": "src/QuickReplies.tsx",
"diff": "@@ -91,10 +91,6 @@ export function QuickReplies({\nreturn false\n}, [currentMessage, nextMessage])\n- if (!shouldComponentDisplay) {\n- return null\n- }\n-\nconst handlePress = useCallbackOne(... | TypeScript | MIT License | faridsafi/react-native-gifted-chat | Fix: QuickReplies component is returning null when shouldComponentDisplay = false
- Return null when !shouldComponentDisplay after the useCallbackOne hook |
215,685 | 10.06.2022 16:56:22 | 25,200 | cbb23fa7719dde3e060044528f74f45d55bf45e9 | fix(Composer): fix typo preventing onInputSizeChanged from being called | [
{
"change_type": "MODIFY",
"old_path": "src/Composer.tsx",
"new_path": "src/Composer.tsx",
"diff": "@@ -78,8 +78,8 @@ export function Composer({\nif (\n!layoutRef ||\n(layoutRef.current &&\n- (layoutRef.current.width !== layoutRef.current.width ||\n- layoutRef.current.height !== layoutRef.current.he... | TypeScript | MIT License | faridsafi/react-native-gifted-chat | fix(Composer): fix typo preventing onInputSizeChanged from being called |
215,606 | 06.07.2022 15:36:45 | 14,400 | b973f7cc28a8422ae3e1661010a489995374476b | fixed react-native-safe-area-context dependency | [
{
"change_type": "MODIFY",
"old_path": "package.json",
"new_path": "package.json",
"diff": "\"react-native-iphone-x-helper\": \"1.3.1\",\n\"react-native-lightbox-v2\": \"0.9.0\",\n\"react-native-parsed-text\": \"0.0.22\",\n- \"react-native-safe-area-context\": \"4.2.4\",\n+ \"react-native-safe-area-... | TypeScript | MIT License | faridsafi/react-native-gifted-chat | fixed react-native-safe-area-context dependency |
215,669 | 14.07.2022 21:50:02 | -19,080 | 85bb5f15272e6548c03b8580a26efa031e026649 | Fix: allow custom message type TMessage for quickReply props similar to MessageImage, etc. | [
{
"change_type": "MODIFY",
"old_path": "flow-typedefs/Bubble.js.flow",
"new_path": "flow-typedefs/Bubble.js.flow",
"diff": "@@ -59,7 +59,7 @@ export type BubbleProps<TMessage: IMessage = IMessage> = $ReadOnly<{|\nrenderTicks?: TMessage => React.Node,\nrenderUsername?: () => React.Node,\nrenderQuickR... | TypeScript | MIT License | faridsafi/react-native-gifted-chat | Fix: allow custom message type TMessage for quickReply props similar to MessageImage, etc. |
215,636 | 19.07.2022 14:28:04 | -25,200 | 1504957cfe7ac533ea23664ba1c33f66bf3062cf | Add renderUsername prop | [
{
"change_type": "MODIFY",
"old_path": "src/GiftedChat.tsx",
"new_path": "src/GiftedChat.tsx",
"diff": "@@ -171,6 +171,8 @@ export interface GiftedChatProps<TMessage extends IMessage = IMessage> {\nonPress?(context: any, message: TMessage): void\n/* Callback when a message bubble is long-pressed; de... | TypeScript | MIT License | faridsafi/react-native-gifted-chat | Add renderUsername prop |
215,647 | 29.12.2022 19:53:14 | -3,600 | ceac89188df23ede81ad2bdb0f2a1cccdcd33e28 | fixed multiline textinput does not grow anymore
removed onLayout callback | [
{
"change_type": "MODIFY",
"old_path": "src/Composer.tsx",
"new_path": "src/Composer.tsx",
"diff": "@@ -5,7 +5,8 @@ import {\nStyleSheet,\nTextInput,\nTextInputProps,\n- LayoutChangeEvent,\n+ NativeSyntheticEvent,\n+ TextInputContentSizeChangeEventData,\n} from 'react-native'\nimport { MIN_COMPOSER_... | TypeScript | MIT License | faridsafi/react-native-gifted-chat | #2287 fixed multiline textinput does not grow anymore
#2287 removed onLayout callback |
419,673 | 12.01.2017 15:52:13 | 18,000 | 6d18ff715a5fa3059ddb609c1abdbbb06b15ad63 | Update download links for CelebA files | [
{
"change_type": "MODIFY",
"old_path": "fuel/downloaders/celeba.py",
"new_path": "fuel/downloaders/celeba.py",
"diff": "@@ -11,9 +11,9 @@ def fill_subparser(subparser):\n\"\"\"\nurls = ['https://www.dropbox.com/sh/8oqt9vytwxb3s4r/'\n- 'AAB7G69NLjRNqv_tyiULHSVUa/list_attr_celeba.txt?dl=1',\n+ 'AAC7-u... | Python | MIT License | mila-iqia/fuel | Update download links for CelebA files |
419,673 | 12.01.2017 16:10:40 | 18,000 | 4925f8c898badcf9d7437033ff3467ce648a350e | Update URLs in CelebA tests | [
{
"change_type": "MODIFY",
"old_path": "tests/test_downloaders.py",
"new_path": "tests/test_downloaders.py",
"diff": "@@ -166,9 +166,9 @@ def test_celeba():\nargs = parser.parse_args(['celeba'])\nfilenames = ['list_attr_celeba.txt', 'img_align_celeba.zip']\nurls = ['https://www.dropbox.com/sh/8oqt9v... | Python | MIT License | mila-iqia/fuel | Update URLs in CelebA tests |
419,668 | 27.03.2017 09:38:24 | 14,400 | 660e2c6d39888f3610ed2c88753a43d7ffc798c7 | Don't import Theano | [
{
"change_type": "MODIFY",
"old_path": "fuel/config_parser.py",
"new_path": "fuel/config_parser.py",
"diff": "@@ -196,14 +196,6 @@ config.add_config('extra_downloaders', type_=extra_downloader_converter,\ndefault=[], env_var='FUEL_EXTRA_DOWNLOADERS')\nconfig.add_config('extra_converters', type_=extr... | Python | MIT License | mila-iqia/fuel | Don't import Theano |
419,672 | 08.02.2017 15:18:34 | 18,000 | 445e9afe688470bec437b1871c676539f1ea4ff2 | Make mapping transformer accept dictionary | [
{
"change_type": "MODIFY",
"old_path": "fuel/transformers/__init__.py",
"new_path": "fuel/transformers/__init__.py",
"diff": "from abc import ABCMeta, abstractmethod\n-from collections import defaultdict\n+from collections import defaultdict, OrderedDict\nimport logging\nfrom multiprocessing import ... | Python | MIT License | mila-iqia/fuel | Make mapping transformer accept dictionary |
419,672 | 08.02.2017 15:59:13 | 18,000 | a73cbce1f64e69054d251c5eb9b876f9ee7000b4 | Add documentation for mapping transformer with dict | [
{
"change_type": "MODIFY",
"old_path": "docs/api/transformers.rst",
"new_path": "docs/api/transformers.rst",
"diff": "@@ -25,3 +25,10 @@ Transformers for sequences\n:undoc-members:\n:show-inheritance:\n+Other\n+-----\n+\n+.. automodule:: fuel.transformers\n+ :members:\n+ :undoc-members:\n+ :show-inh... | Python | MIT License | mila-iqia/fuel | Add documentation for mapping transformer with dict |
419,672 | 08.02.2017 16:01:45 | 18,000 | d3ed2dc39c52ed46e004f0a53c17a12dca2503f2 | Add test for accepts list decorator | [
{
"change_type": "MODIFY",
"old_path": "tests/transformers/test_transformers.py",
"new_path": "tests/transformers/test_transformers.py",
"diff": "@@ -16,7 +16,7 @@ from fuel.transformers import (\nCache, Batch, Padding, MultiProcessing, Unpack, Merge,\nSourcewiseTransformer, Flatten, ScaleAndShift, ... | Python | MIT License | mila-iqia/fuel | Add test for accepts list decorator |
419,672 | 30.03.2017 17:15:39 | 14,400 | ade38c4b3163f31f869d1ef3e89bcc68468be902 | Return dict if mapping accepts dict | [
{
"change_type": "MODIFY",
"old_path": "fuel/transformers/__init__.py",
"new_path": "fuel/transformers/__init__.py",
"diff": "@@ -193,25 +193,37 @@ class Mapping(Transformer):\nThe wrapped data stream.\nmapping : callable\nThe mapping to be applied. The mapping function is supposed\n- to accept a tu... | Python | MIT License | mila-iqia/fuel | Return dict if mapping accepts dict |
419,668 | 19.04.2017 08:49:10 | 14,400 | bdd99c94beef8ecca3290d88c6f05a1785f68202 | set FUEL_FLOATX in the test | [
{
"change_type": "MODIFY",
"old_path": ".travis.yml",
"new_path": ".travis.yml",
"diff": "@@ -26,6 +26,7 @@ before_install:\n- export PATH=$HOME/miniconda/bin:$PATH\n- conda update -q --yes conda\n- export FUEL_DATA_PATH=$TRAVIS_BUILD_DIR/data\n+ - export FUEL_FLOATX=float64\ninstall:\n# Install all... | Python | MIT License | mila-iqia/fuel | set FUEL_FLOATX in the test |
419,668 | 19.04.2017 09:22:24 | 14,400 | bb248f92ba00fc88608089748046842a38320852 | fix pickling ServerDataStream and make it lazy | [
{
"change_type": "MODIFY",
"old_path": "fuel/streams.py",
"new_path": "fuel/streams.py",
"diff": "@@ -219,7 +219,7 @@ class ServerDataStream(AbstractDataStream):\nself.host = host\nself.port = port\nself.hwm = hwm\n- self.connect()\n+ self.connected = False\ndef connect(self):\ncontext = zmq.Context... | Python | MIT License | mila-iqia/fuel | fix pickling ServerDataStream and make it lazy |
419,668 | 19.04.2017 15:13:55 | 14,400 | ebb033c12487e240e1f96ed05041b71fa5ca00cf | fix the case mapping_accepts=dict and add_sources=smth | [
{
"change_type": "MODIFY",
"old_path": "fuel/transformers/__init__.py",
"new_path": "fuel/transformers/__init__.py",
"diff": "@@ -225,14 +225,17 @@ class Mapping(Transformer):\nif request is not None:\nraise ValueError\ndata = next(self.child_epoch_iterator)\n+ mapping_input = data\nif self.mapping_... | Python | MIT License | mila-iqia/fuel | fix the case mapping_accepts=dict and add_sources=smth |
419,674 | 26.01.2016 01:24:35 | 18,000 | d9f0f524263cd272da4e2c1a649d57aaaafd9be9 | Added caching code ported from pylearn2 | [
{
"change_type": "ADD",
"old_path": null,
"new_path": "fuel/datasets/cache.py",
"diff": "+\"\"\"\n+Dataset preloading tool\n+This file provides the ability to make a local cache of a dataset or\n+part of it. It is meant to help in the case where multiple jobs are\n+reading the same dataset from ${PY... | Python | MIT License | mila-iqia/fuel | Added caching code ported from pylearn2 |
419,674 | 26.01.2016 01:28:31 | 18,000 | 763638cefc07fa84a4f1c521b674246ce3f29f66 | Changed pylearn references to fuel | [
{
"change_type": "MODIFY",
"old_path": "fuel/datasets/cache.py",
"new_path": "fuel/datasets/cache.py",
"diff": "Dataset preloading tool\nThis file provides the ability to make a local cache of a dataset or\npart of it. It is meant to help in the case where multiple jobs are\n-reading the same datase... | Python | MIT License | mila-iqia/fuel | Changed pylearn references to fuel |
419,671 | 15.02.2016 13:21:03 | 18,000 | 73753151949411a80497e7a478a7157ab1bca14f | Updated to new class style. Switched copy from system call to shutil | [
{
"change_type": "MODIFY",
"old_path": "fuel/datasets/cache.py",
"new_path": "fuel/datasets/cache.py",
"diff": "@@ -18,6 +18,7 @@ import logging\nimport os\nimport stat\nimport time\n+import shutil\nimport theano.gof.compilelock as compilelock\n@@ -25,7 +26,7 @@ from fuel.utils import string_utils\n... | Python | MIT License | mila-iqia/fuel | Updated to new class style. Switched copy from system call to shutil |
419,672 | 28.02.2017 15:10:28 | 18,000 | 62de3476a476157e6a0d79da88eb1641f63ba4e4 | Refactor pylearn dataset cache | [
{
"change_type": "MODIFY",
"old_path": "fuel/datasets/cache.py",
"new_path": "fuel/datasets/cache.py",
"diff": "-\"\"\"\n-Dataset preloading tool\n+\"\"\"Dataset preloading tool\n+\nThis file provides the ability to make a local cache of a dataset or\npart of it. It is meant to help in the case wher... | Python | MIT License | mila-iqia/fuel | Refactor pylearn dataset cache |
419,672 | 06.03.2017 18:32:48 | 18,000 | b1aa0403952670487e4f94938c4ecde752fd5462 | Add write lock from theano | [
{
"change_type": "ADD",
"old_path": null,
"new_path": "fuel/utils/write_lock.py",
"diff": "+import atexit\n+import logging\n+import os\n+import random\n+import socket # only used for gethostname()\n+import time\n+\n+hostname = socket.gethostname()\n+logger = logging.getLogger(__name__)\n+TIMEOUT = 5... | Python | MIT License | mila-iqia/fuel | Add write lock from theano |
419,672 | 06.03.2017 18:57:06 | 18,000 | cec940cf2d1faa56850ce23bbd3cee53abfa9de1 | Add config entry for local cache | [
{
"change_type": "MODIFY",
"old_path": "fuel/config_parser.py",
"new_path": "fuel/config_parser.py",
"diff": "@@ -51,6 +51,11 @@ The following configurations are supported:\nThe default :class:`~numpy.dtype` to use for floating point numbers. The\ndefault value is ``float64``. A lower value can save... | Python | MIT License | mila-iqia/fuel | Add config entry for local cache |
419,672 | 06.03.2017 19:11:07 | 18,000 | 36fc32ef6107c1ec4c8aba3438d1b3c5d67828a5 | Add local cache for hdf5 datasets | [
{
"change_type": "MODIFY",
"old_path": "fuel/datasets/hdf5.py",
"new_path": "fuel/datasets/hdf5.py",
"diff": "@@ -9,8 +9,9 @@ import tables\nfrom six.moves import zip, range\nfrom fuel.datasets import Dataset\n-from fuel.utils import do_not_pickle_attributes, Subset\nfrom fuel.schemes import Sequent... | Python | MIT License | mila-iqia/fuel | Add local cache for hdf5 datasets |
419,672 | 15.03.2017 14:38:30 | 14,400 | cebbc0da1d412b827a7d0d3320a5cc85728caeb8 | Remove unused exceptions and stings | [
{
"change_type": "DELETE",
"old_path": "fuel/utils/common_strings.py",
"new_path": null,
"diff": "-environment_variable_essay = \"\"\"\n-Platform-specific instructions for setting environment variables:\n-Linux\n-=====\n-On most linux setups, you can define your environment variable by adding this\n... | Python | MIT License | mila-iqia/fuel | Remove unused exceptions and stings |
419,672 | 15.03.2017 14:45:55 | 14,400 | 026b3c173c32320728e3c0a4024cf46dc40c0da8 | Use new string format style | [
{
"change_type": "MODIFY",
"old_path": "fuel/utils/cache.py",
"new_path": "fuel/utils/cache.py",
"diff": "@@ -74,21 +74,20 @@ class LocalDatasetCache(object):\n\"FUEL_LOCAL_DATA_PATH): \")\n# Make sure the file to cache exists and really is a file\nif not os.path.exists(remote_name):\n- log.error(\"... | Python | MIT License | mila-iqia/fuel | Use new string format style |
419,672 | 15.03.2017 14:57:45 | 14,400 | 11a056c28de898ecc3c398bb9855a27c47b7600d | Define local data path for travis build | [
{
"change_type": "MODIFY",
"old_path": ".travis.yml",
"new_path": ".travis.yml",
"diff": "@@ -26,6 +26,7 @@ before_install:\n- export PATH=$HOME/miniconda/bin:$PATH\n- conda update -q --yes conda\n- export FUEL_DATA_PATH=$TRAVIS_BUILD_DIR/data\n+ - export FUEL_LOCAL_DATA_PATH=$TRAVIS_BUILD_DIR/data_... | Python | MIT License | mila-iqia/fuel | Define local data path for travis build |
419,672 | 24.03.2017 13:04:20 | 14,400 | f6e3f77cb051c4f7cee8963833e5c5253e80b4a5 | Fix remote dir | [
{
"change_type": "MODIFY",
"old_path": "fuel/utils/cache.py",
"new_path": "fuel/utils/cache.py",
"diff": "@@ -83,7 +83,8 @@ class LocalDatasetCache(object):\n\"Error : Specified name {} is not a file\".format(remote_name))\nreturn filename\n- if not remote_name.startswith(self.dataset_remote_dir):\n... | Python | MIT License | mila-iqia/fuel | Fix remote dir |
419,672 | 24.03.2017 13:15:59 | 14,400 | fcb57f120396aeaedeb3cd110c8e4fc2940ece0a | Make methods separate functions | [
{
"change_type": "MODIFY",
"old_path": "fuel/utils/cache.py",
"new_path": "fuel/utils/cache.py",
"diff": "@@ -92,7 +92,7 @@ class LocalDatasetCache(object):\nreturn filename\n# Create the $FUEL_LOCAL_DATA_PATH folder if needed\n- self.safe_mkdir(self.dataset_local_dir,\n+ safe_mkdir(self.dataset_loc... | Python | MIT License | mila-iqia/fuel | Make methods separate functions |
419,672 | 24.03.2017 13:18:39 | 14,400 | ba23c29bc0245bb0ca5ed1bac984face1b7da8e4 | Move everything read/write lock to lock.py | [
{
"change_type": "MODIFY",
"old_path": "fuel/utils/cache.py",
"new_path": "fuel/utils/cache.py",
"diff": "@@ -13,15 +13,14 @@ the same access as it has under ${FUEL_LOCAL_DATA_PATH}. This is\nguaranteed by default copy.\n\"\"\"\n-import atexit\nimport logging\nimport os\n+import shutil\nimport stat\... | Python | MIT License | mila-iqia/fuel | Move everything read/write lock to lock.py |
419,672 | 24.03.2017 13:20:34 | 14,400 | cfedaccb832e39a30254e70c5028d51a48365ed6 | Move everyting disk operations related to disk.py | [
{
"change_type": "MODIFY",
"old_path": "fuel/utils/cache.py",
"new_path": "fuel/utils/cache.py",
"diff": "@@ -20,6 +20,7 @@ import stat\nimport time\nfrom fuel import config\n+from fuel.utils.disk import safe_mkdir, check_enough_space\nfrom fuel.utils.lock import get_writelock, release_writelock, ge... | Python | MIT License | mila-iqia/fuel | Move everyting disk operations related to disk.py |
419,672 | 24.03.2017 13:44:50 | 14,400 | d9231525a5f443326c41137cd819f46164693748 | Refactor dataset cache | [
{
"change_type": "MODIFY",
"old_path": "fuel/datasets/hdf5.py",
"new_path": "fuel/datasets/hdf5.py",
"diff": "@@ -11,7 +11,7 @@ from six.moves import zip, range\nfrom fuel.datasets import Dataset\nfrom fuel.schemes import SequentialExampleScheme\nfrom fuel.utils import do_not_pickle_attributes, Subs... | Python | MIT License | mila-iqia/fuel | Refactor dataset cache |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.