mirror of
https://github.com/hcengineering/platform.git
synced 2026-09-27 03:54: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>
163 lines
7.4 KiB
JSON
163 lines
7.4 KiB
JSON
{
|
|
"string": {
|
|
"Contains": "포함",
|
|
"NotContains": "포함하지 않음",
|
|
"MoveClass": "{class} 이동",
|
|
"SelectToMove": "{class}을(를) 이동할 {classLabel}을(를) 선택하세요.",
|
|
"Delete": "삭제",
|
|
"Move": "이동",
|
|
"Cancel": "취소",
|
|
"LabelYes": "예",
|
|
"LabelNo": "아니요",
|
|
"LabelNA": "해당 없음",
|
|
"ChooseAColor": "색상 선택",
|
|
"Table": "표",
|
|
"Role": "역할",
|
|
"DeleteObject": "객체 삭제",
|
|
"DeleteObjectConfirm": "{count, plural, =1 {이 객체를} other {객체 #개를}} 삭제하시겠습니까?",
|
|
"NoCreatePermissionTitle": "생성 권한이 없습니다",
|
|
"DeletePopupNoPermissionTitle": "삭제 권한이 없습니다.",
|
|
"DeletePopupNoPermissionLabel": "삭제하려면 아래 목록의 담당자에게 문의하세요.",
|
|
"DeletePopupCreatorLabel": "작성자 (직접 작성한 항목만 삭제 가능):",
|
|
"DeletePopupOwnerLabel": "소유자 (모두 삭제 가능):",
|
|
"Archive": "보관",
|
|
"ArchiveConfirm": "{count, plural, =1 {이 객체를} other {객체 #개를}} 보관하시겠습니까?",
|
|
"Open": "열기",
|
|
"OpenInNewTab": "새 탭에서 열기",
|
|
"Assignees": "담당자",
|
|
"Labels": "라벨",
|
|
"MoveLeft": "왼쪽으로 이동",
|
|
"MoveRight": "오른쪽으로 이동",
|
|
"MoveUp": "위로 이동",
|
|
"MoveDown": "아래로 이동",
|
|
"RestoreDefaults": "기본값 복원",
|
|
"SelectItem": "포커스된 항목 선택",
|
|
"SelectItemAll": "모든 항목 선택",
|
|
"SelectItemNone": "모든 항목 선택 해제",
|
|
"NumberItems": "{count, plural, =0 {항목 없음} =1 {항목 1개} other {항목 #개}}",
|
|
"Assigned": "할당됨",
|
|
"Created": "생성됨",
|
|
"Subscribed": "구독 중",
|
|
"ShowPreview": "문서 미리보기",
|
|
"ShowActions": "작업 팝업 표시",
|
|
"ActionPlaceholder": "검색 또는 명령어 실행...",
|
|
"General": "일반",
|
|
"Navigation": "탐색",
|
|
"Editor": "편집기",
|
|
"MarkdownFormatting": "서식",
|
|
"CustomizeView": "뷰 사용자 지정",
|
|
"ConfigureColumns": "열 구성",
|
|
"Filter": "필터",
|
|
"ClearFilters": "필터 지우기",
|
|
"FilterLessThan": "미만",
|
|
"FilterGreaterThan": "초과",
|
|
"FilterIsNot": "아님",
|
|
"FilterIsEither": "임",
|
|
"FilterIsEitherPlural": "임",
|
|
"FilterStatesCount": "{value, plural, =1 {상태 1개} other {상태 #개}}",
|
|
"FilterUpdated": "필터가 업데이트되었습니다",
|
|
"FilterRemoved": "{count, plural, =1 {존재하지 않는 값 #개를} other {존재하지 않는 값 #개를}} 필터에서 제거했습니다",
|
|
"Before": "이전",
|
|
"After": "이후",
|
|
"Apply": "적용",
|
|
"Save": "저장",
|
|
"IncludeItemsThatMatch": "일치하는 항목 포함",
|
|
"AnyFilter": "필터 중 하나",
|
|
"AllFilters": "모든 필터",
|
|
"MatchCriteria": "조건 일치",
|
|
"DontMatchCriteria": "조건 불일치",
|
|
"View": "뷰",
|
|
"MarkupEditor": "서식 있는 콘텐츠 필드 편집",
|
|
"List": "목록",
|
|
"Grid": "그리드",
|
|
"Timeline": "타임라인",
|
|
"Select": "선택",
|
|
"NoGrouping": "그룹화 없음",
|
|
"Grouping": "그룹화",
|
|
"Ordering": "정렬",
|
|
"Manual": "수동",
|
|
"FilteredViews": "필터링된 뷰",
|
|
"NewFilteredView": "새 필터링된 뷰",
|
|
"FilteredViewName": "필터링된 뷰 이름",
|
|
"Then": "다음",
|
|
"ShowPreviewOnClick": "클릭하면 문서 인덱스 미리보기가 표시됩니다...",
|
|
"Shown": "{total, plural, =-1 {} other {필터링된 #개 항목 중}} {len}개 결과 표시 중",
|
|
"Total": "합계: {total, plural, other{#}}",
|
|
"ShowEmptyGroups": "빈 그룹 표시",
|
|
"Overdue": "기한 초과",
|
|
"Today": "오늘",
|
|
"Yesterday": "어제",
|
|
"ThisWeek": "이번 주",
|
|
"NextWeek": "다음 주",
|
|
"ThisMonth": "이번 달",
|
|
"NextMonth": "다음 달",
|
|
"NotSpecified": "지정 안 함",
|
|
"ExactDate": "정확한 날짜",
|
|
"BeforeDate": "날짜 이전",
|
|
"AfterDate": "날짜 이후",
|
|
"BetweenDates": "날짜 사이",
|
|
"AddSavedView": "저장된 뷰 추가",
|
|
"Public": "공개",
|
|
"Hide": "숨기기",
|
|
"Rename": "이름 변경",
|
|
"SaveAs": "다른 이름으로 저장",
|
|
"And": "그리고",
|
|
"Between": "범위",
|
|
"ShowColors": "색상 사용",
|
|
"Show": "표시",
|
|
"FilterArrayAll": "모두",
|
|
"FilterArrayAny": "하나 이상",
|
|
"Or": "또는",
|
|
"HyperlinkPlaceholder": "https://jappleseed.com",
|
|
"CopyToClipboard": "클립보드에 복사",
|
|
"CopyAll": "모두 복사",
|
|
"CopyDocumentMarkdown": "Markdown으로 복사",
|
|
"CopyAsMarkdownTable": "Markdown 표로 복사",
|
|
"TableCopiedToClipboard": "표를 클립보드에 복사했습니다",
|
|
"TableCopyFailed": "표를 클립보드에 복사하는 데 실패했습니다",
|
|
"PublicView": "공개",
|
|
"ChooseIcon": "아이콘 선택",
|
|
"IconColor": "아이콘 색상 선택",
|
|
"IconCategory": "아이콘",
|
|
"EmojiCategory": "이모지",
|
|
"Type": "유형",
|
|
"ToViewCommands": "사용 가능한 명령어 보기",
|
|
"UnArchive": "보관 해제",
|
|
"UnArchiveConfirm": "{count, plural, =1 {이 객체를} other {객체 #개를}} 보관 해제하시겠습니까?",
|
|
"Pin": "고정",
|
|
"Unpin": "고정 해제",
|
|
"Archived": "보관됨",
|
|
"MoreActions": "추가 작업",
|
|
"Leave": "나가기",
|
|
"Join": "참여",
|
|
"Copied": "복사됨",
|
|
"Title": "제목",
|
|
"HideArchived": "보관됨 숨기기",
|
|
"RemoveRelation": "관계 제거",
|
|
"RemoveRelationConfirmation": "관계를 제거하시겠습니까?",
|
|
"MasterDetail": "마스터-디테일",
|
|
"Tree": "트리",
|
|
"Document": "문서",
|
|
"Loading": "로딩 중...",
|
|
"NoRelations": "관계 없음",
|
|
"ReadOnlyWarningTitle": "✨ 익명 게스트 데모",
|
|
"ReadOnlyWarningMessage": "읽기 전용 모드입니다. 경로를 선택하세요. 이 워크스페이스에 게스트로 참여해 협업하거나, 직접 워크스페이스를 만들어 작업, 마감일, 팀까지 프로젝트 전체를 관리해 보세요!",
|
|
"ReadOnlyJoinWorkspace": "워크스페이스 참여",
|
|
"ReadOnlySignUp": "워크스페이스 만들기",
|
|
"PermissionWarningTitle": "✨ 액세스 권한 업그레이드!",
|
|
"PermissionWarningMessage": "현재 역할은 권한이 제한되어 있습니다. 이 기능과 다른 고급 기능을 사용하려면 워크스페이스 관리자에게 권한 업그레이드를 요청하세요!",
|
|
"Icon": "아이콘",
|
|
"Color": "색상",
|
|
"AutomationOnly": "자동화 전용",
|
|
"CopyLink": "링크 복사",
|
|
"ValueIsSet": "값이 설정됨",
|
|
"RoleLabel": "역할: {role}",
|
|
"ForbidAttributeChanges": "변경 금지: ",
|
|
"AllowAttributeChanges": "변경 허용: ",
|
|
"RelationshipTable": "추적 매트릭스",
|
|
"FilterOverflowBadge": "+{count}",
|
|
"AddFilter": "필터 추가",
|
|
"HiddenFilters": "숨겨진 필터"
|
|
}
|
|
}
|