mirror of
https://github.com/google-gemini/gemini-cli.git
synced 2026-04-30 15:04:16 -07:00
/oncall dedup - wrap texts to nextlines (#17782)
This commit is contained in:
@@ -822,7 +822,7 @@ Return a JSON object with:
|
|||||||
minHeight={Math.min(candLines.length, VISIBLE_LINES_DETAIL)}
|
minHeight={Math.min(candLines.length, VISIBLE_LINES_DETAIL)}
|
||||||
>
|
>
|
||||||
{candViewLines.map((line: string, i: number) => (
|
{candViewLines.map((line: string, i: number) => (
|
||||||
<Text key={i} wrap="truncate-end">
|
<Text key={i} wrap="wrap">
|
||||||
{line}
|
{line}
|
||||||
</Text>
|
</Text>
|
||||||
))}
|
))}
|
||||||
@@ -881,7 +881,7 @@ Return a JSON object with:
|
|||||||
minHeight={Math.min(targetLines.length, visibleLines)}
|
minHeight={Math.min(targetLines.length, visibleLines)}
|
||||||
>
|
>
|
||||||
{targetViewLines.map((line, i) => (
|
{targetViewLines.map((line, i) => (
|
||||||
<Text key={i} italic wrap="truncate-end">
|
<Text key={i} italic wrap="wrap">
|
||||||
{line}
|
{line}
|
||||||
</Text>
|
</Text>
|
||||||
))}
|
))}
|
||||||
@@ -949,7 +949,7 @@ Return a JSON object with:
|
|||||||
? 'blue'
|
? 'blue'
|
||||||
: undefined
|
: undefined
|
||||||
}
|
}
|
||||||
wrap="truncate-end"
|
wrap="wrap"
|
||||||
>
|
>
|
||||||
{absoluteIndex + 1}. <Text bold>#{c.number}</Text>{' '}
|
{absoluteIndex + 1}. <Text bold>#{c.number}</Text>{' '}
|
||||||
<Text color={getStateColor(c.state, c.stateReason)}>
|
<Text color={getStateColor(c.state, c.stateReason)}>
|
||||||
@@ -963,7 +963,7 @@ Return a JSON object with:
|
|||||||
- {c.title} (Score: {c.score}/100)
|
- {c.title} (Score: {c.score}/100)
|
||||||
</Text>
|
</Text>
|
||||||
<Box marginLeft={2}>
|
<Box marginLeft={2}>
|
||||||
<Text color="gray" wrap="truncate-end">
|
<Text color="gray" wrap="wrap">
|
||||||
Reactions: {getReactionCount(c)} | {c.reason}
|
Reactions: {getReactionCount(c)} | {c.reason}
|
||||||
</Text>
|
</Text>
|
||||||
</Box>
|
</Box>
|
||||||
@@ -997,14 +997,14 @@ Return a JSON object with:
|
|||||||
<Text bold color="blue">
|
<Text bold color="blue">
|
||||||
Analysis:{' '}
|
Analysis:{' '}
|
||||||
</Text>
|
</Text>
|
||||||
<Text wrap="truncate-end"> {state.message}</Text>
|
<Text wrap="wrap"> {state.message}</Text>
|
||||||
</Box>
|
</Box>
|
||||||
{state.suggestedComment && (
|
{state.suggestedComment && (
|
||||||
<Box marginTop={1} flexDirection="column">
|
<Box marginTop={1} flexDirection="column">
|
||||||
<Text bold color="gray">
|
<Text bold color="gray">
|
||||||
Suggested Comment:
|
Suggested Comment:
|
||||||
</Text>
|
</Text>
|
||||||
<Text italic color="gray" wrap="truncate-end">
|
<Text italic color="gray" wrap="wrap">
|
||||||
"{state.suggestedComment}"
|
"{state.suggestedComment}"
|
||||||
</Text>
|
</Text>
|
||||||
</Box>
|
</Box>
|
||||||
|
|||||||
Reference in New Issue
Block a user