mirror of
https://github.com/hcengineering/platform.git
synced 2026-09-27 12:04:56 +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>
313 lines
14 KiB
JSON
313 lines
14 KiB
JSON
{
|
|
"string": {
|
|
"TrackerApplication": "Tracker",
|
|
"Projects": "I tuoi progetti",
|
|
"More": "Altro",
|
|
"Default": "Predefinito",
|
|
"MakeDefault": "Imposta come predefinito",
|
|
"Delete": "Elimina",
|
|
"Open": "Apri",
|
|
"Members": "Membri",
|
|
"Inbox": "Posta in arrivo",
|
|
"MyIssues": "Le mie issues",
|
|
"ViewIssue": "Visualizza issue",
|
|
"IssueCreated": "Issue creata",
|
|
"Issues": "Issue",
|
|
"Views": "Visualizzazioni",
|
|
"Active": "Attivo",
|
|
"AllIssues": "Tutte le issue",
|
|
"ActiveIssues": "Issue attive",
|
|
"BacklogIssues": "Backlog",
|
|
"Backlog": "Backlog",
|
|
"Board": "Bacheca",
|
|
"Components": "Componenti",
|
|
"AllComponents": "Tutti",
|
|
"BacklogComponents": "Backlog",
|
|
"ActiveComponents": "Attivi",
|
|
"ClosedComponents": "Chiuso",
|
|
"NewComponent": "Nuovo componente",
|
|
"CreateComponent": "Crea componente",
|
|
"ComponentNamePlaceholder": "Nome del componente",
|
|
"ComponentDescriptionPlaceholder": "Descrizione (facoltativo)",
|
|
"ComponentLead": "Responsabile",
|
|
"ComponentMembers": "Membri",
|
|
"StartDate": "Data di inizio",
|
|
"TargetDate": "Data obiettivo",
|
|
"Planned": "Pianificato",
|
|
"InProgress": "In corso",
|
|
"Paused": "In pausa",
|
|
"Completed": "Completato",
|
|
"Canceled": "Annullato",
|
|
"CreateProject": "Crea progetto",
|
|
"NewProject": "Nuovo progetto",
|
|
"ProjectTitle": "Titolo del progetto",
|
|
"ProjectTitlePlaceholder": "Nuovo progetto",
|
|
"UsedInIssueIDs": "Utilizzato negli ID delle issue",
|
|
"Identifier": "Identificatore",
|
|
"Import": "Importa",
|
|
"ProjectIdentifier": "Identificatore del progetto",
|
|
"IdentifierExists": "L'identificatore del progetto esiste già",
|
|
"ProjectIdentifierPlaceholder": "PRJCT",
|
|
"ChooseIcon": "Scegli icona",
|
|
"AddIssue": "Aggiungi issue",
|
|
"NewIssue": "Nuova issue",
|
|
"NewIssuePlaceholder": "Nuovo",
|
|
"ResumeDraft": "Riprendi bozza",
|
|
"SaveIssue": "Crea issue",
|
|
"SetPriority": "Imposta priorità…",
|
|
"SetStatus": "Imposta stato…",
|
|
"SelectIssue": "Seleziona issue",
|
|
"Priority": "Priorità",
|
|
"NoPriority": "Nessuna priorità",
|
|
"Urgent": "Urgente",
|
|
"High": "Alto",
|
|
"Medium": "Medio",
|
|
"Low": "Basso",
|
|
"Unassigned": "Non assegnato",
|
|
"Back": "Indietro",
|
|
"List": "Elenco",
|
|
"NumberLabels": "{count, plural, =0 {nessuna etichetta} =1 {1 etichetta} other {# etichette}}",
|
|
"CategoryBacklog": "Backlog",
|
|
"CategoryUnstarted": "Non iniziato",
|
|
"CategoryStarted": "Iniziato",
|
|
"CategoryCompleted": "Completato",
|
|
"CategoryCanceled": "Annullato",
|
|
"Title": "Titolo",
|
|
"Name": "Nome",
|
|
"Description": "Descrizione",
|
|
"Status": "Stato",
|
|
"Number": "Numero",
|
|
"Assignee": "Assegnatario",
|
|
"AssignTo": "Assegna a...",
|
|
"AssignedTo": "Assegnato a {value}",
|
|
"Parent": "Issue genitore",
|
|
"SetParent": "Imposta issue genitore…",
|
|
"ChangeParent": "Cambia issue genitore…",
|
|
"RemoveParent": "Rimuovi issue genitore",
|
|
"OpenParent": "Apri issue genitore",
|
|
"SubIssues": "Subissue",
|
|
"SubIssuesList": "Subissue ({subIssues})",
|
|
"OpenSubIssues": "Apri subissue",
|
|
"AddSubIssues": "Aggiungi subissue",
|
|
"BlockedBy": "Bloccato da",
|
|
"RelatedTo": "Correlato a",
|
|
"Comments": "Commenti",
|
|
"Attachments": "Allegati",
|
|
"Labels": "Etichette",
|
|
"Component": "Componente",
|
|
"Space": "",
|
|
"SetDueDate": "Imposta data di scadenza…",
|
|
"ChangeDueDate": "Cambia data di scadenza…",
|
|
"ModificationDate": "Aggiornato {value}",
|
|
"Project": "Progetto",
|
|
"Issue": "Issue",
|
|
"SubIssue": "Subissue",
|
|
"Document": "",
|
|
"DocumentIcon": "",
|
|
"DocumentColor": "",
|
|
"Rank": "Classifica",
|
|
"TypeIssuePriority": "Priorità della issue",
|
|
"IssueTitlePlaceholder": "Titolo della issue",
|
|
"SubIssueTitlePlaceholder": "Titolo della subissue",
|
|
"IssueDescriptionPlaceholder": "Aggiungi descrizione…",
|
|
"SubIssueDescriptionPlaceholder": "Aggiungi descrizione della subissue",
|
|
"AddIssueTooltip": "Aggiungi issue...",
|
|
"NewIssueDialogClose": "Vuoi chiudere questo dialogo?",
|
|
"NewIssueDialogCloseNote": "Tutte le modifiche andranno perse",
|
|
"RemoveComponentDialogClose": "Eliminare il componente?",
|
|
"RemoveComponentDialogCloseNote": "Sei sicuro di voler eliminare questo componente? Questa operazione non può essere annullata",
|
|
"Grouping": "Raggruppamento",
|
|
"Ordering": "Ordinamento",
|
|
"CompletedIssues": "Issue completate",
|
|
"NoGrouping": "Nessun raggruppamento",
|
|
"NoAssignee": "Nessun assegnatario",
|
|
"LastUpdated": "Ultimo aggiornamento",
|
|
"DueDate": "Data di scadenza",
|
|
"IssueStartDate": "Data di inizio",
|
|
"GanttDependency": "Dependency",
|
|
"GanttLag": "Lag",
|
|
"Manual": "Manuale",
|
|
"All": "Tutti",
|
|
"PastWeek": "Settimana scorsa",
|
|
"PastMonth": "Mese scorso",
|
|
"CopyIssueUrl": "Copia URL della issue negli appunti",
|
|
"CopyIssueId": "Copia ID della issue negli appunti",
|
|
"CopyIssueBranch": "Copia nome del ramo Git negli appunti",
|
|
"CopyIssueTitle": "Copia titolo della issue negli appunti",
|
|
"AssetLabel": "Risorsa",
|
|
"AddToComponent": "Aggiungi al componente…",
|
|
"MoveToComponent": "Sposta nel componente…",
|
|
"NoComponent": "Nessun componente",
|
|
"ComponentLeadTitle": "Responsabile del componente",
|
|
"ComponentMembersTitle": "Membri del componente",
|
|
"ComponentLeadSearchPlaceholder": "Imposta responsabile del componente…",
|
|
"ComponentMembersSearchPlaceholder": "Cambia membri del componente…",
|
|
"MoveToProject": "Sposta nel progetto",
|
|
"Duplicate": "Duplicato",
|
|
"GotoIssues": "Vai alle issue",
|
|
"GotoActive": "Vai alle issue attive",
|
|
"GotoBacklog": "Vai al backlog",
|
|
"GotoComponents": "Vai ai componenti",
|
|
"GotoMyIssues": "Vai alle mie issue",
|
|
"GotoTrackerApplication": "Passa all'applicazione Tracker",
|
|
"CreatedOne": "Creato",
|
|
"MoveIssues": "Sposta issue",
|
|
"MoveIssuesDescription": "Seleziona il progetto in cui desideri spostare le issue",
|
|
"ManageAttributes": "Gestisci attributi",
|
|
"KeepOriginalAttributes": "Mantieni attributi originali",
|
|
"KeepOriginalAttributesTooltip": "Gli stati e i componenti originali delle issue saranno mantenuti nel nuovo progetto",
|
|
"SelectReplacement": "I seguenti elementi non sono disponibili nel nuovo progetto. Seleziona un sostituto.",
|
|
"MissingItem": "ELEMENTO MANCANTE",
|
|
"Replacement": "SOSTITUTO",
|
|
"Original": "ORIGINALE",
|
|
"OriginalDescription": "Gli elementi di questa sezione verranno creati nel nuovo progetto",
|
|
"Relations": "Relazioni",
|
|
"RemoveRelation": "Rimuovi relazione...",
|
|
"AddBlockedBy": "Segna come bloccato da...",
|
|
"AddIsBlocking": "Segna come bloccante...",
|
|
"AddRelatedIssue": "Riferisci un'altra issue...",
|
|
"RelatedIssue": "Issue correlato {id} - {title}",
|
|
"BlockedIssue": "Issue bloccato {id} - {title}",
|
|
"BlockingIssue": "Issue bloccante {id} - {title}",
|
|
"BlockedBySearchPlaceholder": "Cerca una issue da contrassegnare come bloccato da...",
|
|
"IsBlockingSearchPlaceholder": "Cerca una issue da contrassegnare come bloccante...",
|
|
"RelatedIssueSearchPlaceholder": "Cerca una issue da riferire...",
|
|
"Blocks": "Blocca",
|
|
"Related": "Correlato",
|
|
"RelatedIssues": "Issue correlate",
|
|
"EditIssue": "Modifica {title}",
|
|
"EditWorkflowStatuses": "Modifica stati della issue",
|
|
"EditProject": "Modifica progetto",
|
|
"DeleteProject": "Elimina progetto",
|
|
"ArchiveProjectName": "Archivia progetto {name}?",
|
|
"ArchiveProjectConfirm": "Vuoi archiviare questo progetto?",
|
|
"DeleteProjectConfirm": "Vuoi eliminare questo progetto e tutte le issue?",
|
|
"ProjectHasIssues": "Ci sono issue esistenti in questo progetto, sei sicuro di voler archiviare?",
|
|
"ManageWorkflowStatuses": "Gestisci tipi di progetto",
|
|
"AddWorkflowStatus": "Aggiungi stato della issue",
|
|
"EditWorkflowStatus": "Modifica stato della issue",
|
|
"DeleteWorkflowStatus": "Elimina stato della issue",
|
|
"DeleteWorkflowStatusConfirm": "Vuoi eliminare lo stato \"{status}\"?",
|
|
"DeleteWorkflowStatusErrorDescription": "Lo stato \"{status}\" ha {count, plural, =1 {1 issue} other {# issue}} assegnate. Seleziona uno stato per spostare",
|
|
"Save": "Salva",
|
|
"IncludeItemsThatMatch": "Includi elementi che corrispondono",
|
|
"AnyFilter": "qualunque filtro",
|
|
"AllFilters": "tutti i filtri",
|
|
"NoDescription": "Nessuna descrizione",
|
|
"SearchIssue": "Cerca attività...",
|
|
"StatusHistory": "Storia degli stati",
|
|
"NewSubIssue": "Aggiungi subissue...",
|
|
"AddLabel": "Aggiungi etichetta",
|
|
"DeleteIssue": "Elimina {issueCount, plural, =1 {issue} other {# issue}}",
|
|
"DeleteIssueConfirm": "Vuoi eliminare {issueCount, plural, =1 {issue} other {issue}}{subIssueCount, plural, =0 {?} =1 { e subissue?} other { e subissue?}}",
|
|
"Milestone": "Traguardo",
|
|
"NoMilestone": "Nessun traguardo",
|
|
"MoveToMilestone": "Seleziona traguardo",
|
|
"Milestones": "Traguardi",
|
|
"AllMilestones": "Tutti",
|
|
"PlannedMilestones": "Pianificati",
|
|
"ActiveMilestones": "Attivi",
|
|
"ClosedMilestones": "Fatto",
|
|
"AddToMilestone": "Aggiungi al traguardo",
|
|
"MilestoneNamePlaceholder": "Nome del traguardo",
|
|
"NewMilestone": "Nuovo traguardo",
|
|
"CreateMilestone": "Crea",
|
|
"MoveAndDeleteMilestone": "Sposta problemi in {newMilestone} ed elimina {deleteMilestone}",
|
|
"MoveAndDeleteMilestoneConfirm": "Vuoi eliminare il traguardo e spostare i problemi in un altro traguardo?",
|
|
"Estimation": "Stima",
|
|
"ReportedTime": "Tempo trascorso",
|
|
"RemainingTime": "Tempo rimanente",
|
|
"TimeSpendReports": "Rapporti sul tempo trascorso",
|
|
"TimeSpendReport": "Tempo",
|
|
"TimeSpendReportAdd": "Aggiungi rapporto sul tempo",
|
|
"TimeSpendReportDate": "Data",
|
|
"TimeSpendReportValue": "Tempo trascorso",
|
|
"TimeSpendReportValueTooltip": "Tempo trascorso in ore",
|
|
"TimeSpendReportDescription": "Descrizione",
|
|
"TimeSpendDays": "{value}d",
|
|
"TimeSpendHours": "{value}h",
|
|
"TimeSpendMinutes": "{value}m",
|
|
"ChildEstimation": "Stima delle subissue",
|
|
"ChildReportedTime": "Tempo delle subissue",
|
|
"CapacityValue": "di {value}d",
|
|
"NewRelatedIssue": "Nuova issue correlata",
|
|
"RelatedIssuesNotFound": "Issue correlate non trovate",
|
|
"AddedReference": "Riferimento aggiunto",
|
|
"AddedAsBlocked": "Contrassegnato come bloccato",
|
|
"AddedAsBlocking": "Contrassegnato come bloccante",
|
|
"IssueTemplate": "Modello",
|
|
"IssueTemplates": "Modelli",
|
|
"NewProcess": "Nuovo modello",
|
|
"SaveProcess": "Salva modello",
|
|
"NoIssueTemplate": "Nessun modello",
|
|
"TemplateReplace": "Vuoi applicare il nuovo modello?",
|
|
"TemplateReplaceConfirm": "Tutti i campi saranno sovrascritti dai valori del nuovo modello",
|
|
"Apply": "Applica",
|
|
"CurrentWorkDay": "Giorno lavorativo corrente",
|
|
"PreviousWorkDay": "Giorno lavorativo precedente",
|
|
"TimeReportDayTypeLabel": "Seleziona il tipo di giorno",
|
|
"DefaultAssignee": "Assegnatario predefinito per le issue",
|
|
"SevenHoursLength": "Sette ore",
|
|
"EightHoursLength": "Otto ore",
|
|
"HourLabel": "h",
|
|
"MinuteLabel": "m",
|
|
"Saved": "Salvato...",
|
|
"CreatedIssue": "Issue creata",
|
|
"CreatedSubIssue": "Subissue creata",
|
|
"ChangeStatus": "Cambia stato",
|
|
"ConfigLabel": "Tracker",
|
|
"ConfigDescription": "Estensione per gestire elementi di lavoro e completare tutte le attività.",
|
|
"NoStatusFound": "Nessuno stato corrispondente trovato",
|
|
"CreateMissingStatus": "Crea stato mancante",
|
|
"UnsetParent": "La issue genitore sarà annullato",
|
|
"AllProjects": "Tutti i progetti",
|
|
"IssueNotificationTitle": "{issueTitle}",
|
|
"IssueNotificationBody": "Aggiornato da {senderName}",
|
|
"IssueNotificationChanged": "{senderName} ha modificato {property}",
|
|
"IssueNotificationChangedProperty": "{senderName} ha modificato {property} in \"{newValue}\"",
|
|
"IssueNotificationMessage": "{senderName}: {message}",
|
|
"PreviousAssigned": "Assegnato in precedenza",
|
|
"IssueAssignedToYou": "Assegnato a te",
|
|
"RelatedIssueTargetDescription": "Obiettivo del progetto del problema correlato per Classe o Spazio",
|
|
"MapRelatedIssues": "Configura i progetti predefiniti per issue correlate",
|
|
"DefaultIssueStatus": "Stato predefinito della issue",
|
|
"IssueStatus": "Stato",
|
|
"Extensions": "Estensioni",
|
|
"UnsetParentIssue": "Annulla l'issue genitore",
|
|
"ForbidCreateProjectPermission": "Vieta creazione progetto",
|
|
"ForbidCreateProjectPermissionDescription": "Vieta agli utenti di creare nuovi progetti",
|
|
"AllowCreatingIssues": "Consenti la creazione di issue",
|
|
"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": "Lo stato è controllato da un filtro attivo. Rimuovi il filtro di stato per usare questa scorciatoia.",
|
|
"ShowQuickModeSelector": "Filtro rapido: Tutti / Attivi / Backlog",
|
|
"SearchScopeLabel": "Cerca in…",
|
|
"SearchScopeTitle": "Solo titolo",
|
|
"SearchScopeTitleDescription": "Titolo + descrizione",
|
|
"SearchScopeAll": "Titolo + descrizione + commenti",
|
|
"SearchHighlight": "Evidenzia le corrispondenze di ricerca",
|
|
"SearchEmptyTitle": "Nessuna issue trovata per \"{query}\"",
|
|
"SearchEmptyActiveFilters": "Filtri attivi: {filters}",
|
|
"SearchEmptyClearFilters": "Cerca senza filtri",
|
|
"SearchEmptyAllProjects": "Cerca in tutti i progetti"
|
|
},
|
|
"status": {}
|
|
}
|