Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
General RN fixes - chat dumb placeholders - conversation list refactor (
#5812) * added watchman config. added dummy chat component files. fix text eating taps. rename yourekey compnent. add simulator flag to native. add notification listeners * dumb chat cross platform * conversation list refactor * undo whitespace * lint fixes * plumb through backgroundColor * Conversation list mobile (#5813) * usernames working * bottom line working * WIP * fixup merge * fix overflow on row bottom * pr fixes * min width on convo list * WIP * lineClamp messes up truncation for some reason
- Loading branch information
1 parent
466bd68
commit 700a5df
Showing
33 changed files
with
575 additions
and
209 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
{} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
// @flow | ||
const TODO = () => null | ||
export default TODO |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
// @flow | ||
const TODO = () => null | ||
export default TODO |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
// @flow | ||
const TODO = () => null | ||
export default TODO |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
// @flow | ||
const TODO = () => null | ||
export default TODO |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
// @flow | ||
const TODO = () => null | ||
export default TODO |
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
// @flow | ||
const factory = (options: any) => {}; | ||
export default factory |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,31 @@ | ||
// @flow | ||
import * as ChatConstants from '../../../constants/chat' | ||
import React from 'react' | ||
import {Box} from '../../../common-adapters' | ||
|
||
import type {Message, AttachmentMessage, ServerMessage, MetaDataMap, FollowingMap, OutboxIDKey} from '../../../constants/chat' | ||
|
||
type Options = { | ||
message: Message, | ||
includeHeader: boolean, | ||
key: string, | ||
isFirstNewMessage: boolean, | ||
style: Object, | ||
isScrolling: boolean, | ||
onAction: (message: ServerMessage, event: any) => void, | ||
isSelected: boolean, | ||
onLoadAttachment: (messageID: ChatConstants.MessageID, filename: string) => void, | ||
onOpenInFileUI: (path: string) => void, | ||
onOpenInPopup: (message: AttachmentMessage) => void, | ||
onRetry: (outboxID: OutboxIDKey) => void, | ||
onRetryAttachment: () => void, | ||
you: string, | ||
metaDataMap: MetaDataMap, | ||
followingMap: FollowingMap, | ||
} | ||
|
||
const factory = (options: Options) => { | ||
return <Box key={options.key} style={options.style} /> | ||
} | ||
|
||
export default factory |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
// @flow | ||
const TODO = () => null | ||
export default TODO |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
// @flow | ||
import {Component} from 'react' | ||
|
||
import type {RekeyInfo} from '../../constants/chat' | ||
|
||
export type Props = { | ||
rekeyInfo: RekeyInfo, | ||
onShowProfile: (username: string) => void, | ||
} | ||
|
||
export default class ParticipantRekey extends Component<void, Props, void> { } |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
// @flow | ||
const TODO = () => null | ||
export default TODO |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
// @flow | ||
const TODO = () => null | ||
export default TODO |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
// @flow | ||
import {Component} from 'react' | ||
|
||
import type {RekeyInfo} from '../../constants/chat' | ||
|
||
export type Props = { | ||
onRekey: () => void | ||
} | ||
|
||
export default class YouRekey extends Component<void, Props, void> { } |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
// @flow | ||
const TODO = () => null | ||
export default TODO |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.