feat(client): workflow-graph Tasks page with teams board and jobs drawer
The Subagent page becomes the Tasks page per the approved Variant-D design: - tasks-model.ts feeds BOTH modes from one pre-order node list: graph canvas (TasksGraph: layered nodes over bezier edges, drag-pan, wheel-zoom-to-cursor, phase frames, bottom-right control cluster) and the classic tree (TasksTree: keyboard navigable) — the view toggle and fold toggle stay reachable in both modes. - Workflow runs (workflows.list) hang under their origin agent; member agents re-parent under the run node, missing ones synthesize from run data; completed leaf agents fold into per-parent aggregate nodes (click or cluster toggle to expand/re-collapse). - Agent Teams (experimental): roster enriches nodes; a header chip opens the shared task board popover with basic CAS operations (complete / reopen / delete / reassign / create / edit); no experimental layer → the whole block hides (structural degradation). - Background jobs move into a bottom drawer that auto-collapses at 8+ agents (manual toggle wins); job output opens as an anchored popover (event replay, never the model's cursor); two-click kill preserved. - Live activity lines render as glyph + tool + args (tool-icons map onto host primitive icons). - Node click jumps to the transcript; ⓘ opens the detail popover; popovers follow the selection-popup dismissal contract (Escape / outside click / anchor off-screen via IntersectionObserver). - tasksViewMode pref (graph default) with a select row in settings; 58 new copy keys across zh/en/ja + 18 third-language dictionaries; dead CSS from the old tree/dock pruned. - Tests: 6 new page-interaction specs (auto-collapse, both-mode toggle, jump, fold, popover); jobs-view suite re-pointed at the popover; prefs/builtins/smoke lock tests updated for the new pref.
This commit is contained in:
@@ -390,6 +390,64 @@ export const tr: Record<string, string> = {
|
||||
jobKill: 'Sonlandır',
|
||||
jobKillConfirm: 'Sonlandırmayı onaylamak için tekrar tıklayın',
|
||||
jobKillError: 'Sonlandırma başarısız',
|
||||
tasksViewGraph: 'İş akışı grafiği',
|
||||
tasksViewTree: 'Ağaç',
|
||||
tasksViewSwitchToGraph: 'İş akışı grafiğine geç',
|
||||
tasksViewSwitchToTree: 'Ağaç görünümüne geç',
|
||||
settingsViewModeTitle: 'Görevler sayfası varsayılan görünümü',
|
||||
settingsViewModeDesc: 'Görevler sayfasının açılıştaki görünümü (sayfa içi düğme yine anlık değiştirebilir)',
|
||||
settingsViewModeGraph: 'İş akışı grafiği',
|
||||
settingsViewModeGraphDesc: 'Yakınlaştırma ve kaydırma ile katmanlı düğüm grafiği',
|
||||
settingsViewModeTree: 'Ağaç',
|
||||
settingsViewModeTreeDesc: 'Klasik girintili ağaç, klavye ile gezilebilir',
|
||||
tasksWorkflowMember: 'İş akışı üyesi',
|
||||
tasksFoldCompleted: '✓ {count} tamamlandı',
|
||||
tasksFoldExpand: 'Tamamlanan düğümleri genişlet',
|
||||
tasksFoldCollapse: 'Tamamlanan düğümleri daralt',
|
||||
tasksZoomIn: 'Yakınlaştır',
|
||||
tasksZoomOut: 'Uzaklaştır',
|
||||
tasksZoomFit: 'Tuvale sığdır',
|
||||
tasksNodeJump: 'Transkripti aç',
|
||||
tasksNodeState: 'Durum',
|
||||
tasksNodeMode: 'Mod',
|
||||
tasksNodeModel: 'Model',
|
||||
tasksNodeTeamRole: 'Takım rolü',
|
||||
tasksNodeActivity: 'Son etkinlik',
|
||||
tasksStateRunning: 'Çalışıyor',
|
||||
tasksStateIdle: 'Beklemede',
|
||||
tasksStateDone: 'Tamamlandı',
|
||||
tasksStateError: 'Hata',
|
||||
teamBoard: 'Takım görev panosu',
|
||||
teamChip: 'Takım {members} üye · {tasks} görev',
|
||||
teamMembers: 'Üyeler',
|
||||
teamTasksEmpty: 'Henüz paylaşılan görev yok',
|
||||
teamTaskCreate: 'Yeni görev',
|
||||
teamTaskSubject: 'Konu',
|
||||
teamTaskDescription: 'Açıklama',
|
||||
teamTaskOwner: 'Sahip',
|
||||
teamTaskUnowned: 'Sahipsiz',
|
||||
teamTaskPending: 'Bekliyor',
|
||||
teamTaskInProgress: 'Devam ediyor',
|
||||
teamTaskCompleted: 'Tamamlandı',
|
||||
teamTaskBlocked: 'Engelli',
|
||||
teamTaskComplete: 'Tamamla',
|
||||
teamTaskReopen: 'Yeniden aç',
|
||||
teamTaskDelete: 'Sil',
|
||||
teamTaskDeleteConfirm: 'Silmeyi onayla',
|
||||
teamTaskEdit: 'Düzenle',
|
||||
teamTaskSave: 'Kaydet',
|
||||
teamTaskCancel: 'İptal',
|
||||
teamTaskConflict: 'Görev başkası tarafından değiştirildi, güncellendi',
|
||||
teamTaskError: 'İşlem başarısız: {message}',
|
||||
teamTaskDeleted: 'Silindi',
|
||||
workflowRunning: 'Çalışıyor',
|
||||
workflowCompleted: 'Tamamlandı',
|
||||
workflowCancelled: 'İptal edildi',
|
||||
workflowFailed: 'Başarısız',
|
||||
workflowPhaseUnnamed: 'Adsız aşama',
|
||||
workflowMembers: '{done}/{total} üye',
|
||||
jobsAutoCollapsed: 'Otomatik daraltıldı (çok sayıda ajan)',
|
||||
catalogLoadFailed: '{count} dal yüklenemedi',
|
||||
addPluginsTabCard: 'Sekme eklentileri ekle',
|
||||
addPluginsTabCardDesc: 'Yeni bir kenar çubuğu sayfası kaydet',
|
||||
addPluginsViewerCard: 'Önizleme eklentileri ekle',
|
||||
|
||||
Reference in New Issue
Block a user