Better todo descr

This commit is contained in:
Chi Vinh Le
2018-01-30 18:19:31 +01:00
parent 81e68c8ef4
commit feeaa8ee8b
8 changed files with 7 additions and 8 deletions
@@ -4,7 +4,7 @@ import { Button } from 'coral-ui';
import cn from 'classnames';
import Slot from 'coral-framework/components/Slot';
// TODO: need to change this.
// TODO: (kiwi) Need to adapt CSS classes post refactor to match the rest.
import { name } from '../containers/CommentBox';
import styles from './CommentForm.css';
@@ -1,7 +1,6 @@
import React from 'react';
import PropTypes from 'prop-types';
// TODO: move this function.
import { notifyForNewCommentStatus } from '../helpers';
import { CommentForm } from './CommentForm';
import styles from './Comment.css';
@@ -11,7 +11,7 @@ import * as REASONS from 'coral-framework/graphql/flagReasons';
import { getErrorMessages, forEachError } from 'coral-framework/utils';
// TODO: remove this.
// TODO: (kiwi) Need to adapt CSS classes post refactor to match the rest.
const name = 'talk-plugin-flags';
export default class FlagButton extends Component {
@@ -1,7 +1,7 @@
import React from 'react';
import Markdown from 'coral-framework/components/Markdown';
// TODO: remove this.
// TODO: (kiwi) Need to adapt CSS classes post refactor to match the rest.
const packagename = 'talk-plugin-infobox';
const InfoBox = ({ enable, content }) => (
@@ -2,7 +2,7 @@ import React, { Component } from 'react';
import PropTypes from 'prop-types';
import CommentBox from '../containers/CommentBox';
// TODO: remove this..
// TODO: (kiwi) Need to adapt CSS classes post refactor to match the rest.
const name = 'talk-plugin-replies';
class ReplyBox extends Component {
@@ -6,7 +6,7 @@ import t from 'coral-framework/services/i18n';
import cn from 'classnames';
import styles from './ReplyButton.css';
// @TODO: remove this.
// TODO: (kiwi) Need to adapt CSS classes post refactor to match the rest.
const name = 'talk-plugin-replies';
const ReplyButton = ({ onClick }) => {
@@ -1,6 +1,6 @@
import React from 'react';
// TODO: change className.
// TODO: (kiwi) Need to adapt CSS classes post refactor to match the rest.
const TagLabel = ({ children }) => (
<div className="talk-plugin-tag-label">{children}</div>
@@ -9,7 +9,7 @@ import { connect } from 'react-redux';
import { CommentForm } from '../components/CommentForm';
import { notifyForNewCommentStatus } from '../helpers';
// TODO: change this...
// TODO: (kiwi) Need to adapt CSS classes post refactor to match the rest.
export const name = 'talk-plugin-commentbox';
/**