author
int64
658
755k
date
stringdate
2012-06-12 08:34:29
2024-07-22 14:51:21
timezone
int64
-46,800
43.2k
hash
stringlengths
40
40
message
stringlengths
5
490
mods
listlengths
1
16
language
stringclasses
20 values
license
stringclasses
3 values
repo
stringlengths
5
68
original_message
stringlengths
12
491
129,187
16.05.2019 17:06:47
14,400
b5c329371764a44df9d1bdafd30fe5045e14872d
[native] Use Reanimated where we can in ImageGalleryImage We can't use it for that part that interfaces with `lottie-react-native`, unfortunately.
[ { "change_type": "MODIFY", "old_path": "native/media/image-gallery-image.react.js", "new_path": "native/media/image-gallery-image.react.js", "diff": "@@ -23,16 +23,24 @@ import\nGenericTouchable,\n{ TOUCHABLE_STATE }\nfrom 'react-native-gesture-handler/touchables/GenericTouchable';\n+import\n+ Reani...
JavaScript
BSD 3-Clause New or Revised License
comme2e/comm
[native] Use Reanimated where we can in ImageGalleryImage We can't use it for that part that interfaces with `lottie-react-native`, unfortunately.
129,187
16.05.2019 17:15:22
14,400
d2004dd3acee015329b0eb50a7b05888a4e3ec50
[native] Animate appearance of ImageGalleryKeyboard send queue button
[ { "change_type": "MODIFY", "old_path": "native/media/image-gallery-keyboard.react.js", "new_path": "native/media/image-gallery-keyboard.react.js", "diff": "@@ -4,6 +4,7 @@ import type { GalleryImageInfo } from './image-gallery-image.react';\nimport type { AppState } from '../redux/redux-setup';\nimp...
JavaScript
BSD 3-Clause New or Revised License
comme2e/comm
[native] Animate appearance of ImageGalleryKeyboard send queue button
129,187
16.05.2019 17:27:11
14,400
a9ae10431203f0ac9e4aa4fb6ee21f51da53b384
[native] Avoid double backdrop animation issue in ImageGalleryImage
[ { "change_type": "MODIFY", "old_path": "native/media/image-gallery-image.react.js", "new_path": "native/media/image-gallery-image.react.js", "diff": "@@ -73,6 +73,7 @@ class ImageGalleryImage extends React.PureComponent<Props> {\nfocusProgress = new Reanimated.Value(0);\nbuttonsStyle: ViewStyle;\nba...
JavaScript
BSD 3-Clause New or Revised License
comme2e/comm
[native] Avoid double backdrop animation issue in ImageGalleryImage
129,187
16.05.2019 17:41:47
14,400
1e455db29ed0908065a8c6c1ad52983cebc740b3
[native] Min width of 150 for ImageGalleryImage
[ { "change_type": "MODIFY", "old_path": "native/media/image-gallery-image.react.js", "new_path": "native/media/image-gallery-image.react.js", "diff": "@@ -167,10 +167,13 @@ class ImageGalleryImage extends React.PureComponent<Props> {\nconst active = ImageGalleryImage.isActive(this.props);\nconst dime...
JavaScript
BSD 3-Clause New or Revised License
comme2e/comm
[native] Min width of 150 for ImageGalleryImage
129,187
18.05.2019 10:36:59
14,400
4c8b7da136af71d55a56f311c82ae02bc461f3f0
[native] Lock Android 4.4 in ImageGalleryKeyboard queue mode Has a shorter draw stack depth so it avoids crashes.
[ { "change_type": "MODIFY", "old_path": "native/media/image-gallery-keyboard.react.js", "new_path": "native/media/image-gallery-keyboard.react.js", "diff": "@@ -245,7 +245,10 @@ class ImageGalleryKeyboard extends React.PureComponent<Props, State> {\n}\nget queueModeActive() {\n- return !!this.state.q...
JavaScript
BSD 3-Clause New or Revised License
comme2e/comm
[native] Lock Android 4.4 in ImageGalleryKeyboard queue mode Has a shorter draw stack depth so it avoids crashes.
129,187
18.05.2019 10:13:34
14,400
5084aa9e65bb8e9eda38dee4a74ac7b57640773d
[native] Avoid using GenericTouchable on Android 4.4
[ { "change_type": "MODIFY", "old_path": "native/media/image-gallery-image.react.js", "new_path": "native/media/image-gallery-image.react.js", "diff": "@@ -27,6 +27,7 @@ import\nReanimated,\n{ Easing as ReanimatedEasing }\nfrom 'react-native-reanimated';\n+import invariant from 'invariant';\nexport ty...
JavaScript
BSD 3-Clause New or Revised License
comme2e/comm
[native] Avoid using GenericTouchable on Android 4.4
129,187
21.05.2019 13:51:43
14,400
9f25df78732be2f4ef2232076b16ab0081f463da
[native] Add RCTBlob support to iOS
[ { "change_type": "MODIFY", "old_path": "native/ios/Podfile", "new_path": "native/ios/Podfile", "diff": "@@ -17,6 +17,7 @@ target 'SquadCal' do\n'RCTImage',\n'RCTLinkingIOS',\n'RCTCameraRoll',\n+ 'RCTBlob',\n]\npod 'yoga', :path => '../../node_modules/react-native/ReactCommon/yoga'\n" }, { "c...
JavaScript
BSD 3-Clause New or Revised License
comme2e/comm
[native] Add RCTBlob support to iOS
129,187
22.05.2019 00:16:57
14,400
706881920df525ff4483eb5ad834e2e19d93cf3f
[web] Move multimedia message actions to ChatInputStateContainer
[ { "change_type": "MODIFY", "old_path": "web/chat/chat-input-bar.react.js", "new_path": "web/chat/chat-input-bar.react.js", "diff": "@@ -17,7 +17,6 @@ import {\n} from 'lib/types/thread-types';\nimport {\ntype RawTextMessageInfo,\n- type RawMultimediaMessageInfo,\ntype SendMessageResult,\nmessageType...
JavaScript
BSD 3-Clause New or Revised License
comme2e/comm
[web] Move multimedia message actions to ChatInputStateContainer
129,187
22.05.2019 20:04:46
14,400
22b1fa63ccb6f271db49d2b6d07f21610b3405da
[native] Introducing Chat component Will handle `MessageStorePruner` going forward
[ { "change_type": "MODIFY", "old_path": "native/app.react.js", "new_path": "native/app.react.js", "diff": "@@ -89,7 +89,6 @@ import { saveMessageInfos } from './push/utils';\nimport NotificationBody from './push/notification-body.react';\nimport ErrorBoundary from './error-boundary.react';\nimport { ...
JavaScript
BSD 3-Clause New or Revised License
comme2e/comm
[native] Introducing Chat component Will handle `MessageStorePruner` going forward
129,187
24.05.2019 11:42:40
14,400
70be2cd172b1dd7bc16e916c9374a29d6397324a
[native] Avoid ImageGalleryKeyboard.sendImages getting triggered more than once
[ { "change_type": "MODIFY", "old_path": "native/media/image-gallery-keyboard.react.js", "new_path": "native/media/image-gallery-keyboard.react.js", "diff": "@@ -63,6 +63,7 @@ class ImageGalleryKeyboard extends React.PureComponent<Props, State> {\nviewableIndices: number[] = [];\nqueueModeProgress = n...
JavaScript
BSD 3-Clause New or Revised License
comme2e/comm
[native] Avoid ImageGalleryKeyboard.sendImages getting triggered more than once
129,187
24.05.2019 11:43:05
14,400
0bab71de34a17387090021c6dd9df15b32d7f5ac
[web] Clean up some unnecessary media code
[ { "change_type": "MODIFY", "old_path": "web/chat/chat-input-state-container.react.js", "new_path": "web/chat/chat-input-state-container.react.js", "diff": "@@ -302,8 +302,6 @@ class ChatInputStateContainer extends React.PureComponent<Props, State> {\ncreateMultimediaMessage: () =>\nthis.createMultim...
JavaScript
BSD 3-Clause New or Revised License
comme2e/comm
[web] Clean up some unnecessary media code
129,187
24.05.2019 12:29:13
14,400
8ec98536e2fb6e03d1e5c9e6e602c3ef73bb3ebf
[native] Get rid of preloadImage logic We don't need the dimensions (we get them already from native API), and we're using `FastImage` anyways so no point using `Image.prefetch`.
[ { "change_type": "DELETE", "old_path": "native/utils/media-utils.js", "new_path": null, "diff": "-// @flow\n-\n-import type { Dimensions } from 'lib/types/media-types';\n-\n-import { Image } from 'react-native';\n-\n-async function preloadImage(uri: string): Promise<Dimensions> {\n- const [ dimensio...
JavaScript
BSD 3-Clause New or Revised License
comme2e/comm
[native] Get rid of preloadImage logic We don't need the dimensions (we get them already from native API), and we're using `FastImage` anyways so no point using `Image.prefetch`.
129,187
24.05.2019 13:13:04
14,400
67fb94390f03c5d8148e43ba8ee4074414b2ca49
Make abortHandler optional on uploadMultimedia
[ { "change_type": "MODIFY", "old_path": "lib/actions/upload-actions.js", "new_path": "lib/actions/upload-actions.js", "diff": "@@ -7,7 +7,7 @@ async function uploadMultimedia(\nfetchJSON: FetchJSON,\nmultimedia: Object,\nonProgress: (percent: number) => void,\n- abortHandler: (abort: () => void) => v...
JavaScript
BSD 3-Clause New or Revised License
comme2e/comm
Make abortHandler optional on uploadMultimedia
129,187
24.05.2019 13:17:08
14,400
5b1fee81c8029488ae1086900316d3869d0eb014
[native] Actually upload images
[ { "change_type": "MODIFY", "old_path": "native/chat/chat-input-bar.react.js", "new_path": "native/chat/chat-input-bar.react.js", "diff": "@@ -71,6 +71,7 @@ import {\nimageGalleryKeyboardName,\nimageGalleryBackgroundColor,\n} from '../media/image-gallery-keyboard.react';\n+import { ChatInputStateCont...
JavaScript
BSD 3-Clause New or Revised License
comme2e/comm
[native] Actually upload images
129,187
24.05.2019 15:25:14
14,400
bfba4fe8abeb1f33aad4ae07302b085ba01c5c0c
updateMultimediaMessageMediaActionType Replaces `assignMediaServerIDToMessageActionType` and `assignMediaServerURIToMessageActionType`
[ { "change_type": "MODIFY", "old_path": "lib/actions/upload-actions.js", "new_path": "lib/actions/upload-actions.js", "diff": "@@ -18,10 +18,8 @@ async function uploadMultimedia(\nreturn { id: uploadResult.id, uri: uploadResult.uri };\n}\n-const assignMediaServerIDToMessageActionType =\n- \"ASSIGN_ME...
JavaScript
BSD 3-Clause New or Revised License
comme2e/comm
updateMultimediaMessageMediaActionType Replaces `assignMediaServerIDToMessageActionType` and `assignMediaServerURIToMessageActionType`
129,187
24.05.2019 15:34:18
14,400
c20db7377c8aeacb6aa89bd2b29b4b0b6cb1d1ea
[native] Use selector for ChatInputState
[ { "change_type": "MODIFY", "old_path": "native/chat/chat.react.js", "new_path": "native/chat/chat.react.js", "diff": "@@ -24,6 +24,7 @@ import PropTypes from 'prop-types';\nimport invariant from 'invariant';\nimport { StyleSheet } from 'react-native';\nimport hoistNonReactStatics from 'hoist-non-rea...
JavaScript
BSD 3-Clause New or Revised License
comme2e/comm
[native] Use selector for ChatInputState
129,187
29.05.2019 17:21:58
14,400
0137de0d209e2e4df9730d03396266196eceb696
[web] Only retry failed uploads for requested message ID
[ { "change_type": "MODIFY", "old_path": "web/chat/chat-input-state-container.react.js", "new_path": "web/chat/chat-input-state-container.react.js", "diff": "@@ -207,7 +207,7 @@ class ChatInputStateContainer extends React.PureComponent<Props, State> {\nconst rawMessageInfo = this.props.messageStoreMes...
JavaScript
BSD 3-Clause New or Revised License
comme2e/comm
[web] Only retry failed uploads for requested message ID
129,187
29.05.2019 18:34:42
14,400
5dacd2daedc92601cf83cd3f9f8721942e6bd881
[native] Avoid storing dataURIs in Redux
[ { "change_type": "MODIFY", "old_path": "native/chat/chat-input-state.js", "new_path": "native/chat/chat-input-state.js", "diff": "@@ -6,6 +6,10 @@ import type { GalleryImageInfo } from '../media/image-gallery-image.react';\nimport * as React from 'react';\nexport type PendingMultimediaUpload = {|\n+...
JavaScript
BSD 3-Clause New or Revised License
comme2e/comm
[native] Avoid storing dataURIs in Redux
129,187
29.05.2019 18:36:48
14,400
f4b75760f4011c8c90eb60a59a877a26d38e2afe
[native] Keep pendingUploads state updated and actually send MultimediaMessage
[ { "change_type": "MODIFY", "old_path": "native/chat/chat.react.js", "new_path": "native/chat/chat.react.js", "diff": "@@ -48,6 +48,7 @@ type ImageInfo = {|\n...NativeImageInfo,\nlocalID: string,\n|};\n+type CompletedUploads = { [localMessageID: string]: ?Set<string> };\ntype Props = {|\n// Redux sta...
JavaScript
BSD 3-Clause New or Revised License
comme2e/comm
[native] Keep pendingUploads state updated and actually send MultimediaMessage
129,187
29.05.2019 19:41:47
14,400
9c225b87e31b2e053bf61476565ec6b968570066
[native] Separate Chat state into ChatInputStateContainer We need to move the chat input state up the component hierarchy so that `MultimediaModal` has access to its context.
[ { "change_type": "ADD", "old_path": null, "new_path": "native/chat/chat-input-state-container.react.js", "diff": "+// @flow\n+\n+import type { PendingMultimediaUploads } from './chat-input-state';\n+import type { GalleryImageInfo } from '../media/image-gallery-image.react';\n+import type { AppState ...
JavaScript
BSD 3-Clause New or Revised License
comme2e/comm
[native] Separate Chat state into ChatInputStateContainer We need to move the chat input state up the component hierarchy so that `MultimediaModal` has access to its context.
129,187
29.05.2019 20:12:43
14,400
173a7b779d028495692a3bcb9f189dd269cb4b6e
[native] Avoid contextType because of uncertainty around PureComponent
[ { "change_type": "MODIFY", "old_path": "native/media/lightbox-navigator.react.js", "new_path": "native/media/lightbox-navigator.react.js", "diff": "@@ -177,10 +177,12 @@ function withLightboxPositionContext<\nReact.ElementConfig<ComponentType>,\n{ lightboxPosition: ?Animated.Value },\n>> {\n- static...
JavaScript
BSD 3-Clause New or Revised License
comme2e/comm
[native] Avoid contextType because of uncertainty around PureComponent
129,187
29.05.2019 22:38:27
14,400
2e506b17e19d3535a0dc054569fbc6f037218144
[native] Rework base64 -> int array logic to work on native iOS
[ { "change_type": "ADD", "old_path": null, "new_path": "native/flow-typed/npm/base-64_v0.1.x.js", "diff": "+// flow-typed signature: 99981df5e2f24724e1bfd8292d17dfe8\n+// flow-typed version: b43dff3e0e/base-64_v0.1.x/flow_>=v0.25.x\n+\n+declare module 'base-64' {\n+ declare module.exports: {\n+ versi...
JavaScript
BSD 3-Clause New or Revised License
comme2e/comm
[native] Rework base64 -> int array logic to work on native iOS
129,187
29.05.2019 22:52:42
14,400
4e4224fee3508a6bd1afdc729a6ed3ec7b125074
[native] Update Multimedia to handle uploads (1) Add `messageID` and `index` to `Media` to make `MediaInfo` (2) Pass `ChatInputState` through to `Multimedia` using context (3) Use `Image` to render local URIs (4) Remove `dataURI` from `PendingMultimediaUpload` (no longer needed after (5) Don't show the new URI version ...
[ { "change_type": "MODIFY", "old_path": "lib/types/media-types.js", "new_path": "lib/types/media-types.js", "diff": "@@ -21,13 +21,27 @@ export type Media = {|\ndimensions: Dimensions,\n|};\n+export type MediaInfo = {|\n+ ...Media,\n+ index: number,\n+ messageID: string,\n+|};\n+\nexport const mediaT...
JavaScript
BSD 3-Clause New or Revised License
comme2e/comm
[native] Update Multimedia to handle uploads (1) Add `messageID` and `index` to `Media` to make `MediaInfo` (2) Pass `ChatInputState` through to `Multimedia` using context (3) Use `Image` to render local URIs (4) Remove `dataURI` from `PendingMultimediaUpload` (no longer needed after #3) (5) Don't show the new URI ver...
129,187
30.05.2019 01:33:21
14,400
2369d88ba0be6da8cdf6fbbe07808dc3e647794b
[native] Pass PendingUpload into MultimediaMessageMultimedia
[ { "change_type": "MODIFY", "old_path": "native/chat/chat-input-state.js", "new_path": "native/chat/chat-input-state.js", "diff": "@@ -68,6 +68,7 @@ function withChatInputState<\n}\nexport {\n+ pendingMultimediaUploadPropType,\nchatInputStatePropType,\nChatInputStateContext,\nwithChatInputState,\n" ...
JavaScript
BSD 3-Clause New or Revised License
comme2e/comm
[native] Pass PendingUpload into MultimediaMessageMultimedia
129,187
09.06.2019 17:30:43
14,400
b52325eac5ebddb564569d9f9b3f0b27ef729c68
[lib] Support dayStrings from 0-1000 AD
[ { "change_type": "MODIFY", "old_path": "lib/utils/date-utils.js", "new_path": "lib/utils/date-utils.js", "diff": "@@ -68,7 +68,7 @@ function prettyDate(dayString: string): string {\n}\nfunction dateFromString(dayString: string): Date {\n- const matches = dayString.match(/^([0-9]{4})-([0-1][0-9])-([0...
JavaScript
BSD 3-Clause New or Revised License
comme2e/comm
[lib] Support dayStrings from 0-1000 AD
129,187
10.06.2019 15:43:46
14,400
d4ef35d220496b465f294d267cae056b94ca03a3
[native] react-native-svg
[ { "change_type": "MODIFY", "old_path": "native/android/app/build.gradle", "new_path": "native/android/app/build.gradle", "diff": "@@ -147,6 +147,7 @@ android {\n}\ndependencies {\n+ implementation project(':react-native-svg')\nimplementation project(':lottie-react-native')\nimplementation project(':...
JavaScript
BSD 3-Clause New or Revised License
comme2e/comm
[native] react-native-svg
129,187
10.06.2019 15:43:53
14,400
9835f2225fc585cebf3c7dfb072ac23f4b54ee68
[native] Update lodash libdef
[ { "change_type": "MODIFY", "old_path": "native/flow-typed/npm/lodash_v4.x.x.js", "new_path": "native/flow-typed/npm/lodash_v4.x.x.js", "diff": "-// flow-typed signature: 978ec408ef4dc26808325571d235d3ca\n-// flow-typed version: 9f33da9d84/lodash_v4.x.x/flow_>=v0.63.x\n+// flow-typed signature: 8b15b...
JavaScript
BSD 3-Clause New or Revised License
comme2e/comm
[native] Update lodash libdef
129,187
10.06.2019 15:46:28
14,400
6cc60e9c739a8b54614983786195c66d6fd12c64
[native] react-native-circular-progress
[ { "change_type": "ADD", "old_path": null, "new_path": "native/flow-typed/npm/react-native-circular-progress_vx.x.x.js", "diff": "+// flow-typed signature: 3d557683a8bc8bb1049681b512e99651\n+// flow-typed version: <<STUB>>/react-native-circular-progress_v^1.1.0/flow_v0.92.0\n+\n+/**\n+ * This is an a...
JavaScript
BSD 3-Clause New or Revised License
comme2e/comm
[native] react-native-circular-progress
129,187
12.06.2019 20:34:15
14,400
5c0f52ade381d73ab6d04fce06b9e896ddac23c7
[native] Filter CameraRoll.getPhotos to our MIME types
[ { "change_type": "MODIFY", "old_path": "native/chat/chat-input-state-container.react.js", "new_path": "native/chat/chat-input-state-container.react.js", "diff": "@@ -260,6 +260,15 @@ class ChatInputStateContainer extends React.PureComponent<Props, State> {\n}));\nconst localMessageID = `local${this....
JavaScript
BSD 3-Clause New or Revised License
comme2e/comm
[native] Filter CameraRoll.getPhotos to our MIME types
129,187
12.06.2019 20:36:23
14,400
a3baee5b588e49921cb8da8771a8ae130e34dc69
[native] Fix bug in passing pendingUpload to MultimediaMessage
[ { "change_type": "MODIFY", "old_path": "native/chat/multimedia-message.react.js", "new_path": "native/chat/multimedia-message.react.js", "diff": "@@ -224,8 +224,9 @@ class MultimediaMessage extends React.PureComponent<Props> {\n};\nconst { chatInputState } = this.props;\nconst pendingUpload = chatIn...
JavaScript
BSD 3-Clause New or Revised License
comme2e/comm
[native] Fix bug in passing pendingUpload to MultimediaMessage
129,187
12.06.2019 20:39:26
14,400
c6e63c25564f988d6afdfa9f710c6c21f8e7791d
[native] Convert image/heic to image/jpeg on iOS quality=0.7
[ { "change_type": "MODIFY", "old_path": "native/chat/chat-input-state-container.react.js", "new_path": "native/chat/chat-input-state-container.react.js", "diff": "@@ -14,7 +14,7 @@ import {\ntype RawMultimediaMessageInfo,\ntype SendMessageResult,\n} from 'lib/types/message-types';\n-import type { Nat...
JavaScript
BSD 3-Clause New or Revised License
comme2e/comm
[native] Convert image/heic to image/jpeg on iOS quality=0.7
129,187
12.06.2019 22:13:04
14,400
9a6f987857056d76bd8a8acdc688fff0bd3e7cbe
[native] Use react-native-image-resizer to resize Also to convert from HEIC
[ { "change_type": "MODIFY", "old_path": "native/android/app/build.gradle", "new_path": "native/android/app/build.gradle", "diff": "@@ -147,6 +147,7 @@ android {\n}\ndependencies {\n+ implementation project(':react-native-image-resizer')\nimplementation project(':react-native-svg')\nimplementation pro...
JavaScript
BSD 3-Clause New or Revised License
comme2e/comm
[native] Use react-native-image-resizer to resize Also to convert from HEIC
129,187
12.06.2019 22:36:35
14,400
e5ee3cb8d367031f36b4af5c3717601f2ee727fa
[server] validateAndConvert uploads
[ { "change_type": "MODIFY", "old_path": "server/src/creators/upload-creator.js", "new_path": "server/src/creators/upload-creator.js", "diff": "@@ -20,7 +20,7 @@ function uploadExtras(upload: UploadInput) {\nreturn JSON.stringify({ height, width });\n}\n-type UploadInput = {|\n+export type UploadInput...
JavaScript
BSD 3-Clause New or Revised License
comme2e/comm
[server] validateAndConvert uploads
129,187
12.06.2019 22:54:47
14,400
74623620ff91f1553424f4c8c43349fd6f8bbb96
[server] sharp
[ { "change_type": "ADD", "old_path": null, "new_path": "server/flow-typed/npm/sharp_vx.x.x.js", "diff": "+// flow-typed signature: ecd3ba494e381f4c05fa81c05c61f574\n+// flow-typed version: <<STUB>>/sharp_v^0.22.1/flow_v0.89.0\n+\n+/**\n+ * This is an autogenerated libdef stub for:\n+ *\n+ * 'sharp'\n...
JavaScript
BSD 3-Clause New or Revised License
comme2e/comm
[server] sharp
129,187
12.06.2019 22:55:53
14,400
29de915765c903365d18ed0d26c558920da6e52d
[server] Convert large size files down
[ { "change_type": "MODIFY", "old_path": "server/src/uploads/media-utils.js", "new_path": "server/src/uploads/media-utils.js", "diff": "import type { UploadInput } from '../creators/upload-creator';\n+import sharp from 'sharp';\n+\nimport { fileInfoFromData } from 'lib/utils/media-utils';\n+const five...
JavaScript
BSD 3-Clause New or Revised License
comme2e/comm
[server] Convert large size files down
129,187
12.06.2019 23:21:53
14,400
9986c60b05977ea1a08fcaae431cbfeef67dfb69
[lib] Throttle XHR onprogress callback
[ { "change_type": "MODIFY", "old_path": "lib/utils/upload-blob.js", "new_path": "lib/utils/upload-blob.js", "diff": "@@ -4,6 +4,7 @@ import type { FetchJSONOptions, FetchJSONServerResponse } from './fetch-json';\nimport invariant from 'invariant';\nimport _cloneDeep from 'lodash/fp/cloneDeep';\n+impo...
JavaScript
BSD 3-Clause New or Revised License
comme2e/comm
[lib] Throttle XHR onprogress callback
129,187
12.06.2019 23:27:19
14,400
abb60379214c59bd22f04154210e307b33292c7c
[native] react-native-fs
[ { "change_type": "MODIFY", "old_path": "native/.flowconfig", "new_path": "native/.flowconfig", "diff": "; Ignore metro\n.*/node_modules/metro/.*\n+.*/node_modules/react-native-fs/FS.common.js\n+\n[include]\n../lib\n" }, { "change_type": "MODIFY", "old_path": "native/android/app/build.gra...
JavaScript
BSD 3-Clause New or Revised License
comme2e/comm
[native] react-native-fs
129,187
12.06.2019 23:39:19
14,400
ce62c5a4c93616ee7771c1b23a9b4f28eaaa3e01
[native] Delete temporary downscaled file after uploading
[ { "change_type": "MODIFY", "old_path": "native/chat/chat-input-state-container.react.js", "new_path": "native/chat/chat-input-state-container.react.js", "diff": "@@ -20,6 +20,7 @@ import * as React from 'react';\nimport PropTypes from 'prop-types';\nimport invariant from 'invariant';\nimport { creat...
JavaScript
BSD 3-Clause New or Revised License
comme2e/comm
[native] Delete temporary downscaled file after uploading
129,187
12.06.2019 23:49:06
14,400
ff32a2a1385b2961503d4b55d56e8551c7bc0d0f
[server] Store upload creation time in DB
[ { "change_type": "MODIFY", "old_path": "server/src/creators/upload-creator.js", "new_path": "server/src/creators/upload-creator.js", "diff": "@@ -44,12 +44,13 @@ async function createUploads(\nuploadInfo.mime,\nuploadInfo.buffer,\nsecret,\n+ Date.now(),\nuploadExtras(uploadInfo),\n]);\nconst insertQ...
JavaScript
BSD 3-Clause New or Revised License
comme2e/comm
[server] Store upload creation time in DB
129,187
13.06.2019 00:51:35
14,400
40e9471167a3d45019adb73b7095bb3277697e81
[native] react-native-progress Has a dependency on ReactART
[ { "change_type": "ADD", "old_path": null, "new_path": "native/flow-typed/npm/react-native-progress_vx.x.x.js", "diff": "+// flow-typed signature: baa3115e9b489de81d6b02e097d53fe8\n+// flow-typed version: <<STUB>>/react-native-progress_v^3.6.0/flow_v0.92.0\n+\n+/**\n+ * This is an autogenerated libde...
JavaScript
BSD 3-Clause New or Revised License
comme2e/comm
[native] react-native-progress Has a dependency on ReactART
129,187
13.06.2019 01:19:34
14,400
f179204050c59090e31f5f3811b20e36697a0cac
[native] Display progress of upload on each image
[ { "change_type": "MODIFY", "old_path": "native/chat/multimedia-message-multimedia.react.js", "new_path": "native/chat/multimedia-message-multimedia.react.js", "diff": "@@ -19,6 +19,8 @@ import * as React from 'react';\nimport PropTypes from 'prop-types';\nimport { View, TouchableWithoutFeedback, Sty...
JavaScript
BSD 3-Clause New or Revised License
comme2e/comm
[native] Display progress of upload on each image
129,187
13.06.2019 18:25:21
14,400
2793ec81d4faab630d063579761cc3ea19f7ffb2
[native] Unify conception of sendFailed for MultimediaMessage Across `multimediaMessageItemHeight`, `MultimediaMessage`, and `FailedSend`
[ { "change_type": "MODIFY", "old_path": "native/chat/chat-input-state-container.react.js", "new_path": "native/chat/chat-input-state-container.react.js", "diff": "@@ -139,11 +139,11 @@ class ChatInputStateContainer extends React.PureComponent<Props, State> {\nconst previouslyCompletedUploadIDs = prev...
JavaScript
BSD 3-Clause New or Revised License
comme2e/comm
[native] Unify conception of sendFailed for MultimediaMessage Across `multimediaMessageItemHeight`, `MultimediaMessage`, and `FailedSend`
129,187
14.06.2019 19:23:24
14,400
c0bbdce91a73d5e2904764cef00b15c9395c6ea7
[native] Correct dimensions after resize
[ { "change_type": "MODIFY", "old_path": "lib/types/media-types.js", "new_path": "lib/types/media-types.js", "diff": "@@ -52,10 +52,7 @@ export type UploadMultimediaResult = {|\nexport type UpdateMultimediaMessageMediaPayload = {|\nmessageID: string,\ncurrentMediaID: string,\n- mediaUpdate: $Shape<{|\...
JavaScript
BSD 3-Clause New or Revised License
comme2e/comm
[native] Correct dimensions after resize
129,187
14.06.2019 20:13:54
14,400
9a37a4faea7b73bc1510b4749d365717f44e39e5
[native] Allow user to retry MultimediaMessage when it fails
[ { "change_type": "MODIFY", "old_path": "native/chat/chat-input-state-container.react.js", "new_path": "native/chat/chat-input-state-container.react.js", "diff": "@@ -301,7 +301,14 @@ class ChatInputStateContainer extends React.PureComponent<Props, State> {\n},\n);\n- await Promise.all(\n+ await this...
JavaScript
BSD 3-Clause New or Revised License
comme2e/comm
[native] Allow user to retry MultimediaMessage when it fails
129,187
14.06.2019 23:59:41
14,400
d66fc0aa367e6f43fedeb7e82d58185170df5ba5
Reset chat input state when viewerID changes
[ { "change_type": "MODIFY", "old_path": "native/chat/chat-input-state-container.react.js", "new_path": "native/chat/chat-input-state-container.react.js", "diff": "@@ -119,6 +119,11 @@ class ChatInputStateContainer extends React.PureComponent<Props, State> {\n}\ncomponentDidUpdate(prevProps: Props, pr...
JavaScript
BSD 3-Clause New or Revised License
comme2e/comm
Reset chat input state when viewerID changes
129,187
15.06.2019 00:43:47
14,400
c49e598f537a2f73237be34c01a64e3cb6d53cc5
[native] Tune image compression parameters
[ { "change_type": "MODIFY", "old_path": "native/utils/media-utils.js", "new_path": "native/utils/media-utils.js", "diff": "@@ -27,7 +27,7 @@ async function validateMedia(\nconst { uri, ...dimensions } = imageInfo;\nconst response = await fetch(uri);\nconst blob = await response.blob();\n- const repor...
JavaScript
BSD 3-Clause New or Revised License
comme2e/comm
[native] Tune image compression parameters
129,187
18.06.2019 15:13:33
14,400
53d6a0d018a9dd9604360e3e7e4016b263023c74
Type memoized functions instead of using existential operator
[ { "change_type": "MODIFY", "old_path": "lib/selectors/chat-selectors.js", "new_path": "lib/selectors/chat-selectors.js", "diff": "@@ -244,11 +244,7 @@ function createChatMessageItems(\nreturn [...chatMessageItems, ({ itemType: \"loader\" }: ChatMessageItem)];\n}\n-const baseMessageListData: (\n- thr...
JavaScript
BSD 3-Clause New or Revised License
comme2e/comm
Type memoized functions instead of using existential operator
129,187
19.06.2019 13:57:27
14,400
dc0b55bc509f3a10e3e013846630552efe493918
Avoid returning localhost URIs to Android emulator on upload
[ { "change_type": "MODIFY", "old_path": "lib/shared/media-utils.js", "new_path": "lib/shared/media-utils.js", "diff": "@@ -5,9 +5,19 @@ import type {\nMultimediaMessageInfo,\nRawMultimediaMessageInfo,\n} from '../types/message-types';\n+import type { PlatformDetails } from '../types/device-types';\ni...
JavaScript
BSD 3-Clause New or Revised License
comme2e/comm
Avoid returning localhost URIs to Android emulator on upload
129,187
19.06.2019 16:54:40
14,400
3ff87ca86b2c1a7c7c9a9a66fa518f3cd85a1766
[native] Round individual MultimediaMessageMultimedia corners
[ { "change_type": "MODIFY", "old_path": "native/chat/composed-message.react.js", "new_path": "native/chat/composed-message.react.js", "diff": "@@ -15,7 +15,7 @@ import { stringForUser } from 'lib/shared/user-utils';\nimport { connect } from 'lib/utils/redux-utils';\nimport FailedSend from './failed-s...
JavaScript
BSD 3-Clause New or Revised License
comme2e/comm
[native] Round individual MultimediaMessageMultimedia corners
129,187
19.06.2019 17:10:22
14,400
359ea49e3947b57595ff1eae1d3ad68d2694f7d1
[native] Hoist MessageListContainer statics
[ { "change_type": "MODIFY", "old_path": "native/chat/message-list-container.react.js", "new_path": "native/chat/message-list-container.react.js", "diff": "@@ -22,6 +22,7 @@ import PropTypes from 'prop-types';\nimport { View, Platform, StyleSheet, ActivityIndicator } from 'react-native';\nimport _diff...
JavaScript
BSD 3-Clause New or Revised License
comme2e/comm
[native] Hoist MessageListContainer statics
129,187
19.06.2019 17:57:59
14,400
7abf20c17abbd9599be2fcd272f5dbde620b81cd
[native] Clean up dataURIToIntArray
[ { "change_type": "MODIFY", "old_path": "native/utils/media-utils.js", "new_path": "native/utils/media-utils.js", "diff": "@@ -58,23 +58,15 @@ function stringToIntArray(str: string): Uint8Array {\n}\nfunction dataURIToIntArray(dataURI: string): Uint8Array {\n- let uri = dataURI;\n- uri = uri.replace(...
JavaScript
BSD 3-Clause New or Revised License
comme2e/comm
[native] Clean up dataURIToIntArray
129,187
19.06.2019 19:11:12
14,400
137f1e513694a914ead27a29d6b7584343c49a18
[lib] Handle empty filename in fileInfoFromData
[ { "change_type": "MODIFY", "old_path": "lib/utils/media-utils.js", "new_path": "lib/utils/media-utils.js", "diff": "@@ -18,7 +18,10 @@ function fileInfoFromData(\nif (!mediaType) {\nreturn null;\n}\n- const [ readableFileName, extension ] = fileName.split('.');\n+ let [ readableFileName ] = fileName...
JavaScript
BSD 3-Clause New or Revised License
comme2e/comm
[lib] Handle empty filename in fileInfoFromData
129,187
19.06.2019 19:13:46
14,400
d1ddda010499971028a3969ed99536dee0006f3e
[native] Tooltip to save image
[ { "change_type": "MODIFY", "old_path": "lib/types/media-types.js", "new_path": "lib/types/media-types.js", "diff": "@@ -25,6 +25,7 @@ export type MediaInfo = {|\n...Media,\nindex: number,\nmessageID: string,\n+ messageKey: string,\n|};\nexport const mediaTypePropType = PropTypes.oneOf([ \"photo\", \...
JavaScript
BSD 3-Clause New or Revised License
comme2e/comm
[native] Tooltip to save image
129,187
19.06.2019 19:15:04
14,400
9262d827e2b8d271c8d0dff03ca1ec27d7e74118
[native] Save image
[ { "change_type": "MODIFY", "old_path": "native/android/app/src/main/AndroidManifest.xml", "new_path": "native/android/app/src/main/AndroidManifest.xml", "diff": "<uses-permission android:name=\"android.permission.READ_PHONE_STATE\" tools:node=\"remove\" />\n<uses-permission android:name=\"android.pe...
JavaScript
BSD 3-Clause New or Revised License
comme2e/comm
[native] Save image
129,187
19.06.2019 19:57:36
14,400
5b4c698d02c08882e28b81df9e42a242baff9951
[lib] lib/utils/media-utils -> lib/utils/file-utils To distinguish against `lib/shared/media-utils`
[ { "change_type": "RENAME", "old_path": "lib/utils/media-utils.js", "new_path": "lib/utils/file-utils.js", "diff": "" }, { "change_type": "MODIFY", "old_path": "native/media/image-gallery-keyboard.react.js", "new_path": "native/media/image-gallery-keyboard.react.js", "diff": "@@ -...
JavaScript
BSD 3-Clause New or Revised License
comme2e/comm
[lib] lib/utils/media-utils -> lib/utils/file-utils To distinguish against `lib/shared/media-utils`
129,187
19.06.2019 21:16:44
14,400
ccc70485db66a664e72643103acb395bfdc4bcec
[native] Move media/vertical-bounds to types/lightbox-types
[ { "change_type": "MODIFY", "old_path": "native/chat/message-list.react.js", "new_path": "native/chat/message-list.react.js", "diff": "@@ -8,7 +8,7 @@ import type { FetchMessageInfosPayload } from 'lib/types/message-types';\nimport type { DispatchActionPromise } from 'lib/utils/action-utils';\nimport...
JavaScript
BSD 3-Clause New or Revised License
comme2e/comm
[native] Move media/vertical-bounds to types/lightbox-types
129,187
19.06.2019 23:33:24
14,400
993c9f0731169971bf82b1bcd6e3400d0548b6db
[native] LayoutCoordinates -> lightbox-types
[ { "change_type": "MODIFY", "old_path": "native/media/multimedia-modal.react.js", "new_path": "native/media/multimedia-modal.react.js", "diff": "@@ -16,6 +16,8 @@ import type { AppState } from '../redux/redux-setup';\nimport {\ntype VerticalBounds,\nverticalBoundsPropType,\n+ type LayoutCoordinates,\...
JavaScript
BSD 3-Clause New or Revised License
comme2e/comm
[native] LayoutCoordinates -> lightbox-types
129,187
19.06.2019 22:20:15
14,400
020c9583ddc1ba2de9f7965be0244096326e5770
[native] MultimediaMessage: inProgress -> postInProgress
[ { "change_type": "MODIFY", "old_path": "native/chat/multimedia-message-multimedia.react.js", "new_path": "native/chat/multimedia-message-multimedia.react.js", "diff": "@@ -36,7 +36,7 @@ type Props = {|\nstyle?: ImageStyle,\nmodalsClosed: bool,\nlightboxPosition: ?Animated.Value,\n- inProgress: bool,...
JavaScript
BSD 3-Clause New or Revised License
comme2e/comm
[native] MultimediaMessage: inProgress -> postInProgress
129,187
19.06.2019 23:51:12
14,400
987dd765d6c4c1f0e19d635dac2f2264525c6bde
[native] Corners -> lib/types/media-types
[ { "change_type": "MODIFY", "old_path": "lib/types/media-types.js", "new_path": "lib/types/media-types.js", "diff": "@@ -21,6 +21,13 @@ export type Media = {|\ndimensions: Dimensions,\n|};\n+export type Corners = $Shape<{|\n+ topLeft: bool,\n+ topRight: bool,\n+ bottomLeft: bool,\n+ bottomRight: bool...
JavaScript
BSD 3-Clause New or Revised License
comme2e/comm
[native] Corners -> lib/types/media-types
129,187
19.06.2019 23:54:08
14,400
ddff5f00891a28bb1103beac2c932157408d0415
[native] Add corners to MediaInfo
[ { "change_type": "MODIFY", "old_path": "lib/types/media-types.js", "new_path": "lib/types/media-types.js", "diff": "@@ -30,6 +30,7 @@ export type Corners = $Shape<{|\nexport type MediaInfo = {|\n...Media,\n+ corners: Corners,\nindex: number,\nmessageID: string,\nmessageKey: string,\n@@ -55,8 +56,10 ...
JavaScript
BSD 3-Clause New or Revised License
comme2e/comm
[native] Add corners to MediaInfo
129,187
20.06.2019 00:11:10
14,400
ec4ede85e9b02c1fb658d2b74cfae6fa05609397
[native] Introduce LightboxNavigator-based Tooltip
[ { "change_type": "ADD", "old_path": null, "new_path": "native/chat/inline-multimedia.react.js", "diff": "+// @flow\n+\n+import { type MediaInfo, mediaInfoPropType } from 'lib/types/media-types';\n+import type { ImageStyle } from '../types/styles';\n+import {\n+ type PendingMultimediaUpload,\n+ pendi...
JavaScript
BSD 3-Clause New or Revised License
comme2e/comm
[native] Introduce LightboxNavigator-based Tooltip
129,187
20.06.2019 00:20:24
14,400
434466e408e0baf7f940ec0d404aa03882fef311
[native] Use new Tooltip for MultimediaMessage
[ { "change_type": "MODIFY", "old_path": "native/chat/multimedia-message-multimedia.react.js", "new_path": "native/chat/multimedia-message-multimedia.react.js", "diff": "@@ -5,6 +5,7 @@ import type { ImageStyle } from '../types/styles';\nimport {\ntype Navigate,\nMultimediaModalRouteName,\n+ Multimedi...
JavaScript
BSD 3-Clause New or Revised License
comme2e/comm
[native] Use new Tooltip for MultimediaMessage
129,187
20.06.2019 15:19:18
14,400
603932526434d08244758f5e8eacbd5e03890c34
[native] Backdrop for new Tooltip And ability to close it
[ { "change_type": "MODIFY", "old_path": "native/chat/multimedia-message-multimedia.react.js", "new_path": "native/chat/multimedia-message-multimedia.react.js", "diff": "@@ -157,11 +157,6 @@ class MultimediaMessageMultimedia extends React.PureComponent<Props, State> {\n}\n}\n- onPressSave = () => {\n-...
JavaScript
BSD 3-Clause New or Revised License
comme2e/comm
[native] Backdrop for new Tooltip And ability to close it
129,187
20.06.2019 15:58:13
14,400
b013aae0977e566224b43fe2d3ccda0dd18fb25e
[native] Use selector to avoid unnecessary rerenders in MessageList
[ { "change_type": "MODIFY", "old_path": "native/chat/message-list.react.js", "new_path": "native/chat/message-list.react.js", "diff": "@@ -21,6 +21,7 @@ import {\nimport _sum from 'lodash/fp/sum';\nimport _find from 'lodash/fp/find';\nimport { KeyboardUtils } from 'react-native-keyboard-input';\n+imp...
JavaScript
BSD 3-Clause New or Revised License
comme2e/comm
[native] Use selector to avoid unnecessary rerenders in MessageList
129,187
20.06.2019 16:04:03
14,400
8a11f38064daa7681b782cbffed50eef8bcd7f01
[native] Determine modalsClosed in MessageList Avoids Redux-connecting `MultimediaMessage`
[ { "change_type": "MODIFY", "old_path": "native/chat/message-list.react.js", "new_path": "native/chat/message-list.react.js", "diff": "@@ -46,6 +46,7 @@ import {\naddKeyboardDismissListener,\nremoveKeyboardListener,\n} from '../keyboard';\n+import { modalsClosedSelector } from '../selectors/nav-selec...
JavaScript
BSD 3-Clause New or Revised License
comme2e/comm
[native] Determine modalsClosed in MessageList Avoids Redux-connecting `MultimediaMessage`
129,187
20.06.2019 16:11:59
14,400
c40b0f57de3dbabe8734045380e8be47e66bf33c
[native] Determine scrollDisabled in MessageList based on modalsClosed
[ { "change_type": "MODIFY", "old_path": "native/chat/message-list.react.js", "new_path": "native/chat/message-list.react.js", "diff": "@@ -214,6 +214,12 @@ class MessageList extends React.PureComponent<Props, State> {\n) {\nthis.loadingFromScroll = false;\n}\n+\n+ if (this.props.modalsClosed && !prev...
JavaScript
BSD 3-Clause New or Revised License
comme2e/comm
[native] Determine scrollDisabled in MessageList based on modalsClosed
129,187
20.06.2019 16:41:44
14,400
187cd55251937b749d0a37fd40b3aa9d718472eb
[native] Fix toggleMessageFocus for MultimediaMessage
[ { "change_type": "MODIFY", "old_path": "native/chat/multimedia-message-multimedia.react.js", "new_path": "native/chat/multimedia-message-multimedia.react.js", "diff": "@@ -139,20 +139,6 @@ class MultimediaMessageMultimedia extends React.PureComponent<Props, State> {\n});\n}\n- onFocus = () => {\n- /...
JavaScript
BSD 3-Clause New or Revised License
comme2e/comm
[native] Fix toggleMessageFocus for MultimediaMessage
129,187
20.06.2019 17:00:36
14,400
72eeabb32bdf5af03f1c9299ffa8a5ce114b953f
[native] Fix Message borderRadius determination
[ { "change_type": "MODIFY", "old_path": "native/chat/rounded-message-container.react.js", "new_path": "native/chat/rounded-message-container.react.js", "diff": "@@ -17,10 +17,10 @@ function filterCorners(\nconst { isViewer } = item.messageInfo.creator;\nconst { topLeft, topRight, bottomLeft, bottomRi...
JavaScript
BSD 3-Clause New or Revised License
comme2e/comm
[native] Fix Message borderRadius determination
129,187
20.06.2019 17:00:58
14,400
e2189333184bab6962044363f60937350c06dd53
[native] Extract Timestamp out of Message
[ { "change_type": "MODIFY", "old_path": "native/chat/message.react.js", "new_path": "native/chat/message.react.js", "diff": "@@ -18,21 +18,14 @@ import {\nimport * as React from 'react';\nimport {\n- Text,\n- StyleSheet,\nView,\nLayoutAnimation,\nTouchableWithoutFeedback,\nPlatform,\n} from 'react-na...
JavaScript
BSD 3-Clause New or Revised License
comme2e/comm
[native] Extract Timestamp out of Message
129,187
20.06.2019 17:23:47
14,400
5a14dc882f9eda4e470c8085c839c2afe7bf7950
[native] Show light-colored timestamp in MultimediaTooltipButton
[ { "change_type": "MODIFY", "old_path": "native/chat/message.react.js", "new_path": "native/chat/message.react.js", "diff": "@@ -96,7 +96,7 @@ class Message extends React.PureComponent<Props> {\nlet conversationHeader = null;\nif (this.props.focused || this.props.item.startsConversation) {\nconversat...
JavaScript
BSD 3-Clause New or Revised License
comme2e/comm
[native] Show light-colored timestamp in MultimediaTooltipButton
129,187
20.06.2019 18:16:36
14,400
9889fab200f825b2d93c20fc63826605e1c99e0f
[native] Animate Tooltip opacity
[ { "change_type": "MODIFY", "old_path": "native/components/tooltip2.react.js", "new_path": "native/components/tooltip2.react.js", "diff": "@@ -29,6 +29,8 @@ import {\nconst {\nValue,\n+ Extrapolate,\n+ interpolate,\n} = Animated;\ntype TooltipEntry<CustomProps> = {|\n@@ -84,6 +86,29 @@ function creat...
JavaScript
BSD 3-Clause New or Revised License
comme2e/comm
[native] Animate Tooltip opacity
129,187
10.07.2019 12:04:19
14,400
72745011d41e6f918ba6f8ecf95b828b39a33865
[native] Include imageHeight in ChatMultimediaMessageInfoItem
[ { "change_type": "MODIFY", "old_path": "native/chat/message-list-container.react.js", "new_path": "native/chat/message-list-container.react.js", "diff": "@@ -40,7 +40,7 @@ import ThreadSettingsButton from './thread-settings-button.react';\nimport { registerChatScreen } from './chat-screen-registry';...
JavaScript
BSD 3-Clause New or Revised License
comme2e/comm
[native] Include imageHeight in ChatMultimediaMessageInfoItem
129,187
10.07.2019 12:04:51
14,400
9f704ed0aa49cc8a2692acbd09431826d2bf7334
[native] Position Timestamp in MultimediaTooltipButton correctly Uses `verticalOffset` determined in `MultimediaMessage`
[ { "change_type": "MODIFY", "old_path": "native/chat/multimedia-message-multimedia.react.js", "new_path": "native/chat/multimedia-message-multimedia.react.js", "diff": "@@ -30,6 +30,7 @@ type Props = {|\nmediaInfo: MediaInfo,\nnavigate: Navigate,\nverticalBounds: ?VerticalBounds,\n+ verticalOffset: n...
JavaScript
BSD 3-Clause New or Revised License
comme2e/comm
[native] Position Timestamp in MultimediaTooltipButton correctly Uses `verticalOffset` determined in `MultimediaMessage`
129,187
10.07.2019 12:14:32
14,400
c8179b2ab0f0afdadb1431afa469930734ca59f5
[native] Avoid simultaneous MultimediaModal and MultimediaTooltipModal
[ { "change_type": "MODIFY", "old_path": "native/chat/multimedia-message-multimedia.react.js", "new_path": "native/chat/multimedia-message-multimedia.react.js", "diff": "@@ -60,6 +60,7 @@ class MultimediaMessageMultimedia extends React.PureComponent<Props, State> {\ntoggleMessageFocus: PropTypes.func....
JavaScript
BSD 3-Clause New or Revised License
comme2e/comm
[native] Avoid simultaneous MultimediaModal and MultimediaTooltipModal
129,187
10.07.2019 12:18:19
14,400
a289463930bb0c30832cff2c8cdce217df46a6a7
[server] Include localID in RawMultimediaMessageInfo passed from server This allows the client to dedup properly in certain failure cases
[ { "change_type": "MODIFY", "old_path": "server/src/fetchers/message-fetchers.js", "new_path": "server/src/fetchers/message-fetchers.js", "diff": "@@ -13,6 +13,7 @@ import {\ntype MessageTruncationStatuses,\ntype FetchMessageInfosResult,\ntype RawTextMessageInfo,\n+ type RawMultimediaMessageInfo,\n} ...
JavaScript
BSD 3-Clause New or Revised License
comme2e/comm
[server] Include localID in RawMultimediaMessageInfo passed from server This allows the client to dedup properly in certain failure cases
129,187
10.07.2019 12:51:38
14,400
d6bad969c889bff56c1e5412a22805ff5ead341f
[server] Include localID whenever possible when returning messages
[ { "change_type": "MODIFY", "old_path": "server/src/fetchers/message-fetchers.js", "new_path": "server/src/fetchers/message-fetchers.js", "diff": "@@ -150,6 +150,7 @@ type MessageSQLResult = {|\n|};\nfunction parseMessageSQLResult(\nrows: $ReadOnlyArray<Object>,\n+ viewer?: Viewer,\n): MessageSQLResu...
JavaScript
BSD 3-Clause New or Revised License
comme2e/comm
[server] Include localID whenever possible when returning messages
129,187
10.07.2019 12:51:57
14,400
62146e129deab79e5dae8c19275e8f60f5ba6a85
[lib] Merge RawMultimediaMessageInfos with same localID
[ { "change_type": "MODIFY", "old_path": "lib/reducers/message-reducer.js", "new_path": "lib/reducers/message-reducer.js", "diff": "@@ -161,7 +161,10 @@ function mergeNewMessages(\nconst { id: inputID } = messageInfo;\ninvariant(inputID, \"new messageInfos should have serverID\");\nconst currentMessag...
JavaScript
BSD 3-Clause New or Revised License
comme2e/comm
[lib] Merge RawMultimediaMessageInfos with same localID
129,187
10.07.2019 17:48:23
14,400
ff3b5afde95b17b0da194437b5783ff897109bfc
Update time on MultimediaMessage whenever retrying it
[ { "change_type": "MODIFY", "old_path": "native/chat/chat-input-state-container.react.js", "new_path": "native/chat/chat-input-state-container.react.js", "diff": "@@ -454,12 +454,12 @@ class ChatInputStateContainer extends React.PureComponent<Props, State> {\nrawMessageInfo && rawMessageInfo.type ===...
JavaScript
BSD 3-Clause New or Revised License
comme2e/comm
Update time on MultimediaMessage whenever retrying it
129,187
10.07.2019 19:55:06
14,400
760086ee7681b775a54dabd2d0701d3cf94bc31c
[native] Fix Multimedia layout measuring on Android
[ { "change_type": "MODIFY", "old_path": "native/chat/multimedia-message-multimedia.react.js", "new_path": "native/chat/multimedia-message-multimedia.react.js", "diff": "@@ -111,7 +111,7 @@ class MultimediaMessageMultimedia extends React.PureComponent<Props, State> {\nconst { mediaInfo, pendingUpload,...
JavaScript
BSD 3-Clause New or Revised License
comme2e/comm
[native] Fix Multimedia layout measuring on Android
129,187
10.07.2019 20:00:00
14,400
4db968ed1893f89f1ee269f44a5077e3e2dc9b0d
[native] Avoid including padding in Multimedia layout measuring
[ { "change_type": "MODIFY", "old_path": "native/chat/inline-multimedia.react.js", "new_path": "native/chat/inline-multimedia.react.js", "diff": "@@ -17,7 +17,6 @@ import Multimedia from '../media/multimedia.react';\ntype Props = {|\nmediaInfo: MediaInfo,\n- style: ImageStyle,\nonPress: () => void,\no...
JavaScript
BSD 3-Clause New or Revised License
comme2e/comm
[native] Avoid including padding in Multimedia layout measuring
129,187
11.07.2019 00:55:42
14,400
bcf147e395fb10b0039cc45a41c73537a10202ba
[native] Render actual tooltip menu for new Tooltip
[ { "change_type": "MODIFY", "old_path": "native/chat/multimedia-message-multimedia.react.js", "new_path": "native/chat/multimedia-message-multimedia.react.js", "diff": "@@ -183,6 +183,7 @@ class MultimediaMessageMultimedia extends React.PureComponent<Props, State> {\ninitialCoordinates: coordinates,\...
JavaScript
BSD 3-Clause New or Revised License
comme2e/comm
[native] Render actual tooltip menu for new Tooltip
129,187
11.07.2019 14:32:31
14,400
e1e7e495792f62b95cd1b808bc68e934f61b5b6b
[native] Trigger Android media scanner on image after saving
[ { "change_type": "MODIFY", "old_path": "native/media/save-image.js", "new_path": "native/media/save-image.js", "diff": "@@ -21,6 +21,8 @@ function saveImage(mediaInfo: MediaInfo) {\n}\n}\n+// On Android, we save the image to our own SquadCal folder in the\n+// Pictures directory, and then trigger th...
JavaScript
BSD 3-Clause New or Revised License
comme2e/comm
[native] Trigger Android media scanner on image after saving
129,187
11.07.2019 15:17:06
14,400
5f9d83a7c80623a6cc83c1bb0d08e91f6a07b524
[native] Fix new Tooltip backdrop opacity
[ { "change_type": "MODIFY", "old_path": "native/components/tooltip2.react.js", "new_path": "native/components/tooltip2.react.js", "diff": "@@ -90,7 +90,8 @@ function createTooltip<\nposition: PropTypes.instanceOf(Value).isRequired,\nscreenDimensions: dimensionsPropType.isRequired,\n};\n- tooltipProgr...
JavaScript
BSD 3-Clause New or Revised License
comme2e/comm
[native] Fix new Tooltip backdrop opacity
129,187
12.07.2019 14:07:04
14,400
1e43ca66448172aecd6026cba04f2254a2a2883e
[native] Fix Tooltip2 down triangle alignment on Android
[ { "change_type": "MODIFY", "old_path": "native/components/tooltip2.react.js", "new_path": "native/components/tooltip2.react.js", "diff": "@@ -19,7 +19,12 @@ import type { TooltipEntry } from './tooltip2-item.react';\nimport * as React from 'react';\nimport Animated, { Easing } from 'react-native-rea...
JavaScript
BSD 3-Clause New or Revised License
comme2e/comm
[native] Fix Tooltip2 down triangle alignment on Android
129,187
12.07.2019 14:07:46
14,400
cd0ce62ca7c18f84c4afc42f6dfbcd1d1700cbba
[native] Avoid extra View layer in Tooltip2
[ { "change_type": "MODIFY", "old_path": "native/components/tooltip2.react.js", "new_path": "native/components/tooltip2.react.js", "diff": "@@ -244,13 +244,11 @@ function createTooltip<\n</View>\n</View>\n<Animated.View style={this.tooltipContainerStyle}>\n- <View>\n{triangleUp}\n<View style={styles.e...
JavaScript
BSD 3-Clause New or Revised License
comme2e/comm
[native] Avoid extra View layer in Tooltip2
129,187
12.07.2019 14:19:12
14,400
a97fe94b97454cbb8f026cce1f5e834a915b3d7e
[native] Animate Tooltip2 "button" opacity
[ { "change_type": "MODIFY", "old_path": "native/components/tooltip2.react.js", "new_path": "native/components/tooltip2.react.js", "diff": "@@ -157,6 +157,7 @@ function createTooltip<\n...styles.contentContainer,\nmarginTop: top,\nmarginBottom: bottom,\n+ opacity: this.progress,\n};\n}\n@@ -238,11 +23...
JavaScript
BSD 3-Clause New or Revised License
comme2e/comm
[native] Animate Tooltip2 "button" opacity
129,187
12.07.2019 14:53:02
14,400
d57d2462c2dba07c803c9eedf84ab1b0ff2b9c21
[native] Decide between above and below for MultimediaTooltipModal
[ { "change_type": "MODIFY", "old_path": "native/chat/multimedia-message-multimedia.react.js", "new_path": "native/chat/multimedia-message-multimedia.react.js", "diff": "@@ -24,7 +24,7 @@ import { KeyboardUtils } from 'react-native-keyboard-input';\nimport invariant from 'invariant';\nimport InlineMul...
JavaScript
BSD 3-Clause New or Revised License
comme2e/comm
[native] Decide between above and below for MultimediaTooltipModal
129,187
12.07.2019 14:57:12
14,400
0187975f1ca4e5eb3b3c6b04de9d8899327f3636
[native] Default Tooltip2 to appearing below content Easier for user to reach
[ { "change_type": "MODIFY", "old_path": "native/chat/multimedia-tooltip-button.react.js", "new_path": "native/chat/multimedia-tooltip-button.react.js", "diff": "@@ -42,7 +42,7 @@ type NavProp = NavigationScreenProp<{|\n// Tooltip props\ninitialCoordinates: LayoutCoordinates,\nverticalBounds: Vertical...
JavaScript
BSD 3-Clause New or Revised License
comme2e/comm
[native] Default Tooltip2 to appearing below content Easier for user to reach
129,187
12.07.2019 15:45:19
14,400
fc0fc10c9703477c780f0944dbec4d514d90e2c9
[native] Customize MultimediaTooltipModal margin to avoid timestamp
[ { "change_type": "MODIFY", "old_path": "native/chat/multimedia-message-multimedia.react.js", "new_path": "native/chat/multimedia-message-multimedia.react.js", "diff": "@@ -180,14 +180,19 @@ class MultimediaMessageMultimedia extends React.PureComponent<Props, State> {\nconst multimediaBottom = pageY ...
JavaScript
BSD 3-Clause New or Revised License
comme2e/comm
[native] Customize MultimediaTooltipModal margin to avoid timestamp
129,187
16.07.2019 14:38:33
14,400
2ce5fe0ddfe2091765be943b8742f5a8393c9bfe
[native] Allow Tooltip2 to be wider than content (But never so wide that it goes off screen)
[ { "change_type": "MODIFY", "old_path": "native/components/tooltip2.react.js", "new_path": "native/components/tooltip2.react.js", "diff": "@@ -186,10 +186,16 @@ function createTooltip<\n? customMargin\n: 20;\n+ const extraLeftSpace = x;\n+ const extraRightSpace = screenDimensions.width - width - x;\n...
JavaScript
BSD 3-Clause New or Revised License
comme2e/comm
[native] Allow Tooltip2 to be wider than content (But never so wide that it goes off screen)
129,187
16.07.2019 15:52:30
14,400
f718aff273763d28a998fa15e8a7bae801778378
[native] Hack around dispatch type mismatch Sadly using an `any`-cast here. We define our `Dispatch` differently than the Redux libdef, partially because of our use of `redux-thunk`.
[ { "change_type": "MODIFY", "old_path": "native/app.react.js", "new_path": "native/app.react.js", "diff": "@@ -509,7 +509,6 @@ class AppWithNavigationState extends React.PureComponent<Props> {\nsaveMessageInfos(messageInfosString: string) {\nsaveMessageInfos(\n- this.props.dispatch,\nmessageInfosStri...
JavaScript
BSD 3-Clause New or Revised License
comme2e/comm
[native] Hack around dispatch type mismatch Sadly using an `any`-cast here. We define our `Dispatch` differently than the Redux libdef, partially because of our use of `redux-thunk`.
129,187
16.07.2019 16:04:05
14,400
68583856791f3a12104fa593c0eb7bd426a5cc5f
[native] Show message after multimedia save
[ { "change_type": "ADD", "old_path": null, "new_path": "native/media/multimedia-saved-modal.react.js", "diff": "+// @flow\n+\n+import type {\n+ NavigationScreenProp,\n+ NavigationLeafRoute,\n+ NavigationScene,\n+} from 'react-navigation';\n+\n+import * as React from 'react';\n+import { View, Text, St...
JavaScript
BSD 3-Clause New or Revised License
comme2e/comm
[native] Show message after multimedia save
129,187
17.07.2019 10:18:26
14,400
938bf95b2627871a526426c719a0edcb898f9346
[native] Fix scroll disabling behavior to ignore MultimediaSavedModal
[ { "change_type": "MODIFY", "old_path": "native/chat/message-list.react.js", "new_path": "native/chat/message-list.react.js", "diff": "@@ -46,7 +46,10 @@ import {\naddKeyboardDismissListener,\nremoveKeyboardListener,\n} from '../keyboard';\n-import { modalsClosedSelector } from '../selectors/nav-sele...
JavaScript
BSD 3-Clause New or Revised License
comme2e/comm
[native] Fix scroll disabling behavior to ignore MultimediaSavedModal
129,187
17.07.2019 10:23:55
14,400
a73020695c0adbbbff811da07780b7e8014fa31d
[native] Use scrollDisabled to determine when Multimedia modals cloesd Was using `multimediaModalsClosed`, but that doesn't consider the time it takes to complete the transition.
[ { "change_type": "MODIFY", "old_path": "native/chat/message-list.react.js", "new_path": "native/chat/message-list.react.js", "diff": "@@ -84,7 +84,7 @@ type PropsAndState = {|\n...State,\n|};\ntype FlatListExtraData = {|\n- multimediaModalsClosed: bool,\n+ scrollDisabled: bool,\nkeyboardShowing: boo...
JavaScript
BSD 3-Clause New or Revised License
comme2e/comm
[native] Use scrollDisabled to determine when Multimedia modals cloesd Was using `multimediaModalsClosed`, but that doesn't consider the time it takes to complete the transition.
129,187
17.07.2019 10:38:20
14,400
b73e0db360ef86f3a7087b3b4fcfa528c7a2d88e
[native] multimediaModals -> scrollBlockingChatModals
[ { "change_type": "MODIFY", "old_path": "native/chat/message-list.react.js", "new_path": "native/chat/message-list.react.js", "diff": "@@ -47,7 +47,7 @@ import {\nremoveKeyboardListener,\n} from '../keyboard';\nimport {\n- multimediaModalsClosedSelector,\n+ scrollBlockingChatModalsClosedSelector,\nli...
JavaScript
BSD 3-Clause New or Revised License
comme2e/comm
[native] multimediaModals -> scrollBlockingChatModals
129,187
17.07.2019 16:08:59
14,400
f764e6e665028813b182ee64cedb5178660edb66
[native] Some MultimediaTooltipModal cleanup
[ { "change_type": "MODIFY", "old_path": "native/chat/multimedia-message-multimedia.react.js", "new_path": "native/chat/multimedia-message-multimedia.react.js", "diff": "@@ -132,6 +132,11 @@ class MultimediaMessageMultimedia extends React.PureComponent<Props, State> {\n}\nonPress = () => {\n+ if (this...
JavaScript
BSD 3-Clause New or Revised License
comme2e/comm
[native] Some MultimediaTooltipModal cleanup
129,187
17.07.2019 16:22:24
14,400
b8e7f2587902cda18c50e6df8410518031691dc4
[native] Freeze scroll before navigating to MultimediaTooltipModal Freezes it before the `measure` call to make sure we get coordinates that don't change.
[ { "change_type": "MODIFY", "old_path": "native/chat/message.react.js", "new_path": "native/chat/message.react.js", "diff": "@@ -117,6 +117,7 @@ class Message extends React.PureComponent<Props> {\nnavigate={this.props.navigate}\nfocused={this.props.focused}\ntoggleFocus={this.props.toggleFocus}\n+ se...
JavaScript
BSD 3-Clause New or Revised License
comme2e/comm
[native] Freeze scroll before navigating to MultimediaTooltipModal Freezes it before the `measure` call to make sure we get coordinates that don't change.
129,187
17.07.2019 18:27:27
14,400
ebd62f4d9d62e3b3b95241634f021caf47f88e8a
[native] TextMessageTooltipModal
[ { "change_type": "ADD", "old_path": null, "new_path": "native/chat/inner-text-message.react.js", "diff": "+// @flow\n+\n+import { chatMessageItemPropType } from 'lib/selectors/chat-selectors';\n+import type { ChatTextMessageInfoItemWithHeight } from './text-message.react';\n+\n+import * as React fro...
JavaScript
BSD 3-Clause New or Revised License
comme2e/comm
[native] TextMessageTooltipModal
129,187
17.07.2019 18:35:34
14,400
3d14766810e81f89046daf896fc37ae64de173c7
[native] Let tooltip button decide how to apply opacity
[ { "change_type": "MODIFY", "old_path": "native/chat/multimedia-tooltip-button.react.js", "new_path": "native/chat/multimedia-tooltip-button.react.js", "diff": "@@ -20,6 +20,7 @@ import type { RawMessageInfo } from 'lib/types/message-types';\nimport type { AppState } from '../redux/redux-setup';\nimp...
JavaScript
BSD 3-Clause New or Revised License
comme2e/comm
[native] Let tooltip button decide how to apply opacity
129,187
17.07.2019 18:38:39
14,400
3f35cefecc8e84a2cfa4707bb5bd1958f0e05063
[native] Stop changing color of chat bubble when selected We are darkening the background instead
[ { "change_type": "MODIFY", "old_path": "native/chat/inner-text-message.react.js", "new_path": "native/chat/inner-text-message.react.js", "diff": "@@ -6,7 +6,6 @@ import type { ChatTextMessageInfoItemWithHeight } from './text-message.react';\nimport * as React from 'react';\nimport { View, Text, Styl...
JavaScript
BSD 3-Clause New or Revised License
comme2e/comm
[native] Stop changing color of chat bubble when selected We are darkening the background instead