-
Notifications
You must be signed in to change notification settings - Fork 333
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore: Roll out AIGeneratedDiscussion to all users (#9554)
- Loading branch information
Showing
6 changed files
with
7 additions
and
17 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -90,7 +90,7 @@ const RetroTopic = (props: Props) => { | |
reflections { | ||
...EmailReflectionCard_reflection | ||
} | ||
topicSummary: summary | ||
discussionPromptQuestion | ||
} | ||
discussion { | ||
commentCount | ||
|
@@ -121,7 +121,7 @@ const RetroTopic = (props: Props) => { | |
|
||
const {reflectionGroup, discussion, id: stageId} = stage | ||
const {commentCount, discussionSummary} = discussion | ||
const {reflections, title, voteCount, topicSummary} = reflectionGroup! | ||
const {reflections, title, voteCount, discussionPromptQuestion} = reflectionGroup! | ||
const imageSource = isEmail ? 'static' : 'local' | ||
const icon = imageSource === 'local' ? 'thumb_up_18.svg' : '[email protected]' | ||
const src = `${ExternalLinks.EMAIL_CDN}${icon}` | ||
|
@@ -143,16 +143,16 @@ const RetroTopic = (props: Props) => { | |
</AnchorIfEmail> | ||
</td> | ||
</tr> | ||
{(topicSummary || discussionSummary) && ( | ||
{(discussionPromptQuestion || discussionSummary) && ( | ||
<tr> | ||
<td align='left' style={{lineHeight: '22px', fontSize: 14}}> | ||
{topicSummary && ( | ||
{discussionPromptQuestion && ( | ||
<> | ||
<tr> | ||
<td style={topicTitleStyle}>{'🤖 Topic Summary'}</td> | ||
<td style={topicTitleStyle}>{'🤖 Discussion Question'}</td> | ||
</tr> | ||
<tr> | ||
<td style={textStyle}>{topicSummary}</td> | ||
<td style={textStyle}>{discussionPromptQuestion}</td> | ||
</tr> | ||
</> | ||
)} | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters