mirror of
https://github.com/hcengineering/platform.git
synced 2026-09-26 19:44:57 +02:00
* feat(tracker): Gantt chart for the issue tracker Builds on the merged search/filter rework (#10998). Introduces @hcengineering/gantt, a dependency-free scheduling/zoom/drag/viewport engine package (with a neutral GanttDependency contract), and wires the tracker-specific adapter, Svelte UI, model schema, dependency-shift notifications and sanity coverage in tracker-resources. Signed-off-by: Michael Uray <michaeluray@users.noreply.github.com> * fix(tracker): source Gantt holidays from HR and scope confirm-gate per view Follow-up to review feedback on #10992: - Confirm-gate: the module-global flag is replaced by a createConfirmGate() factory - one instance per mounted GanttView, so two Gantt views mounted at once in the same JS context no longer block each other's pointer input. A two-instance independence test guards the regression. - Sidebar sorting: the stale deadline cast is dropped and issue.deadline is read directly (the field was added to the Issue model in this PR). - HR holidays: the per-project WorkingDaysConfig.holidays field duplicated the workspace-wide hr.class.PublicHoliday concept and could drift from the real HR calendar. It is removed. WorkingDaysConfig now carries only the weekday mask and an optional holidayDepartment. The tracker adapter resolves holidays for the selected department plus all ancestors up to hr.ids.Head, matching HR's existing inheritance semantics (hr-resources ScheduleView). A missing or invalid reference falls back to company-wide (root) holidays; unrelated departments are never included. The ancestor walk is cycle/missing-parent safe. A small WorkingDaysEditor in the existing project create/edit dialog lets users with the existing project permission enable the mode, choose weekdays, and select an HR department (default: Company-wide). It persists through the existing project create/update transaction paths (createDoc on create, client.update on edit) and uses $unset when the mode is disabled. At least one working day must stay active. Calendar loading is explicit via a CalendarStateMachine: project-scoped drag, resize, cascade, keyboard-shift and auto-schedule mutations stay disabled until both the project config and the holiday data have loaded. A monotonic generation ticket (bumped synchronously on project switch) is re-checked immediately before every calendar-dependent date commit, so work started in one project can never persist after a switch to another. The all-projects view has no single project calendar, so calendar-dependent edits are read-only there; display, selection, the context menu and the manual date-picker (which does no calendar arithmetic and takes no mutation ticket) stay available. This depends on the lightweight @hcengineering/hr model package, but not on hr-resources; the tracker adapter uses hr.class.* and hr.ids.Head at runtime, and actual HR model presence is checked through the hierarchy - without the HR model, holidays resolve to an empty set. The @hcengineering/gantt engine package stays domain-neutral (no @hcengineering imports, no runtime deps). Signed-off-by: Michael Uray <michaeluray@users.noreply.github.com> * fix(gantt): measure FS gap-preservation floor in working days The finish-to-start gap-preservation floor in the cascade scheduler mixed two time measures: the FS snap anchor is working-calendar aware, but the floor added a raw calendar-millisecond start-side delta. With an active working calendar the two diverge, so dragging a predecessor over a weekend over-shifted the successor across non-working days (a Fri->Mon body drag is 3 calendar days but only 1 working day, and could even land a successor on a Saturday). Measure the floor on the DUE side in working days instead: translate the predecessor's shift via the new workingDayDelta helper and advance the floor base with addWorkingDays over the calendar. A day-granular resize gate (utcMidnight comparison, not a raw === 0 test) arms the floor only on a start-DAY move, so a pure due-resize stays a pure snap even when the stored issue carries a time-of-day on the cascade-commit path. The floor base is normalized via utcMidnight(targetAnchor). The legacy path (cfg === undefined) stays byte-identical to today's raw-ms floor. A left-resize in working-days mode now correctly no-ops the floor (the due, and thus the FS gap, did not move) instead of shifting on the raw start delta. Engine: add workingDayDelta (signed, half-open from-exclusive/to-inclusive working-day step count) and export the previously-private utcMidnight from packages/gantt/src/working-days.ts. The engine stays domain-neutral (no @hcengineering imports, empty dependencies). Adds engine and adapter test coverage: workingDayDelta cases and the full FS floor matrix (right-resize no-push, weekend-spanner body drag, floor wins over snap, holiday in the floor path, floor-dominant multi-hop chain, negative delta, legacy no-cfg, SS pure-snap, raw time-of-day right-resize, direct left-resize). Signed-off-by: Michael Uray <michaeluray@users.noreply.github.com> --------- Signed-off-by: Michael Uray <michaeluray@users.noreply.github.com> Co-authored-by: Michael Uray <michaeluray@users.noreply.github.com>
311 lines
13 KiB
JSON
311 lines
13 KiB
JSON
{
|
||
"string": {
|
||
"TrackerApplication": "Tracker",
|
||
"Projects": "Projeleriniz",
|
||
"More": "Daha fazla",
|
||
"Default": "Varsayılan",
|
||
"MakeDefault": "Varsayılan yap",
|
||
"Delete": "Sil",
|
||
"Open": "Aç",
|
||
"Members": "Üyeler",
|
||
"Inbox": "Gelen Kutusu",
|
||
"MyIssues": "Sorunlarım",
|
||
"ViewIssue": "Sorunu görüntüle",
|
||
"IssueCreated": "Sorun Oluşturuldu",
|
||
"Issues": "Sorunlar",
|
||
"Views": "Görünümler",
|
||
"Active": "Aktif",
|
||
"AllIssues": "Tüm sorunlar",
|
||
"ActiveIssues": "Aktif sorunlar",
|
||
"BacklogIssues": "Backlog",
|
||
"Backlog": "Backlog",
|
||
"Board": "Pano",
|
||
"Components": "Bileşenler",
|
||
"AllComponents": "Tümü",
|
||
"BacklogComponents": "Backlog",
|
||
"ActiveComponents": "Aktif",
|
||
"ClosedComponents": "Kapalı",
|
||
"NewComponent": "Yeni bileşen",
|
||
"CreateComponent": "Bileşen oluştur",
|
||
"ComponentNamePlaceholder": "Bileşen adı",
|
||
"ComponentDescriptionPlaceholder": "Açıklama (opsiyonel)",
|
||
"ComponentLead": "Lider",
|
||
"ComponentMembers": "Üyeler",
|
||
"StartDate": "Başlangıç tarihi",
|
||
"TargetDate": "Hedef tarih",
|
||
"Planned": "Planlandı",
|
||
"InProgress": "Devam ediyor",
|
||
"Paused": "Duraklatıldı",
|
||
"Completed": "Tamamlandı",
|
||
"Canceled": "İptal edildi",
|
||
"CreateProject": "Proje oluştur",
|
||
"NewProject": "Yeni proje",
|
||
"ProjectTitle": "Proje başlığı",
|
||
"ProjectTitlePlaceholder": "Yeni proje",
|
||
"UsedInIssueIDs": "Sorun ID'lerinde kullanıldı",
|
||
"Identifier": "Tanımlayıcı",
|
||
"Import": "İçe aktar",
|
||
"ProjectIdentifier": "Proje tanımlayıcı",
|
||
"IdentifierExists": "Proje tanımlayıcı zaten mevcut",
|
||
"ProjectIdentifierPlaceholder": "PRJCT",
|
||
"ChooseIcon": "İkon seç",
|
||
"AddIssue": "Sorun ekle",
|
||
"NewIssue": "Yeni sorun",
|
||
"NewIssuePlaceholder": "Yeni",
|
||
"ResumeDraft": "Taslağa devam et",
|
||
"SaveIssue": "Sorunu oluştur",
|
||
"SetPriority": "Öncelik belirle…",
|
||
"SetStatus": "Durum belirle…",
|
||
"SelectIssue": "Sorun seç",
|
||
"Priority": "Öncelik",
|
||
"NoPriority": "Öncelik yok",
|
||
"Urgent": "Acil",
|
||
"High": "Yüksek",
|
||
"Medium": "Orta",
|
||
"Low": "Düşük",
|
||
"Unassigned": "Atanmamış",
|
||
"Back": "Geri",
|
||
"List": "Liste",
|
||
"NumberLabels": "{count, plural, =0 {etiket yok} =1 {1 etiket} other {# etiket}}",
|
||
"CategoryBacklog": "Backlog",
|
||
"CategoryUnstarted": "Başlamadı",
|
||
"CategoryStarted": "Başladı",
|
||
"CategoryCompleted": "Tamamlandı",
|
||
"CategoryCanceled": "İptal edildi",
|
||
"Title": "Başlık",
|
||
"Name": "İsim",
|
||
"Description": "Açıklama",
|
||
"Status": "Durum",
|
||
"Number": "Numara",
|
||
"Assignee": "Atanan",
|
||
"AssignTo": "Ata...",
|
||
"AssignedTo": "{value}'e atandı",
|
||
"Parent": "Üst sorun",
|
||
"SetParent": "Üst sorun belirle…",
|
||
"ChangeParent": "Üst sorunu değiştir…",
|
||
"RemoveParent": "Üst sorunu kaldır",
|
||
"OpenParent": "Üst sorunu aç",
|
||
"SubIssues": "Alt sorunlar",
|
||
"SubIssuesList": "Alt sorunlar ({subIssues})",
|
||
"OpenSubIssues": "Alt sorunları aç",
|
||
"AddSubIssues": "Alt sorun ekle",
|
||
"BlockedBy": "Engelleyen",
|
||
"RelatedTo": "İlgili",
|
||
"Comments": "Yorumlar",
|
||
"Attachments": "Ekler",
|
||
"Labels": "Etiketler",
|
||
"Component": "Bileşen",
|
||
"Space": "",
|
||
"SetDueDate": "Bitiş tarihi belirle…",
|
||
"ChangeDueDate": "Bitiş tarihini değiştir…",
|
||
"ModificationDate": "{value} güncellendi",
|
||
"Project": "Proje",
|
||
"Issue": "Sorun",
|
||
"SubIssue": "Alt sorun",
|
||
"Document": "",
|
||
"DocumentIcon": "",
|
||
"DocumentColor": "",
|
||
"Rank": "Sıra",
|
||
"TypeIssuePriority": "Sorun önceliği",
|
||
"IssueTitlePlaceholder": "Sorun başlığı",
|
||
"SubIssueTitlePlaceholder": "Alt sorun başlığı",
|
||
"IssueDescriptionPlaceholder": "Açıklama ekle…",
|
||
"SubIssueDescriptionPlaceholder": "Alt sorun açıklaması ekle",
|
||
"AddIssueTooltip": "Sorun ekle...",
|
||
"NewIssueDialogClose": "Bu diyalogu kapatmak istiyor musunuz?",
|
||
"NewIssueDialogCloseNote": "Tüm değişiklikler kaybolacak",
|
||
"RemoveComponentDialogClose": "Bileşeni sil?",
|
||
"RemoveComponentDialogCloseNote": "Bu bileşeni silmek istediğinizden emin misiniz? Bu işlem geri alınamaz",
|
||
"Grouping": "Gruplama",
|
||
"Ordering": "Sıralama",
|
||
"CompletedIssues": "Tamamlanan sorunlar",
|
||
"NoGrouping": "Gruplama yok",
|
||
"NoAssignee": "Atanan yok",
|
||
"LastUpdated": "Son güncelleme",
|
||
"DueDate": "Bitiş tarihi",
|
||
"IssueStartDate": "Başlangıç tarihi",
|
||
"GanttDependency": "Dependency",
|
||
"GanttLag": "Lag",
|
||
"Manual": "Manuel",
|
||
"All": "Tümü",
|
||
"PastWeek": "Geçen hafta",
|
||
"PastMonth": "Geçen ay",
|
||
"CopyIssueUrl": "Sorun URL'sini panoya kopyala",
|
||
"CopyIssueId": "Sorun ID'sini panoya kopyala",
|
||
"CopyIssueBranch": "Git branch adını panoya kopyala",
|
||
"CopyIssueTitle": "Sorun başlığını panoya kopyala",
|
||
"AssetLabel": "Varlık",
|
||
"AddToComponent": "Bileşene ekle…",
|
||
"MoveToComponent": "Bileşene taşı…",
|
||
"NoComponent": "Bileşen yok",
|
||
"ComponentLeadTitle": "Bileşen lideri",
|
||
"ComponentMembersTitle": "Bileşen üyeleri",
|
||
"ComponentLeadSearchPlaceholder": "Bileşen lideri belirle…",
|
||
"ComponentMembersSearchPlaceholder": "Bileşen üyelerini değiştir…",
|
||
"MoveToProject": "Projeye taşı",
|
||
"Duplicate": "Çoğalt",
|
||
"GotoIssues": "Sorunlara git",
|
||
"GotoActive": "Aktif sorunlara git",
|
||
"GotoBacklog": "Backlog'a git",
|
||
"GotoComponents": "Bileşenlere git",
|
||
"GotoMyIssues": "Sorunlarıma git",
|
||
"GotoTrackerApplication": "Tracker Uygulamasına Geç",
|
||
"CreatedOne": "Oluşturuldu",
|
||
"MoveIssues": "Sorunları taşı",
|
||
"MoveIssuesDescription": "Sorunları taşımak istediğiniz projeyi seçin",
|
||
"ManageAttributes": "Öznitelikleri yönet",
|
||
"KeepOriginalAttributes": "Orijinal öznitelikleri koru",
|
||
"KeepOriginalAttributesTooltip": "Orijinal sorun durumları ve bileşenleri yeni projede korunacak",
|
||
"SelectReplacement": "Aşağıdaki öğeler yeni projede mevcut değil. Bir yedek seçin.",
|
||
"MissingItem": "EKSIK ÖĞELER",
|
||
"Replacement": "YEDEKLEMELİ",
|
||
"Original": "ORİJİNAL",
|
||
"OriginalDescription": "Bu bölümdeki öğeler yeni projede oluşturulacak",
|
||
"Relations": "İlişkiler",
|
||
"RemoveRelation": "İlişkiyi kaldır...",
|
||
"AddBlockedBy": "Şu tarafından engellendi olarak işaretle...",
|
||
"AddIsBlocking": "Engelliyor olarak işaretle...",
|
||
"AddRelatedIssue": "Başka soruna referans ver...",
|
||
"RelatedIssue": "İlgili sorun {id} - {title}",
|
||
"BlockedIssue": "Engellenen sorun {id} - {title}",
|
||
"BlockingIssue": "Engelleyen sorun {id} - {title}",
|
||
"BlockedBySearchPlaceholder": "Şu tarafından engellendi olarak işaretlemek için sorun ara...",
|
||
"IsBlockingSearchPlaceholder": "Engelliyor olarak işaretlemek için sorun ara...",
|
||
"RelatedIssueSearchPlaceholder": "Referans vermek için sorun ara...",
|
||
"Blocks": "Engelliyor",
|
||
"Related": "İlgili",
|
||
"RelatedIssues": "İlgili sorunlar",
|
||
"EditIssue": "{title} düzenle",
|
||
"EditWorkflowStatuses": "Sorun durumlarını düzenle",
|
||
"EditProject": "Projeyi düzenle",
|
||
"DeleteProject": "Projeyi sil",
|
||
"ArchiveProjectName": "{name} projesini arşivle?",
|
||
"ArchiveProjectConfirm": "Bu projeyi arşivlemek istiyor musunuz?",
|
||
"DeleteProjectConfirm": "Bu projeyi ve tüm sorunları silmek istiyor musunuz?",
|
||
"ProjectHasIssues": "Bu projede mevcut sorunlar var, arşivlemek istediğinizden emin misiniz?",
|
||
"ManageWorkflowStatuses": "Proje tiplerini yönet",
|
||
"AddWorkflowStatus": "Sorun durumu ekle",
|
||
"EditWorkflowStatus": "Sorun durumunu düzenle",
|
||
"DeleteWorkflowStatus": "Sorun durumunu sil",
|
||
"DeleteWorkflowStatusConfirm": "\"{status}\" durumunu silmek istiyor musunuz?",
|
||
"DeleteWorkflowStatusErrorDescription": "\"{status}\" durumunun {count, plural, =1 {1 sorunu} other {# sorunu}} atanmış. Lütfen taşınacak bir durum seçin",
|
||
"Save": "Kaydet",
|
||
"IncludeItemsThatMatch": "Eşleşen öğeleri dahil et",
|
||
"AnyFilter": "herhangi bir filtre",
|
||
"AllFilters": "tüm filtreler",
|
||
"NoDescription": "Açıklama yok",
|
||
"SearchIssue": "Görev ara...",
|
||
"StatusHistory": "Durum Geçmişi",
|
||
"NewSubIssue": "Alt sorun ekle...",
|
||
"AddLabel": "Etiket ekle",
|
||
"DeleteIssue": "{issueCount, plural, =1 {sorunu} other {# sorunu}} sil",
|
||
"DeleteIssueConfirm": "{issueCount, plural, =1 {sorunu} other {sorunları}}{subIssueCount, plural, =0 {?} =1 { ve alt sorunu?} other { ve alt sorunları?}} silmek istiyor musunuz",
|
||
"Milestone": "Kilometre Taşı",
|
||
"NoMilestone": "Kilometre Taşı Yok",
|
||
"MoveToMilestone": "Kilometre Taşı Seç",
|
||
"Milestones": "Kilometre Taşları",
|
||
"AllMilestones": "Tümü",
|
||
"PlannedMilestones": "Planlanan",
|
||
"ActiveMilestones": "Aktif",
|
||
"ClosedMilestones": "Tamamlandı",
|
||
"AddToMilestone": "Kilometre Taşına Ekle",
|
||
"MilestoneNamePlaceholder": "Kilometre taşı adı",
|
||
"NewMilestone": "Yeni Kilometre Taşı",
|
||
"CreateMilestone": "Oluştur",
|
||
"MoveAndDeleteMilestone": "Sorunları {newMilestone}'a taşı ve {deleteMilestone}'ı sil",
|
||
"MoveAndDeleteMilestoneConfirm": "Kilometre taşını silmek ve sorunları başka bir kilometre taşına taşımak istiyor musunuz?",
|
||
"Estimation": "Tahmin",
|
||
"ReportedTime": "Harcanan zaman",
|
||
"RemainingTime": "Kalan zaman",
|
||
"TimeSpendReports": "Harcanan zaman raporları",
|
||
"TimeSpendReport": "Zaman",
|
||
"TimeSpendReportAdd": "Zaman raporu ekle",
|
||
"TimeSpendReportDate": "Tarih",
|
||
"TimeSpendReportValue": "Harcanan zaman",
|
||
"TimeSpendReportValueTooltip": "Saat cinsinden harcanan zaman",
|
||
"TimeSpendReportDescription": "Açıklama",
|
||
"TimeSpendDays": "{value}g",
|
||
"TimeSpendHours": "{value}s",
|
||
"TimeSpendMinutes": "{value}dk",
|
||
"ChildEstimation": "Alt sorunlar tahmini",
|
||
"ChildReportedTime": "Alt sorunlar zamanı",
|
||
"CapacityValue": "{value}g üzerinden",
|
||
"NewRelatedIssue": "Yeni ilgili sorun",
|
||
"RelatedIssuesNotFound": "İlgili sorun bulunamadı",
|
||
"AddedReference": "Referans eklendi",
|
||
"AddedAsBlocked": "Engellendi olarak işaretlendi",
|
||
"AddedAsBlocking": "Engelliyor olarak işaretlendi",
|
||
"IssueTemplate": "Şablon",
|
||
"IssueTemplates": "Şablonlar",
|
||
"NewProcess": "Yeni şablon",
|
||
"SaveProcess": "Şablonu kaydet",
|
||
"NoIssueTemplate": "Şablon yok",
|
||
"TemplateReplace": "Yeni şablonu uygulamak istiyor musunuz?",
|
||
"TemplateReplaceConfirm": "Tüm alanlar yeni şablon değerleriyle değiştirilecek",
|
||
"Apply": "Uygula",
|
||
"CurrentWorkDay": "Mevcut Çalışma Günü",
|
||
"PreviousWorkDay": "Önceki Çalışma Günü",
|
||
"TimeReportDayTypeLabel": "Zaman raporu gün tipi seç",
|
||
"DefaultAssignee": "Sorunlar için varsayılan atanan",
|
||
"SevenHoursLength": "Yedi Saat",
|
||
"EightHoursLength": "Sekiz Saat",
|
||
"HourLabel": "s",
|
||
"MinuteLabel": "dk",
|
||
"Saved": "Kaydedildi...",
|
||
"CreatedIssue": "Sorun oluşturuldu",
|
||
"CreatedSubIssue": "Alt sorun oluşturuldu",
|
||
"ChangeStatus": "Durumu değiştir",
|
||
"ConfigLabel": "Tracker",
|
||
"ConfigDescription": "İş öğelerini yönetmek ve tüm işleri tamamlamak için uzantı.",
|
||
"NoStatusFound": "Eşleşen durum bulunamadı",
|
||
"CreateMissingStatus": "Eksik durumu oluştur",
|
||
"UnsetParent": "Üst sorun kaldırılacak",
|
||
"AllProjects": "Tüm projeler",
|
||
"IssueNotificationTitle": "{issueTitle}",
|
||
"IssueNotificationBody": "{senderName} tarafından güncellendi",
|
||
"IssueNotificationChanged": "{senderName}, {property} değiştirdi",
|
||
"IssueNotificationChangedProperty": "{senderName}, {property} değerini \"{newValue}\" olarak değiştirdi",
|
||
"IssueNotificationMessage": "{senderName}: {message}",
|
||
"PreviousAssigned": "Önceden atanan",
|
||
"IssueAssignedToYou": "Size atandı",
|
||
"RelatedIssueTargetDescription": "Sınıf veya Alan için ilgili sorun proje hedefi",
|
||
"MapRelatedIssues": "İlgili sorun varsayılan projelerini yapılandır",
|
||
"DefaultIssueStatus": "Varsayılan sorun durumu",
|
||
"IssueStatus": "Durum",
|
||
"Extensions": "Uzantılar",
|
||
"UnsetParentIssue": "Üst sorunu kaldır",
|
||
"AllowCreatingIssues": "Sorun oluşturmaya izin ver",
|
||
"Day": "Day",
|
||
"Week": "Week",
|
||
"Month": "Month",
|
||
"Quarter": "Quarter",
|
||
"Gantt": "Gantt",
|
||
"GanttShowIssueCode": "Show issue code",
|
||
"GanttShowTitle": "Show title",
|
||
"GanttShowStatus": "Show status",
|
||
"GanttToday": "Today",
|
||
"GanttJumpToStart": "Jump to start",
|
||
"GanttJumpToEnd": "Jump to end",
|
||
"GanttJumpToDate": "Jump to date",
|
||
"GanttPreviousPeriod": "Previous period",
|
||
"GanttNextPeriod": "Next period",
|
||
"GanttScrollLeftToBar": "Scroll left to bar",
|
||
"GanttScrollRightToBar": "Scroll right to bar",
|
||
"GanttExpand": "Expand",
|
||
"GanttCollapse": "Collapse",
|
||
"GanttCornerNoOpInSwimlane": "No effect in group-by mode",
|
||
"ModeSelectorDisabledByFilter": "Durum, aktif bir filtre tarafından denetleniyor. Bu kısayolu kullanmak için durum filtresini kaldırın.",
|
||
"ShowQuickModeSelector": "Hızlı filtre: Tümü / Aktif / Backlog",
|
||
"SearchScopeLabel": "Şurada ara…",
|
||
"SearchScopeTitle": "Yalnızca başlık",
|
||
"SearchScopeTitleDescription": "Başlık + açıklama",
|
||
"SearchScopeAll": "Başlık + açıklama + yorumlar",
|
||
"SearchHighlight": "Arama eşleşmelerini vurgula",
|
||
"SearchEmptyTitle": "\"{query}\" için sorun bulunamadı",
|
||
"SearchEmptyActiveFilters": "Aktif filtreler: {filters}",
|
||
"SearchEmptyClearFilters": "Filtresiz ara",
|
||
"SearchEmptyAllProjects": "Tüm projelerde ara"
|
||
},
|
||
"status": {}
|
||
}
|