diff --git a/ts/components/conversation/ContactName.md b/ts/components/conversation/ContactName.md new file mode 100644 index 0000000000..f078461c99 --- /dev/null +++ b/ts/components/conversation/ContactName.md @@ -0,0 +1,32 @@ +#### With name and profile + +```jsx +
+ +
+``` + +#### Profile, no name + +```jsx +
+ +
+``` + +#### No name, no profile + +```jsx +
+ +
+``` diff --git a/ts/components/conversation/ConversationTitle.md b/ts/components/conversation/ConversationTitle.md new file mode 100644 index 0000000000..85f095fab2 --- /dev/null +++ b/ts/components/conversation/ConversationTitle.md @@ -0,0 +1,45 @@ +#### With name and profile, verified + +```jsx +
+ +
+``` + +#### With name, not verified + +```jsx +
+ +
+``` + +#### Profile, no name + +```jsx +
+ +
+``` + +#### No name, no profile + +```jsx +
+ +
+``` diff --git a/ts/components/conversation/ConversationTitle.tsx b/ts/components/conversation/ConversationTitle.tsx index 905435fead..0e5da03758 100644 --- a/ts/components/conversation/ConversationTitle.tsx +++ b/ts/components/conversation/ConversationTitle.tsx @@ -25,7 +25,7 @@ export class ConversationTitle extends React.Component { {phoneNumber ? ( {phoneNumber} ) : null}{' '} - {profileName ? ( + {profileName && !name ? (