Skip to content

Commit

Permalink
fix: move InlineReplyForm to dashboard app
Browse files Browse the repository at this point in the history
  • Loading branch information
jenniferarnesen committed Jun 22, 2023
1 parent 3f5f08a commit f9599aa
Show file tree
Hide file tree
Showing 5 changed files with 9 additions and 390 deletions.
253 changes: 0 additions & 253 deletions src/__demo__/InterpretationsPanel.stories.js

This file was deleted.

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,6 @@ export const Interpretation = ({
})
const shouldShowButton = Boolean(!!onClick && !disabled & !inlineReply)

console.log('inlinereply', inlineReply, shouldShowButton)
return isUpdateMode ? (
<InterpretationUpdateForm
close={() => setIsUpdateMode(false)}
Expand Down Expand Up @@ -74,12 +73,14 @@ export const Interpretation = ({
count={interpretation.comments.length}
dataTest="interpretation-reply-button"
/>
<MessageIconButton
tooltipContent={i18n.t('See interpretation')}
iconComponent={IconView16}
onClick={() => onReplyIconClick(interpretation.id)}
dataTest="interpretation-view-button"
/>
{inlineReply && (
<MessageIconButton
tooltipContent={i18n.t('See interpretation')}
iconComponent={IconView16}
onClick={() => onReplyIconClick(interpretation.id)}
dataTest="interpretation-view-button"
/>
)}
{launchUrl && (
<MessageIconButton
tooltipContent={i18n.t('Open in app')}
Expand All @@ -101,7 +102,6 @@ export const Interpretation = ({
dataTest="interpretation-share-button"
/>
)}

{showSharingDialog && (
<SharingDialog
open={true}
Expand Down
Loading

0 comments on commit f9599aa

Please sign in to comment.