@parallelworks/tandem-web 0.155.2 → 0.156.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 +38 -1
- package/_virtual/_virtual_i18n/es/common.js +38 -1
- package/_virtual/_virtual_i18n/ja/common.js +38 -1
- package/_virtual/_virtual_i18n/ko/common.js +38 -1
- package/_virtual/_virtual_i18n/zh/common.js +38 -1
- package/api/queries.js +39 -6
- package/components/IssueSentry.js +81 -0
- package/components/SettingsNav.js +78 -73
- package/components/icons.js +7 -7
- package/package.json +1 -1
- package/routeTree.gen.js +212 -206
- package/routes/_workspace/issues/_identifier2.js +95 -90
- 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,8 @@ var e = {
|
|
|
120
120
|
roles: "Roles",
|
|
121
121
|
gitlab: "GitLab",
|
|
122
122
|
parallelWorks: "Parallel Works",
|
|
123
|
-
fields: "Fields"
|
|
123
|
+
fields: "Fields",
|
|
124
|
+
sentry: "Sentry"
|
|
124
125
|
},
|
|
125
126
|
account: {
|
|
126
127
|
connectionsDescription: "Accounts elsewhere that are yours. Linking one lets what you do there show as you here.",
|
|
@@ -3788,6 +3789,42 @@ var e = {
|
|
|
3788
3789
|
solved: "Solved",
|
|
3789
3790
|
closed: "Closed"
|
|
3790
3791
|
}
|
|
3792
|
+
},
|
|
3793
|
+
sentry: {
|
|
3794
|
+
pageDescription: "Turn Sentry errors into issues, and see on each issue how often its errors happen.",
|
|
3795
|
+
notConfigured: "The platform Tandem runs in has no Sentry integration set up.",
|
|
3796
|
+
description: "File and link issues from Sentry errors",
|
|
3797
|
+
managedByHost: "The platform Tandem runs in connects Sentry, so it’s connected and disconnected there. Tandem keeps no Sentry token.",
|
|
3798
|
+
openSettings: "Open Sentry settings",
|
|
3799
|
+
notConnected: "Not connected",
|
|
3800
|
+
connectedTo: "Connected to {organization} by {person} on {date}",
|
|
3801
|
+
resolveTitle: "Resolve in Sentry",
|
|
3802
|
+
resolveDescription: "When an issue in these teams is completed, its Sentry issues are resolved. A regression in Sentry reopens the issue either way.",
|
|
3803
|
+
resolveTeam: "Resolve Sentry issues when {team} completes an issue",
|
|
3804
|
+
projectsTitle: "Monitored projects",
|
|
3805
|
+
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.",
|
|
3806
|
+
projectsLoading: "Loading projects from Sentry…",
|
|
3807
|
+
projectsUnavailable: "Sentry couldn’t be reached to list its projects. Try again later.",
|
|
3808
|
+
noProjects: "The Sentry organization has no projects yet.",
|
|
3809
|
+
unknownPlatform: "unknown platform",
|
|
3810
|
+
projectRepositories: "Repositories for {project}",
|
|
3811
|
+
chooseRepositories: "Choose repositories",
|
|
3812
|
+
noRepositories: "Link a repository to a team first",
|
|
3813
|
+
howTitle: "How it works",
|
|
3814
|
+
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.",
|
|
3815
|
+
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.",
|
|
3816
|
+
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.",
|
|
3817
|
+
howRegress: "When a resolved error comes back in Sentry, the issue reopens and its assignees hear about it.",
|
|
3818
|
+
issueSection: "Sentry",
|
|
3819
|
+
events: "{count, plural, one {# event} other {# events}}",
|
|
3820
|
+
users: "{count, plural, one {# user} other {# users}}",
|
|
3821
|
+
lastSeen: "last seen {when}",
|
|
3822
|
+
firstSeen: "first seen {when}",
|
|
3823
|
+
status: {
|
|
3824
|
+
unresolved: "Unresolved",
|
|
3825
|
+
resolved: "Resolved",
|
|
3826
|
+
ignored: "Ignored"
|
|
3827
|
+
}
|
|
3791
3828
|
}
|
|
3792
3829
|
};
|
|
3793
3830
|
export { e as default };
|
|
@@ -120,7 +120,8 @@ var e = {
|
|
|
120
120
|
roles: "Roles",
|
|
121
121
|
gitlab: "GitLab",
|
|
122
122
|
parallelWorks: "Parallel Works",
|
|
123
|
-
fields: "Campos"
|
|
123
|
+
fields: "Campos",
|
|
124
|
+
sentry: "Sentry"
|
|
124
125
|
},
|
|
125
126
|
account: {
|
|
126
127
|
connectionsDescription: "Tus cuentas en otros servicios. Al vincular una, lo que haces allí aparece como tuyo aquí.",
|
|
@@ -3788,6 +3789,42 @@ var e = {
|
|
|
3788
3789
|
solved: "Resuelto",
|
|
3789
3790
|
closed: "Cerrado"
|
|
3790
3791
|
}
|
|
3792
|
+
},
|
|
3793
|
+
sentry: {
|
|
3794
|
+
pageDescription: "Convierte los errores de Sentry en incidencias y mira en cada incidencia con qué frecuencia ocurren sus errores.",
|
|
3795
|
+
notConfigured: "La plataforma en la que se ejecuta Tandem no tiene configurada una integración con Sentry.",
|
|
3796
|
+
description: "Crea y vincula incidencias desde errores de Sentry",
|
|
3797
|
+
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.",
|
|
3798
|
+
openSettings: "Abrir la configuración de Sentry",
|
|
3799
|
+
notConnected: "No conectado",
|
|
3800
|
+
connectedTo: "Conectado a {organization} por {person} el {date}",
|
|
3801
|
+
resolveTitle: "Resolver en Sentry",
|
|
3802
|
+
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.",
|
|
3803
|
+
resolveTeam: "Resolver las incidencias de Sentry cuando {team} complete una incidencia",
|
|
3804
|
+
projectsTitle: "Proyectos monitorizados",
|
|
3805
|
+
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.",
|
|
3806
|
+
projectsLoading: "Cargando proyectos de Sentry…",
|
|
3807
|
+
projectsUnavailable: "No se pudo contactar con Sentry para listar sus proyectos. Inténtalo más tarde.",
|
|
3808
|
+
noProjects: "La organización de Sentry aún no tiene proyectos.",
|
|
3809
|
+
unknownPlatform: "plataforma desconocida",
|
|
3810
|
+
projectRepositories: "Repositorios de {project}",
|
|
3811
|
+
chooseRepositories: "Elegir repositorios",
|
|
3812
|
+
noRepositories: "Primero vincula un repositorio a un equipo",
|
|
3813
|
+
howTitle: "Cómo funciona",
|
|
3814
|
+
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.",
|
|
3815
|
+
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.",
|
|
3816
|
+
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.",
|
|
3817
|
+
howRegress: "Cuando un error resuelto vuelve, Sentry reabre la incidencia y sus responsables reciben un aviso.",
|
|
3818
|
+
issueSection: "Sentry",
|
|
3819
|
+
events: "{count, plural, one {# evento} other {# eventos}}",
|
|
3820
|
+
users: "{count, plural, one {# usuario} other {# usuarios}}",
|
|
3821
|
+
lastSeen: "visto por última vez {when}",
|
|
3822
|
+
firstSeen: "visto por primera vez {when}",
|
|
3823
|
+
status: {
|
|
3824
|
+
unresolved: "Sin resolver",
|
|
3825
|
+
resolved: "Resuelto",
|
|
3826
|
+
ignored: "Ignorado"
|
|
3827
|
+
}
|
|
3791
3828
|
}
|
|
3792
3829
|
};
|
|
3793
3830
|
export { e as default };
|
|
@@ -120,7 +120,8 @@ var e = {
|
|
|
120
120
|
roles: "ロール",
|
|
121
121
|
gitlab: "GitLab",
|
|
122
122
|
parallelWorks: "Parallel Works",
|
|
123
|
-
fields: "フィールド"
|
|
123
|
+
fields: "フィールド",
|
|
124
|
+
sentry: "Sentry"
|
|
124
125
|
},
|
|
125
126
|
account: {
|
|
126
127
|
connectionsDescription: "他のサービスにあるあなたのアカウント。リンクすると、そこでの操作がここであなたとして表示されます。",
|
|
@@ -3788,6 +3789,42 @@ var e = {
|
|
|
3788
3789
|
solved: "解決済み",
|
|
3789
3790
|
closed: "終了"
|
|
3790
3791
|
}
|
|
3792
|
+
},
|
|
3793
|
+
sentry: {
|
|
3794
|
+
pageDescription: "Sentry のエラーを課題にし、各課題でそのエラーの発生頻度を確認できます。",
|
|
3795
|
+
notConfigured: "Tandem を実行しているプラットフォームに Sentry 連携が設定されていません。",
|
|
3796
|
+
description: "Sentry のエラーから課題を作成・リンクします",
|
|
3797
|
+
managedByHost: "Sentry は Tandem を実行しているプラットフォームが接続するため、接続と切断はそちらで行います。Tandem は Sentry のトークンを保持しません。",
|
|
3798
|
+
openSettings: "Sentry の設定を開く",
|
|
3799
|
+
notConnected: "未接続",
|
|
3800
|
+
connectedTo: "{date} に {person} が {organization} に接続しました",
|
|
3801
|
+
resolveTitle: "Sentry で解決する",
|
|
3802
|
+
resolveDescription: "これらのチームの課題が完了すると、その Sentry の課題が解決されます。Sentry で再発した場合は、どちらの設定でも課題が再オープンされます。",
|
|
3803
|
+
resolveTeam: "{team} が課題を完了したら Sentry の課題を解決する",
|
|
3804
|
+
projectsTitle: "監視中のプロジェクト",
|
|
3805
|
+
projectsDescription: "Sentry 組織のプロジェクト、それぞれが監視しているもの、そしてエラーの発生元のリポジトリです。1 つのプロジェクトを複数のリポジトリに、1 つのリポジトリを複数のプロジェクトに対応付けられます。",
|
|
3806
|
+
projectsLoading: "Sentry からプロジェクトを読み込んでいます…",
|
|
3807
|
+
projectsUnavailable: "Sentry に接続できず、プロジェクトを一覧できませんでした。後でもう一度お試しください。",
|
|
3808
|
+
noProjects: "この Sentry 組織にはまだプロジェクトがありません。",
|
|
3809
|
+
unknownPlatform: "不明なプラットフォーム",
|
|
3810
|
+
projectRepositories: "{project} のリポジトリ",
|
|
3811
|
+
chooseRepositories: "リポジトリを選択",
|
|
3812
|
+
noRepositories: "まずチームにリポジトリをリンクしてください",
|
|
3813
|
+
howTitle: "仕組み",
|
|
3814
|
+
howFile: "Sentry の課題で「Tandem の課題を作成」または「Tandem の課題をリンク」を選びます。新しい課題はエラーの概要とリンク付きでチームのトリアージに入ります。",
|
|
3815
|
+
howAlert: "アラートルールでも課題を作成できます。Tandem アクションでチームを選んでください。すでに課題があるエラーには、2 つ目の課題は作成されません。",
|
|
3816
|
+
howIssue: "課題には Sentry のエラーが一覧表示され、それぞれの発生回数、影響を受けた人数、初回と最終の検出日時がわかります。",
|
|
3817
|
+
howRegress: "解決済みのエラーが再発すると、Sentry が課題を再オープンし、担当者に通知されます。",
|
|
3818
|
+
issueSection: "Sentry",
|
|
3819
|
+
events: "{count, plural, other {# 件のイベント}}",
|
|
3820
|
+
users: "{count, plural, other {# 人のユーザー}}",
|
|
3821
|
+
lastSeen: "最終検出 {when}",
|
|
3822
|
+
firstSeen: "初回検出 {when}",
|
|
3823
|
+
status: {
|
|
3824
|
+
unresolved: "未解決",
|
|
3825
|
+
resolved: "解決済み",
|
|
3826
|
+
ignored: "無視"
|
|
3827
|
+
}
|
|
3791
3828
|
}
|
|
3792
3829
|
};
|
|
3793
3830
|
export { e as default };
|
|
@@ -120,7 +120,8 @@ var e = {
|
|
|
120
120
|
roles: "역할",
|
|
121
121
|
gitlab: "GitLab",
|
|
122
122
|
parallelWorks: "Parallel Works",
|
|
123
|
-
fields: "필드"
|
|
123
|
+
fields: "필드",
|
|
124
|
+
sentry: "Sentry"
|
|
124
125
|
},
|
|
125
126
|
account: {
|
|
126
127
|
connectionsDescription: "다른 서비스에 있는 내 계정입니다. 연결하면 그곳에서 한 일이 여기에 내 이름으로 표시됩니다.",
|
|
@@ -3788,6 +3789,42 @@ var e = {
|
|
|
3788
3789
|
solved: "해결됨",
|
|
3789
3790
|
closed: "종료됨"
|
|
3790
3791
|
}
|
|
3792
|
+
},
|
|
3793
|
+
sentry: {
|
|
3794
|
+
pageDescription: "Sentry 오류를 이슈로 만들고, 각 이슈에서 오류가 얼마나 자주 발생하는지 확인하세요.",
|
|
3795
|
+
notConfigured: "Tandem이 실행되는 플랫폼에 Sentry 연동이 설정되어 있지 않습니다.",
|
|
3796
|
+
description: "Sentry 오류에서 이슈를 만들고 연결합니다",
|
|
3797
|
+
managedByHost: "Sentry는 Tandem이 실행되는 플랫폼이 연결하므로 연결과 해제는 그곳에서 합니다. Tandem은 Sentry 토큰을 보관하지 않습니다.",
|
|
3798
|
+
openSettings: "Sentry 설정 열기",
|
|
3799
|
+
notConnected: "연결되지 않음",
|
|
3800
|
+
connectedTo: "{date}에 {person}님이 {organization}에 연결함",
|
|
3801
|
+
resolveTitle: "Sentry에서 해결",
|
|
3802
|
+
resolveDescription: "이 팀의 이슈가 완료되면 연결된 Sentry 이슈가 해결됩니다. Sentry에서 회귀가 발생하면 설정과 관계없이 이슈가 다시 열립니다.",
|
|
3803
|
+
resolveTeam: "{team}에서 이슈를 완료하면 Sentry 이슈 해결",
|
|
3804
|
+
projectsTitle: "모니터링 중인 프로젝트",
|
|
3805
|
+
projectsDescription: "Sentry 조직의 프로젝트, 각 프로젝트가 모니터링하는 대상, 그리고 오류가 발생하는 저장소입니다. 하나의 프로젝트를 여러 저장소에, 하나의 저장소를 여러 프로젝트에 연결할 수 있습니다.",
|
|
3806
|
+
projectsLoading: "Sentry에서 프로젝트를 불러오는 중…",
|
|
3807
|
+
projectsUnavailable: "Sentry에 연결할 수 없어 프로젝트를 나열하지 못했습니다. 나중에 다시 시도하세요.",
|
|
3808
|
+
noProjects: "이 Sentry 조직에는 아직 프로젝트가 없습니다.",
|
|
3809
|
+
unknownPlatform: "알 수 없는 플랫폼",
|
|
3810
|
+
projectRepositories: "{project}의 저장소",
|
|
3811
|
+
chooseRepositories: "저장소 선택",
|
|
3812
|
+
noRepositories: "먼저 팀에 저장소를 연결하세요",
|
|
3813
|
+
howTitle: "작동 방식",
|
|
3814
|
+
howFile: "Sentry 이슈에서 Tandem 이슈 만들기 또는 Tandem 이슈 연결을 선택하세요. 새 이슈는 오류 요약과 링크와 함께 팀의 분류함으로 갑니다.",
|
|
3815
|
+
howAlert: "알림 규칙도 이슈를 만들 수 있습니다. Tandem 작업에서 팀을 고르세요. 이미 이슈가 있는 오류에는 두 번째 이슈가 생기지 않습니다.",
|
|
3816
|
+
howIssue: "이슈에는 Sentry 오류가 표시되며, 각각 몇 번 발생했는지, 몇 명에게 발생했는지, 처음과 마지막으로 본 시점을 알 수 있습니다.",
|
|
3817
|
+
howRegress: "해결된 오류가 다시 발생하면 Sentry가 이슈를 다시 열고 담당자에게 알립니다.",
|
|
3818
|
+
issueSection: "Sentry",
|
|
3819
|
+
events: "{count, plural, other {이벤트 #건}}",
|
|
3820
|
+
users: "{count, plural, other {사용자 #명}}",
|
|
3821
|
+
lastSeen: "마지막 발생 {when}",
|
|
3822
|
+
firstSeen: "처음 발생 {when}",
|
|
3823
|
+
status: {
|
|
3824
|
+
unresolved: "미해결",
|
|
3825
|
+
resolved: "해결됨",
|
|
3826
|
+
ignored: "무시됨"
|
|
3827
|
+
}
|
|
3791
3828
|
}
|
|
3792
3829
|
};
|
|
3793
3830
|
export { e as default };
|
|
@@ -120,7 +120,8 @@ var e = {
|
|
|
120
120
|
roles: "角色",
|
|
121
121
|
gitlab: "GitLab",
|
|
122
122
|
parallelWorks: "Parallel Works",
|
|
123
|
-
fields: "字段"
|
|
123
|
+
fields: "字段",
|
|
124
|
+
sentry: "Sentry"
|
|
124
125
|
},
|
|
125
126
|
account: {
|
|
126
127
|
connectionsDescription: "你在其他服务上的账户。关联后,你在那里的操作会以你的身份显示在这里。",
|
|
@@ -3788,6 +3789,42 @@ var e = {
|
|
|
3788
3789
|
solved: "已解决",
|
|
3789
3790
|
closed: "已关闭"
|
|
3790
3791
|
}
|
|
3792
|
+
},
|
|
3793
|
+
sentry: {
|
|
3794
|
+
pageDescription: "把 Sentry 错误变成议题,并在每个议题上查看其错误发生的频率。",
|
|
3795
|
+
notConfigured: "运行 Tandem 的平台尚未设置 Sentry 集成。",
|
|
3796
|
+
description: "从 Sentry 错误创建和关联议题",
|
|
3797
|
+
managedByHost: "Sentry 由运行 Tandem 的平台连接,因此在那里连接和断开。Tandem 不保存任何 Sentry 令牌。",
|
|
3798
|
+
openSettings: "打开 Sentry 设置",
|
|
3799
|
+
notConnected: "未连接",
|
|
3800
|
+
connectedTo: "{person} 于 {date} 连接到 {organization}",
|
|
3801
|
+
resolveTitle: "在 Sentry 中解决",
|
|
3802
|
+
resolveDescription: "这些团队的议题完成后,其 Sentry 议题会被解决。无论是否开启,Sentry 中的回归都会重新打开议题。",
|
|
3803
|
+
resolveTeam: "{team} 完成议题时解决 Sentry 议题",
|
|
3804
|
+
projectsTitle: "监控的项目",
|
|
3805
|
+
projectsDescription: "Sentry 组织的项目、每个项目监控的内容,以及其错误来自的代码仓库。一个项目可以对应多个仓库,一个仓库也可以对应多个项目。",
|
|
3806
|
+
projectsLoading: "正在从 Sentry 加载项目…",
|
|
3807
|
+
projectsUnavailable: "无法连接 Sentry 来列出其项目。请稍后再试。",
|
|
3808
|
+
noProjects: "该 Sentry 组织还没有项目。",
|
|
3809
|
+
unknownPlatform: "未知平台",
|
|
3810
|
+
projectRepositories: "{project} 的仓库",
|
|
3811
|
+
chooseRepositories: "选择仓库",
|
|
3812
|
+
noRepositories: "请先将仓库关联到团队",
|
|
3813
|
+
howTitle: "工作方式",
|
|
3814
|
+
howFile: "在 Sentry 议题上选择“创建 Tandem 议题”或“关联 Tandem 议题”。新议题会带着错误摘要和链接进入团队的分诊。",
|
|
3815
|
+
howAlert: "告警规则也可以创建议题:在其 Tandem 操作中选择一个团队。已有议题的错误不会再创建第二个。",
|
|
3816
|
+
howIssue: "议题会列出其 Sentry 错误,显示每个错误发生的次数、影响的人数,以及首次和最近一次出现的时间。",
|
|
3817
|
+
howRegress: "已解决的错误再次出现时,Sentry 会重新打开议题,并通知其负责人。",
|
|
3818
|
+
issueSection: "Sentry",
|
|
3819
|
+
events: "{count, plural, other {# 个事件}}",
|
|
3820
|
+
users: "{count, plural, other {# 位用户}}",
|
|
3821
|
+
lastSeen: "最近出现于 {when}",
|
|
3822
|
+
firstSeen: "首次出现于 {when}",
|
|
3823
|
+
status: {
|
|
3824
|
+
unresolved: "未解决",
|
|
3825
|
+
resolved: "已解决",
|
|
3826
|
+
ignored: "已忽略"
|
|
3827
|
+
}
|
|
3791
3828
|
}
|
|
3792
3829
|
};
|
|
3793
3830
|
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,38 @@ 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
|
+
}))
|
|
1362
1395
|
});
|
|
1363
|
-
export { U as agentQuery, H as agentsQuery, Ve as allDecisionsQuery, De as areaThreadQuery, Oe as areasQuery, b as attachmentsQuery, ot as auditLogQuery,
|
|
1396
|
+
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, ie as issueDecisionsQuery, Ne as issueDocsQuery, 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,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 };
|