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

[#1234] add old conversation header bar to core UI #1593

Merged

Conversation

AudreyKj
Copy link
Contributor

@AudreyKj AudreyKj commented Apr 20, 2021

closes #1523

  • conversationHeader with state toggle

Screenshot 2021-04-20 at 14 07 21

Screenshot 2021-04-20 at 14 07 11

Screenshot 2021-04-20 at 14 07 03

Screenshot 2021-04-20 at 14 06 53

@@ -44,7 +44,7 @@ const ConversationListItem = (props: ConversationListItemProps) => {

const participant = conversation.metadata.contact;
const unread = conversation.metadata.unreadCount > 0;
const currentConversationState = conversation.metadata.state;
const currentConversationState = conversation.metadata.state || 'OPEN';
Copy link
Contributor Author

Choose a reason for hiding this comment

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

we need to add a check here because when a new conversation is created conversation.metadata.state is undefined

stayprodio
stayprodio previously approved these changes Apr 20, 2021
border-bottom: 5px var(--color-red-alert) solid;
}

.conversationStatus.open .openButton {
Copy link
Contributor

Choose a reason for hiding this comment

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

Are you sure that you need to prefix all of them with .conversationStatus? Because this is a css module there should already be an automatic prefix

Copy link
Contributor Author

Choose a reason for hiding this comment

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

true! this is totally unnecessary, will fix!

@AudreyKj AudreyKj changed the title Feature/1523 add old conversation header bar to core UI [#1234] add old conversation header bar to core UI Apr 20, 2021
@AudreyKj AudreyKj merged commit 8e46399 into develop Apr 20, 2021
@AudreyKj AudreyKj deleted the feature/1523-add-old-conversation-header-bar-to-core-ui branch April 20, 2021 13:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Add old conversation header bar to core UI
3 participants