Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: add message preview component #779

Merged
merged 42 commits into from
Oct 12, 2022
Merged

feat: add message preview component #779

merged 42 commits into from
Oct 12, 2022

Conversation

elisealix22
Copy link
Contributor

@elisealix22 elisealix22 commented Oct 10, 2022

What does this PR do?

This PR maps Lens profiles to XMTP accounts and only shows messages for conversations that include a valid Lens profile.

This is a work in progress and behind the messages feature flag. Some known issues include:

  • Right now the preview shows the first message not the most recent
  • The conversations in the left panel are not sorted correctly
  • Pieces are duplicated between Message and Messages. They should be pulled out into their own ConversationList component.

Screen Shot 2022-10-10 at 2 57 29 PM

  • New feature (non-breaking change which adds functionality)

How should this be tested?

  • Ensure you're in the FF and navigate to Messages
  • You should see a list of all your current DM conversations with Lens profiles
  • Tapping the cell should open the message list component

Elise Alix and others added 30 commits October 4, 2022 15:26
@vercel vercel bot temporarily deployed to Preview October 11, 2022 13:24 Inactive
@vercel vercel bot temporarily deployed to Preview October 11, 2022 15:33 Inactive
@elisealix22
Copy link
Contributor Author

Caught up with @bhavya2611 and we're aligned on the future of the component structure / state handling. I'll be adding a new ConverstaionList component to handle most of this state in the next PR.

@vercel vercel bot temporarily deployed to Preview October 11, 2022 15:37 Inactive
Copy link
Contributor

@bhavya2611 bhavya2611 left a comment

Choose a reason for hiding this comment

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

Looks Good To Me.

@vercel vercel bot temporarily deployed to Preview October 11, 2022 16:34 Inactive
@vercel vercel bot temporarily deployed to Preview October 12, 2022 04:43 Inactive
@vercel vercel bot temporarily deployed to Preview October 12, 2022 04:54 Inactive
@vercel vercel bot temporarily deployed to Preview October 12, 2022 10:20 Inactive
@elisealix22
Copy link
Contributor Author

Alright, should be all set now! Thank you everyone for the reviews!

@vercel vercel bot temporarily deployed to Preview October 12, 2022 10:34 Inactive
Copy link
Member

@bigint bigint left a comment

Choose a reason for hiding this comment

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

LGTM :shipit:

Rad LGTM

@bigint bigint enabled auto-merge October 12, 2022 10:35
@bigint bigint merged commit 5208544 into main Oct 12, 2022
@bigint bigint deleted the ea/add-convo-preview branch October 12, 2022 10:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants