@parallelworks/tandem-web 0.155.2 → 0.157.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/_virtual/_virtual_i18n/en/common.js +64 -1
- package/_virtual/_virtual_i18n/es/common.js +64 -1
- package/_virtual/_virtual_i18n/ja/common.js +64 -1
- package/_virtual/_virtual_i18n/ko/common.js +64 -1
- package/_virtual/_virtual_i18n/zh/common.js +64 -1
- package/api/queries.js +61 -6
- package/components/IssueIntercom.js +61 -0
- package/components/IssueSentry.js +81 -0
- package/components/SettingsNav.js +83 -73
- package/components/icons.js +7 -7
- package/package.json +1 -1
- package/routeTree.gen.js +191 -179
- package/routes/_workspace/issues/_identifier2.js +104 -94
- package/routes/_workspace/settings/intercom.js +6 -0
- package/routes/_workspace/settings/intercom2.js +97 -0
- package/routes/_workspace/settings/intercom3.js +4 -0
- package/routes/_workspace/settings/sentry.js +6 -0
- package/routes/_workspace/settings/sentry2.js +152 -0
- package/routes/_workspace/settings/sentry3.js +4 -0
|
@@ -120,7 +120,9 @@ var e = {
|
|
|
120
120
|
roles: "Roles",
|
|
121
121
|
gitlab: "GitLab",
|
|
122
122
|
parallelWorks: "Parallel Works",
|
|
123
|
-
fields: "Fields"
|
|
123
|
+
fields: "Fields",
|
|
124
|
+
sentry: "Sentry",
|
|
125
|
+
intercom: "Intercom"
|
|
124
126
|
},
|
|
125
127
|
account: {
|
|
126
128
|
connectionsDescription: "Accounts elsewhere that are yours. Linking one lets what you do there show as you here.",
|
|
@@ -3788,6 +3790,67 @@ var e = {
|
|
|
3788
3790
|
solved: "Solved",
|
|
3789
3791
|
closed: "Closed"
|
|
3790
3792
|
}
|
|
3793
|
+
},
|
|
3794
|
+
sentry: {
|
|
3795
|
+
pageDescription: "Turn Sentry errors into issues, and see on each issue how often its errors happen.",
|
|
3796
|
+
notConfigured: "The platform Tandem runs in has no Sentry integration set up.",
|
|
3797
|
+
description: "File and link issues from Sentry errors",
|
|
3798
|
+
managedByHost: "The platform Tandem runs in connects Sentry, so it’s connected and disconnected there. Tandem keeps no Sentry token.",
|
|
3799
|
+
openSettings: "Open Sentry settings",
|
|
3800
|
+
notConnected: "Not connected",
|
|
3801
|
+
connectedTo: "Connected to {organization} by {person} on {date}",
|
|
3802
|
+
resolveTitle: "Resolve in Sentry",
|
|
3803
|
+
resolveDescription: "When an issue in these teams is completed, its Sentry issues are resolved. A regression in Sentry reopens the issue either way.",
|
|
3804
|
+
resolveTeam: "Resolve Sentry issues when {team} completes an issue",
|
|
3805
|
+
projectsTitle: "Monitored projects",
|
|
3806
|
+
projectsDescription: "The Sentry organization’s projects, what each one monitors, and the repositories its errors come from. A project can map to several repositories, and a repository to several projects.",
|
|
3807
|
+
projectsLoading: "Loading projects from Sentry…",
|
|
3808
|
+
projectsUnavailable: "Sentry couldn’t be reached to list its projects. Try again later.",
|
|
3809
|
+
noProjects: "The Sentry organization has no projects yet.",
|
|
3810
|
+
unknownPlatform: "unknown platform",
|
|
3811
|
+
projectRepositories: "Repositories for {project}",
|
|
3812
|
+
chooseRepositories: "Choose repositories",
|
|
3813
|
+
noRepositories: "Link a repository to a team first",
|
|
3814
|
+
howTitle: "How it works",
|
|
3815
|
+
howFile: "On a Sentry issue, choose Create Tandem issue or Link Tandem issue. The new issue goes to the team’s triage with the error’s summary and a link.",
|
|
3816
|
+
howAlert: "An alert rule can file issues too: pick a team in its Tandem action. An error that already has an issue doesn’t get a second one.",
|
|
3817
|
+
howIssue: "The issue lists its Sentry errors with how many times each happened, to how many people, and when it was first and last seen.",
|
|
3818
|
+
howRegress: "When a resolved error comes back in Sentry, the issue reopens and its assignees hear about it.",
|
|
3819
|
+
issueSection: "Sentry",
|
|
3820
|
+
events: "{count, plural, one {# event} other {# events}}",
|
|
3821
|
+
users: "{count, plural, one {# user} other {# users}}",
|
|
3822
|
+
lastSeen: "last seen {when}",
|
|
3823
|
+
firstSeen: "first seen {when}",
|
|
3824
|
+
status: {
|
|
3825
|
+
unresolved: "Unresolved",
|
|
3826
|
+
resolved: "Resolved",
|
|
3827
|
+
ignored: "Ignored"
|
|
3828
|
+
}
|
|
3829
|
+
},
|
|
3830
|
+
intercom: {
|
|
3831
|
+
pageDescription: "Turn Intercom conversations into issues, and let support tell customers when the fix ships.",
|
|
3832
|
+
notConfigured: "The platform Tandem runs in has no Intercom app set up.",
|
|
3833
|
+
description: "File and link issues from Intercom conversations",
|
|
3834
|
+
managedByHost: "The platform Tandem runs in connects Intercom, so it’s connected and disconnected there. Tandem keeps no Intercom token.",
|
|
3835
|
+
openSettings: "Open Intercom settings",
|
|
3836
|
+
notConnected: "Not connected",
|
|
3837
|
+
connectedTo: "Connected to {account} by {person} on {date}",
|
|
3838
|
+
reopenTitle: "Reopen conversations",
|
|
3839
|
+
reopenDescription: "When an issue in these teams is done or canceled, its conversations reopen as well as getting a note. Other teams only add the note.",
|
|
3840
|
+
reopenTeam: "Reopen Intercom conversations when {team} closes an issue",
|
|
3841
|
+
howTitle: "How it works",
|
|
3842
|
+
howFile: "In the Tandem inbox app on a conversation, create an issue prefilled with the start of the transcript, or link an existing one. A new issue goes to the team’s triage.",
|
|
3843
|
+
howSidebar: "The inbox app lists the conversation’s issues with their status, assignees and cycle.",
|
|
3844
|
+
howIssue: "The issue lists its conversations, and each contact’s company, or the contact, counts as a customer who asked, when the team records customer requests.",
|
|
3845
|
+
howClose: "When the issue is done or canceled, every linked conversation gets a note for the teammate so they can reply.",
|
|
3846
|
+
howPeople: "Teammates whose email matches a member’s act as that member. Anyone else acts for the person who connected Intercom, with their name.",
|
|
3847
|
+
issueSection: "Intercom conversations",
|
|
3848
|
+
contactAt: "{contact} at {company}",
|
|
3849
|
+
status: {
|
|
3850
|
+
open: "Open",
|
|
3851
|
+
snoozed: "Snoozed",
|
|
3852
|
+
closed: "Closed"
|
|
3853
|
+
}
|
|
3791
3854
|
}
|
|
3792
3855
|
};
|
|
3793
3856
|
export { e as default };
|
|
@@ -120,7 +120,9 @@ var e = {
|
|
|
120
120
|
roles: "Roles",
|
|
121
121
|
gitlab: "GitLab",
|
|
122
122
|
parallelWorks: "Parallel Works",
|
|
123
|
-
fields: "Campos"
|
|
123
|
+
fields: "Campos",
|
|
124
|
+
sentry: "Sentry",
|
|
125
|
+
intercom: "Intercom"
|
|
124
126
|
},
|
|
125
127
|
account: {
|
|
126
128
|
connectionsDescription: "Tus cuentas en otros servicios. Al vincular una, lo que haces allí aparece como tuyo aquí.",
|
|
@@ -3788,6 +3790,67 @@ var e = {
|
|
|
3788
3790
|
solved: "Resuelto",
|
|
3789
3791
|
closed: "Cerrado"
|
|
3790
3792
|
}
|
|
3793
|
+
},
|
|
3794
|
+
sentry: {
|
|
3795
|
+
pageDescription: "Convierte los errores de Sentry en incidencias y mira en cada incidencia con qué frecuencia ocurren sus errores.",
|
|
3796
|
+
notConfigured: "La plataforma en la que se ejecuta Tandem no tiene configurada una integración con Sentry.",
|
|
3797
|
+
description: "Crea y vincula incidencias desde errores de Sentry",
|
|
3798
|
+
managedByHost: "La plataforma en la que se ejecuta Tandem conecta Sentry, así que se conecta y desconecta allí. Tandem no guarda ningún token de Sentry.",
|
|
3799
|
+
openSettings: "Abrir la configuración de Sentry",
|
|
3800
|
+
notConnected: "No conectado",
|
|
3801
|
+
connectedTo: "Conectado a {organization} por {person} el {date}",
|
|
3802
|
+
resolveTitle: "Resolver en Sentry",
|
|
3803
|
+
resolveDescription: "Cuando se completa una incidencia de estos equipos, sus incidencias de Sentry se resuelven. Una regresión en Sentry reabre la incidencia en cualquier caso.",
|
|
3804
|
+
resolveTeam: "Resolver las incidencias de Sentry cuando {team} complete una incidencia",
|
|
3805
|
+
projectsTitle: "Proyectos monitorizados",
|
|
3806
|
+
projectsDescription: "Los proyectos de la organización de Sentry, qué monitoriza cada uno y los repositorios de los que vienen sus errores. Un proyecto puede corresponder a varios repositorios, y un repositorio a varios proyectos.",
|
|
3807
|
+
projectsLoading: "Cargando proyectos de Sentry…",
|
|
3808
|
+
projectsUnavailable: "No se pudo contactar con Sentry para listar sus proyectos. Inténtalo más tarde.",
|
|
3809
|
+
noProjects: "La organización de Sentry aún no tiene proyectos.",
|
|
3810
|
+
unknownPlatform: "plataforma desconocida",
|
|
3811
|
+
projectRepositories: "Repositorios de {project}",
|
|
3812
|
+
chooseRepositories: "Elegir repositorios",
|
|
3813
|
+
noRepositories: "Primero vincula un repositorio a un equipo",
|
|
3814
|
+
howTitle: "Cómo funciona",
|
|
3815
|
+
howFile: "En una incidencia de Sentry, elige Crear incidencia de Tandem o Vincular incidencia de Tandem. La nueva incidencia va a la clasificación del equipo con el resumen del error y un enlace.",
|
|
3816
|
+
howAlert: "Una regla de alerta también puede crear incidencias: elige un equipo en su acción de Tandem. Un error que ya tiene una incidencia no recibe otra.",
|
|
3817
|
+
howIssue: "La incidencia muestra sus errores de Sentry con cuántas veces ocurrió cada uno, a cuántas personas y cuándo se vio por primera y última vez.",
|
|
3818
|
+
howRegress: "Cuando un error resuelto vuelve, Sentry reabre la incidencia y sus responsables reciben un aviso.",
|
|
3819
|
+
issueSection: "Sentry",
|
|
3820
|
+
events: "{count, plural, one {# evento} other {# eventos}}",
|
|
3821
|
+
users: "{count, plural, one {# usuario} other {# usuarios}}",
|
|
3822
|
+
lastSeen: "visto por última vez {when}",
|
|
3823
|
+
firstSeen: "visto por primera vez {when}",
|
|
3824
|
+
status: {
|
|
3825
|
+
unresolved: "Sin resolver",
|
|
3826
|
+
resolved: "Resuelto",
|
|
3827
|
+
ignored: "Ignorado"
|
|
3828
|
+
}
|
|
3829
|
+
},
|
|
3830
|
+
intercom: {
|
|
3831
|
+
pageDescription: "Convierte las conversaciones de Intercom en incidencias y deja que soporte avise a los clientes cuando salga la solución.",
|
|
3832
|
+
notConfigured: "La plataforma en la que se ejecuta Tandem no tiene configurada una app de Intercom.",
|
|
3833
|
+
description: "Crea y vincula incidencias desde conversaciones de Intercom",
|
|
3834
|
+
managedByHost: "La plataforma en la que se ejecuta Tandem conecta Intercom, así que se conecta y desconecta allí. Tandem no guarda ningún token de Intercom.",
|
|
3835
|
+
openSettings: "Abrir ajustes de Intercom",
|
|
3836
|
+
notConnected: "No conectado",
|
|
3837
|
+
connectedTo: "Conectado a {account} por {person} el {date}",
|
|
3838
|
+
reopenTitle: "Reabrir conversaciones",
|
|
3839
|
+
reopenDescription: "Cuando una incidencia de estos equipos se completa o se cancela, sus conversaciones se reabren además de recibir una nota. Los demás equipos solo añaden la nota.",
|
|
3840
|
+
reopenTeam: "Reabrir las conversaciones de Intercom cuando {team} cierra una incidencia",
|
|
3841
|
+
howTitle: "Cómo funciona",
|
|
3842
|
+
howFile: "En la app de Tandem de la bandeja de una conversación, crea una incidencia con el inicio de la transcripción, o vincula una existente. Una incidencia nueva va a la clasificación del equipo.",
|
|
3843
|
+
howSidebar: "La app de la bandeja lista las incidencias de la conversación con su estado, responsables y ciclo.",
|
|
3844
|
+
howIssue: "La incidencia lista sus conversaciones, y la empresa de cada contacto, o el contacto, cuenta como un cliente que la pidió, si el equipo registra solicitudes de clientes.",
|
|
3845
|
+
howClose: "Cuando la incidencia se completa o se cancela, cada conversación vinculada recibe una nota para el agente, para que pueda responder.",
|
|
3846
|
+
howPeople: "Los agentes cuyo correo coincide con el de un miembro actúan como ese miembro. Los demás actúan en nombre de quien conectó Intercom, con su nombre.",
|
|
3847
|
+
issueSection: "Conversaciones de Intercom",
|
|
3848
|
+
contactAt: "{contact} de {company}",
|
|
3849
|
+
status: {
|
|
3850
|
+
open: "Abierta",
|
|
3851
|
+
snoozed: "Pospuesta",
|
|
3852
|
+
closed: "Cerrada"
|
|
3853
|
+
}
|
|
3791
3854
|
}
|
|
3792
3855
|
};
|
|
3793
3856
|
export { e as default };
|
|
@@ -120,7 +120,9 @@ var e = {
|
|
|
120
120
|
roles: "ロール",
|
|
121
121
|
gitlab: "GitLab",
|
|
122
122
|
parallelWorks: "Parallel Works",
|
|
123
|
-
fields: "フィールド"
|
|
123
|
+
fields: "フィールド",
|
|
124
|
+
sentry: "Sentry",
|
|
125
|
+
intercom: "Intercom"
|
|
124
126
|
},
|
|
125
127
|
account: {
|
|
126
128
|
connectionsDescription: "他のサービスにあるあなたのアカウント。リンクすると、そこでの操作がここであなたとして表示されます。",
|
|
@@ -3788,6 +3790,67 @@ var e = {
|
|
|
3788
3790
|
solved: "解決済み",
|
|
3789
3791
|
closed: "終了"
|
|
3790
3792
|
}
|
|
3793
|
+
},
|
|
3794
|
+
sentry: {
|
|
3795
|
+
pageDescription: "Sentry のエラーを課題にし、各課題でそのエラーの発生頻度を確認できます。",
|
|
3796
|
+
notConfigured: "Tandem を実行しているプラットフォームに Sentry 連携が設定されていません。",
|
|
3797
|
+
description: "Sentry のエラーから課題を作成・リンクします",
|
|
3798
|
+
managedByHost: "Sentry は Tandem を実行しているプラットフォームが接続するため、接続と切断はそちらで行います。Tandem は Sentry のトークンを保持しません。",
|
|
3799
|
+
openSettings: "Sentry の設定を開く",
|
|
3800
|
+
notConnected: "未接続",
|
|
3801
|
+
connectedTo: "{date} に {person} が {organization} に接続しました",
|
|
3802
|
+
resolveTitle: "Sentry で解決する",
|
|
3803
|
+
resolveDescription: "これらのチームの課題が完了すると、その Sentry の課題が解決されます。Sentry で再発した場合は、どちらの設定でも課題が再オープンされます。",
|
|
3804
|
+
resolveTeam: "{team} が課題を完了したら Sentry の課題を解決する",
|
|
3805
|
+
projectsTitle: "監視中のプロジェクト",
|
|
3806
|
+
projectsDescription: "Sentry 組織のプロジェクト、それぞれが監視しているもの、そしてエラーの発生元のリポジトリです。1 つのプロジェクトを複数のリポジトリに、1 つのリポジトリを複数のプロジェクトに対応付けられます。",
|
|
3807
|
+
projectsLoading: "Sentry からプロジェクトを読み込んでいます…",
|
|
3808
|
+
projectsUnavailable: "Sentry に接続できず、プロジェクトを一覧できませんでした。後でもう一度お試しください。",
|
|
3809
|
+
noProjects: "この Sentry 組織にはまだプロジェクトがありません。",
|
|
3810
|
+
unknownPlatform: "不明なプラットフォーム",
|
|
3811
|
+
projectRepositories: "{project} のリポジトリ",
|
|
3812
|
+
chooseRepositories: "リポジトリを選択",
|
|
3813
|
+
noRepositories: "まずチームにリポジトリをリンクしてください",
|
|
3814
|
+
howTitle: "仕組み",
|
|
3815
|
+
howFile: "Sentry の課題で「Tandem の課題を作成」または「Tandem の課題をリンク」を選びます。新しい課題はエラーの概要とリンク付きでチームのトリアージに入ります。",
|
|
3816
|
+
howAlert: "アラートルールでも課題を作成できます。Tandem アクションでチームを選んでください。すでに課題があるエラーには、2 つ目の課題は作成されません。",
|
|
3817
|
+
howIssue: "課題には Sentry のエラーが一覧表示され、それぞれの発生回数、影響を受けた人数、初回と最終の検出日時がわかります。",
|
|
3818
|
+
howRegress: "解決済みのエラーが再発すると、Sentry が課題を再オープンし、担当者に通知されます。",
|
|
3819
|
+
issueSection: "Sentry",
|
|
3820
|
+
events: "{count, plural, other {# 件のイベント}}",
|
|
3821
|
+
users: "{count, plural, other {# 人のユーザー}}",
|
|
3822
|
+
lastSeen: "最終検出 {when}",
|
|
3823
|
+
firstSeen: "初回検出 {when}",
|
|
3824
|
+
status: {
|
|
3825
|
+
unresolved: "未解決",
|
|
3826
|
+
resolved: "解決済み",
|
|
3827
|
+
ignored: "無視"
|
|
3828
|
+
}
|
|
3829
|
+
},
|
|
3830
|
+
intercom: {
|
|
3831
|
+
pageDescription: "Intercom の会話を課題にし、修正がリリースされたらサポートが顧客に伝えられるようにします。",
|
|
3832
|
+
notConfigured: "Tandem が動作しているプラットフォームには Intercom アプリが設定されていません。",
|
|
3833
|
+
description: "Intercom の会話から課題を作成・リンク",
|
|
3834
|
+
managedByHost: "Intercom は Tandem が動作しているプラットフォームで接続されるため、接続と切断はそちらで行います。Tandem は Intercom のトークンを保存しません。",
|
|
3835
|
+
openSettings: "Intercom の設定を開く",
|
|
3836
|
+
notConnected: "未接続",
|
|
3837
|
+
connectedTo: "{date} に {person} が {account} に接続",
|
|
3838
|
+
reopenTitle: "会話を再オープン",
|
|
3839
|
+
reopenDescription: "これらのチームの課題が完了またはキャンセルされると、会話にメモが追加され、再オープンもされます。その他のチームはメモのみ追加します。",
|
|
3840
|
+
reopenTeam: "{team} が課題を閉じたら Intercom の会話を再オープン",
|
|
3841
|
+
howTitle: "仕組み",
|
|
3842
|
+
howFile: "会話の Tandem 受信トレイアプリで、やり取りの冒頭を入れた課題を作成するか、既存の課題をリンクします。新しい課題はチームのトリアージに入ります。",
|
|
3843
|
+
howSidebar: "受信トレイアプリには、会話の課題がステータス、担当者、サイクルとともに一覧表示されます。",
|
|
3844
|
+
howIssue: "課題には会話が一覧表示され、チームが顧客リクエストを記録している場合、各連絡先の会社、または連絡先が依頼した顧客として数えられます。",
|
|
3845
|
+
howClose: "課題が完了またはキャンセルされると、リンクされたすべての会話に担当者向けのメモが追加され、返信できます。",
|
|
3846
|
+
howPeople: "メールアドレスがメンバーと一致するチームメイトは、そのメンバーとして操作します。それ以外の人は、Intercom を接続した人の代わりに自分の名前で操作します。",
|
|
3847
|
+
issueSection: "Intercom の会話",
|
|
3848
|
+
contactAt: "{company} の {contact}",
|
|
3849
|
+
status: {
|
|
3850
|
+
open: "オープン",
|
|
3851
|
+
snoozed: "スヌーズ中",
|
|
3852
|
+
closed: "クローズ"
|
|
3853
|
+
}
|
|
3791
3854
|
}
|
|
3792
3855
|
};
|
|
3793
3856
|
export { e as default };
|
|
@@ -120,7 +120,9 @@ var e = {
|
|
|
120
120
|
roles: "역할",
|
|
121
121
|
gitlab: "GitLab",
|
|
122
122
|
parallelWorks: "Parallel Works",
|
|
123
|
-
fields: "필드"
|
|
123
|
+
fields: "필드",
|
|
124
|
+
sentry: "Sentry",
|
|
125
|
+
intercom: "Intercom"
|
|
124
126
|
},
|
|
125
127
|
account: {
|
|
126
128
|
connectionsDescription: "다른 서비스에 있는 내 계정입니다. 연결하면 그곳에서 한 일이 여기에 내 이름으로 표시됩니다.",
|
|
@@ -3788,6 +3790,67 @@ var e = {
|
|
|
3788
3790
|
solved: "해결됨",
|
|
3789
3791
|
closed: "종료됨"
|
|
3790
3792
|
}
|
|
3793
|
+
},
|
|
3794
|
+
sentry: {
|
|
3795
|
+
pageDescription: "Sentry 오류를 이슈로 만들고, 각 이슈에서 오류가 얼마나 자주 발생하는지 확인하세요.",
|
|
3796
|
+
notConfigured: "Tandem이 실행되는 플랫폼에 Sentry 연동이 설정되어 있지 않습니다.",
|
|
3797
|
+
description: "Sentry 오류에서 이슈를 만들고 연결합니다",
|
|
3798
|
+
managedByHost: "Sentry는 Tandem이 실행되는 플랫폼이 연결하므로 연결과 해제는 그곳에서 합니다. Tandem은 Sentry 토큰을 보관하지 않습니다.",
|
|
3799
|
+
openSettings: "Sentry 설정 열기",
|
|
3800
|
+
notConnected: "연결되지 않음",
|
|
3801
|
+
connectedTo: "{date}에 {person}님이 {organization}에 연결함",
|
|
3802
|
+
resolveTitle: "Sentry에서 해결",
|
|
3803
|
+
resolveDescription: "이 팀의 이슈가 완료되면 연결된 Sentry 이슈가 해결됩니다. Sentry에서 회귀가 발생하면 설정과 관계없이 이슈가 다시 열립니다.",
|
|
3804
|
+
resolveTeam: "{team}에서 이슈를 완료하면 Sentry 이슈 해결",
|
|
3805
|
+
projectsTitle: "모니터링 중인 프로젝트",
|
|
3806
|
+
projectsDescription: "Sentry 조직의 프로젝트, 각 프로젝트가 모니터링하는 대상, 그리고 오류가 발생하는 저장소입니다. 하나의 프로젝트를 여러 저장소에, 하나의 저장소를 여러 프로젝트에 연결할 수 있습니다.",
|
|
3807
|
+
projectsLoading: "Sentry에서 프로젝트를 불러오는 중…",
|
|
3808
|
+
projectsUnavailable: "Sentry에 연결할 수 없어 프로젝트를 나열하지 못했습니다. 나중에 다시 시도하세요.",
|
|
3809
|
+
noProjects: "이 Sentry 조직에는 아직 프로젝트가 없습니다.",
|
|
3810
|
+
unknownPlatform: "알 수 없는 플랫폼",
|
|
3811
|
+
projectRepositories: "{project}의 저장소",
|
|
3812
|
+
chooseRepositories: "저장소 선택",
|
|
3813
|
+
noRepositories: "먼저 팀에 저장소를 연결하세요",
|
|
3814
|
+
howTitle: "작동 방식",
|
|
3815
|
+
howFile: "Sentry 이슈에서 Tandem 이슈 만들기 또는 Tandem 이슈 연결을 선택하세요. 새 이슈는 오류 요약과 링크와 함께 팀의 분류함으로 갑니다.",
|
|
3816
|
+
howAlert: "알림 규칙도 이슈를 만들 수 있습니다. Tandem 작업에서 팀을 고르세요. 이미 이슈가 있는 오류에는 두 번째 이슈가 생기지 않습니다.",
|
|
3817
|
+
howIssue: "이슈에는 Sentry 오류가 표시되며, 각각 몇 번 발생했는지, 몇 명에게 발생했는지, 처음과 마지막으로 본 시점을 알 수 있습니다.",
|
|
3818
|
+
howRegress: "해결된 오류가 다시 발생하면 Sentry가 이슈를 다시 열고 담당자에게 알립니다.",
|
|
3819
|
+
issueSection: "Sentry",
|
|
3820
|
+
events: "{count, plural, other {이벤트 #건}}",
|
|
3821
|
+
users: "{count, plural, other {사용자 #명}}",
|
|
3822
|
+
lastSeen: "마지막 발생 {when}",
|
|
3823
|
+
firstSeen: "처음 발생 {when}",
|
|
3824
|
+
status: {
|
|
3825
|
+
unresolved: "미해결",
|
|
3826
|
+
resolved: "해결됨",
|
|
3827
|
+
ignored: "무시됨"
|
|
3828
|
+
}
|
|
3829
|
+
},
|
|
3830
|
+
intercom: {
|
|
3831
|
+
pageDescription: "Intercom 대화를 이슈로 만들고, 수정이 배포되면 지원팀이 고객에게 알릴 수 있게 합니다.",
|
|
3832
|
+
notConfigured: "Tandem이 실행되는 플랫폼에 Intercom 앱이 설정되어 있지 않습니다.",
|
|
3833
|
+
description: "Intercom 대화에서 이슈 생성 및 연결",
|
|
3834
|
+
managedByHost: "Intercom은 Tandem이 실행되는 플랫폼에서 연결하므로, 연결과 해제도 그곳에서 합니다. Tandem은 Intercom 토큰을 저장하지 않습니다.",
|
|
3835
|
+
openSettings: "Intercom 설정 열기",
|
|
3836
|
+
notConnected: "연결되지 않음",
|
|
3837
|
+
connectedTo: "{date}에 {person}님이 {account}에 연결함",
|
|
3838
|
+
reopenTitle: "대화 다시 열기",
|
|
3839
|
+
reopenDescription: "이 팀들의 이슈가 완료되거나 취소되면 대화에 메모가 추가되고 대화도 다시 열립니다. 다른 팀은 메모만 추가합니다.",
|
|
3840
|
+
reopenTeam: "{team}이(가) 이슈를 닫으면 Intercom 대화 다시 열기",
|
|
3841
|
+
howTitle: "작동 방식",
|
|
3842
|
+
howFile: "대화의 Tandem 받은편지함 앱에서 대화 앞부분이 채워진 이슈를 만들거나 기존 이슈를 연결합니다. 새 이슈는 팀의 분류함으로 갑니다.",
|
|
3843
|
+
howSidebar: "받은편지함 앱에는 대화의 이슈가 상태, 담당자, 사이클과 함께 표시됩니다.",
|
|
3844
|
+
howIssue: "이슈에는 대화 목록이 표시되며, 팀이 고객 요청을 기록하는 경우 각 연락처의 회사나 연락처가 요청한 고객으로 집계됩니다.",
|
|
3845
|
+
howClose: "이슈가 완료되거나 취소되면 연결된 모든 대화에 팀원용 메모가 추가되어 답변할 수 있습니다.",
|
|
3846
|
+
howPeople: "이메일이 멤버와 일치하는 팀원은 그 멤버로 작업합니다. 그 외의 사람은 Intercom을 연결한 사람을 대신해 자신의 이름으로 작업합니다.",
|
|
3847
|
+
issueSection: "Intercom 대화",
|
|
3848
|
+
contactAt: "{company}의 {contact}",
|
|
3849
|
+
status: {
|
|
3850
|
+
open: "열림",
|
|
3851
|
+
snoozed: "다시 알림",
|
|
3852
|
+
closed: "종료됨"
|
|
3853
|
+
}
|
|
3791
3854
|
}
|
|
3792
3855
|
};
|
|
3793
3856
|
export { e as default };
|
|
@@ -120,7 +120,9 @@ var e = {
|
|
|
120
120
|
roles: "角色",
|
|
121
121
|
gitlab: "GitLab",
|
|
122
122
|
parallelWorks: "Parallel Works",
|
|
123
|
-
fields: "字段"
|
|
123
|
+
fields: "字段",
|
|
124
|
+
sentry: "Sentry",
|
|
125
|
+
intercom: "Intercom"
|
|
124
126
|
},
|
|
125
127
|
account: {
|
|
126
128
|
connectionsDescription: "你在其他服务上的账户。关联后,你在那里的操作会以你的身份显示在这里。",
|
|
@@ -3788,6 +3790,67 @@ var e = {
|
|
|
3788
3790
|
solved: "已解决",
|
|
3789
3791
|
closed: "已关闭"
|
|
3790
3792
|
}
|
|
3793
|
+
},
|
|
3794
|
+
sentry: {
|
|
3795
|
+
pageDescription: "把 Sentry 错误变成议题,并在每个议题上查看其错误发生的频率。",
|
|
3796
|
+
notConfigured: "运行 Tandem 的平台尚未设置 Sentry 集成。",
|
|
3797
|
+
description: "从 Sentry 错误创建和关联议题",
|
|
3798
|
+
managedByHost: "Sentry 由运行 Tandem 的平台连接,因此在那里连接和断开。Tandem 不保存任何 Sentry 令牌。",
|
|
3799
|
+
openSettings: "打开 Sentry 设置",
|
|
3800
|
+
notConnected: "未连接",
|
|
3801
|
+
connectedTo: "{person} 于 {date} 连接到 {organization}",
|
|
3802
|
+
resolveTitle: "在 Sentry 中解决",
|
|
3803
|
+
resolveDescription: "这些团队的议题完成后,其 Sentry 议题会被解决。无论是否开启,Sentry 中的回归都会重新打开议题。",
|
|
3804
|
+
resolveTeam: "{team} 完成议题时解决 Sentry 议题",
|
|
3805
|
+
projectsTitle: "监控的项目",
|
|
3806
|
+
projectsDescription: "Sentry 组织的项目、每个项目监控的内容,以及其错误来自的代码仓库。一个项目可以对应多个仓库,一个仓库也可以对应多个项目。",
|
|
3807
|
+
projectsLoading: "正在从 Sentry 加载项目…",
|
|
3808
|
+
projectsUnavailable: "无法连接 Sentry 来列出其项目。请稍后再试。",
|
|
3809
|
+
noProjects: "该 Sentry 组织还没有项目。",
|
|
3810
|
+
unknownPlatform: "未知平台",
|
|
3811
|
+
projectRepositories: "{project} 的仓库",
|
|
3812
|
+
chooseRepositories: "选择仓库",
|
|
3813
|
+
noRepositories: "请先将仓库关联到团队",
|
|
3814
|
+
howTitle: "工作方式",
|
|
3815
|
+
howFile: "在 Sentry 议题上选择“创建 Tandem 议题”或“关联 Tandem 议题”。新议题会带着错误摘要和链接进入团队的分诊。",
|
|
3816
|
+
howAlert: "告警规则也可以创建议题:在其 Tandem 操作中选择一个团队。已有议题的错误不会再创建第二个。",
|
|
3817
|
+
howIssue: "议题会列出其 Sentry 错误,显示每个错误发生的次数、影响的人数,以及首次和最近一次出现的时间。",
|
|
3818
|
+
howRegress: "已解决的错误再次出现时,Sentry 会重新打开议题,并通知其负责人。",
|
|
3819
|
+
issueSection: "Sentry",
|
|
3820
|
+
events: "{count, plural, other {# 个事件}}",
|
|
3821
|
+
users: "{count, plural, other {# 位用户}}",
|
|
3822
|
+
lastSeen: "最近出现于 {when}",
|
|
3823
|
+
firstSeen: "首次出现于 {when}",
|
|
3824
|
+
status: {
|
|
3825
|
+
unresolved: "未解决",
|
|
3826
|
+
resolved: "已解决",
|
|
3827
|
+
ignored: "已忽略"
|
|
3828
|
+
}
|
|
3829
|
+
},
|
|
3830
|
+
intercom: {
|
|
3831
|
+
pageDescription: "将 Intercom 会话转为问题,并让支持团队在修复发布时通知客户。",
|
|
3832
|
+
notConfigured: "Tandem 所在的平台尚未设置 Intercom 应用。",
|
|
3833
|
+
description: "从 Intercom 会话创建和关联问题",
|
|
3834
|
+
managedByHost: "Intercom 由 Tandem 所在的平台连接,因此连接和断开都在那里进行。Tandem 不保存任何 Intercom 令牌。",
|
|
3835
|
+
openSettings: "打开 Intercom 设置",
|
|
3836
|
+
notConnected: "未连接",
|
|
3837
|
+
connectedTo: "{person} 于 {date} 连接到 {account}",
|
|
3838
|
+
reopenTitle: "重新打开会话",
|
|
3839
|
+
reopenDescription: "这些团队的问题完成或取消时,其会话除了添加备注外还会重新打开。其他团队只添加备注。",
|
|
3840
|
+
reopenTeam: "{team} 关闭问题时重新打开 Intercom 会话",
|
|
3841
|
+
howTitle: "工作方式",
|
|
3842
|
+
howFile: "在会话的 Tandem 收件箱应用中,创建一个预填了会话开头内容的问题,或关联已有问题。新问题会进入团队的分诊。",
|
|
3843
|
+
howSidebar: "收件箱应用会列出会话的问题及其状态、负责人和周期。",
|
|
3844
|
+
howIssue: "问题会列出其会话;若团队记录客户请求,每个联系人的公司或联系人本身会计为提出请求的客户。",
|
|
3845
|
+
howClose: "问题完成或取消时,每个已关联的会话都会收到一条给客服的备注,方便回复。",
|
|
3846
|
+
howPeople: "邮箱与成员一致的客服以该成员身份操作。其他人代表连接 Intercom 的人操作,并显示自己的名字。",
|
|
3847
|
+
issueSection: "Intercom 会话",
|
|
3848
|
+
contactAt: "{company} 的 {contact}",
|
|
3849
|
+
status: {
|
|
3850
|
+
open: "打开",
|
|
3851
|
+
snoozed: "已延后",
|
|
3852
|
+
closed: "已关闭"
|
|
3853
|
+
}
|
|
3791
3854
|
}
|
|
3792
3855
|
};
|
|
3793
3856
|
export { e as default };
|
package/api/queries.js
CHANGED
|
@@ -1186,7 +1186,7 @@ var Ke = (e) => i({
|
|
|
1186
1186
|
params: h(e, r),
|
|
1187
1187
|
signal: i
|
|
1188
1188
|
}))
|
|
1189
|
-
}),
|
|
1189
|
+
}), Qe = (e, r) => i({
|
|
1190
1190
|
queryKey: [
|
|
1191
1191
|
"workspace",
|
|
1192
1192
|
e,
|
|
@@ -1198,7 +1198,7 @@ var Ke = (e) => i({
|
|
|
1198
1198
|
params: h(e, r),
|
|
1199
1199
|
signal: i
|
|
1200
1200
|
})).links
|
|
1201
|
-
}),
|
|
1201
|
+
}), $e = (e) => i({
|
|
1202
1202
|
queryKey: [
|
|
1203
1203
|
"workspace",
|
|
1204
1204
|
e,
|
|
@@ -1208,7 +1208,7 @@ var Ke = (e) => i({
|
|
|
1208
1208
|
params: s(e),
|
|
1209
1209
|
signal: r
|
|
1210
1210
|
}))
|
|
1211
|
-
}),
|
|
1211
|
+
}), et = (e) => i({
|
|
1212
1212
|
queryKey: [
|
|
1213
1213
|
"workspace",
|
|
1214
1214
|
e,
|
|
@@ -1219,7 +1219,7 @@ var Ke = (e) => i({
|
|
|
1219
1219
|
params: s(e),
|
|
1220
1220
|
signal: r
|
|
1221
1221
|
})).accounts
|
|
1222
|
-
}),
|
|
1222
|
+
}), tt = (e, r) => i({
|
|
1223
1223
|
queryKey: [
|
|
1224
1224
|
"workspace",
|
|
1225
1225
|
e,
|
|
@@ -1234,7 +1234,7 @@ var Ke = (e) => i({
|
|
|
1234
1234
|
} },
|
|
1235
1235
|
signal: i
|
|
1236
1236
|
})).repositories
|
|
1237
|
-
}),
|
|
1237
|
+
}), $ = (e, r) => i({
|
|
1238
1238
|
queryKey: [
|
|
1239
1239
|
"workspace",
|
|
1240
1240
|
e,
|
|
@@ -1359,5 +1359,60 @@ var Ke = (e) => i({
|
|
|
1359
1359
|
} },
|
|
1360
1360
|
signal: i
|
|
1361
1361
|
})).days
|
|
1362
|
+
}), lt = (e) => i({
|
|
1363
|
+
queryKey: [
|
|
1364
|
+
"workspace",
|
|
1365
|
+
e,
|
|
1366
|
+
"sentry"
|
|
1367
|
+
],
|
|
1368
|
+
queryFn: async ({ signal: r }) => n(await t.GET("/api/v1/workspaces/{workspace}/sentry", {
|
|
1369
|
+
params: s(e),
|
|
1370
|
+
signal: r
|
|
1371
|
+
}))
|
|
1372
|
+
}), ut = (e) => i({
|
|
1373
|
+
queryKey: [
|
|
1374
|
+
"workspace",
|
|
1375
|
+
e,
|
|
1376
|
+
"sentry",
|
|
1377
|
+
"projects"
|
|
1378
|
+
],
|
|
1379
|
+
queryFn: async ({ signal: r }) => n(await t.GET("/api/v1/workspaces/{workspace}/sentry/projects", {
|
|
1380
|
+
params: s(e),
|
|
1381
|
+
signal: r
|
|
1382
|
+
}))
|
|
1383
|
+
}), dt = (e, r) => i({
|
|
1384
|
+
queryKey: [
|
|
1385
|
+
"workspace",
|
|
1386
|
+
e,
|
|
1387
|
+
"issues",
|
|
1388
|
+
r.toUpperCase(),
|
|
1389
|
+
"sentry"
|
|
1390
|
+
],
|
|
1391
|
+
queryFn: async ({ signal: i }) => n(await t.GET("/api/v1/workspaces/{workspace}/issues/{identifier}/sentry", {
|
|
1392
|
+
params: h(e, r),
|
|
1393
|
+
signal: i
|
|
1394
|
+
}))
|
|
1395
|
+
}), ft = (e) => i({
|
|
1396
|
+
queryKey: [
|
|
1397
|
+
"workspace",
|
|
1398
|
+
e,
|
|
1399
|
+
"intercom"
|
|
1400
|
+
],
|
|
1401
|
+
queryFn: async ({ signal: r }) => n(await t.GET("/api/v1/workspaces/{workspace}/intercom", {
|
|
1402
|
+
params: s(e),
|
|
1403
|
+
signal: r
|
|
1404
|
+
}))
|
|
1405
|
+
}), pt = (e, r) => i({
|
|
1406
|
+
queryKey: [
|
|
1407
|
+
"workspace",
|
|
1408
|
+
e,
|
|
1409
|
+
"issues",
|
|
1410
|
+
r.toUpperCase(),
|
|
1411
|
+
"intercom"
|
|
1412
|
+
],
|
|
1413
|
+
queryFn: async ({ signal: i }) => n(await t.GET("/api/v1/workspaces/{workspace}/issues/{identifier}/intercom", {
|
|
1414
|
+
params: h(e, r),
|
|
1415
|
+
signal: i
|
|
1416
|
+
}))
|
|
1362
1417
|
});
|
|
1363
|
-
export { U as agentQuery, H as agentsQuery, Ve as allDecisionsQuery, De as areaThreadQuery, Oe as areasQuery, b as attachmentsQuery, ot as auditLogQuery,
|
|
1418
|
+
export { U as agentQuery, H as agentsQuery, Ve as allDecisionsQuery, De as areaThreadQuery, Oe as areasQuery, b as attachmentsQuery, ot as auditLogQuery, $ as availableRepositoriesQuery, it as branchesQuery, et as codeHostAccountsQuery, $e as codeHostQuery, y as commentsQuery, Ee as countsQuery, V as customerRequestsQuery, B as customersQuery, ct as cycleReportQuery, Xe as cyclesQuery, I as dashboardQuery, F as dashboardsQuery, Pe as docBacklinksQuery, me as docCommentsQuery, ae as docDecisionsQuery, ve as docGraphQuery, Me as docIssuesQuery, _e as docQuery, pe as docTemplatesQuery, ge as docVersionQuery, he as docVersionsQuery, fe as docsQuery, x as eventsQuery, se as favoritesQuery, Ge as followQuery, He as githubAccountQuery, We as githubSettingsQuery, A as gitlabQuery, R as groupsQuery, oe as inboxQuery, ft as intercomQuery, ie as issueDecisionsQuery, Ne as issueDocsQuery, pt as issueIntercomQuery, Qe as issueLinksQuery, g as issueQuery, m as issueSearchQuery, dt as issueSentryQuery, d as issueTemplatesQuery, rt as issueZendeskQuery, p as issuesQuery, j as jiraImportQuery, Ie as knowledgeEntryQuery, Re as knowledgeEventsQuery, Ae as knowledgeGraphQuery, Le as knowledgeMentionsQuery, Fe as knowledgeQuery, ne as labelsQuery, M as linearImportQuery, Se as lostSectionsQuery, a as meQuery, we as measuresQuery, u as membersQuery, Be as myAllDecisionsQuery, ze as myDecisionsQuery, z as myModelsQuery, ue as notificationSettingsQuery, le as notificationsQuery, Te as pageLinkQuery, L as panelQuery, q as parallelWorksBucketsQuery, K as parallelWorksQuery, w as peopleQuery, O as permissionsQuery, at as personActivityQuery, re as personCardQuery, k as projectAccessQuery, Je as projectEventsQuery, Q as projectOf, Ye as projectQuery, qe as projectUpdatesQuery, Ke as projectsQuery, o as providersQuery, nt as pullRequestsQuery, de as pushSettingsQuery, v as reactionsQuery, Ze as relatedIssuesQuery, tt as repositoriesQuery, D as rolesQuery, Y as runActivityQuery, Ce as runReadsQuery, J as runnersQuery, X as runsQuery, ut as sentryProjectsQuery, lt as sentryQuery, G as sessionsQuery, ye as shareLinksQuery, xe as sharedDocQuery, be as sharedQuery, N as slackQuery, Ue as ssoQuery, st as statusHistoryQuery, te as statusesQuery, _ as subscriptionQuery, E as teamAccessQuery, S as teamMembersQuery, C as teamRotationQuery, ee as teamsQuery, W as tokensQuery, ke as unfiledQuery, ce as viewsQuery, l as webhooksQuery, T as workspaceAccessQuery, je as workspaceGraphQuery, c as workspaceQuery, P as zendeskQuery };
|
|
@@ -0,0 +1,61 @@
|
|
|
1
|
+
import { issueIntercomQuery as e } from "../api/queries.js";
|
|
2
|
+
import { externalUrl as t } from "../lib/externalUrl.js";
|
|
3
|
+
import { CommentIcon as n } from "./icons.js";
|
|
4
|
+
import { Card as r } from "@parallelworks/ui";
|
|
5
|
+
import { useTranslations as i } from "use-intl";
|
|
6
|
+
import { jsx as a, jsxs as o } from "react/jsx-runtime";
|
|
7
|
+
import { useQuery as s } from "@tanstack/react-query";
|
|
8
|
+
// src/components/IssueIntercom.tsx
|
|
9
|
+
var c = [
|
|
10
|
+
"open",
|
|
11
|
+
"snoozed",
|
|
12
|
+
"closed"
|
|
13
|
+
], l = (e) => c.includes(e);
|
|
14
|
+
function u({ workspace: c, identifier: u }) {
|
|
15
|
+
let d = i("intercom"), { data: f } = s(e(c, u));
|
|
16
|
+
return !f?.enabled || f.links.length === 0 ? null : /* @__PURE__ */ o("section", {
|
|
17
|
+
className: "mt-6",
|
|
18
|
+
"aria-label": d("issueSection"),
|
|
19
|
+
children: [/* @__PURE__ */ o("h2", {
|
|
20
|
+
className: "text-xs font-medium text-muted-foreground",
|
|
21
|
+
children: [d("issueSection"), /* @__PURE__ */ a("span", {
|
|
22
|
+
className: "ml-1.5",
|
|
23
|
+
children: f.links.length
|
|
24
|
+
})]
|
|
25
|
+
}), /* @__PURE__ */ a(r, {
|
|
26
|
+
size: "fill",
|
|
27
|
+
padding: "none",
|
|
28
|
+
divided: !0,
|
|
29
|
+
interactive: !1,
|
|
30
|
+
render: /* @__PURE__ */ a("ul", {}),
|
|
31
|
+
className: "mt-1",
|
|
32
|
+
children: f.links.map((e) => /* @__PURE__ */ a("li", {
|
|
33
|
+
className: "hover:bg-muted",
|
|
34
|
+
children: /* @__PURE__ */ o("a", {
|
|
35
|
+
href: t(e.url),
|
|
36
|
+
target: "_blank",
|
|
37
|
+
rel: "noopener noreferrer",
|
|
38
|
+
className: "flex min-w-0 flex-wrap items-center gap-x-3 gap-y-1 px-3 py-2 text-sm",
|
|
39
|
+
children: [
|
|
40
|
+
/* @__PURE__ */ a(n, { className: "size-4 shrink-0 text-muted-foreground" }),
|
|
41
|
+
/* @__PURE__ */ a("span", {
|
|
42
|
+
className: "min-w-0 flex-1 truncate",
|
|
43
|
+
children: e.title
|
|
44
|
+
}),
|
|
45
|
+
/* @__PURE__ */ o("span", {
|
|
46
|
+
className: "flex w-full flex-wrap items-center gap-x-3 pl-7 text-xs text-muted-foreground sm:w-auto sm:pl-0",
|
|
47
|
+
children: [(e.company || e.contact) && /* @__PURE__ */ a("span", { children: e.company && e.contact ? d("contactAt", {
|
|
48
|
+
contact: e.contact,
|
|
49
|
+
company: e.company
|
|
50
|
+
}) : e.company || e.contact }), /* @__PURE__ */ a("span", {
|
|
51
|
+
className: e.state === "closed" ? "text-success" : "",
|
|
52
|
+
children: d(`status.${l(e.state) ? e.state : "open"}`)
|
|
53
|
+
})]
|
|
54
|
+
})
|
|
55
|
+
]
|
|
56
|
+
})
|
|
57
|
+
}, e.id))
|
|
58
|
+
})]
|
|
59
|
+
});
|
|
60
|
+
}
|
|
61
|
+
export { u as IssueIntercom };
|
|
@@ -0,0 +1,81 @@
|
|
|
1
|
+
import { issueSentryQuery as e } from "../api/queries.js";
|
|
2
|
+
import { externalUrl as t } from "../lib/externalUrl.js";
|
|
3
|
+
import { AlertIcon as n } from "./icons.js";
|
|
4
|
+
import { useTime as r } from "../lib/time.js";
|
|
5
|
+
import { Card as i, TagList as a } from "@parallelworks/ui";
|
|
6
|
+
import { useTranslations as o } from "use-intl";
|
|
7
|
+
import { jsx as s, jsxs as c } from "react/jsx-runtime";
|
|
8
|
+
import { useQuery as l } from "@tanstack/react-query";
|
|
9
|
+
// src/components/IssueSentry.tsx
|
|
10
|
+
var u = {
|
|
11
|
+
fatal: "text-danger",
|
|
12
|
+
error: "text-danger",
|
|
13
|
+
warning: "text-warning"
|
|
14
|
+
};
|
|
15
|
+
function d({ workspace: d, identifier: f }) {
|
|
16
|
+
let p = o("sentry"), m = r(), { data: h } = l(e(d, f));
|
|
17
|
+
return !h?.enabled || h.links.length === 0 ? null : /* @__PURE__ */ c("section", {
|
|
18
|
+
className: "mt-6",
|
|
19
|
+
"aria-label": p("issueSection"),
|
|
20
|
+
children: [/* @__PURE__ */ s("h2", {
|
|
21
|
+
className: "text-xs font-medium text-muted-foreground",
|
|
22
|
+
children: p("issueSection")
|
|
23
|
+
}), /* @__PURE__ */ s(i, {
|
|
24
|
+
size: "fill",
|
|
25
|
+
padding: "none",
|
|
26
|
+
divided: !0,
|
|
27
|
+
interactive: !1,
|
|
28
|
+
render: /* @__PURE__ */ s("ul", {}),
|
|
29
|
+
className: "mt-1",
|
|
30
|
+
children: h.links.map((e) => /* @__PURE__ */ s("li", {
|
|
31
|
+
className: "hover:bg-muted",
|
|
32
|
+
children: /* @__PURE__ */ c("a", {
|
|
33
|
+
href: t(e.url),
|
|
34
|
+
target: "_blank",
|
|
35
|
+
rel: "noopener noreferrer",
|
|
36
|
+
className: "flex min-w-0 flex-wrap items-center gap-x-3 gap-y-1 px-3 py-2 text-sm",
|
|
37
|
+
children: [
|
|
38
|
+
/* @__PURE__ */ s(n, { className: `size-4 shrink-0 ${u[e.level] ?? "text-muted-foreground"}` }),
|
|
39
|
+
/* @__PURE__ */ s("span", {
|
|
40
|
+
className: "shrink-0 text-muted-foreground",
|
|
41
|
+
children: e.shortId || e.project
|
|
42
|
+
}),
|
|
43
|
+
/* @__PURE__ */ s("span", {
|
|
44
|
+
className: "min-w-0 flex-1 truncate",
|
|
45
|
+
children: e.title
|
|
46
|
+
}),
|
|
47
|
+
/* @__PURE__ */ c("span", {
|
|
48
|
+
className: "flex flex-wrap items-center gap-x-3 text-xs text-muted-foreground",
|
|
49
|
+
children: [
|
|
50
|
+
/* @__PURE__ */ s("span", { children: p("events", { count: e.events }) }),
|
|
51
|
+
/* @__PURE__ */ s("span", { children: p("users", { count: e.users }) }),
|
|
52
|
+
e.lastSeen && /* @__PURE__ */ s("span", {
|
|
53
|
+
title: m.full(e.lastSeen),
|
|
54
|
+
children: p("lastSeen", { when: m.relative(e.lastSeen) })
|
|
55
|
+
}),
|
|
56
|
+
e.firstSeen && /* @__PURE__ */ s("span", {
|
|
57
|
+
title: m.full(e.firstSeen),
|
|
58
|
+
className: "hidden sm:inline",
|
|
59
|
+
children: p("firstSeen", { when: m.relative(e.firstSeen) })
|
|
60
|
+
}),
|
|
61
|
+
/* @__PURE__ */ s("span", {
|
|
62
|
+
className: e.status === "resolved" ? "text-success" : "",
|
|
63
|
+
children: p(`status.${e.status === "resolved" || e.status === "ignored" ? e.status : "unresolved"}`)
|
|
64
|
+
})
|
|
65
|
+
]
|
|
66
|
+
}),
|
|
67
|
+
e.repositories.length > 0 && /* @__PURE__ */ s(a, {
|
|
68
|
+
className: "basis-full",
|
|
69
|
+
mono: !0,
|
|
70
|
+
tags: e.repositories.map((e) => ({
|
|
71
|
+
key: e.id,
|
|
72
|
+
label: `${e.owner}/${e.name}`
|
|
73
|
+
}))
|
|
74
|
+
})
|
|
75
|
+
]
|
|
76
|
+
})
|
|
77
|
+
}, e.id))
|
|
78
|
+
})]
|
|
79
|
+
});
|
|
80
|
+
}
|
|
81
|
+
export { d as IssueSentry };
|