diff --git a/ee/tabby-ui/app/search/components/assistant-message-section.tsx b/ee/tabby-ui/app/search/components/assistant-message-section.tsx
index 8eebaec4ff4..099ed0213be 100644
--- a/ee/tabby-ui/app/search/components/assistant-message-section.tsx
+++ b/ee/tabby-ui/app/search/components/assistant-message-section.tsx
@@ -37,9 +37,11 @@ import {
import {
IconBlocks,
IconBug,
+ IconCheckCircled,
IconChevronRight,
IconCircleDot,
IconEdit,
+ IconGitMerge,
IconGitPullRequest,
IconLayers,
IconPlus,
@@ -516,14 +518,22 @@ function SourceCardContent({
{isIssue && (
<>
-
- {source.closed ? 'Closed' : 'Not closed'}
+ {source.closed ? (
+
+ ) : (
+
+ )}
+ {source.closed ? 'Closed' : 'Open'}
>
)}
{isPR && (
<>
-
- {source.merged ? 'Merged' : 'Not merged'}
+ {source.merged ? (
+
+ ) : (
+
+ )}
+ {source.merged ? 'Merged' : 'Open'}
>
)}
diff --git a/ee/tabby-ui/components/message-markdown/index.tsx b/ee/tabby-ui/components/message-markdown/index.tsx
index 34a1ba978c0..4a8594a5ad0 100644
--- a/ee/tabby-ui/components/message-markdown/index.tsx
+++ b/ee/tabby-ui/components/message-markdown/index.tsx
@@ -28,7 +28,12 @@ import {
import { Mention } from '../mention-tag'
import { Badge } from '../ui/badge'
-import { IconCircleDot, IconGitPullRequest } from '../ui/icons'
+import {
+ IconCheckCircled,
+ IconCircleDot,
+ IconGitMerge,
+ IconGitPullRequest
+} from '../ui/icons'
import { Skeleton } from '../ui/skeleton'
type RelevantDocItem = {
@@ -486,14 +491,15 @@ export function SiteFavicon({
function IssueStateBadge({ closed }: { closed: boolean }) {
return (
-
- {closed ? 'Closed' : 'Not closed'}
+ {closed ? (
+
+ ) : (
+
+ )}
+ {closed ? 'Closed' : 'Open'}
)
}
@@ -501,14 +507,15 @@ function IssueStateBadge({ closed }: { closed: boolean }) {
function PRStateBadge({ merged }: { merged: boolean }) {
return (
-
- {merged ? 'Merged' : 'Not merged'}
+ {merged ? (
+
+ ) : (
+
+ )}
+ {merged ? 'Merged' : 'Open'}
)
}
diff --git a/ee/tabby-ui/components/ui/icons.tsx b/ee/tabby-ui/components/ui/icons.tsx
index 10d0a4297bf..6a118e352a5 100644
--- a/ee/tabby-ui/components/ui/icons.tsx
+++ b/ee/tabby-ui/components/ui/icons.tsx
@@ -13,7 +13,6 @@ import {
CaseSensitive,
ChevronsDownUp,
CircleAlert,
- CircleCheck,
CircleDot,
CircleHelp,
CirclePlay,
@@ -23,6 +22,7 @@ import {
FileText,
Filter,
GitFork,
+ GitMerge,
GitPullRequest,
Globe,
Hash,
@@ -1715,18 +1715,18 @@ function IconCircleDot({
return
}
-function IconCircleCheck({
+function IconGitPullRequest({
className,
...props
-}: React.ComponentProps) {
- return
+}: React.ComponentProps) {
+ return
}
-function IconGitPullRequest({
+function IconGitMerge({
className,
...props
-}: React.ComponentProps) {
- return
+}: React.ComponentProps) {
+ return
}
export {
@@ -1839,5 +1839,5 @@ export {
IconEyeOff,
IconCircleDot,
IconGitPullRequest,
- IconCircleCheck
+ IconGitMerge
}