Skip to content

Commit

Permalink
remove commentList for now
Browse files Browse the repository at this point in the history
  • Loading branch information
andreadelrio committed Apr 2, 2020
1 parent 89f1fef commit c4fbca4
Show file tree
Hide file tree
Showing 9 changed files with 2 additions and 58 deletions.
7 changes: 1 addition & 6 deletions src-docs/src/views/comment/comment_actions.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -24,11 +24,7 @@ interface CustomActionsState {
isPopoverOpen: boolean;
}

export default class extends Component<
// export class CustomActions extends Component<
CustomActionsProps,
CustomActionsState
> {
export default class extends Component<CustomActionsProps, CustomActionsState> {
state = {
isPopoverOpen: false,
};
Expand All @@ -49,7 +45,6 @@ export default class extends Component<
const { isPopoverOpen } = this.state;
const customActions = (
<EuiPopover
// id={`${item.id}-actions`}
button={
<EuiButtonIcon
aria-label="Actions"
Expand Down
6 changes: 0 additions & 6 deletions src/components/comment/__snapshots__/comment.test.tsx.snap
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,6 @@ exports[`EuiComment is rendered 1`] = `
</div>
<div
class="euiCommentEvent euiCommentEvent--regular"
data-focusable="true"
>
<div
class="euiCommentEvent__header"
Expand Down Expand Up @@ -69,7 +68,6 @@ exports[`EuiComment props event is rendered 1`] = `
</div>
<div
class="euiCommentEvent euiCommentEvent--regular"
data-focusable="true"
>
<div
class="euiCommentEvent__header"
Expand Down Expand Up @@ -126,7 +124,6 @@ exports[`EuiComment props timelineIcon is rendered 1`] = `
</div>
<div
class="euiCommentEvent euiCommentEvent--regular"
data-focusable="true"
>
<div
class="euiCommentEvent__header"
Expand Down Expand Up @@ -172,7 +169,6 @@ exports[`EuiComment props timestamp is rendered 1`] = `
</div>
<div
class="euiCommentEvent euiCommentEvent--regular"
data-focusable="true"
>
<div
class="euiCommentEvent__header"
Expand Down Expand Up @@ -226,7 +222,6 @@ exports[`EuiComment props type is rendered 1`] = `
</div>
<div
class="euiCommentEvent euiCommentEvent--update"
data-focusable="true"
>
<div
class="euiCommentEvent__header"
Expand Down Expand Up @@ -272,7 +267,6 @@ exports[`EuiComment renders a body 1`] = `
</div>
<div
class="euiCommentEvent euiCommentEvent--regular"
data-focusable="true"
>
<div
class="euiCommentEvent__header"
Expand Down

This file was deleted.

Empty file.
1 change: 0 additions & 1 deletion src/components/comment/_index.scss
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
@import 'comment';
@import 'comment_event';
@import 'comment_timeline';
@import 'comment_list';
2 changes: 1 addition & 1 deletion src/components/comment/comment_event.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ export const EuiCommentEvent: FunctionComponent<EuiCommentEventProps> = ({
);

return (
<div data-focusable="true" className={classes} {...rest}>
<div className={classes} {...rest}>
<div className="euiCommentEvent__header">
<div className="euiCommentEvent__headerData">
<div className="euiCommentEvent__headerUsername">{username}</div>
Expand Down
13 changes: 0 additions & 13 deletions src/components/comment/comment_list.test.tsx

This file was deleted.

20 changes: 0 additions & 20 deletions src/components/comment/comment_list.tsx

This file was deleted.

2 changes: 0 additions & 2 deletions src/components/comment/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,5 +3,3 @@ export { EuiComment } from './comment';
export { EuiCommentEvent } from './comment_event';

export { EuiCommentTimeline } from './comment_timeline';

export { EuiCommentList } from './comment_list';

0 comments on commit c4fbca4

Please sign in to comment.