-
Notifications
You must be signed in to change notification settings - Fork 1.2k
Mobile direct messages view #3132
Conversation
Generated by 🚫 dangerJS |
| import styled from 'styled-components/native'; | ||
|
|
||
| export default styled.View` | ||
| flex-direction: row; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
- Added
<Row />and<Column />components
| import * as React from 'react'; | ||
| import { Button } from 'react-native'; | ||
| import { StackNavigator } from 'react-navigation'; | ||
| import idx from 'idx'; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
- Added
idxto the deps and used it throughout, shoutout to @alejandronanez for the tip
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Awesome!
| } | ||
| } | ||
|
|
||
| export function timeDifference(current: number, previous: ?number): string { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
- Moved these to
shared, removed duplicates fromsrc
|
@brianlovin this is pretty much ready for review! 😍 Note that this doesn't have the chat input/messages enhancements from #3088, so don't expect the messages screen to look that great yet. (marked some important-ish points inline) |
brianlovin
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM! Architecture makes sense, will dig in locally and help tidy up things as well
Status
TODO
<Messages />to use<InfiniteList />Current status