mirror of
https://github.com/hcengineering/platform.git
synced 2026-08-31 20:29:55 +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": "Seguimento",
|
|
"Projects": "Seus projetos",
|
|
"More": "Mais",
|
|
"Default": "Padrão",
|
|
"MakeDefault": "Tornar padrão",
|
|
"Delete": "Apagar",
|
|
"Open": "Abrir",
|
|
"Members": "Membros",
|
|
"Inbox": "Caixa de entrada",
|
|
"MyIssues": "Meus problemas",
|
|
"ViewIssue": "Ver problema",
|
|
"IssueCreated": "Problema criado",
|
|
"Issues": "Problemas",
|
|
"Views": "Visualizações",
|
|
"Active": "Ativo",
|
|
"AllIssues": "Todos os problemas",
|
|
"ActiveIssues": "Problemas ativos",
|
|
"BacklogIssues": "Backlog",
|
|
"Backlog": "Backlog",
|
|
"Board": "Quadro",
|
|
"Components": "Componentes",
|
|
"AllComponents": "Todos",
|
|
"BacklogComponents": "Backlog",
|
|
"ActiveComponents": "Ativo",
|
|
"ClosedComponents": "Fechado",
|
|
"NewComponent": "Novo componente",
|
|
"CreateComponent": "Criar componente",
|
|
"ComponentNamePlaceholder": "Nome do componente",
|
|
"ComponentDescriptionPlaceholder": "Descrição (opcional)",
|
|
"ComponentLead": "Líder",
|
|
"ComponentMembers": "Membros",
|
|
"StartDate": "Data de início",
|
|
"TargetDate": "Data alvo",
|
|
"Planned": "Planejado",
|
|
"InProgress": "Em progresso",
|
|
"Paused": "Pausado",
|
|
"Completed": "Concluído",
|
|
"Canceled": "Cancelado",
|
|
"CreateProject": "Criar projeto",
|
|
"NewProject": "Novo projeto",
|
|
"ProjectTitle": "Título do projeto",
|
|
"ProjectTitlePlaceholder": "Novo projeto",
|
|
"UsedInIssueIDs": "Usado em IDs de problemas",
|
|
"Identifier": "Identificador",
|
|
"Import": "Importar",
|
|
"ProjectIdentifier": "Identificador do projeto",
|
|
"IdentifierExists": "O identificador do projeto já existe",
|
|
"ProjectIdentifierPlaceholder": "PROJ",
|
|
"ChooseIcon": "Escolher ícone",
|
|
"AddIssue": "Adicionar problema",
|
|
"NewIssue": "Novo problema",
|
|
"NewIssuePlaceholder": "Novo",
|
|
"ResumeDraft": "Retomar rascunho",
|
|
"SaveIssue": "Criar problema",
|
|
"SetPriority": "Definir prioridade\u2026",
|
|
"SetStatus": "Definir estado\u2026",
|
|
"SelectIssue": "Selecionar problema",
|
|
"Priority": "Prioridade",
|
|
"NoPriority": "Sem prioridade",
|
|
"Urgent": "Urgente",
|
|
"High": "Alta",
|
|
"Medium": "Média",
|
|
"Low": "Baixa",
|
|
"Unassigned": "Não atribuído",
|
|
"Back": "Voltar",
|
|
"List": "Lista",
|
|
"NumberLabels": "{count, plural, =0 {sem etiquetas} =1 {1 etiqueta} other {# etiquetas}}",
|
|
"CategoryBacklog": "Atraso",
|
|
"CategoryUnstarted": "Não iniciado",
|
|
"CategoryStarted": "Iniciado",
|
|
"CategoryCompleted": "Concluído",
|
|
"CategoryCanceled": "Cancelado",
|
|
"Title": "Título",
|
|
"Name": "Nome",
|
|
"Description": "Descrição",
|
|
"Status": "Estado",
|
|
"Number": "Número",
|
|
"Assignee": "Atribuído a",
|
|
"AssignTo": "Atribuir a...",
|
|
"AssignedTo": "Atribuído a {value}",
|
|
"Parent": "Problema superior",
|
|
"SetParent": "Definir problema superior\u2026",
|
|
"ChangeParent": "Alterar problema superior\u2026",
|
|
"RemoveParent": "Remover problema superior",
|
|
"OpenParent": "Abrir problema superior",
|
|
"SubIssues": "Sub-problemas",
|
|
"SubIssuesList": "Sub-problemas ({subIssues})",
|
|
"OpenSubIssues": "Abrir sub-problemas",
|
|
"AddSubIssues": "Adicionar sub-problema",
|
|
"BlockedBy": "Bloqueado por",
|
|
"RelatedTo": "Relacionado com",
|
|
"Comments": "Comentários",
|
|
"Attachments": "Anexos",
|
|
"Labels": "Etiquetas",
|
|
"Component": "Componente",
|
|
"Space": "Espaço",
|
|
"SetDueDate": "Definir data de vencimento\u2026",
|
|
"ChangeDueDate": "Alterar data de vencimento",
|
|
"ModificationDate": "Atualizado {value}",
|
|
"Project": "Projeto",
|
|
"Issue": "Tarefa",
|
|
"SubIssue": "Sub-Tarefa",
|
|
"Document": "Documento",
|
|
"DocumentIcon": "Ícone do documento",
|
|
"DocumentColor": "Cor do documento",
|
|
"Rank": "Classificação",
|
|
"TypeIssuePriority": "Prioridade da Tarefa",
|
|
"IssueTitlePlaceholder": "Título da Tarefa",
|
|
"SubIssueTitlePlaceholder": "Título da Sub-Tarefa",
|
|
"IssueDescriptionPlaceholder": "Adicionar descrição...",
|
|
"SubIssueDescriptionPlaceholder": "Adicionar Descrição da Sub-Tarefa",
|
|
"AddIssueTooltip": "Adicionar Tarefa...",
|
|
"NewIssueDialogClose": "Deseja fechar este diálogo?",
|
|
"NewIssueDialogCloseNote": "Todas as alterações serão perdidas",
|
|
"RemoveComponentDialogClose": "Eliminar o componente?",
|
|
"RemoveComponentDialogCloseNote": "Tem a certeza de que deseja eliminar este componente? Esta operação não pode ser desfeita",
|
|
"Grouping": "Agrupamento",
|
|
"Ordering": "Ordenação",
|
|
"CompletedIssues": "Tarefas Concluídas",
|
|
"NoGrouping": "Sem agrupamento",
|
|
"NoAssignee": "Sem atribuição",
|
|
"LastUpdated": "Última atualização",
|
|
"DueDate": "Data de vencimento",
|
|
"IssueStartDate": "Data de início",
|
|
"GanttDependency": "Dependency",
|
|
"GanttLag": "Lag",
|
|
"Manual": "Manual",
|
|
"All": "Todos",
|
|
"PastWeek": "Semana passada",
|
|
"PastMonth": "Mês passado",
|
|
"CopyIssueUrl": "Copiar URL da questão para a área de transferência",
|
|
"CopyIssueId": "Copiar ID da questão para a área de transferência",
|
|
"CopyIssueBranch": "Copiar nome da branch Git para a área de transferência",
|
|
"CopyIssueTitle": "Copiar título da questão para a área de transferência",
|
|
"AssetLabel": "Ativo",
|
|
"AddToComponent": "Adicionar ao componente...",
|
|
"MoveToComponent": "Mover para o componente...",
|
|
"NoComponent": "Sem componente",
|
|
"ComponentLeadTitle": "Responsável pelo componente",
|
|
"ComponentMembersTitle": "Membros do componente",
|
|
"ComponentLeadSearchPlaceholder": "Definir responsável pelo componente...",
|
|
"ComponentMembersSearchPlaceholder": "Alterar membros do componente...",
|
|
"MoveToProject": "Mover para o projeto",
|
|
"Duplicate": "Duplicar",
|
|
"GotoIssues": "Ir para as questões",
|
|
"GotoActive": "Ir para as questões ativas",
|
|
"GotoBacklog": "Ir para a lista de espera",
|
|
"GotoComponents": "Ir para os componentes",
|
|
"GotoMyIssues": "Ir para as minhas questões",
|
|
"GotoTrackerApplication": "Alternar para a Aplicação de Acompanhamento",
|
|
"CreatedOne": "Criado",
|
|
"MoveIssues": "Mover questões",
|
|
"MoveIssuesDescription": "Selecione o projeto para mover as questões",
|
|
"ManageAttributes": "Gerir atributos",
|
|
"KeepOriginalAttributes": "Manter atributos originais",
|
|
"KeepOriginalAttributesTooltip": "Os estados e componentes originais da questão serão mantidos no novo projeto",
|
|
"SelectReplacement": "Os seguintes itens não estão disponíveis no novo projeto. Selecione uma substituição.",
|
|
"MissingItem": "ITEM EM FALTA",
|
|
"Replacement": "SUBSTITUIÇÃO",
|
|
"Original": "ORIGINAL",
|
|
"OriginalDescription": "Os itens desta seção serão criados no novo projeto",
|
|
"Relations": "Relações",
|
|
"RemoveRelation": "Remover relação...",
|
|
"AddBlockedBy": "Marcar como bloqueado por...",
|
|
"AddIsBlocking": "Marcar como bloqueador...",
|
|
"AddRelatedIssue": "Referenciar outra questão...",
|
|
"RelatedIssue": "Questão relacionada {id} - {title}",
|
|
"BlockedIssue": "Questão bloqueada {id} - {title}",
|
|
"BlockingIssue": "Questão bloqueadora {id} - {title}",
|
|
"BlockedBySearchPlaceholder": "Procurar questão para marcar como bloqueada por...",
|
|
"IsBlockingSearchPlaceholder": "Procurar questão para marcar como bloqueadora...",
|
|
"RelatedIssueSearchPlaceholder": "Procurar questão para referenciar...",
|
|
"Blocks": "Bloqueia",
|
|
"Related": "Relacionado",
|
|
"RelatedIssues": "Questões relacionadas",
|
|
"EditIssue": "Editar {title}",
|
|
"EditWorkflowStatuses": "Editar estados de tarefa",
|
|
"EditProject": "Editar projeto",
|
|
"DeleteProject": "Apagar projeto",
|
|
"ArchiveProjectName": "Arquivar projeto {name}?",
|
|
"ArchiveProjectConfirm": "Deseja arquivar este projeto?",
|
|
"DeleteProjectConfirm": "Deseja apagar este projeto e todas as tarefas?",
|
|
"ProjectHasIssues": "Existem tarefas neste projeto, tem a certeza de que deseja arquivar?",
|
|
"ManageWorkflowStatuses": "Gerenciar tipos de projeto",
|
|
"AddWorkflowStatus": "Adicionar estado de tarefa",
|
|
"EditWorkflowStatus": "Editar estado de tarefa",
|
|
"DeleteWorkflowStatus": "Apagar estado de tarefa",
|
|
"DeleteWorkflowStatusConfirm": "Deseja apagar o estado \"{status}\"?",
|
|
"DeleteWorkflowStatusErrorDescription": "O estado \"{status}\" tem {count, plural, =1 {1 tarefa} other {# tarefas}} atribuída. Por favor, selecione um estado para mover",
|
|
"Save": "Guardar",
|
|
"IncludeItemsThatMatch": "Incluir itens que coincidam",
|
|
"AnyFilter": "qualquer filtro",
|
|
"AllFilters": "todos os filtros",
|
|
"NoDescription": "Sem descrição",
|
|
"SearchIssue": "Procurar tarefa...",
|
|
"StatusHistory": "Histórico de estado",
|
|
"NewSubIssue": "Adicionar sub-tarefa...",
|
|
"AddLabel": "Adicionar etiqueta",
|
|
"DeleteIssue": "Apagar {issueCount, plural, =1 {tarefa} other {# tarefas}}",
|
|
"DeleteIssueConfirm": "Deseja apagar {issueCount, plural, =1 {tarefa} other {tarefas}}{subIssueCount, plural, =0 {?} =1 { e sub-tarefa?} other { e sub-tarefas?}}",
|
|
"Milestone": "Objetivo",
|
|
"NoMilestone": "Sem objetivo",
|
|
"MoveToMilestone": "Selecionar Objetivo",
|
|
"Milestones": "Objetivos",
|
|
"AllMilestones": "Todos",
|
|
"PlannedMilestones": "Planejados",
|
|
"ActiveMilestones": "Ativos",
|
|
"ClosedMilestones": "Concluídos",
|
|
"AddToMilestone": "Adicionar ao Objetivo",
|
|
"MilestoneNamePlaceholder": "Nome do objetivo",
|
|
"NewMilestone": "Novo Objetivo",
|
|
"CreateMilestone": "Criar",
|
|
"MoveAndDeleteMilestone": "Mover tarefas para {newMilestone} e Apagar {deleteMilestone}",
|
|
"MoveAndDeleteMilestoneConfirm": "Deseja apagar o objetivo e mover tarefas para outro objetivo?",
|
|
"Estimation": "Estimativa",
|
|
"ReportedTime": "Tempo gasto",
|
|
"RemainingTime": "Tempo restante",
|
|
"TimeSpendReports": "Relatórios de tempo gasto",
|
|
"TimeSpendReport": "Tempo",
|
|
"TimeSpendReportAdd": "Adicionar relatório de tempo",
|
|
"TimeSpendReportDate": "Data",
|
|
"TimeSpendReportValue": "Tempo gasto",
|
|
"TimeSpendReportValueTooltip": "Tempo gasto em horas",
|
|
"TimeSpendReportDescription": "Descrição",
|
|
"TimeSpendDays": "{value}d",
|
|
"TimeSpendHours": "{value}h",
|
|
"TimeSpendMinutes": "{value}m",
|
|
"ChildEstimation": "Estimativa de sub-tarefas",
|
|
"ChildReportedTime": "Tempo de sub-tarefas",
|
|
"CapacityValue": "de {value}d",
|
|
"NewRelatedIssue": "Nova tarefa relacionada",
|
|
"RelatedIssuesNotFound": "Tarefas relacionadas não encontradas",
|
|
"AddedReference": "Referência adicionada",
|
|
"AddedAsBlocked": "Marcado como bloqueado",
|
|
"AddedAsBlocking": "Marcado como bloqueador",
|
|
"IssueTemplate": "Modelo",
|
|
"IssueTemplates": "Modelos",
|
|
"NewProcess": "Novo Modelo",
|
|
"SaveProcess": "Guardar Modelo",
|
|
"NoIssueTemplate": "Sem Modelo",
|
|
"TemplateReplace": "Deseja aplicar o novo modelo?",
|
|
"TemplateReplaceConfirm": "Todos os campos serão sobrescritos pelos valores do novo modelo",
|
|
"Apply": "Aplicar",
|
|
"CurrentWorkDay": "Dia de trabalho atual",
|
|
"PreviousWorkDay": "Dia de trabalho anterior",
|
|
"TimeReportDayTypeLabel": "Selecione o tipo de dia do relatório de tempo",
|
|
"DefaultAssignee": "Responsável padrão para problemas",
|
|
"SevenHoursLength": "Sete Horas",
|
|
"EightHoursLength": "Oito Horas",
|
|
"HourLabel": "h",
|
|
"MinuteLabel": "m",
|
|
"Saved": "Guardado...",
|
|
"CreatedIssue": "Problema criado",
|
|
"CreatedSubIssue": "Sub-problema criado",
|
|
"ChangeStatus": "Alterar estado",
|
|
"ConfigLabel": "Rastreador",
|
|
"ConfigDescription": "Extensão para gerir itens de trabalho e fazer todas as tarefas necessárias.",
|
|
"NoStatusFound": "Nenhum estado correspondente encontrado",
|
|
"CreateMissingStatus": "Criar estado em falta",
|
|
"UnsetParent": "O problema pai será desassociado",
|
|
"AllProjects": "Todos os projetos",
|
|
"IssueNotificationTitle": "{issueTitle}",
|
|
"IssueNotificationBody": "Atualizado por {senderName}",
|
|
"IssueNotificationChanged": "{senderName} alterou {property}",
|
|
"IssueNotificationChangedProperty": "{senderName} alterou {property} para \"{newValue}\"",
|
|
"IssueNotificationMessage": "{senderName}: {message}",
|
|
"PreviousAssigned": "Anteriormente atribuído",
|
|
"IssueAssignedToYou": "Atribuído a mim",
|
|
"RelatedIssueTargetDescription": "Projeto alvo de problemas relacionados para Classe ou Espaço",
|
|
"MapRelatedIssues": "Configurar projetos padrão de problemas relacionados",
|
|
"DefaultIssueStatus": "Estado padrão do problema",
|
|
"IssueStatus": "Estado",
|
|
"Extensions": "Extensions",
|
|
"UnsetParentIssue": "Desmarcar problema pai",
|
|
"ForbidCreateProjectPermission": "Proibir criação de projeto",
|
|
"ForbidCreateProjectPermissionDescription": "Proíbe os usuários de criar novos projetos",
|
|
"AllowCreatingIssues": "Permitir criar problemas",
|
|
"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": "O estado é controlado por um filtro ativo. Remova o filtro de estado para usar este atalho.",
|
|
"ShowQuickModeSelector": "Filtro rápido: Todos / Ativos / Backlog",
|
|
"SearchScopeLabel": "Procurar em…",
|
|
"SearchScopeTitle": "Apenas título",
|
|
"SearchScopeTitleDescription": "Título + descrição",
|
|
"SearchScopeAll": "Título + descrição + comentários",
|
|
"SearchHighlight": "Realçar correspondências da procura",
|
|
"SearchEmptyTitle": "Nenhum problema encontrado para \"{query}\"",
|
|
"SearchEmptyActiveFilters": "Filtros ativos: {filters}",
|
|
"SearchEmptyClearFilters": "Procurar sem filtros",
|
|
"SearchEmptyAllProjects": "Procurar em todos os projetos"
|
|
},
|
|
"status": {}
|
|
}
|