Skip to content
This repository was archived by the owner on Oct 11, 2022. It is now read-only.

Conversation

@mxstbr
Copy link
Contributor

@mxstbr mxstbr commented May 22, 2018

Status

  • WIP
  • Ready for review
  • Needs testing

TODO

  • Render list of DM threads
  • Navigate to individual DM thread screen on click
  • Show messages on individual DM thread screen
  • Show chat input on individual DM thread screen
  • Send DMs from mobile
  • Make list of DM threads look nice
    • Participant heads
    • Proper list items
  • Make individual DM thread screen look nice
    • Participant heads
  • Switch <Messages /> to use <InfiniteList />
  • Fix sending quotes in DM threads after merging Render mobile message replies #3088

Current status

Recording of current status

@spectrum-bot
Copy link

spectrum-bot bot commented May 23, 2018

Warnings
⚠️

These modified files do not have Flow enabled:

  • athena/utils/push-notifications/notification-formatting.js
  • mobile/components/Avatar/style.js
  • src/views/directMessages/components/messageThreadListItem.js
  • src/views/notifications/utils.js

Generated by 🚫 dangerJS

@mxstbr mxstbr requested a review from brianlovin May 23, 2018 18:57
import styled from 'styled-components/native';

export default styled.View`
flex-direction: row;
Copy link
Contributor Author

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';
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

  • Added idx to the deps and used it throughout, shoutout to @alejandronanez for the tip

Copy link
Contributor

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 {
Copy link
Contributor Author

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 from src

@mxstbr
Copy link
Contributor Author

mxstbr commented May 23, 2018

@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)

Copy link
Contributor

@brianlovin brianlovin left a 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

@brianlovin brianlovin merged commit ad74699 into alpha May 23, 2018
@brianlovin brianlovin deleted the mobile-dm-view- branch May 23, 2018 19:18
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants