merge conflicts

This commit is contained in:
Belén Curcio
2018-07-16 14:25:56 -03:00
parent db3db21140
commit 4db619d825
7 changed files with 374 additions and 398 deletions
@@ -6,24 +6,8 @@ import { PropTypesOf } from "talk-framework/types";
import Comment from "./Comment";
it("renders username and body", () => {
<<<<<<< HEAD:src/core/client/stream/components/Comment.spec.tsx
const props = {
id: "id",
author: {
username: "Marvin",
},
body: "Woof",
};
const wrapper = shallow(<Comment {...props} />);
expect(wrapper).toMatchSnapshot();
});
it("renders with gutterBottom", () => {
const props = {
id: "id",
=======
const props: PropTypesOf<typeof Comment> = {
>>>>>>> abfa39529ff398007bb67cd814c4217a97bdb38b:src/core/client/stream/components/Comment/Comment.spec.tsx
id: "comment-ID",
author: {
username: "Marvin",
},
@@ -55,11 +55,11 @@ class PermalinkPopover extends React.Component<InnerProps> {
<CopyToClipboard text={commentId} onCopy={this.onCopy}>
<Button primary>
{copied ? (
<L id="copied">
<L id="comments-permalink-copied">
<span>Copied!</span>
</L>
) : (
<L id="copy">
<L id="comments-permalink-copy">
<span>Copy</span>
</L>
)}
@@ -70,7 +70,7 @@ class PermalinkPopover extends React.Component<InnerProps> {
}
>
<button className={styles.shareButton} onClick={this.onClick}>
<L id="share">
<L id="comments-permalink-share">
<span>Share</span>
</L>
</button>
@@ -2,16 +2,19 @@ import React, { StatelessComponent } from "react";
import { graphql } from "react-relay";
import withFragmentContainer from "talk-framework/lib/relay/withFragmentContainer";
import { Omit, PropTypesOf } from "talk-framework/types";
import { PropTypesOf } from "talk-framework/types";
import { CommentContainer as Data } from "talk-stream/__generated__/CommentContainer.graphql";
import Comment, { CommentProps } from "../components/Comment";
import Comment from "../components/Comment";
type InnerProps = { data: Data } & Omit<CommentProps, keyof Data>;
interface InnerProps {
data: Data;
}
// tslint:disable-next-line:no-unused-expression
graphql`
fragment CommentContainer_comment on Comment {
id
author {
username
}
@@ -1,3 +1,4 @@
import React from "react";
import {
InferableComponentEnhancerWithProps,
withPropsOnChange,
+4 -7
View File
@@ -1,9 +1,3 @@
<<<<<<< HEAD
postCommentForm-submit = Post
share = Share
copy = Copy
copied = Copied
=======
### Localization for Embed Stream
## Comments Tab
@@ -11,4 +5,7 @@ copied = Copied
comments-postCommentForm-post = Post
comments-stream-loadMore = Load more
comments-replyList-showAll = Show all
>>>>>>> cac0afa61e79b19ddcae873f543a6910b83c92e7
comments-permalink-share = Share
comments-permalink-copy = Copy
comments-permalink-copied = Copied